CINXE.COM
孤独のグルメ
<!DOCTYPE html> <html lang="ja"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=Edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="format-detection" content="telephone=no"> <link rel="shortcut icon" href="https://d1uzk9o9cg136f.cloudfront.net/f/portal/16777589/custom/2021/08/16/a0ae0bcb56c34f6f0053a7d771e836456bb6e682.jpg"> <link rel="apple-touch-icon" href="https://d1uzk9o9cg136f.cloudfront.net/f/portal/16777589/custom/2021/08/16/a0ae0bcb56c34f6f0053a7d771e836456bb6e682.jpg"> <link rel="alternate" type="application/rss+xml" href="https://kodokuno-gourmet.jp/_rss/rss20.xml" title="孤独のグルメ - RSS Feed" /> <title>孤独のグルメ</title> <meta name="description" content="扶桑社の漫画『孤独のグルメ』の公式サイトです。ドラマにもなった名作グルメ漫画の魅力をたっぷり紹介します!"> <meta name="keywords" content="孤独のグルメ,井之頭五郎,久住昌之,谷口ジロー"> <link rel="next" href="https://kodokuno-gourmet.jp/?p=2&fr=rel"> <link rel="canonical" href="https://kodokuno-gourmet.jp/"> <meta name="twitter:card" content="summary"> <meta property="og:type" content="website"> <meta property="og:url" content="https://kodokuno-gourmet.jp/"> <meta property="og:title" content="孤独のグルメ"> <meta property="og:description" content="扶桑社の漫画『孤独のグルメ』の公式サイトです。ドラマにもなった名作グルメ漫画の魅力をたっぷり紹介します!"> <meta property="og:image" content="https://d1uzk9o9cg136f.cloudfront.net/f/portal/16777589/rc/2021/08/16/0903922ace8f6bf3ac764241d10911d730d5f902_xlarge.jpg"> <link rel="preload" href="/static/lib/fontawesome-4/fonts/fontawesome-webfont.woff2?v=4.7.0" as="font" type="font/woff2" crossorigin> <link rel="preload" href="/static/lib/ligaturesymbols-2/LigatureSymbols-2.11.ttf" as="font" type="font/ttf" crossorigin> <script id="facebook-jssdk">/* hack: prevent fb sdk in body : proc by jquery-embedheler */</script> <style id="style-prevent-animation">*,*:before,*:after{-webkit-transition:none!important;-moz-transition:none!important;transition:none!important;-webkit-animation:none!important;-moz-animation:none!important;animation:none!important}</style> <script id="script-combined-dinoportal_base_top_jqm_js.js"> /*** combinestatic: generated:dinoportal_base_top_jqm_js.js ***/ /*** combinestatic: from:lib/js/jquery-1.12.4.min.js ***/ !function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){var c=[],d=a.document,e=c.slice,f=c.concat,g=c.push,h=c.indexOf,i={},j=i.toString,k=i.hasOwnProperty,l={},m="1.12.4",n=function(a,b){return new n.fn.init(a,b)},o=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,p=/^-ms-/,q=/-([\da-z])/gi,r=function(a,b){return b.toUpperCase()};n.fn=n.prototype={jquery:m,constructor:n,selector:"",length:0,toArray:function(){return e.call(this)},get:function(a){return null!=a?0>a?this[a+this.length]:this[a]:e.call(this)},pushStack:function(a){var b=n.merge(this.constructor(),a);return b.prevObject=this,b.context=this.context,b},each:function(a){return n.each(this,a)},map:function(a){return this.pushStack(n.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(e.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length,c=+a+(0>a?b:0);return this.pushStack(c>=0&&b>c?[this[c]]:[])},end:function(){return this.prevObject||this.constructor()},push:g,sort:c.sort,splice:c.splice},n.extend=n.fn.extend=function(){var a,b,c,d,e,f,g=arguments[0]||{},h=1,i=arguments.length,j=!1;for("boolean"==typeof g&&(j=g,g=arguments[h]||{},h++),"object"==typeof g||n.isFunction(g)||(g={}),h===i&&(g=this,h--);i>h;h++)if(null!=(e=arguments[h]))for(d in e)a=g[d],c=e[d],g!==c&&(j&&c&&(n.isPlainObject(c)||(b=n.isArray(c)))?(b?(b=!1,f=a&&n.isArray(a)?a:[]):f=a&&n.isPlainObject(a)?a:{},g[d]=n.extend(j,f,c)):void 0!==c&&(g[d]=c));return g},n.extend({expando:"jQuery"+(m+Math.random()).replace(/\D/g,""),isReady:!0,error:function(a){throw new Error(a)},noop:function(){},isFunction:function(a){return"function"===n.type(a)},isArray:Array.isArray||function(a){return"array"===n.type(a)},isWindow:function(a){return null!=a&&a==a.window},isNumeric:function(a){var b=a&&a.toString();return!n.isArray(a)&&b-parseFloat(b)+1>=0},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},isPlainObject:function(a){var b;if(!a||"object"!==n.type(a)||a.nodeType||n.isWindow(a))return!1;try{if(a.constructor&&!k.call(a,"constructor")&&!k.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}if(!l.ownFirst)for(b in a)return k.call(a,b);for(b in a);return void 0===b||k.call(a,b)},type:function(a){return null==a?a+"":"object"==typeof a||"function"==typeof a?i[j.call(a)]||"object":typeof a},globalEval:function(b){b&&n.trim(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(p,"ms-").replace(q,r)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(a,b){var c,d=0;if(s(a)){for(c=a.length;c>d;d++)if(b.call(a[d],d,a[d])===!1)break}else for(d in a)if(b.call(a[d],d,a[d])===!1)break;return a},trim:function(a){return null==a?"":(a+"").replace(o,"")},makeArray:function(a,b){var c=b||[];return null!=a&&(s(Object(a))?n.merge(c,"string"==typeof a?[a]:a):g.call(c,a)),c},inArray:function(a,b,c){var d;if(b){if(h)return h.call(b,a,c);for(d=b.length,c=c?0>c?Math.max(0,d+c):c:0;d>c;c++)if(c in b&&b[c]===a)return c}return-1},merge:function(a,b){var c=+b.length,d=0,e=a.length;while(c>d)a[e++]=b[d++];if(c!==c)while(void 0!==b[d])a[e++]=b[d++];return a.length=e,a},grep:function(a,b,c){for(var d,e=[],f=0,g=a.length,h=!c;g>f;f++)d=!b(a[f],f),d!==h&&e.push(a[f]);return e},map:function(a,b,c){var d,e,g=0,h=[];if(s(a))for(d=a.length;d>g;g++)e=b(a[g],g,c),null!=e&&h.push(e);else for(g in a)e=b(a[g],g,c),null!=e&&h.push(e);return f.apply([],h)},guid:1,proxy:function(a,b){var c,d,f;return"string"==typeof b&&(f=a[b],b=a,a=f),n.isFunction(a)?(c=e.call(arguments,2),d=function(){return a.apply(b||this,c.concat(e.call(arguments)))},d.guid=a.guid=a.guid||n.guid++,d):void 0},now:function(){return+new Date},support:l}),"function"==typeof Symbol&&(n.fn[Symbol.iterator]=c[Symbol.iterator]),n.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(a,b){i["[object "+b+"]"]=b.toLowerCase()});function s(a){var b=!!a&&"length"in a&&a.length,c=n.type(a);return"function"===c||n.isWindow(a)?!1:"array"===c||0===b||"number"==typeof b&&b>0&&b-1 in a}var t=function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u="sizzle"+1*new Date,v=a.document,w=0,x=0,y=ga(),z=ga(),A=ga(),B=function(a,b){return a===b&&(l=!0),0},C=1<<31,D={}.hasOwnProperty,E=[],F=E.pop,G=E.push,H=E.push,I=E.slice,J=function(a,b){for(var c=0,d=a.length;d>c;c++)if(a[c]===b)return c;return-1},K="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",L="[\\x20\\t\\r\\n\\f]",M="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",N="\\["+L+"*("+M+")(?:"+L+"*([*^$|!~]?=)"+L+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+M+"))|)"+L+"*\\]",O=":("+M+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+N+")*)|.*)\\)|)",P=new RegExp(L+"+","g"),Q=new RegExp("^"+L+"+|((?:^|[^\\\\])(?:\\\\.)*)"+L+"+$","g"),R=new RegExp("^"+L+"*,"+L+"*"),S=new RegExp("^"+L+"*([>+~]|"+L+")"+L+"*"),T=new RegExp("="+L+"*([^\\]'\"]*?)"+L+"*\\]","g"),U=new RegExp(O),V=new RegExp("^"+M+"$"),W={ID:new RegExp("^#("+M+")"),CLASS:new RegExp("^\\.("+M+")"),TAG:new RegExp("^("+M+"|[*])"),ATTR:new RegExp("^"+N),PSEUDO:new RegExp("^"+O),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+L+"*(even|odd|(([+-]|)(\\d*)n|)"+L+"*(?:([+-]|)"+L+"*(\\d+)|))"+L+"*\\)|)","i"),bool:new RegExp("^(?:"+K+")$","i"),needsContext:new RegExp("^"+L+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+L+"*((?:-\\d)?\\d*)"+L+"*\\)|)(?=[^-]|$)","i")},X=/^(?:input|select|textarea|button)$/i,Y=/^h\d$/i,Z=/^[^{]+\{\s*\[native \w/,$=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,_=/[+~]/,aa=/'|\\/g,ba=new RegExp("\\\\([\\da-f]{1,6}"+L+"?|("+L+")|.)","ig"),ca=function(a,b,c){var d="0x"+b-65536;return d!==d||c?b:0>d?String.fromCharCode(d+65536):String.fromCharCode(d>>10|55296,1023&d|56320)},da=function(){m()};try{H.apply(E=I.call(v.childNodes),v.childNodes),E[v.childNodes.length].nodeType}catch(ea){H={apply:E.length?function(a,b){G.apply(a,I.call(b))}:function(a,b){var c=a.length,d=0;while(a[c++]=b[d++]);a.length=c-1}}}function fa(a,b,d,e){var f,h,j,k,l,o,r,s,w=b&&b.ownerDocument,x=b?b.nodeType:9;if(d=d||[],"string"!=typeof a||!a||1!==x&&9!==x&&11!==x)return d;if(!e&&((b?b.ownerDocument||b:v)!==n&&m(b),b=b||n,p)){if(11!==x&&(o=$.exec(a)))if(f=o[1]){if(9===x){if(!(j=b.getElementById(f)))return d;if(j.id===f)return d.push(j),d}else if(w&&(j=w.getElementById(f))&&t(b,j)&&j.id===f)return d.push(j),d}else{if(o[2])return H.apply(d,b.getElementsByTagName(a)),d;if((f=o[3])&&c.getElementsByClassName&&b.getElementsByClassName)return H.apply(d,b.getElementsByClassName(f)),d}if(c.qsa&&!A[a+" "]&&(!q||!q.test(a))){if(1!==x)w=b,s=a;else if("object"!==b.nodeName.toLowerCase()){(k=b.getAttribute("id"))?k=k.replace(aa,"\\$&"):b.setAttribute("id",k=u),r=g(a),h=r.length,l=V.test(k)?"#"+k:"[id='"+k+"']";while(h--)r[h]=l+" "+qa(r[h]);s=r.join(","),w=_.test(a)&&oa(b.parentNode)||b}if(s)try{return H.apply(d,w.querySelectorAll(s)),d}catch(y){}finally{k===u&&b.removeAttribute("id")}}}return i(a.replace(Q,"$1"),b,d,e)}function ga(){var a=[];function b(c,e){return a.push(c+" ")>d.cacheLength&&delete b[a.shift()],b[c+" "]=e}return b}function ha(a){return a[u]=!0,a}function ia(a){var b=n.createElement("div");try{return!!a(b)}catch(c){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function ja(a,b){var c=a.split("|"),e=c.length;while(e--)d.attrHandle[c[e]]=b}function ka(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&(~b.sourceIndex||C)-(~a.sourceIndex||C);if(d)return d;if(c)while(c=c.nextSibling)if(c===b)return-1;return a?1:-1}function la(a){return function(b){var c=b.nodeName.toLowerCase();return"input"===c&&b.type===a}}function ma(a){return function(b){var c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function na(a){return ha(function(b){return b=+b,ha(function(c,d){var e,f=a([],c.length,b),g=f.length;while(g--)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function oa(a){return a&&"undefined"!=typeof a.getElementsByTagName&&a}c=fa.support={},f=fa.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return b?"HTML"!==b.nodeName:!1},m=fa.setDocument=function(a){var b,e,g=a?a.ownerDocument||a:v;return g!==n&&9===g.nodeType&&g.documentElement?(n=g,o=n.documentElement,p=!f(n),(e=n.defaultView)&&e.top!==e&&(e.addEventListener?e.addEventListener("unload",da,!1):e.attachEvent&&e.attachEvent("onunload",da)),c.attributes=ia(function(a){return a.className="i",!a.getAttribute("className")}),c.getElementsByTagName=ia(function(a){return a.appendChild(n.createComment("")),!a.getElementsByTagName("*").length}),c.getElementsByClassName=Z.test(n.getElementsByClassName),c.getById=ia(function(a){return o.appendChild(a).id=u,!n.getElementsByName||!n.getElementsByName(u).length}),c.getById?(d.find.ID=function(a,b){if("undefined"!=typeof b.getElementById&&p){var c=b.getElementById(a);return c?[c]:[]}},d.filter.ID=function(a){var b=a.replace(ba,ca);return function(a){return a.getAttribute("id")===b}}):(delete d.find.ID,d.filter.ID=function(a){var b=a.replace(ba,ca);return function(a){var c="undefined"!=typeof a.getAttributeNode&&a.getAttributeNode("id");return c&&c.value===b}}),d.find.TAG=c.getElementsByTagName?function(a,b){return"undefined"!=typeof b.getElementsByTagName?b.getElementsByTagName(a):c.qsa?b.querySelectorAll(a):void 0}:function(a,b){var c,d=[],e=0,f=b.getElementsByTagName(a);if("*"===a){while(c=f[e++])1===c.nodeType&&d.push(c);return d}return f},d.find.CLASS=c.getElementsByClassName&&function(a,b){return"undefined"!=typeof b.getElementsByClassName&&p?b.getElementsByClassName(a):void 0},r=[],q=[],(c.qsa=Z.test(n.querySelectorAll))&&(ia(function(a){o.appendChild(a).innerHTML="<a id='"+u+"'></a><select id='"+u+"-\r\\' msallowcapture=''><option selected=''></option></select>",a.querySelectorAll("[msallowcapture^='']").length&&q.push("[*^$]="+L+"*(?:''|\"\")"),a.querySelectorAll("[selected]").length||q.push("\\["+L+"*(?:value|"+K+")"),a.querySelectorAll("[id~="+u+"-]").length||q.push("~="),a.querySelectorAll(":checked").length||q.push(":checked"),a.querySelectorAll("a#"+u+"+*").length||q.push(".#.+[+~]")}),ia(function(a){var b=n.createElement("input");b.setAttribute("type","hidden"),a.appendChild(b).setAttribute("name","D"),a.querySelectorAll("[name=d]").length&&q.push("name"+L+"*[*^$|!~]?="),a.querySelectorAll(":enabled").length||q.push(":enabled",":disabled"),a.querySelectorAll("*,:x"),q.push(",.*:")})),(c.matchesSelector=Z.test(s=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&ia(function(a){c.disconnectedMatch=s.call(a,"div"),s.call(a,"[s!='']:x"),r.push("!=",O)}),q=q.length&&new RegExp(q.join("|")),r=r.length&&new RegExp(r.join("|")),b=Z.test(o.compareDocumentPosition),t=b||Z.test(o.contains)?function(a,b){var c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a===d||!(!d||1!==d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)while(b=b.parentNode)if(b===a)return!0;return!1},B=b?function(a,b){if(a===b)return l=!0,0;var d=!a.compareDocumentPosition-!b.compareDocumentPosition;return d?d:(d=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1,1&d||!c.sortDetached&&b.compareDocumentPosition(a)===d?a===n||a.ownerDocument===v&&t(v,a)?-1:b===n||b.ownerDocument===v&&t(v,b)?1:k?J(k,a)-J(k,b):0:4&d?-1:1)}:function(a,b){if(a===b)return l=!0,0;var c,d=0,e=a.parentNode,f=b.parentNode,g=[a],h=[b];if(!e||!f)return a===n?-1:b===n?1:e?-1:f?1:k?J(k,a)-J(k,b):0;if(e===f)return ka(a,b);c=a;while(c=c.parentNode)g.unshift(c);c=b;while(c=c.parentNode)h.unshift(c);while(g[d]===h[d])d++;return d?ka(g[d],h[d]):g[d]===v?-1:h[d]===v?1:0},n):n},fa.matches=function(a,b){return fa(a,null,null,b)},fa.matchesSelector=function(a,b){if((a.ownerDocument||a)!==n&&m(a),b=b.replace(T,"='$1']"),c.matchesSelector&&p&&!A[b+" "]&&(!r||!r.test(b))&&(!q||!q.test(b)))try{var d=s.call(a,b);if(d||c.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(e){}return fa(b,n,null,[a]).length>0},fa.contains=function(a,b){return(a.ownerDocument||a)!==n&&m(a),t(a,b)},fa.attr=function(a,b){(a.ownerDocument||a)!==n&&m(a);var e=d.attrHandle[b.toLowerCase()],f=e&&D.call(d.attrHandle,b.toLowerCase())?e(a,b,!p):void 0;return void 0!==f?f:c.attributes||!p?a.getAttribute(b):(f=a.getAttributeNode(b))&&f.specified?f.value:null},fa.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)},fa.uniqueSort=function(a){var b,d=[],e=0,f=0;if(l=!c.detectDuplicates,k=!c.sortStable&&a.slice(0),a.sort(B),l){while(b=a[f++])b===a[f]&&(e=d.push(f));while(e--)a.splice(d[e],1)}return k=null,a},e=fa.getText=function(a){var b,c="",d=0,f=a.nodeType;if(f){if(1===f||9===f||11===f){if("string"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=e(a)}else if(3===f||4===f)return a.nodeValue}else while(b=a[d++])c+=e(b);return c},d=fa.selectors={cacheLength:50,createPseudo:ha,match:W,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(ba,ca),a[3]=(a[3]||a[4]||a[5]||"").replace(ba,ca),"~="===a[2]&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),"nth"===a[1].slice(0,3)?(a[3]||fa.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*("even"===a[3]||"odd"===a[3])),a[5]=+(a[7]+a[8]||"odd"===a[3])):a[3]&&fa.error(a[0]),a},PSEUDO:function(a){var b,c=!a[6]&&a[2];return W.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||"":c&&U.test(c)&&(b=g(c,!0))&&(b=c.indexOf(")",c.length-b)-c.length)&&(a[0]=a[0].slice(0,b),a[2]=c.slice(0,b)),a.slice(0,3))}},filter:{TAG:function(a){var b=a.replace(ba,ca).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=y[a+" "];return b||(b=new RegExp("(^|"+L+")"+a+"("+L+"|$)"))&&y(a,function(a){return b.test("string"==typeof a.className&&a.className||"undefined"!=typeof a.getAttribute&&a.getAttribute("class")||"")})},ATTR:function(a,b,c){return function(d){var e=fa.attr(d,a);return null==e?"!="===b:b?(e+="","="===b?e===c:"!="===b?e!==c:"^="===b?c&&0===e.indexOf(c):"*="===b?c&&e.indexOf(c)>-1:"$="===b?c&&e.slice(-c.length)===c:"~="===b?(" "+e.replace(P," ")+" ").indexOf(c)>-1:"|="===b?e===c||e.slice(0,c.length+1)===c+"-":!1):!0}},CHILD:function(a,b,c,d,e){var f="nth"!==a.slice(0,3),g="last"!==a.slice(-4),h="of-type"===b;return 1===d&&0===e?function(a){return!!a.parentNode}:function(b,c,i){var j,k,l,m,n,o,p=f!==g?"nextSibling":"previousSibling",q=b.parentNode,r=h&&b.nodeName.toLowerCase(),s=!i&&!h,t=!1;if(q){if(f){while(p){m=b;while(m=m[p])if(h?m.nodeName.toLowerCase()===r:1===m.nodeType)return!1;o=p="only"===a&&!o&&"nextSibling"}return!0}if(o=[g?q.firstChild:q.lastChild],g&&s){m=q,l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),j=k[a]||[],n=j[0]===w&&j[1],t=n&&j[2],m=n&&q.childNodes[n];while(m=++n&&m&&m[p]||(t=n=0)||o.pop())if(1===m.nodeType&&++t&&m===b){k[a]=[w,n,t];break}}else if(s&&(m=b,l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),j=k[a]||[],n=j[0]===w&&j[1],t=n),t===!1)while(m=++n&&m&&m[p]||(t=n=0)||o.pop())if((h?m.nodeName.toLowerCase()===r:1===m.nodeType)&&++t&&(s&&(l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),k[a]=[w,t]),m===b))break;return t-=e,t===d||t%d===0&&t/d>=0}}},PSEUDO:function(a,b){var c,e=d.pseudos[a]||d.setFilters[a.toLowerCase()]||fa.error("unsupported pseudo: "+a);return e[u]?e(b):e.length>1?(c=[a,a,"",b],d.setFilters.hasOwnProperty(a.toLowerCase())?ha(function(a,c){var d,f=e(a,b),g=f.length;while(g--)d=J(a,f[g]),a[d]=!(c[d]=f[g])}):function(a){return e(a,0,c)}):e}},pseudos:{not:ha(function(a){var b=[],c=[],d=h(a.replace(Q,"$1"));return d[u]?ha(function(a,b,c,e){var f,g=d(a,null,e,[]),h=a.length;while(h--)(f=g[h])&&(a[h]=!(b[h]=f))}):function(a,e,f){return b[0]=a,d(b,null,f,c),b[0]=null,!c.pop()}}),has:ha(function(a){return function(b){return fa(a,b).length>0}}),contains:ha(function(a){return a=a.replace(ba,ca),function(b){return(b.textContent||b.innerText||e(b)).indexOf(a)>-1}}),lang:ha(function(a){return V.test(a||"")||fa.error("unsupported lang: "+a),a=a.replace(ba,ca).toLowerCase(),function(b){var c;do if(c=p?b.lang:b.getAttribute("xml:lang")||b.getAttribute("lang"))return c=c.toLowerCase(),c===a||0===c.indexOf(a+"-");while((b=b.parentNode)&&1===b.nodeType);return!1}}),target:function(b){var c=a.location&&a.location.hash;return c&&c.slice(1)===b.id},root:function(a){return a===o},focus:function(a){return a===n.activeElement&&(!n.hasFocus||n.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:function(a){return a.disabled===!1},disabled:function(a){return a.disabled===!0},checked:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&!!a.checked||"option"===b&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType<6)return!1;return!0},parent:function(a){return!d.pseudos.empty(a)},header:function(a){return Y.test(a.nodeName)},input:function(a){return X.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"button"===b},text:function(a){var b;return"input"===a.nodeName.toLowerCase()&&"text"===a.type&&(null==(b=a.getAttribute("type"))||"text"===b.toLowerCase())},first:na(function(){return[0]}),last:na(function(a,b){return[b-1]}),eq:na(function(a,b,c){return[0>c?c+b:c]}),even:na(function(a,b){for(var c=0;b>c;c+=2)a.push(c);return a}),odd:na(function(a,b){for(var c=1;b>c;c+=2)a.push(c);return a}),lt:na(function(a,b,c){for(var d=0>c?c+b:c;--d>=0;)a.push(d);return a}),gt:na(function(a,b,c){for(var d=0>c?c+b:c;++d<b;)a.push(d);return a})}},d.pseudos.nth=d.pseudos.eq;for(b in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})d.pseudos[b]=la(b);for(b in{submit:!0,reset:!0})d.pseudos[b]=ma(b);function pa(){}pa.prototype=d.filters=d.pseudos,d.setFilters=new pa,g=fa.tokenize=function(a,b){var c,e,f,g,h,i,j,k=z[a+" "];if(k)return b?0:k.slice(0);h=a,i=[],j=d.preFilter;while(h){c&&!(e=R.exec(h))||(e&&(h=h.slice(e[0].length)||h),i.push(f=[])),c=!1,(e=S.exec(h))&&(c=e.shift(),f.push({value:c,type:e[0].replace(Q," ")}),h=h.slice(c.length));for(g in d.filter)!(e=W[g].exec(h))||j[g]&&!(e=j[g](e))||(c=e.shift(),f.push({value:c,type:g,matches:e}),h=h.slice(c.length));if(!c)break}return b?h.length:h?fa.error(a):z(a,i).slice(0)};function qa(a){for(var b=0,c=a.length,d="";c>b;b++)d+=a[b].value;return d}function ra(a,b,c){var d=b.dir,e=c&&"parentNode"===d,f=x++;return b.first?function(b,c,f){while(b=b[d])if(1===b.nodeType||e)return a(b,c,f)}:function(b,c,g){var h,i,j,k=[w,f];if(g){while(b=b[d])if((1===b.nodeType||e)&&a(b,c,g))return!0}else while(b=b[d])if(1===b.nodeType||e){if(j=b[u]||(b[u]={}),i=j[b.uniqueID]||(j[b.uniqueID]={}),(h=i[d])&&h[0]===w&&h[1]===f)return k[2]=h[2];if(i[d]=k,k[2]=a(b,c,g))return!0}}}function sa(a){return a.length>1?function(b,c,d){var e=a.length;while(e--)if(!a[e](b,c,d))return!1;return!0}:a[0]}function ta(a,b,c){for(var d=0,e=b.length;e>d;d++)fa(a,b[d],c);return c}function ua(a,b,c,d,e){for(var f,g=[],h=0,i=a.length,j=null!=b;i>h;h++)(f=a[h])&&(c&&!c(f,d,e)||(g.push(f),j&&b.push(h)));return g}function va(a,b,c,d,e,f){return d&&!d[u]&&(d=va(d)),e&&!e[u]&&(e=va(e,f)),ha(function(f,g,h,i){var j,k,l,m=[],n=[],o=g.length,p=f||ta(b||"*",h.nodeType?[h]:h,[]),q=!a||!f&&b?p:ua(p,m,a,h,i),r=c?e||(f?a:o||d)?[]:g:q;if(c&&c(q,r,h,i),d){j=ua(r,n),d(j,[],h,i),k=j.length;while(k--)(l=j[k])&&(r[n[k]]=!(q[n[k]]=l))}if(f){if(e||a){if(e){j=[],k=r.length;while(k--)(l=r[k])&&j.push(q[k]=l);e(null,r=[],j,i)}k=r.length;while(k--)(l=r[k])&&(j=e?J(f,l):m[k])>-1&&(f[j]=!(g[j]=l))}}else r=ua(r===g?r.splice(o,r.length):r),e?e(null,g,r,i):H.apply(g,r)})}function wa(a){for(var b,c,e,f=a.length,g=d.relative[a[0].type],h=g||d.relative[" "],i=g?1:0,k=ra(function(a){return a===b},h,!0),l=ra(function(a){return J(b,a)>-1},h,!0),m=[function(a,c,d){var e=!g&&(d||c!==j)||((b=c).nodeType?k(a,c,d):l(a,c,d));return b=null,e}];f>i;i++)if(c=d.relative[a[i].type])m=[ra(sa(m),c)];else{if(c=d.filter[a[i].type].apply(null,a[i].matches),c[u]){for(e=++i;f>e;e++)if(d.relative[a[e].type])break;return va(i>1&&sa(m),i>1&&qa(a.slice(0,i-1).concat({value:" "===a[i-2].type?"*":""})).replace(Q,"$1"),c,e>i&&wa(a.slice(i,e)),f>e&&wa(a=a.slice(e)),f>e&&qa(a))}m.push(c)}return sa(m)}function xa(a,b){var c=b.length>0,e=a.length>0,f=function(f,g,h,i,k){var l,o,q,r=0,s="0",t=f&&[],u=[],v=j,x=f||e&&d.find.TAG("*",k),y=w+=null==v?1:Math.random()||.1,z=x.length;for(k&&(j=g===n||g||k);s!==z&&null!=(l=x[s]);s++){if(e&&l){o=0,g||l.ownerDocument===n||(m(l),h=!p);while(q=a[o++])if(q(l,g||n,h)){i.push(l);break}k&&(w=y)}c&&((l=!q&&l)&&r--,f&&t.push(l))}if(r+=s,c&&s!==r){o=0;while(q=b[o++])q(t,u,g,h);if(f){if(r>0)while(s--)t[s]||u[s]||(u[s]=F.call(i));u=ua(u)}H.apply(i,u),k&&!f&&u.length>0&&r+b.length>1&&fa.uniqueSort(i)}return k&&(w=y,j=v),t};return c?ha(f):f}return h=fa.compile=function(a,b){var c,d=[],e=[],f=A[a+" "];if(!f){b||(b=g(a)),c=b.length;while(c--)f=wa(b[c]),f[u]?d.push(f):e.push(f);f=A(a,xa(e,d)),f.selector=a}return f},i=fa.select=function(a,b,e,f){var i,j,k,l,m,n="function"==typeof a&&a,o=!f&&g(a=n.selector||a);if(e=e||[],1===o.length){if(j=o[0]=o[0].slice(0),j.length>2&&"ID"===(k=j[0]).type&&c.getById&&9===b.nodeType&&p&&d.relative[j[1].type]){if(b=(d.find.ID(k.matches[0].replace(ba,ca),b)||[])[0],!b)return e;n&&(b=b.parentNode),a=a.slice(j.shift().value.length)}i=W.needsContext.test(a)?0:j.length;while(i--){if(k=j[i],d.relative[l=k.type])break;if((m=d.find[l])&&(f=m(k.matches[0].replace(ba,ca),_.test(j[0].type)&&oa(b.parentNode)||b))){if(j.splice(i,1),a=f.length&&qa(j),!a)return H.apply(e,f),e;break}}}return(n||h(a,o))(f,b,!p,e,!b||_.test(a)&&oa(b.parentNode)||b),e},c.sortStable=u.split("").sort(B).join("")===u,c.detectDuplicates=!!l,m(),c.sortDetached=ia(function(a){return 1&a.compareDocumentPosition(n.createElement("div"))}),ia(function(a){return a.innerHTML="<a href='#'></a>","#"===a.firstChild.getAttribute("href")})||ja("type|href|height|width",function(a,b,c){return c?void 0:a.getAttribute(b,"type"===b.toLowerCase()?1:2)}),c.attributes&&ia(function(a){return a.innerHTML="<input/>",a.firstChild.setAttribute("value",""),""===a.firstChild.getAttribute("value")})||ja("value",function(a,b,c){return c||"input"!==a.nodeName.toLowerCase()?void 0:a.defaultValue}),ia(function(a){return null==a.getAttribute("disabled")})||ja(K,function(a,b,c){var d;return c?void 0:a[b]===!0?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.value:null}),fa}(a);n.find=t,n.expr=t.selectors,n.expr[":"]=n.expr.pseudos,n.uniqueSort=n.unique=t.uniqueSort,n.text=t.getText,n.isXMLDoc=t.isXML,n.contains=t.contains;var u=function(a,b,c){var d=[],e=void 0!==c;while((a=a[b])&&9!==a.nodeType)if(1===a.nodeType){if(e&&n(a).is(c))break;d.push(a)}return d},v=function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c},w=n.expr.match.needsContext,x=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,y=/^.[^:#\[\.,]*$/;function z(a,b,c){if(n.isFunction(b))return n.grep(a,function(a,d){return!!b.call(a,d,a)!==c});if(b.nodeType)return n.grep(a,function(a){return a===b!==c});if("string"==typeof b){if(y.test(b))return n.filter(b,a,c);b=n.filter(b,a)}return n.grep(a,function(a){return n.inArray(a,b)>-1!==c})}n.filter=function(a,b,c){var d=b[0];return c&&(a=":not("+a+")"),1===b.length&&1===d.nodeType?n.find.matchesSelector(d,a)?[d]:[]:n.find.matches(a,n.grep(b,function(a){return 1===a.nodeType}))},n.fn.extend({find:function(a){var b,c=[],d=this,e=d.length;if("string"!=typeof a)return this.pushStack(n(a).filter(function(){for(b=0;e>b;b++)if(n.contains(d[b],this))return!0}));for(b=0;e>b;b++)n.find(a,d[b],c);return c=this.pushStack(e>1?n.unique(c):c),c.selector=this.selector?this.selector+" "+a:a,c},filter:function(a){return this.pushStack(z(this,a||[],!1))},not:function(a){return this.pushStack(z(this,a||[],!0))},is:function(a){return!!z(this,"string"==typeof a&&w.test(a)?n(a):a||[],!1).length}});var A,B=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,C=n.fn.init=function(a,b,c){var e,f;if(!a)return this;if(c=c||A,"string"==typeof a){if(e="<"===a.charAt(0)&&">"===a.charAt(a.length-1)&&a.length>=3?[null,a,null]:B.exec(a),!e||!e[1]&&b)return!b||b.jquery?(b||c).find(a):this.constructor(b).find(a);if(e[1]){if(b=b instanceof n?b[0]:b,n.merge(this,n.parseHTML(e[1],b&&b.nodeType?b.ownerDocument||b:d,!0)),x.test(e[1])&&n.isPlainObject(b))for(e in b)n.isFunction(this[e])?this[e](b[e]):this.attr(e,b[e]);return this}if(f=d.getElementById(e[2]),f&&f.parentNode){if(f.id!==e[2])return A.find(a);this.length=1,this[0]=f}return this.context=d,this.selector=a,this}return a.nodeType?(this.context=this[0]=a,this.length=1,this):n.isFunction(a)?"undefined"!=typeof c.ready?c.ready(a):a(n):(void 0!==a.selector&&(this.selector=a.selector,this.context=a.context),n.makeArray(a,this))};C.prototype=n.fn,A=n(d);var D=/^(?:parents|prev(?:Until|All))/,E={children:!0,contents:!0,next:!0,prev:!0};n.fn.extend({has:function(a){var b,c=n(a,this),d=c.length;return this.filter(function(){for(b=0;d>b;b++)if(n.contains(this,c[b]))return!0})},closest:function(a,b){for(var c,d=0,e=this.length,f=[],g=w.test(a)||"string"!=typeof a?n(a,b||this.context):0;e>d;d++)for(c=this[d];c&&c!==b;c=c.parentNode)if(c.nodeType<11&&(g?g.index(c)>-1:1===c.nodeType&&n.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(f.length>1?n.uniqueSort(f):f)},index:function(a){return a?"string"==typeof a?n.inArray(this[0],n(a)):n.inArray(a.jquery?a[0]:a,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(n.uniqueSort(n.merge(this.get(),n(a,b))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}});function F(a,b){do a=a[b];while(a&&1!==a.nodeType);return a}n.each({parent:function(a){var b=a.parentNode;return b&&11!==b.nodeType?b:null},parents:function(a){return u(a,"parentNode")},parentsUntil:function(a,b,c){return u(a,"parentNode",c)},next:function(a){return F(a,"nextSibling")},prev:function(a){return F(a,"previousSibling")},nextAll:function(a){return u(a,"nextSibling")},prevAll:function(a){return u(a,"previousSibling")},nextUntil:function(a,b,c){return u(a,"nextSibling",c)},prevUntil:function(a,b,c){return u(a,"previousSibling",c)},siblings:function(a){return v((a.parentNode||{}).firstChild,a)},children:function(a){return v(a.firstChild)},contents:function(a){return n.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:n.merge([],a.childNodes)}},function(a,b){n.fn[a]=function(c,d){var e=n.map(this,b,c);return"Until"!==a.slice(-5)&&(d=c),d&&"string"==typeof d&&(e=n.filter(d,e)),this.length>1&&(E[a]||(e=n.uniqueSort(e)),D.test(a)&&(e=e.reverse())),this.pushStack(e)}});var G=/\S+/g;function H(a){var b={};return n.each(a.match(G)||[],function(a,c){b[c]=!0}),b}n.Callbacks=function(a){a="string"==typeof a?H(a):n.extend({},a);var b,c,d,e,f=[],g=[],h=-1,i=function(){for(e=a.once,d=b=!0;g.length;h=-1){c=g.shift();while(++h<f.length)f[h].apply(c[0],c[1])===!1&&a.stopOnFalse&&(h=f.length,c=!1)}a.memory||(c=!1),b=!1,e&&(f=c?[]:"")},j={add:function(){return f&&(c&&!b&&(h=f.length-1,g.push(c)),function d(b){n.each(b,function(b,c){n.isFunction(c)?a.unique&&j.has(c)||f.push(c):c&&c.length&&"string"!==n.type(c)&&d(c)})}(arguments),c&&!b&&i()),this},remove:function(){return n.each(arguments,function(a,b){var c;while((c=n.inArray(b,f,c))>-1)f.splice(c,1),h>=c&&h--}),this},has:function(a){return a?n.inArray(a,f)>-1:f.length>0},empty:function(){return f&&(f=[]),this},disable:function(){return e=g=[],f=c="",this},disabled:function(){return!f},lock:function(){return e=!0,c||j.disable(),this},locked:function(){return!!e},fireWith:function(a,c){return e||(c=c||[],c=[a,c.slice?c.slice():c],g.push(c),b||i()),this},fire:function(){return j.fireWith(this,arguments),this},fired:function(){return!!d}};return j},n.extend({Deferred:function(a){var b=[["resolve","done",n.Callbacks("once memory"),"resolved"],["reject","fail",n.Callbacks("once memory"),"rejected"],["notify","progress",n.Callbacks("memory")]],c="pending",d={state:function(){return c},always:function(){return e.done(arguments).fail(arguments),this},then:function(){var a=arguments;return n.Deferred(function(c){n.each(b,function(b,f){var g=n.isFunction(a[b])&&a[b];e[f[1]](function(){var a=g&&g.apply(this,arguments);a&&n.isFunction(a.promise)?a.promise().progress(c.notify).done(c.resolve).fail(c.reject):c[f[0]+"With"](this===d?c.promise():this,g?[a]:arguments)})}),a=null}).promise()},promise:function(a){return null!=a?n.extend(a,d):d}},e={};return d.pipe=d.then,n.each(b,function(a,f){var g=f[2],h=f[3];d[f[1]]=g.add,h&&g.add(function(){c=h},b[1^a][2].disable,b[2][2].lock),e[f[0]]=function(){return e[f[0]+"With"](this===e?d:this,arguments),this},e[f[0]+"With"]=g.fireWith}),d.promise(e),a&&a.call(e,e),e},when:function(a){var b=0,c=e.call(arguments),d=c.length,f=1!==d||a&&n.isFunction(a.promise)?d:0,g=1===f?a:n.Deferred(),h=function(a,b,c){return function(d){b[a]=this,c[a]=arguments.length>1?e.call(arguments):d,c===i?g.notifyWith(b,c):--f||g.resolveWith(b,c)}},i,j,k;if(d>1)for(i=new Array(d),j=new Array(d),k=new Array(d);d>b;b++)c[b]&&n.isFunction(c[b].promise)?c[b].promise().progress(h(b,j,i)).done(h(b,k,c)).fail(g.reject):--f;return f||g.resolveWith(k,c),g.promise()}});var I;n.fn.ready=function(a){return n.ready.promise().done(a),this},n.extend({isReady:!1,readyWait:1,holdReady:function(a){a?n.readyWait++:n.ready(!0)},ready:function(a){(a===!0?--n.readyWait:n.isReady)||(n.isReady=!0,a!==!0&&--n.readyWait>0||(I.resolveWith(d,[n]),n.fn.triggerHandler&&(n(d).triggerHandler("ready"),n(d).off("ready"))))}});function J(){d.addEventListener?(d.removeEventListener("DOMContentLoaded",K),a.removeEventListener("load",K)):(d.detachEvent("onreadystatechange",K),a.detachEvent("onload",K))}function K(){(d.addEventListener||"load"===a.event.type||"complete"===d.readyState)&&(J(),n.ready())}n.ready.promise=function(b){if(!I)if(I=n.Deferred(),"complete"===d.readyState||"loading"!==d.readyState&&!d.documentElement.doScroll)a.setTimeout(n.ready);else if(d.addEventListener)d.addEventListener("DOMContentLoaded",K),a.addEventListener("load",K);else{d.attachEvent("onreadystatechange",K),a.attachEvent("onload",K);var c=!1;try{c=null==a.frameElement&&d.documentElement}catch(e){}c&&c.doScroll&&!function f(){if(!n.isReady){try{c.doScroll("left")}catch(b){return a.setTimeout(f,50)}J(),n.ready()}}()}return I.promise(b)},n.ready.promise();var L;for(L in n(l))break;l.ownFirst="0"===L,l.inlineBlockNeedsLayout=!1,n(function(){var a,b,c,e;c=d.getElementsByTagName("body")[0],c&&c.style&&(b=d.createElement("div"),e=d.createElement("div"),e.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",c.appendChild(e).appendChild(b),"undefined"!=typeof b.style.zoom&&(b.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",l.inlineBlockNeedsLayout=a=3===b.offsetWidth,a&&(c.style.zoom=1)),c.removeChild(e))}),function(){var a=d.createElement("div");l.deleteExpando=!0;try{delete a.test}catch(b){l.deleteExpando=!1}a=null}();var M=function(a){var b=n.noData[(a.nodeName+" ").toLowerCase()],c=+a.nodeType||1;return 1!==c&&9!==c?!1:!b||b!==!0&&a.getAttribute("classid")===b},N=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,O=/([A-Z])/g;function P(a,b,c){if(void 0===c&&1===a.nodeType){var d="data-"+b.replace(O,"-$1").toLowerCase();if(c=a.getAttribute(d),"string"==typeof c){try{c="true"===c?!0:"false"===c?!1:"null"===c?null:+c+""===c?+c:N.test(c)?n.parseJSON(c):c}catch(e){}n.data(a,b,c)}else c=void 0;}return c}function Q(a){var b;for(b in a)if(("data"!==b||!n.isEmptyObject(a[b]))&&"toJSON"!==b)return!1;return!0}function R(a,b,d,e){if(M(a)){var f,g,h=n.expando,i=a.nodeType,j=i?n.cache:a,k=i?a[h]:a[h]&&h;if(k&&j[k]&&(e||j[k].data)||void 0!==d||"string"!=typeof b)return k||(k=i?a[h]=c.pop()||n.guid++:h),j[k]||(j[k]=i?{}:{toJSON:n.noop}),"object"!=typeof b&&"function"!=typeof b||(e?j[k]=n.extend(j[k],b):j[k].data=n.extend(j[k].data,b)),g=j[k],e||(g.data||(g.data={}),g=g.data),void 0!==d&&(g[n.camelCase(b)]=d),"string"==typeof b?(f=g[b],null==f&&(f=g[n.camelCase(b)])):f=g,f}}function S(a,b,c){if(M(a)){var d,e,f=a.nodeType,g=f?n.cache:a,h=f?a[n.expando]:n.expando;if(g[h]){if(b&&(d=c?g[h]:g[h].data)){n.isArray(b)?b=b.concat(n.map(b,n.camelCase)):b in d?b=[b]:(b=n.camelCase(b),b=b in d?[b]:b.split(" ")),e=b.length;while(e--)delete d[b[e]];if(c?!Q(d):!n.isEmptyObject(d))return}(c||(delete g[h].data,Q(g[h])))&&(f?n.cleanData([a],!0):l.deleteExpando||g!=g.window?delete g[h]:g[h]=void 0)}}}n.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(a){return a=a.nodeType?n.cache[a[n.expando]]:a[n.expando],!!a&&!Q(a)},data:function(a,b,c){return R(a,b,c)},removeData:function(a,b){return S(a,b)},_data:function(a,b,c){return R(a,b,c,!0)},_removeData:function(a,b){return S(a,b,!0)}}),n.fn.extend({data:function(a,b){var c,d,e,f=this[0],g=f&&f.attributes;if(void 0===a){if(this.length&&(e=n.data(f),1===f.nodeType&&!n._data(f,"parsedAttrs"))){c=g.length;while(c--)g[c]&&(d=g[c].name,0===d.indexOf("data-")&&(d=n.camelCase(d.slice(5)),P(f,d,e[d])));n._data(f,"parsedAttrs",!0)}return e}return"object"==typeof a?this.each(function(){n.data(this,a)}):arguments.length>1?this.each(function(){n.data(this,a,b)}):f?P(f,a,n.data(f,a)):void 0},removeData:function(a){return this.each(function(){n.removeData(this,a)})}}),n.extend({queue:function(a,b,c){var d;return a?(b=(b||"fx")+"queue",d=n._data(a,b),c&&(!d||n.isArray(c)?d=n._data(a,b,n.makeArray(c)):d.push(c)),d||[]):void 0},dequeue:function(a,b){b=b||"fx";var c=n.queue(a,b),d=c.length,e=c.shift(),f=n._queueHooks(a,b),g=function(){n.dequeue(a,b)};"inprogress"===e&&(e=c.shift(),d--),e&&("fx"===b&&c.unshift("inprogress"),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var c=b+"queueHooks";return n._data(a,c)||n._data(a,c,{empty:n.Callbacks("once memory").add(function(){n._removeData(a,b+"queue"),n._removeData(a,c)})})}}),n.fn.extend({queue:function(a,b){var c=2;return"string"!=typeof a&&(b=a,a="fx",c--),arguments.length<c?n.queue(this[0],a):void 0===b?this:this.each(function(){var c=n.queue(this,a,b);n._queueHooks(this,a),"fx"===a&&"inprogress"!==c[0]&&n.dequeue(this,a)})},dequeue:function(a){return this.each(function(){n.dequeue(this,a)})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a,b){var c,d=1,e=n.Deferred(),f=this,g=this.length,h=function(){--d||e.resolveWith(f,[f])};"string"!=typeof a&&(b=a,a=void 0),a=a||"fx";while(g--)c=n._data(f[g],a+"queueHooks"),c&&c.empty&&(d++,c.empty.add(h));return h(),e.promise(b)}}),function(){var a;l.shrinkWrapBlocks=function(){if(null!=a)return a;a=!1;var b,c,e;return c=d.getElementsByTagName("body")[0],c&&c.style?(b=d.createElement("div"),e=d.createElement("div"),e.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",c.appendChild(e).appendChild(b),"undefined"!=typeof b.style.zoom&&(b.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:1px;width:1px;zoom:1",b.appendChild(d.createElement("div")).style.width="5px",a=3!==b.offsetWidth),c.removeChild(e),a):void 0}}();var T=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,U=new RegExp("^(?:([+-])=|)("+T+")([a-z%]*)$","i"),V=["Top","Right","Bottom","Left"],W=function(a,b){return a=b||a,"none"===n.css(a,"display")||!n.contains(a.ownerDocument,a)};function X(a,b,c,d){var e,f=1,g=20,h=d?function(){return d.cur()}:function(){return n.css(a,b,"")},i=h(),j=c&&c[3]||(n.cssNumber[b]?"":"px"),k=(n.cssNumber[b]||"px"!==j&&+i)&&U.exec(n.css(a,b));if(k&&k[3]!==j){j=j||k[3],c=c||[],k=+i||1;do f=f||".5",k/=f,n.style(a,b,k+j);while(f!==(f=h()/i)&&1!==f&&--g)}return c&&(k=+k||+i||0,e=c[1]?k+(c[1]+1)*c[2]:+c[2],d&&(d.unit=j,d.start=k,d.end=e)),e}var Y=function(a,b,c,d,e,f,g){var h=0,i=a.length,j=null==c;if("object"===n.type(c)){e=!0;for(h in c)Y(a,b,h,c[h],!0,f,g)}else if(void 0!==d&&(e=!0,n.isFunction(d)||(g=!0),j&&(g?(b.call(a,d),b=null):(j=b,b=function(a,b,c){return j.call(n(a),c)})),b))for(;i>h;h++)b(a[h],c,g?d:d.call(a[h],h,b(a[h],c)));return e?a:j?b.call(a):i?b(a[0],c):f},Z=/^(?:checkbox|radio)$/i,$=/<([\w:-]+)/,_=/^$|\/(?:java|ecma)script/i,aa=/^\s+/,ba="abbr|article|aside|audio|bdi|canvas|data|datalist|details|dialog|figcaption|figure|footer|header|hgroup|main|mark|meter|nav|output|picture|progress|section|summary|template|time|video";function ca(a){var b=ba.split("|"),c=a.createDocumentFragment();if(c.createElement)while(b.length)c.createElement(b.pop());return c}!function(){var a=d.createElement("div"),b=d.createDocumentFragment(),c=d.createElement("input");a.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",l.leadingWhitespace=3===a.firstChild.nodeType,l.tbody=!a.getElementsByTagName("tbody").length,l.htmlSerialize=!!a.getElementsByTagName("link").length,l.html5Clone="<:nav></:nav>"!==d.createElement("nav").cloneNode(!0).outerHTML,c.type="checkbox",c.checked=!0,b.appendChild(c),l.appendChecked=c.checked,a.innerHTML="<textarea>x</textarea>",l.noCloneChecked=!!a.cloneNode(!0).lastChild.defaultValue,b.appendChild(a),c=d.createElement("input"),c.setAttribute("type","radio"),c.setAttribute("checked","checked"),c.setAttribute("name","t"),a.appendChild(c),l.checkClone=a.cloneNode(!0).cloneNode(!0).lastChild.checked,l.noCloneEvent=!!a.addEventListener,a[n.expando]=1,l.attributes=!a.getAttribute(n.expando)}();var da={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:l.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]};da.optgroup=da.option,da.tbody=da.tfoot=da.colgroup=da.caption=da.thead,da.th=da.td;function ea(a,b){var c,d,e=0,f="undefined"!=typeof a.getElementsByTagName?a.getElementsByTagName(b||"*"):"undefined"!=typeof a.querySelectorAll?a.querySelectorAll(b||"*"):void 0;if(!f)for(f=[],c=a.childNodes||a;null!=(d=c[e]);e++)!b||n.nodeName(d,b)?f.push(d):n.merge(f,ea(d,b));return void 0===b||b&&n.nodeName(a,b)?n.merge([a],f):f}function fa(a,b){for(var c,d=0;null!=(c=a[d]);d++)n._data(c,"globalEval",!b||n._data(b[d],"globalEval"))}var ga=/<|&#?\w+;/,ha=/<tbody/i;function ia(a){Z.test(a.type)&&(a.defaultChecked=a.checked)}function ja(a,b,c,d,e){for(var f,g,h,i,j,k,m,o=a.length,p=ca(b),q=[],r=0;o>r;r++)if(g=a[r],g||0===g)if("object"===n.type(g))n.merge(q,g.nodeType?[g]:g);else if(ga.test(g)){i=i||p.appendChild(b.createElement("div")),j=($.exec(g)||["",""])[1].toLowerCase(),m=da[j]||da._default,i.innerHTML=m[1]+n.htmlPrefilter(g)+m[2],f=m[0];while(f--)i=i.lastChild;if(!l.leadingWhitespace&&aa.test(g)&&q.push(b.createTextNode(aa.exec(g)[0])),!l.tbody){g="table"!==j||ha.test(g)?"<table>"!==m[1]||ha.test(g)?0:i:i.firstChild,f=g&&g.childNodes.length;while(f--)n.nodeName(k=g.childNodes[f],"tbody")&&!k.childNodes.length&&g.removeChild(k)}n.merge(q,i.childNodes),i.textContent="";while(i.firstChild)i.removeChild(i.firstChild);i=p.lastChild}else q.push(b.createTextNode(g));i&&p.removeChild(i),l.appendChecked||n.grep(ea(q,"input"),ia),r=0;while(g=q[r++])if(d&&n.inArray(g,d)>-1)e&&e.push(g);else if(h=n.contains(g.ownerDocument,g),i=ea(p.appendChild(g),"script"),h&&fa(i),c){f=0;while(g=i[f++])_.test(g.type||"")&&c.push(g)}return i=null,p}!function(){var b,c,e=d.createElement("div");for(b in{submit:!0,change:!0,focusin:!0})c="on"+b,(l[b]=c in a)||(e.setAttribute(c,"t"),l[b]=e.attributes[c].expando===!1);e=null}();var ka=/^(?:input|select|textarea)$/i,la=/^key/,ma=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,na=/^(?:focusinfocus|focusoutblur)$/,oa=/^([^.]*)(?:\.(.+)|)/;function pa(){return!0}function qa(){return!1}function ra(){try{return d.activeElement}catch(a){}}function sa(a,b,c,d,e,f){var g,h;if("object"==typeof b){"string"!=typeof c&&(d=d||c,c=void 0);for(h in b)sa(a,h,c,d,b[h],f);return a}if(null==d&&null==e?(e=c,d=c=void 0):null==e&&("string"==typeof c?(e=d,d=void 0):(e=d,d=c,c=void 0)),e===!1)e=qa;else if(!e)return a;return 1===f&&(g=e,e=function(a){return n().off(a),g.apply(this,arguments)},e.guid=g.guid||(g.guid=n.guid++)),a.each(function(){n.event.add(this,b,e,d,c)})}n.event={global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,o,p,q,r=n._data(a);if(r){c.handler&&(i=c,c=i.handler,e=i.selector),c.guid||(c.guid=n.guid++),(g=r.events)||(g=r.events={}),(k=r.handle)||(k=r.handle=function(a){return"undefined"==typeof n||a&&n.event.triggered===a.type?void 0:n.event.dispatch.apply(k.elem,arguments)},k.elem=a),b=(b||"").match(G)||[""],h=b.length;while(h--)f=oa.exec(b[h])||[],o=q=f[1],p=(f[2]||"").split(".").sort(),o&&(j=n.event.special[o]||{},o=(e?j.delegateType:j.bindType)||o,j=n.event.special[o]||{},l=n.extend({type:o,origType:q,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&n.expr.match.needsContext.test(e),namespace:p.join(".")},i),(m=g[o])||(m=g[o]=[],m.delegateCount=0,j.setup&&j.setup.call(a,d,p,k)!==!1||(a.addEventListener?a.addEventListener(o,k,!1):a.attachEvent&&a.attachEvent("on"+o,k))),j.add&&(j.add.call(a,l),l.handler.guid||(l.handler.guid=c.guid)),e?m.splice(m.delegateCount++,0,l):m.push(l),n.event.global[o]=!0);a=null}},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,o,p,q,r=n.hasData(a)&&n._data(a);if(r&&(k=r.events)){b=(b||"").match(G)||[""],j=b.length;while(j--)if(h=oa.exec(b[j])||[],o=q=h[1],p=(h[2]||"").split(".").sort(),o){l=n.event.special[o]||{},o=(d?l.delegateType:l.bindType)||o,m=k[o]||[],h=h[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),i=f=m.length;while(f--)g=m[f],!e&&q!==g.origType||c&&c.guid!==g.guid||h&&!h.test(g.namespace)||d&&d!==g.selector&&("**"!==d||!g.selector)||(m.splice(f,1),g.selector&&m.delegateCount--,l.remove&&l.remove.call(a,g));i&&!m.length&&(l.teardown&&l.teardown.call(a,p,r.handle)!==!1||n.removeEvent(a,o,r.handle),delete k[o])}else for(o in k)n.event.remove(a,o+b[j],c,d,!0);n.isEmptyObject(k)&&(delete r.handle,n._removeData(a,"events"))}},trigger:function(b,c,e,f){var g,h,i,j,l,m,o,p=[e||d],q=k.call(b,"type")?b.type:b,r=k.call(b,"namespace")?b.namespace.split("."):[];if(i=m=e=e||d,3!==e.nodeType&&8!==e.nodeType&&!na.test(q+n.event.triggered)&&(q.indexOf(".")>-1&&(r=q.split("."),q=r.shift(),r.sort()),h=q.indexOf(":")<0&&"on"+q,b=b[n.expando]?b:new n.Event(q,"object"==typeof b&&b),b.isTrigger=f?2:3,b.namespace=r.join("."),b.rnamespace=b.namespace?new RegExp("(^|\\.)"+r.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,b.result=void 0,b.target||(b.target=e),c=null==c?[b]:n.makeArray(c,[b]),l=n.event.special[q]||{},f||!l.trigger||l.trigger.apply(e,c)!==!1)){if(!f&&!l.noBubble&&!n.isWindow(e)){for(j=l.delegateType||q,na.test(j+q)||(i=i.parentNode);i;i=i.parentNode)p.push(i),m=i;m===(e.ownerDocument||d)&&p.push(m.defaultView||m.parentWindow||a)}o=0;while((i=p[o++])&&!b.isPropagationStopped())b.type=o>1?j:l.bindType||q,g=(n._data(i,"events")||{})[b.type]&&n._data(i,"handle"),g&&g.apply(i,c),g=h&&i[h],g&&g.apply&&M(i)&&(b.result=g.apply(i,c),b.result===!1&&b.preventDefault());if(b.type=q,!f&&!b.isDefaultPrevented()&&(!l._default||l._default.apply(p.pop(),c)===!1)&&M(e)&&h&&e[q]&&!n.isWindow(e)){m=e[h],m&&(e[h]=null),n.event.triggered=q;try{e[q]()}catch(s){}n.event.triggered=void 0,m&&(e[h]=m)}return b.result}},dispatch:function(a){a=n.event.fix(a);var b,c,d,f,g,h=[],i=e.call(arguments),j=(n._data(this,"events")||{})[a.type]||[],k=n.event.special[a.type]||{};if(i[0]=a,a.delegateTarget=this,!k.preDispatch||k.preDispatch.call(this,a)!==!1){h=n.event.handlers.call(this,a,j),b=0;while((f=h[b++])&&!a.isPropagationStopped()){a.currentTarget=f.elem,c=0;while((g=f.handlers[c++])&&!a.isImmediatePropagationStopped())a.rnamespace&&!a.rnamespace.test(g.namespace)||(a.handleObj=g,a.data=g.data,d=((n.event.special[g.origType]||{}).handle||g.handler).apply(f.elem,i),void 0!==d&&(a.result=d)===!1&&(a.preventDefault(),a.stopPropagation()))}return k.postDispatch&&k.postDispatch.call(this,a),a.result}},handlers:function(a,b){var c,d,e,f,g=[],h=b.delegateCount,i=a.target;if(h&&i.nodeType&&("click"!==a.type||isNaN(a.button)||a.button<1))for(;i!=this;i=i.parentNode||this)if(1===i.nodeType&&(i.disabled!==!0||"click"!==a.type)){for(d=[],c=0;h>c;c++)f=b[c],e=f.selector+" ",void 0===d[e]&&(d[e]=f.needsContext?n(e,this).index(i)>-1:n.find(e,this,null,[i]).length),d[e]&&d.push(f);d.length&&g.push({elem:i,handlers:d})}return h<b.length&&g.push({elem:this,handlers:b.slice(h)}),g},fix:function(a){if(a[n.expando])return a;var b,c,e,f=a.type,g=a,h=this.fixHooks[f];h||(this.fixHooks[f]=h=ma.test(f)?this.mouseHooks:la.test(f)?this.keyHooks:{}),e=h.props?this.props.concat(h.props):this.props,a=new n.Event(g),b=e.length;while(b--)c=e[b],a[c]=g[c];return a.target||(a.target=g.srcElement||d),3===a.target.nodeType&&(a.target=a.target.parentNode),a.metaKey=!!a.metaKey,h.filter?h.filter(a,g):a},props:"altKey bubbles cancelable ctrlKey currentTarget detail eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(a,b){return null==a.which&&(a.which=null!=b.charCode?b.charCode:b.keyCode),a}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(a,b){var c,e,f,g=b.button,h=b.fromElement;return null==a.pageX&&null!=b.clientX&&(e=a.target.ownerDocument||d,f=e.documentElement,c=e.body,a.pageX=b.clientX+(f&&f.scrollLeft||c&&c.scrollLeft||0)-(f&&f.clientLeft||c&&c.clientLeft||0),a.pageY=b.clientY+(f&&f.scrollTop||c&&c.scrollTop||0)-(f&&f.clientTop||c&&c.clientTop||0)),!a.relatedTarget&&h&&(a.relatedTarget=h===a.target?b.toElement:h),a.which||void 0===g||(a.which=1&g?1:2&g?3:4&g?2:0),a}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==ra()&&this.focus)try{return this.focus(),!1}catch(a){}},delegateType:"focusin"},blur:{trigger:function(){return this===ra()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{trigger:function(){return n.nodeName(this,"input")&&"checkbox"===this.type&&this.click?(this.click(),!1):void 0},_default:function(a){return n.nodeName(a.target,"a")}},beforeunload:{postDispatch:function(a){void 0!==a.result&&a.originalEvent&&(a.originalEvent.returnValue=a.result)}}},simulate:function(a,b,c){var d=n.extend(new n.Event,c,{type:a,isSimulated:!0});n.event.trigger(d,null,b),d.isDefaultPrevented()&&c.preventDefault()}},n.removeEvent=d.removeEventListener?function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c)}:function(a,b,c){var d="on"+b;a.detachEvent&&("undefined"==typeof a[d]&&(a[d]=null),a.detachEvent(d,c))},n.Event=function(a,b){return this instanceof n.Event?(a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||void 0===a.defaultPrevented&&a.returnValue===!1?pa:qa):this.type=a,b&&n.extend(this,b),this.timeStamp=a&&a.timeStamp||n.now(),void(this[n.expando]=!0)):new n.Event(a,b)},n.Event.prototype={constructor:n.Event,isDefaultPrevented:qa,isPropagationStopped:qa,isImmediatePropagationStopped:qa,preventDefault:function(){var a=this.originalEvent;this.isDefaultPrevented=pa,a&&(a.preventDefault?a.preventDefault():a.returnValue=!1)},stopPropagation:function(){var a=this.originalEvent;this.isPropagationStopped=pa,a&&!this.isSimulated&&(a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0)},stopImmediatePropagation:function(){var a=this.originalEvent;this.isImmediatePropagationStopped=pa,a&&a.stopImmediatePropagation&&a.stopImmediatePropagation(),this.stopPropagation()}},n.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(a,b){n.event.special[a]={delegateType:b,bindType:b,handle:function(a){var c,d=this,e=a.relatedTarget,f=a.handleObj;return e&&(e===d||n.contains(d,e))||(a.type=f.origType,c=f.handler.apply(this,arguments),a.type=b),c}}}),l.submit||(n.event.special.submit={setup:function(){return n.nodeName(this,"form")?!1:void n.event.add(this,"click._submit keypress._submit",function(a){var b=a.target,c=n.nodeName(b,"input")||n.nodeName(b,"button")?n.prop(b,"form"):void 0;c&&!n._data(c,"submit")&&(n.event.add(c,"submit._submit",function(a){a._submitBubble=!0}),n._data(c,"submit",!0))})},postDispatch:function(a){a._submitBubble&&(delete a._submitBubble,this.parentNode&&!a.isTrigger&&n.event.simulate("submit",this.parentNode,a))},teardown:function(){return n.nodeName(this,"form")?!1:void n.event.remove(this,"._submit")}}),l.change||(n.event.special.change={setup:function(){return ka.test(this.nodeName)?("checkbox"!==this.type&&"radio"!==this.type||(n.event.add(this,"propertychange._change",function(a){"checked"===a.originalEvent.propertyName&&(this._justChanged=!0)}),n.event.add(this,"click._change",function(a){this._justChanged&&!a.isTrigger&&(this._justChanged=!1),n.event.simulate("change",this,a)})),!1):void n.event.add(this,"beforeactivate._change",function(a){var b=a.target;ka.test(b.nodeName)&&!n._data(b,"change")&&(n.event.add(b,"change._change",function(a){!this.parentNode||a.isSimulated||a.isTrigger||n.event.simulate("change",this.parentNode,a)}),n._data(b,"change",!0))})},handle:function(a){var b=a.target;return this!==b||a.isSimulated||a.isTrigger||"radio"!==b.type&&"checkbox"!==b.type?a.handleObj.handler.apply(this,arguments):void 0},teardown:function(){return n.event.remove(this,"._change"),!ka.test(this.nodeName)}}),l.focusin||n.each({focus:"focusin",blur:"focusout"},function(a,b){var c=function(a){n.event.simulate(b,a.target,n.event.fix(a))};n.event.special[b]={setup:function(){var d=this.ownerDocument||this,e=n._data(d,b);e||d.addEventListener(a,c,!0),n._data(d,b,(e||0)+1)},teardown:function(){var d=this.ownerDocument||this,e=n._data(d,b)-1;e?n._data(d,b,e):(d.removeEventListener(a,c,!0),n._removeData(d,b))}}}),n.fn.extend({on:function(a,b,c,d){return sa(this,a,b,c,d)},one:function(a,b,c,d){return sa(this,a,b,c,d,1)},off:function(a,b,c){var d,e;if(a&&a.preventDefault&&a.handleObj)return d=a.handleObj,n(a.delegateTarget).off(d.namespace?d.origType+"."+d.namespace:d.origType,d.selector,d.handler),this;if("object"==typeof a){for(e in a)this.off(e,b,a[e]);return this}return b!==!1&&"function"!=typeof b||(c=b,b=void 0),c===!1&&(c=qa),this.each(function(){n.event.remove(this,a,c,b)})},trigger:function(a,b){return this.each(function(){n.event.trigger(a,b,this)})},triggerHandler:function(a,b){var c=this[0];return c?n.event.trigger(a,b,c,!0):void 0}});var ta=/ jQuery\d+="(?:null|\d+)"/g,ua=new RegExp("<(?:"+ba+")[\\s/>]","i"),va=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,wa=/<script|<style|<link/i,xa=/checked\s*(?:[^=]|=\s*.checked.)/i,ya=/^true\/(.*)/,za=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,Aa=ca(d),Ba=Aa.appendChild(d.createElement("div"));function Ca(a,b){return n.nodeName(a,"table")&&n.nodeName(11!==b.nodeType?b:b.firstChild,"tr")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function Da(a){return a.type=(null!==n.find.attr(a,"type"))+"/"+a.type,a}function Ea(a){var b=ya.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function Fa(a,b){if(1===b.nodeType&&n.hasData(a)){var c,d,e,f=n._data(a),g=n._data(b,f),h=f.events;if(h){delete g.handle,g.events={};for(c in h)for(d=0,e=h[c].length;e>d;d++)n.event.add(b,c,h[c][d])}g.data&&(g.data=n.extend({},g.data))}}function Ga(a,b){var c,d,e;if(1===b.nodeType){if(c=b.nodeName.toLowerCase(),!l.noCloneEvent&&b[n.expando]){e=n._data(b);for(d in e.events)n.removeEvent(b,d,e.handle);b.removeAttribute(n.expando)}"script"===c&&b.text!==a.text?(Da(b).text=a.text,Ea(b)):"object"===c?(b.parentNode&&(b.outerHTML=a.outerHTML),l.html5Clone&&a.innerHTML&&!n.trim(b.innerHTML)&&(b.innerHTML=a.innerHTML)):"input"===c&&Z.test(a.type)?(b.defaultChecked=b.checked=a.checked,b.value!==a.value&&(b.value=a.value)):"option"===c?b.defaultSelected=b.selected=a.defaultSelected:"input"!==c&&"textarea"!==c||(b.defaultValue=a.defaultValue)}}function Ha(a,b,c,d){b=f.apply([],b);var e,g,h,i,j,k,m=0,o=a.length,p=o-1,q=b[0],r=n.isFunction(q);if(r||o>1&&"string"==typeof q&&!l.checkClone&&xa.test(q))return a.each(function(e){var f=a.eq(e);r&&(b[0]=q.call(this,e,f.html())),Ha(f,b,c,d)});if(o&&(k=ja(b,a[0].ownerDocument,!1,a,d),e=k.firstChild,1===k.childNodes.length&&(k=e),e||d)){for(i=n.map(ea(k,"script"),Da),h=i.length;o>m;m++)g=k,m!==p&&(g=n.clone(g,!0,!0),h&&n.merge(i,ea(g,"script"))),c.call(a[m],g,m);if(h)for(j=i[i.length-1].ownerDocument,n.map(i,Ea),m=0;h>m;m++)g=i[m],_.test(g.type||"")&&!n._data(g,"globalEval")&&n.contains(j,g)&&(g.src?n._evalUrl&&n._evalUrl(g.src):n.globalEval((g.text||g.textContent||g.innerHTML||"").replace(za,"")));k=e=null}return a}function Ia(a,b,c){for(var d,e=b?n.filter(b,a):a,f=0;null!=(d=e[f]);f++)c||1!==d.nodeType||n.cleanData(ea(d)),d.parentNode&&(c&&n.contains(d.ownerDocument,d)&&fa(ea(d,"script")),d.parentNode.removeChild(d));return a}n.extend({htmlPrefilter:function(a){return a.replace(va,"<$1></$2>")},clone:function(a,b,c){var d,e,f,g,h,i=n.contains(a.ownerDocument,a);if(l.html5Clone||n.isXMLDoc(a)||!ua.test("<"+a.nodeName+">")?f=a.cloneNode(!0):(Ba.innerHTML=a.outerHTML,Ba.removeChild(f=Ba.firstChild)),!(l.noCloneEvent&&l.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||n.isXMLDoc(a)))for(d=ea(f),h=ea(a),g=0;null!=(e=h[g]);++g)d[g]&&Ga(e,d[g]);if(b)if(c)for(h=h||ea(a),d=d||ea(f),g=0;null!=(e=h[g]);g++)Fa(e,d[g]);else Fa(a,f);return d=ea(f,"script"),d.length>0&&fa(d,!i&&ea(a,"script")),d=h=e=null,f},cleanData:function(a,b){for(var d,e,f,g,h=0,i=n.expando,j=n.cache,k=l.attributes,m=n.event.special;null!=(d=a[h]);h++)if((b||M(d))&&(f=d[i],g=f&&j[f])){if(g.events)for(e in g.events)m[e]?n.event.remove(d,e):n.removeEvent(d,e,g.handle);j[f]&&(delete j[f],k||"undefined"==typeof d.removeAttribute?d[i]=void 0:d.removeAttribute(i),c.push(f))}}}),n.fn.extend({domManip:Ha,detach:function(a){return Ia(this,a,!0)},remove:function(a){return Ia(this,a)},text:function(a){return Y(this,function(a){return void 0===a?n.text(this):this.empty().append((this[0]&&this[0].ownerDocument||d).createTextNode(a))},null,a,arguments.length)},append:function(){return Ha(this,arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=Ca(this,a);b.appendChild(a)}})},prepend:function(){return Ha(this,arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=Ca(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return Ha(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return Ha(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},empty:function(){for(var a,b=0;null!=(a=this[b]);b++){1===a.nodeType&&n.cleanData(ea(a,!1));while(a.firstChild)a.removeChild(a.firstChild);a.options&&n.nodeName(a,"select")&&(a.options.length=0)}return this},clone:function(a,b){return a=null==a?!1:a,b=null==b?a:b,this.map(function(){return n.clone(this,a,b)})},html:function(a){return Y(this,function(a){var b=this[0]||{},c=0,d=this.length;if(void 0===a)return 1===b.nodeType?b.innerHTML.replace(ta,""):void 0;if("string"==typeof a&&!wa.test(a)&&(l.htmlSerialize||!ua.test(a))&&(l.leadingWhitespace||!aa.test(a))&&!da[($.exec(a)||["",""])[1].toLowerCase()]){a=n.htmlPrefilter(a);try{for(;d>c;c++)b=this[c]||{},1===b.nodeType&&(n.cleanData(ea(b,!1)),b.innerHTML=a);b=0}catch(e){}}b&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(){var a=[];return Ha(this,arguments,function(b){var c=this.parentNode;n.inArray(this,a)<0&&(n.cleanData(ea(this)),c&&c.replaceChild(b,this))},a)}}),n.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){n.fn[a]=function(a){for(var c,d=0,e=[],f=n(a),h=f.length-1;h>=d;d++)c=d===h?this:this.clone(!0),n(f[d])[b](c),g.apply(e,c.get());return this.pushStack(e)}});var Ja,Ka={HTML:"block",BODY:"block"};function La(a,b){var c=n(b.createElement(a)).appendTo(b.body),d=n.css(c[0],"display");return c.detach(),d}function Ma(a){var b=d,c=Ka[a];return c||(c=La(a,b),"none"!==c&&c||(Ja=(Ja||n("<iframe frameborder='0' width='0' height='0'/>")).appendTo(b.documentElement),b=(Ja[0].contentWindow||Ja[0].contentDocument).document,b.write(),b.close(),c=La(a,b),Ja.detach()),Ka[a]=c),c}var Na=/^margin/,Oa=new RegExp("^("+T+")(?!px)[a-z%]+$","i"),Pa=function(a,b,c,d){var e,f,g={};for(f in b)g[f]=a.style[f],a.style[f]=b[f];e=c.apply(a,d||[]);for(f in b)a.style[f]=g[f];return e},Qa=d.documentElement;!function(){var b,c,e,f,g,h,i=d.createElement("div"),j=d.createElement("div");if(j.style){j.style.cssText="float:left;opacity:.5",l.opacity="0.5"===j.style.opacity,l.cssFloat=!!j.style.cssFloat,j.style.backgroundClip="content-box",j.cloneNode(!0).style.backgroundClip="",l.clearCloneStyle="content-box"===j.style.backgroundClip,i=d.createElement("div"),i.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",j.innerHTML="",i.appendChild(j),l.boxSizing=""===j.style.boxSizing||""===j.style.MozBoxSizing||""===j.style.WebkitBoxSizing,n.extend(l,{reliableHiddenOffsets:function(){return null==b&&k(),f},boxSizingReliable:function(){return null==b&&k(),e},pixelMarginRight:function(){return null==b&&k(),c},pixelPosition:function(){return null==b&&k(),b},reliableMarginRight:function(){return null==b&&k(),g},reliableMarginLeft:function(){return null==b&&k(),h}});function k(){var k,l,m=d.documentElement;m.appendChild(i),j.style.cssText="-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",b=e=h=!1,c=g=!0,a.getComputedStyle&&(l=a.getComputedStyle(j),b="1%"!==(l||{}).top,h="2px"===(l||{}).marginLeft,e="4px"===(l||{width:"4px"}).width,j.style.marginRight="50%",c="4px"===(l||{marginRight:"4px"}).marginRight,k=j.appendChild(d.createElement("div")),k.style.cssText=j.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",k.style.marginRight=k.style.width="0",j.style.width="1px",g=!parseFloat((a.getComputedStyle(k)||{}).marginRight),j.removeChild(k)),j.style.display="none",f=0===j.getClientRects().length,f&&(j.style.display="",j.innerHTML="<table><tr><td></td><td>t</td></tr></table>",j.childNodes[0].style.borderCollapse="separate",k=j.getElementsByTagName("td"),k[0].style.cssText="margin:0;border:0;padding:0;display:none",f=0===k[0].offsetHeight,f&&(k[0].style.display="",k[1].style.display="none",f=0===k[0].offsetHeight)),m.removeChild(i)}}}();var Ra,Sa,Ta=/^(top|right|bottom|left)$/;a.getComputedStyle?(Ra=function(b){var c=b.ownerDocument.defaultView;return c&&c.opener||(c=a),c.getComputedStyle(b)},Sa=function(a,b,c){var d,e,f,g,h=a.style;return c=c||Ra(a),g=c?c.getPropertyValue(b)||c[b]:void 0,""!==g&&void 0!==g||n.contains(a.ownerDocument,a)||(g=n.style(a,b)),c&&!l.pixelMarginRight()&&Oa.test(g)&&Na.test(b)&&(d=h.width,e=h.minWidth,f=h.maxWidth,h.minWidth=h.maxWidth=h.width=g,g=c.width,h.width=d,h.minWidth=e,h.maxWidth=f),void 0===g?g:g+""}):Qa.currentStyle&&(Ra=function(a){return a.currentStyle},Sa=function(a,b,c){var d,e,f,g,h=a.style;return c=c||Ra(a),g=c?c[b]:void 0,null==g&&h&&h[b]&&(g=h[b]),Oa.test(g)&&!Ta.test(b)&&(d=h.left,e=a.runtimeStyle,f=e&&e.left,f&&(e.left=a.currentStyle.left),h.left="fontSize"===b?"1em":g,g=h.pixelLeft+"px",h.left=d,f&&(e.left=f)),void 0===g?g:g+""||"auto"});function Ua(a,b){return{get:function(){return a()?void delete this.get:(this.get=b).apply(this,arguments)}}}var Va=/alpha\([^)]*\)/i,Wa=/opacity\s*=\s*([^)]*)/i,Xa=/^(none|table(?!-c[ea]).+)/,Ya=new RegExp("^("+T+")(.*)$","i"),Za={position:"absolute",visibility:"hidden",display:"block"},$a={letterSpacing:"0",fontWeight:"400"},_a=["Webkit","O","Moz","ms"],ab=d.createElement("div").style;function bb(a){if(a in ab)return a;var b=a.charAt(0).toUpperCase()+a.slice(1),c=_a.length;while(c--)if(a=_a[c]+b,a in ab)return a}function cb(a,b){for(var c,d,e,f=[],g=0,h=a.length;h>g;g++)d=a[g],d.style&&(f[g]=n._data(d,"olddisplay"),c=d.style.display,b?(f[g]||"none"!==c||(d.style.display=""),""===d.style.display&&W(d)&&(f[g]=n._data(d,"olddisplay",Ma(d.nodeName)))):(e=W(d),(c&&"none"!==c||!e)&&n._data(d,"olddisplay",e?c:n.css(d,"display"))));for(g=0;h>g;g++)d=a[g],d.style&&(b&&"none"!==d.style.display&&""!==d.style.display||(d.style.display=b?f[g]||"":"none"));return a}function db(a,b,c){var d=Ya.exec(b);return d?Math.max(0,d[1]-(c||0))+(d[2]||"px"):b}function eb(a,b,c,d,e){for(var f=c===(d?"border":"content")?4:"width"===b?1:0,g=0;4>f;f+=2)"margin"===c&&(g+=n.css(a,c+V[f],!0,e)),d?("content"===c&&(g-=n.css(a,"padding"+V[f],!0,e)),"margin"!==c&&(g-=n.css(a,"border"+V[f]+"Width",!0,e))):(g+=n.css(a,"padding"+V[f],!0,e),"padding"!==c&&(g+=n.css(a,"border"+V[f]+"Width",!0,e)));return g}function fb(a,b,c){var d=!0,e="width"===b?a.offsetWidth:a.offsetHeight,f=Ra(a),g=l.boxSizing&&"border-box"===n.css(a,"boxSizing",!1,f);if(0>=e||null==e){if(e=Sa(a,b,f),(0>e||null==e)&&(e=a.style[b]),Oa.test(e))return e;d=g&&(l.boxSizingReliable()||e===a.style[b]),e=parseFloat(e)||0}return e+eb(a,b,c||(g?"border":"content"),d,f)+"px"}n.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=Sa(a,"opacity");return""===c?"1":c}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":l.cssFloat?"cssFloat":"styleFloat"},style:function(a,b,c,d){if(a&&3!==a.nodeType&&8!==a.nodeType&&a.style){var e,f,g,h=n.camelCase(b),i=a.style;if(b=n.cssProps[h]||(n.cssProps[h]=bb(h)||h),g=n.cssHooks[b]||n.cssHooks[h],void 0===c)return g&&"get"in g&&void 0!==(e=g.get(a,!1,d))?e:i[b];if(f=typeof c,"string"===f&&(e=U.exec(c))&&e[1]&&(c=X(a,b,e),f="number"),null!=c&&c===c&&("number"===f&&(c+=e&&e[3]||(n.cssNumber[h]?"":"px")),l.clearCloneStyle||""!==c||0!==b.indexOf("background")||(i[b]="inherit"),!(g&&"set"in g&&void 0===(c=g.set(a,c,d)))))try{i[b]=c}catch(j){}}},css:function(a,b,c,d){var e,f,g,h=n.camelCase(b);return b=n.cssProps[h]||(n.cssProps[h]=bb(h)||h),g=n.cssHooks[b]||n.cssHooks[h],g&&"get"in g&&(f=g.get(a,!0,c)),void 0===f&&(f=Sa(a,b,d)),"normal"===f&&b in $a&&(f=$a[b]),""===c||c?(e=parseFloat(f),c===!0||isFinite(e)?e||0:f):f}}),n.each(["height","width"],function(a,b){n.cssHooks[b]={get:function(a,c,d){return c?Xa.test(n.css(a,"display"))&&0===a.offsetWidth?Pa(a,Za,function(){return fb(a,b,d)}):fb(a,b,d):void 0},set:function(a,c,d){var e=d&&Ra(a);return db(a,c,d?eb(a,b,d,l.boxSizing&&"border-box"===n.css(a,"boxSizing",!1,e),e):0)}}}),l.opacity||(n.cssHooks.opacity={get:function(a,b){return Wa.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentStyle,e=n.isNumeric(b)?"alpha(opacity="+100*b+")":"",f=d&&d.filter||c.filter||"";c.zoom=1,(b>=1||""===b)&&""===n.trim(f.replace(Va,""))&&c.removeAttribute&&(c.removeAttribute("filter"),""===b||d&&!d.filter)||(c.filter=Va.test(f)?f.replace(Va,e):f+" "+e)}}),n.cssHooks.marginRight=Ua(l.reliableMarginRight,function(a,b){return b?Pa(a,{display:"inline-block"},Sa,[a,"marginRight"]):void 0}),n.cssHooks.marginLeft=Ua(l.reliableMarginLeft,function(a,b){return b?(parseFloat(Sa(a,"marginLeft"))||(n.contains(a.ownerDocument,a)?a.getBoundingClientRect().left-Pa(a,{marginLeft:0},function(){return a.getBoundingClientRect().left}):0))+"px":void 0}),n.each({margin:"",padding:"",border:"Width"},function(a,b){n.cssHooks[a+b]={expand:function(c){for(var d=0,e={},f="string"==typeof c?c.split(" "):[c];4>d;d++)e[a+V[d]+b]=f[d]||f[d-2]||f[0];return e}},Na.test(a)||(n.cssHooks[a+b].set=db)}),n.fn.extend({css:function(a,b){return Y(this,function(a,b,c){var d,e,f={},g=0;if(n.isArray(b)){for(d=Ra(a),e=b.length;e>g;g++)f[b[g]]=n.css(a,b[g],!1,d);return f}return void 0!==c?n.style(a,b,c):n.css(a,b)},a,b,arguments.length>1)},show:function(){return cb(this,!0)},hide:function(){return cb(this)},toggle:function(a){return"boolean"==typeof a?a?this.show():this.hide():this.each(function(){W(this)?n(this).show():n(this).hide()})}});function gb(a,b,c,d,e){return new gb.prototype.init(a,b,c,d,e)}n.Tween=gb,gb.prototype={constructor:gb,init:function(a,b,c,d,e,f){this.elem=a,this.prop=c,this.easing=e||n.easing._default,this.options=b,this.start=this.now=this.cur(),this.end=d,this.unit=f||(n.cssNumber[c]?"":"px")},cur:function(){var a=gb.propHooks[this.prop];return a&&a.get?a.get(this):gb.propHooks._default.get(this)},run:function(a){var b,c=gb.propHooks[this.prop];return this.options.duration?this.pos=b=n.easing[this.easing](a,this.options.duration*a,0,1,this.options.duration):this.pos=b=a,this.now=(this.end-this.start)*b+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),c&&c.set?c.set(this):gb.propHooks._default.set(this),this}},gb.prototype.init.prototype=gb.prototype,gb.propHooks={_default:{get:function(a){var b;return 1!==a.elem.nodeType||null!=a.elem[a.prop]&&null==a.elem.style[a.prop]?a.elem[a.prop]:(b=n.css(a.elem,a.prop,""),b&&"auto"!==b?b:0)},set:function(a){n.fx.step[a.prop]?n.fx.step[a.prop](a):1!==a.elem.nodeType||null==a.elem.style[n.cssProps[a.prop]]&&!n.cssHooks[a.prop]?a.elem[a.prop]=a.now:n.style(a.elem,a.prop,a.now+a.unit)}}},gb.propHooks.scrollTop=gb.propHooks.scrollLeft={set:function(a){a.elem.nodeType&&a.elem.parentNode&&(a.elem[a.prop]=a.now)}},n.easing={linear:function(a){return a},swing:function(a){return.5-Math.cos(a*Math.PI)/2},_default:"swing"},n.fx=gb.prototype.init,n.fx.step={};var hb,ib,jb=/^(?:toggle|show|hide)$/,kb=/queueHooks$/;function lb(){return a.setTimeout(function(){hb=void 0}),hb=n.now()}function mb(a,b){var c,d={height:a},e=0;for(b=b?1:0;4>e;e+=2-b)c=V[e],d["margin"+c]=d["padding"+c]=a;return b&&(d.opacity=d.width=a),d}function nb(a,b,c){for(var d,e=(qb.tweeners[b]||[]).concat(qb.tweeners["*"]),f=0,g=e.length;g>f;f++)if(d=e[f].call(c,b,a))return d}function ob(a,b,c){var d,e,f,g,h,i,j,k,m=this,o={},p=a.style,q=a.nodeType&&W(a),r=n._data(a,"fxshow");c.queue||(h=n._queueHooks(a,"fx"),null==h.unqueued&&(h.unqueued=0,i=h.empty.fire,h.empty.fire=function(){h.unqueued||i()}),h.unqueued++,m.always(function(){m.always(function(){h.unqueued--,n.queue(a,"fx").length||h.empty.fire()})})),1===a.nodeType&&("height"in b||"width"in b)&&(c.overflow=[p.overflow,p.overflowX,p.overflowY],j=n.css(a,"display"),k="none"===j?n._data(a,"olddisplay")||Ma(a.nodeName):j,"inline"===k&&"none"===n.css(a,"float")&&(l.inlineBlockNeedsLayout&&"inline"!==Ma(a.nodeName)?p.zoom=1:p.display="inline-block")),c.overflow&&(p.overflow="hidden",l.shrinkWrapBlocks()||m.always(function(){p.overflow=c.overflow[0],p.overflowX=c.overflow[1],p.overflowY=c.overflow[2]}));for(d in b)if(e=b[d],jb.exec(e)){if(delete b[d],f=f||"toggle"===e,e===(q?"hide":"show")){if("show"!==e||!r||void 0===r[d])continue;q=!0}o[d]=r&&r[d]||n.style(a,d)}else j=void 0;if(n.isEmptyObject(o))"inline"===("none"===j?Ma(a.nodeName):j)&&(p.display=j);else{r?"hidden"in r&&(q=r.hidden):r=n._data(a,"fxshow",{}),f&&(r.hidden=!q),q?n(a).show():m.done(function(){n(a).hide()}),m.done(function(){var b;n._removeData(a,"fxshow");for(b in o)n.style(a,b,o[b])});for(d in o)g=nb(q?r[d]:0,d,m),d in r||(r[d]=g.start,q&&(g.end=g.start,g.start="width"===d||"height"===d?1:0))}}function pb(a,b){var c,d,e,f,g;for(c in a)if(d=n.camelCase(c),e=b[d],f=a[c],n.isArray(f)&&(e=f[1],f=a[c]=f[0]),c!==d&&(a[d]=f,delete a[c]),g=n.cssHooks[d],g&&"expand"in g){f=g.expand(f),delete a[d];for(c in f)c in a||(a[c]=f[c],b[c]=e)}else b[d]=e}function qb(a,b,c){var d,e,f=0,g=qb.prefilters.length,h=n.Deferred().always(function(){delete i.elem}),i=function(){if(e)return!1;for(var b=hb||lb(),c=Math.max(0,j.startTime+j.duration-b),d=c/j.duration||0,f=1-d,g=0,i=j.tweens.length;i>g;g++)j.tweens[g].run(f);return h.notifyWith(a,[j,f,c]),1>f&&i?c:(h.resolveWith(a,[j]),!1)},j=h.promise({elem:a,props:n.extend({},b),opts:n.extend(!0,{specialEasing:{},easing:n.easing._default},c),originalProperties:b,originalOptions:c,startTime:hb||lb(),duration:c.duration,tweens:[],createTween:function(b,c){var d=n.Tween(a,j.opts,b,c,j.opts.specialEasing[b]||j.opts.easing);return j.tweens.push(d),d},stop:function(b){var c=0,d=b?j.tweens.length:0;if(e)return this;for(e=!0;d>c;c++)j.tweens[c].run(1);return b?(h.notifyWith(a,[j,1,0]),h.resolveWith(a,[j,b])):h.rejectWith(a,[j,b]),this}}),k=j.props;for(pb(k,j.opts.specialEasing);g>f;f++)if(d=qb.prefilters[f].call(j,a,k,j.opts))return n.isFunction(d.stop)&&(n._queueHooks(j.elem,j.opts.queue).stop=n.proxy(d.stop,d)),d;return n.map(k,nb,j),n.isFunction(j.opts.start)&&j.opts.start.call(a,j),n.fx.timer(n.extend(i,{elem:a,anim:j,queue:j.opts.queue})),j.progress(j.opts.progress).done(j.opts.done,j.opts.complete).fail(j.opts.fail).always(j.opts.always)}n.Animation=n.extend(qb,{tweeners:{"*":[function(a,b){var c=this.createTween(a,b);return X(c.elem,a,U.exec(b),c),c}]},tweener:function(a,b){n.isFunction(a)?(b=a,a=["*"]):a=a.match(G);for(var c,d=0,e=a.length;e>d;d++)c=a[d],qb.tweeners[c]=qb.tweeners[c]||[],qb.tweeners[c].unshift(b)},prefilters:[ob],prefilter:function(a,b){b?qb.prefilters.unshift(a):qb.prefilters.push(a)}}),n.speed=function(a,b,c){var d=a&&"object"==typeof a?n.extend({},a):{complete:c||!c&&b||n.isFunction(a)&&a,duration:a,easing:c&&b||b&&!n.isFunction(b)&&b};return d.duration=n.fx.off?0:"number"==typeof d.duration?d.duration:d.duration in n.fx.speeds?n.fx.speeds[d.duration]:n.fx.speeds._default,null!=d.queue&&d.queue!==!0||(d.queue="fx"),d.old=d.complete,d.complete=function(){n.isFunction(d.old)&&d.old.call(this),d.queue&&n.dequeue(this,d.queue)},d},n.fn.extend({fadeTo:function(a,b,c,d){return this.filter(W).css("opacity",0).show().end().animate({opacity:b},a,c,d)},animate:function(a,b,c,d){var e=n.isEmptyObject(a),f=n.speed(b,c,d),g=function(){var b=qb(this,n.extend({},a),f);(e||n._data(this,"finish"))&&b.stop(!0)};return g.finish=g,e||f.queue===!1?this.each(g):this.queue(f.queue,g)},stop:function(a,b,c){var d=function(a){var b=a.stop;delete a.stop,b(c)};return"string"!=typeof a&&(c=b,b=a,a=void 0),b&&a!==!1&&this.queue(a||"fx",[]),this.each(function(){var b=!0,e=null!=a&&a+"queueHooks",f=n.timers,g=n._data(this);if(e)g[e]&&g[e].stop&&d(g[e]);else for(e in g)g[e]&&g[e].stop&&kb.test(e)&&d(g[e]);for(e=f.length;e--;)f[e].elem!==this||null!=a&&f[e].queue!==a||(f[e].anim.stop(c),b=!1,f.splice(e,1));!b&&c||n.dequeue(this,a)})},finish:function(a){return a!==!1&&(a=a||"fx"),this.each(function(){var b,c=n._data(this),d=c[a+"queue"],e=c[a+"queueHooks"],f=n.timers,g=d?d.length:0;for(c.finish=!0,n.queue(this,a,[]),e&&e.stop&&e.stop.call(this,!0),b=f.length;b--;)f[b].elem===this&&f[b].queue===a&&(f[b].anim.stop(!0),f.splice(b,1));for(b=0;g>b;b++)d[b]&&d[b].finish&&d[b].finish.call(this);delete c.finish})}}),n.each(["toggle","show","hide"],function(a,b){var c=n.fn[b];n.fn[b]=function(a,d,e){return null==a||"boolean"==typeof a?c.apply(this,arguments):this.animate(mb(b,!0),a,d,e)}}),n.each({slideDown:mb("show"),slideUp:mb("hide"),slideToggle:mb("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){n.fn[a]=function(a,c,d){return this.animate(b,a,c,d)}}),n.timers=[],n.fx.tick=function(){var a,b=n.timers,c=0;for(hb=n.now();c<b.length;c++)a=b[c],a()||b[c]!==a||b.splice(c--,1);b.length||n.fx.stop(),hb=void 0},n.fx.timer=function(a){n.timers.push(a),a()?n.fx.start():n.timers.pop()},n.fx.interval=13,n.fx.start=function(){ib||(ib=a.setInterval(n.fx.tick,n.fx.interval))},n.fx.stop=function(){a.clearInterval(ib),ib=null},n.fx.speeds={slow:600,fast:200,_default:400},n.fn.delay=function(b,c){return b=n.fx?n.fx.speeds[b]||b:b,c=c||"fx",this.queue(c,function(c,d){var e=a.setTimeout(c,b);d.stop=function(){a.clearTimeout(e)}})},function(){var a,b=d.createElement("input"),c=d.createElement("div"),e=d.createElement("select"),f=e.appendChild(d.createElement("option"));c=d.createElement("div"),c.setAttribute("className","t"),c.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",a=c.getElementsByTagName("a")[0],b.setAttribute("type","checkbox"),c.appendChild(b),a=c.getElementsByTagName("a")[0],a.style.cssText="top:1px",l.getSetAttribute="t"!==c.className,l.style=/top/.test(a.getAttribute("style")),l.hrefNormalized="/a"===a.getAttribute("href"),l.checkOn=!!b.value,l.optSelected=f.selected,l.enctype=!!d.createElement("form").enctype,e.disabled=!0,l.optDisabled=!f.disabled,b=d.createElement("input"),b.setAttribute("value",""),l.input=""===b.getAttribute("value"),b.value="t",b.setAttribute("type","radio"),l.radioValue="t"===b.value}();var rb=/\r/g,sb=/[\x20\t\r\n\f]+/g;n.fn.extend({val:function(a){var b,c,d,e=this[0];{if(arguments.length)return d=n.isFunction(a),this.each(function(c){var e;1===this.nodeType&&(e=d?a.call(this,c,n(this).val()):a,null==e?e="":"number"==typeof e?e+="":n.isArray(e)&&(e=n.map(e,function(a){return null==a?"":a+""})),b=n.valHooks[this.type]||n.valHooks[this.nodeName.toLowerCase()],b&&"set"in b&&void 0!==b.set(this,e,"value")||(this.value=e))});if(e)return b=n.valHooks[e.type]||n.valHooks[e.nodeName.toLowerCase()],b&&"get"in b&&void 0!==(c=b.get(e,"value"))?c:(c=e.value,"string"==typeof c?c.replace(rb,""):null==c?"":c)}}}),n.extend({valHooks:{option:{get:function(a){var b=n.find.attr(a,"value");return null!=b?b:n.trim(n.text(a)).replace(sb," ")}},select:{get:function(a){for(var b,c,d=a.options,e=a.selectedIndex,f="select-one"===a.type||0>e,g=f?null:[],h=f?e+1:d.length,i=0>e?h:f?e:0;h>i;i++)if(c=d[i],(c.selected||i===e)&&(l.optDisabled?!c.disabled:null===c.getAttribute("disabled"))&&(!c.parentNode.disabled||!n.nodeName(c.parentNode,"optgroup"))){if(b=n(c).val(),f)return b;g.push(b)}return g},set:function(a,b){var c,d,e=a.options,f=n.makeArray(b),g=e.length;while(g--)if(d=e[g],n.inArray(n.valHooks.option.get(d),f)>-1)try{d.selected=c=!0}catch(h){d.scrollHeight}else d.selected=!1;return c||(a.selectedIndex=-1),e}}}}),n.each(["radio","checkbox"],function(){n.valHooks[this]={set:function(a,b){return n.isArray(b)?a.checked=n.inArray(n(a).val(),b)>-1:void 0}},l.checkOn||(n.valHooks[this].get=function(a){return null===a.getAttribute("value")?"on":a.value})});var tb,ub,vb=n.expr.attrHandle,wb=/^(?:checked|selected)$/i,xb=l.getSetAttribute,yb=l.input;n.fn.extend({attr:function(a,b){return Y(this,n.attr,a,b,arguments.length>1)},removeAttr:function(a){return this.each(function(){n.removeAttr(this,a)})}}),n.extend({attr:function(a,b,c){var d,e,f=a.nodeType;if(3!==f&&8!==f&&2!==f)return"undefined"==typeof a.getAttribute?n.prop(a,b,c):(1===f&&n.isXMLDoc(a)||(b=b.toLowerCase(),e=n.attrHooks[b]||(n.expr.match.bool.test(b)?ub:tb)),void 0!==c?null===c?void n.removeAttr(a,b):e&&"set"in e&&void 0!==(d=e.set(a,c,b))?d:(a.setAttribute(b,c+""),c):e&&"get"in e&&null!==(d=e.get(a,b))?d:(d=n.find.attr(a,b),null==d?void 0:d))},attrHooks:{type:{set:function(a,b){if(!l.radioValue&&"radio"===b&&n.nodeName(a,"input")){var c=a.value;return a.setAttribute("type",b),c&&(a.value=c),b}}}},removeAttr:function(a,b){var c,d,e=0,f=b&&b.match(G);if(f&&1===a.nodeType)while(c=f[e++])d=n.propFix[c]||c,n.expr.match.bool.test(c)?yb&&xb||!wb.test(c)?a[d]=!1:a[n.camelCase("default-"+c)]=a[d]=!1:n.attr(a,c,""),a.removeAttribute(xb?c:d)}}),ub={set:function(a,b,c){return b===!1?n.removeAttr(a,c):yb&&xb||!wb.test(c)?a.setAttribute(!xb&&n.propFix[c]||c,c):a[n.camelCase("default-"+c)]=a[c]=!0,c}},n.each(n.expr.match.bool.source.match(/\w+/g),function(a,b){var c=vb[b]||n.find.attr;yb&&xb||!wb.test(b)?vb[b]=function(a,b,d){var e,f;return d||(f=vb[b],vb[b]=e,e=null!=c(a,b,d)?b.toLowerCase():null,vb[b]=f),e}:vb[b]=function(a,b,c){return c?void 0:a[n.camelCase("default-"+b)]?b.toLowerCase():null}}),yb&&xb||(n.attrHooks.value={set:function(a,b,c){return n.nodeName(a,"input")?void(a.defaultValue=b):tb&&tb.set(a,b,c)}}),xb||(tb={set:function(a,b,c){var d=a.getAttributeNode(c);return d||a.setAttributeNode(d=a.ownerDocument.createAttribute(c)),d.value=b+="","value"===c||b===a.getAttribute(c)?b:void 0}},vb.id=vb.name=vb.coords=function(a,b,c){var d;return c?void 0:(d=a.getAttributeNode(b))&&""!==d.value?d.value:null},n.valHooks.button={get:function(a,b){var c=a.getAttributeNode(b);return c&&c.specified?c.value:void 0},set:tb.set},n.attrHooks.contenteditable={set:function(a,b,c){tb.set(a,""===b?!1:b,c)}},n.each(["width","height"],function(a,b){n.attrHooks[b]={set:function(a,c){return""===c?(a.setAttribute(b,"auto"),c):void 0}}})),l.style||(n.attrHooks.style={get:function(a){return a.style.cssText||void 0},set:function(a,b){return a.style.cssText=b+""}});var zb=/^(?:input|select|textarea|button|object)$/i,Ab=/^(?:a|area)$/i;n.fn.extend({prop:function(a,b){return Y(this,n.prop,a,b,arguments.length>1)},removeProp:function(a){return a=n.propFix[a]||a,this.each(function(){try{this[a]=void 0,delete this[a]}catch(b){}})}}),n.extend({prop:function(a,b,c){var d,e,f=a.nodeType;if(3!==f&&8!==f&&2!==f)return 1===f&&n.isXMLDoc(a)||(b=n.propFix[b]||b,e=n.propHooks[b]),void 0!==c?e&&"set"in e&&void 0!==(d=e.set(a,c,b))?d:a[b]=c:e&&"get"in e&&null!==(d=e.get(a,b))?d:a[b]},propHooks:{tabIndex:{get:function(a){var b=n.find.attr(a,"tabindex");return b?parseInt(b,10):zb.test(a.nodeName)||Ab.test(a.nodeName)&&a.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),l.hrefNormalized||n.each(["href","src"],function(a,b){n.propHooks[b]={get:function(a){return a.getAttribute(b,4)}}}),l.optSelected||(n.propHooks.selected={get:function(a){var b=a.parentNode;return b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex),null},set:function(a){var b=a.parentNode;b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex)}}),n.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){n.propFix[this.toLowerCase()]=this}),l.enctype||(n.propFix.enctype="encoding");var Bb=/[\t\r\n\f]/g;function Cb(a){return n.attr(a,"class")||""}n.fn.extend({addClass:function(a){var b,c,d,e,f,g,h,i=0;if(n.isFunction(a))return this.each(function(b){n(this).addClass(a.call(this,b,Cb(this)))});if("string"==typeof a&&a){b=a.match(G)||[];while(c=this[i++])if(e=Cb(c),d=1===c.nodeType&&(" "+e+" ").replace(Bb," ")){g=0;while(f=b[g++])d.indexOf(" "+f+" ")<0&&(d+=f+" ");h=n.trim(d),e!==h&&n.attr(c,"class",h)}}return this},removeClass:function(a){var b,c,d,e,f,g,h,i=0;if(n.isFunction(a))return this.each(function(b){n(this).removeClass(a.call(this,b,Cb(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof a&&a){b=a.match(G)||[];while(c=this[i++])if(e=Cb(c),d=1===c.nodeType&&(" "+e+" ").replace(Bb," ")){g=0;while(f=b[g++])while(d.indexOf(" "+f+" ")>-1)d=d.replace(" "+f+" "," ");h=n.trim(d),e!==h&&n.attr(c,"class",h)}}return this},toggleClass:function(a,b){var c=typeof a;return"boolean"==typeof b&&"string"===c?b?this.addClass(a):this.removeClass(a):n.isFunction(a)?this.each(function(c){n(this).toggleClass(a.call(this,c,Cb(this),b),b)}):this.each(function(){var b,d,e,f;if("string"===c){d=0,e=n(this),f=a.match(G)||[];while(b=f[d++])e.hasClass(b)?e.removeClass(b):e.addClass(b)}else void 0!==a&&"boolean"!==c||(b=Cb(this),b&&n._data(this,"__className__",b),n.attr(this,"class",b||a===!1?"":n._data(this,"__className__")||""))})},hasClass:function(a){var b,c,d=0;b=" "+a+" ";while(c=this[d++])if(1===c.nodeType&&(" "+Cb(c)+" ").replace(Bb," ").indexOf(b)>-1)return!0;return!1}}),n.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(a,b){n.fn[b]=function(a,c){return arguments.length>0?this.on(b,null,a,c):this.trigger(b)}}),n.fn.extend({hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}});var Db=a.location,Eb=n.now(),Fb=/\?/,Gb=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;n.parseJSON=function(b){if(a.JSON&&a.JSON.parse)return a.JSON.parse(b+"");var c,d=null,e=n.trim(b+"");return e&&!n.trim(e.replace(Gb,function(a,b,e,f){return c&&b&&(d=0),0===d?a:(c=e||b,d+=!f-!e,"")}))?Function("return "+e)():n.error("Invalid JSON: "+b)},n.parseXML=function(b){var c,d;if(!b||"string"!=typeof b)return null;try{a.DOMParser?(d=new a.DOMParser,c=d.parseFromString(b,"text/xml")):(c=new a.ActiveXObject("Microsoft.XMLDOM"),c.async="false",c.loadXML(b))}catch(e){c=void 0}return c&&c.documentElement&&!c.getElementsByTagName("parsererror").length||n.error("Invalid XML: "+b),c};var Hb=/#.*$/,Ib=/([?&])_=[^&]*/,Jb=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Kb=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Lb=/^(?:GET|HEAD)$/,Mb=/^\/\//,Nb=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,Ob={},Pb={},Qb="*/".concat("*"),Rb=Db.href,Sb=Nb.exec(Rb.toLowerCase())||[];function Tb(a){return function(b,c){"string"!=typeof b&&(c=b,b="*");var d,e=0,f=b.toLowerCase().match(G)||[];if(n.isFunction(c))while(d=f[e++])"+"===d.charAt(0)?(d=d.slice(1)||"*",(a[d]=a[d]||[]).unshift(c)):(a[d]=a[d]||[]).push(c)}}function Ub(a,b,c,d){var e={},f=a===Pb;function g(h){var i;return e[h]=!0,n.each(a[h]||[],function(a,h){var j=h(b,c,d);return"string"!=typeof j||f||e[j]?f?!(i=j):void 0:(b.dataTypes.unshift(j),g(j),!1)}),i}return g(b.dataTypes[0])||!e["*"]&&g("*")}function Vb(a,b){var c,d,e=n.ajaxSettings.flatOptions||{};for(d in b)void 0!==b[d]&&((e[d]?a:c||(c={}))[d]=b[d]);return c&&n.extend(!0,a,c),a}function Wb(a,b,c){var d,e,f,g,h=a.contents,i=a.dataTypes;while("*"===i[0])i.shift(),void 0===e&&(e=a.mimeType||b.getResponseHeader("Content-Type"));if(e)for(g in h)if(h[g]&&h[g].test(e)){i.unshift(g);break}if(i[0]in c)f=i[0];else{for(g in c){if(!i[0]||a.converters[g+" "+i[0]]){f=g;break}d||(d=g)}f=f||d}return f?(f!==i[0]&&i.unshift(f),c[f]):void 0}function Xb(a,b,c,d){var e,f,g,h,i,j={},k=a.dataTypes.slice();if(k[1])for(g in a.converters)j[g.toLowerCase()]=a.converters[g];f=k.shift();while(f)if(a.responseFields[f]&&(c[a.responseFields[f]]=b),!i&&d&&a.dataFilter&&(b=a.dataFilter(b,a.dataType)),i=f,f=k.shift())if("*"===f)f=i;else if("*"!==i&&i!==f){if(g=j[i+" "+f]||j["* "+f],!g)for(e in j)if(h=e.split(" "),h[1]===f&&(g=j[i+" "+h[0]]||j["* "+h[0]])){g===!0?g=j[e]:j[e]!==!0&&(f=h[0],k.unshift(h[1]));break}if(g!==!0)if(g&&a["throws"])b=g(b);else try{b=g(b)}catch(l){return{state:"parsererror",error:g?l:"No conversion from "+i+" to "+f}}}return{state:"success",data:b}}n.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Rb,type:"GET",isLocal:Kb.test(Sb[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Qb,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":n.parseJSON,"text xml":n.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(a,b){return b?Vb(Vb(a,n.ajaxSettings),b):Vb(n.ajaxSettings,a)},ajaxPrefilter:Tb(Ob),ajaxTransport:Tb(Pb),ajax:function(b,c){"object"==typeof b&&(c=b,b=void 0),c=c||{};var d,e,f,g,h,i,j,k,l=n.ajaxSetup({},c),m=l.context||l,o=l.context&&(m.nodeType||m.jquery)?n(m):n.event,p=n.Deferred(),q=n.Callbacks("once memory"),r=l.statusCode||{},s={},t={},u=0,v="canceled",w={readyState:0,getResponseHeader:function(a){var b;if(2===u){if(!k){k={};while(b=Jb.exec(g))k[b[1].toLowerCase()]=b[2]}b=k[a.toLowerCase()]}return null==b?null:b},getAllResponseHeaders:function(){return 2===u?g:null},setRequestHeader:function(a,b){var c=a.toLowerCase();return u||(a=t[c]=t[c]||a,s[a]=b),this},overrideMimeType:function(a){return u||(l.mimeType=a),this},statusCode:function(a){var b;if(a)if(2>u)for(b in a)r[b]=[r[b],a[b]];else w.always(a[w.status]);return this},abort:function(a){var b=a||v;return j&&j.abort(b),y(0,b),this}};if(p.promise(w).complete=q.add,w.success=w.done,w.error=w.fail,l.url=((b||l.url||Rb)+"").replace(Hb,"").replace(Mb,Sb[1]+"//"),l.type=c.method||c.type||l.method||l.type,l.dataTypes=n.trim(l.dataType||"*").toLowerCase().match(G)||[""],null==l.crossDomain&&(d=Nb.exec(l.url.toLowerCase()),l.crossDomain=!(!d||d[1]===Sb[1]&&d[2]===Sb[2]&&(d[3]||("http:"===d[1]?"80":"443"))===(Sb[3]||("http:"===Sb[1]?"80":"443")))),l.data&&l.processData&&"string"!=typeof l.data&&(l.data=n.param(l.data,l.traditional)),Ub(Ob,l,c,w),2===u)return w;i=n.event&&l.global,i&&0===n.active++&&n.event.trigger("ajaxStart"),l.type=l.type.toUpperCase(),l.hasContent=!Lb.test(l.type),f=l.url,l.hasContent||(l.data&&(f=l.url+=(Fb.test(f)?"&":"?")+l.data,delete l.data),l.cache===!1&&(l.url=Ib.test(f)?f.replace(Ib,"$1_="+Eb++):f+(Fb.test(f)?"&":"?")+"_="+Eb++)),l.ifModified&&(n.lastModified[f]&&w.setRequestHeader("If-Modified-Since",n.lastModified[f]),n.etag[f]&&w.setRequestHeader("If-None-Match",n.etag[f])),(l.data&&l.hasContent&&l.contentType!==!1||c.contentType)&&w.setRequestHeader("Content-Type",l.contentType),w.setRequestHeader("Accept",l.dataTypes[0]&&l.accepts[l.dataTypes[0]]?l.accepts[l.dataTypes[0]]+("*"!==l.dataTypes[0]?", "+Qb+"; q=0.01":""):l.accepts["*"]);for(e in l.headers)w.setRequestHeader(e,l.headers[e]);if(l.beforeSend&&(l.beforeSend.call(m,w,l)===!1||2===u))return w.abort();v="abort";for(e in{success:1,error:1,complete:1})w[e](l[e]);if(j=Ub(Pb,l,c,w)){if(w.readyState=1,i&&o.trigger("ajaxSend",[w,l]),2===u)return w;l.async&&l.timeout>0&&(h=a.setTimeout(function(){w.abort("timeout")},l.timeout));try{u=1,j.send(s,y)}catch(x){if(!(2>u))throw x;y(-1,x)}}else y(-1,"No Transport");function y(b,c,d,e){var k,s,t,v,x,y=c;2!==u&&(u=2,h&&a.clearTimeout(h),j=void 0,g=e||"",w.readyState=b>0?4:0,k=b>=200&&300>b||304===b,d&&(v=Wb(l,w,d)),v=Xb(l,v,w,k),k?(l.ifModified&&(x=w.getResponseHeader("Last-Modified"),x&&(n.lastModified[f]=x),x=w.getResponseHeader("etag"),x&&(n.etag[f]=x)),204===b||"HEAD"===l.type?y="nocontent":304===b?y="notmodified":(y=v.state,s=v.data,t=v.error,k=!t)):(t=y,!b&&y||(y="error",0>b&&(b=0))),w.status=b,w.statusText=(c||y)+"",k?p.resolveWith(m,[s,y,w]):p.rejectWith(m,[w,y,t]),w.statusCode(r),r=void 0,i&&o.trigger(k?"ajaxSuccess":"ajaxError",[w,l,k?s:t]),q.fireWith(m,[w,y]),i&&(o.trigger("ajaxComplete",[w,l]),--n.active||n.event.trigger("ajaxStop")))}return w},getJSON:function(a,b,c){return n.get(a,b,c,"json")},getScript:function(a,b){return n.get(a,void 0,b,"script")}}),n.each(["get","post"],function(a,b){n[b]=function(a,c,d,e){return n.isFunction(c)&&(e=e||d,d=c,c=void 0),n.ajax(n.extend({url:a,type:b,dataType:e,data:c,success:d},n.isPlainObject(a)&&a))}}),n._evalUrl=function(a){return n.ajax({url:a,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,"throws":!0})},n.fn.extend({wrapAll:function(a){if(n.isFunction(a))return this.each(function(b){n(this).wrapAll(a.call(this,b))});if(this[0]){var b=n(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&1===a.firstChild.nodeType)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){return n.isFunction(a)?this.each(function(b){n(this).wrapInner(a.call(this,b))}):this.each(function(){var b=n(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=n.isFunction(a);return this.each(function(c){n(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){n.nodeName(this,"body")||n(this).replaceWith(this.childNodes)}).end()}});function Yb(a){return a.style&&a.style.display||n.css(a,"display")}function Zb(a){if(!n.contains(a.ownerDocument||d,a))return!0;while(a&&1===a.nodeType){if("none"===Yb(a)||"hidden"===a.type)return!0;a=a.parentNode}return!1}n.expr.filters.hidden=function(a){return l.reliableHiddenOffsets()?a.offsetWidth<=0&&a.offsetHeight<=0&&!a.getClientRects().length:Zb(a)},n.expr.filters.visible=function(a){return!n.expr.filters.hidden(a)};var $b=/%20/g,_b=/\[\]$/,ac=/\r?\n/g,bc=/^(?:submit|button|image|reset|file)$/i,cc=/^(?:input|select|textarea|keygen)/i;function dc(a,b,c,d){var e;if(n.isArray(b))n.each(b,function(b,e){c||_b.test(a)?d(a,e):dc(a+"["+("object"==typeof e&&null!=e?b:"")+"]",e,c,d)});else if(c||"object"!==n.type(b))d(a,b);else for(e in b)dc(a+"["+e+"]",b[e],c,d)}n.param=function(a,b){var c,d=[],e=function(a,b){b=n.isFunction(b)?b():null==b?"":b,d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};if(void 0===b&&(b=n.ajaxSettings&&n.ajaxSettings.traditional),n.isArray(a)||a.jquery&&!n.isPlainObject(a))n.each(a,function(){e(this.name,this.value)});else for(c in a)dc(c,a[c],b,e);return d.join("&").replace($b,"+")},n.fn.extend({serialize:function(){return n.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var a=n.prop(this,"elements");return a?n.makeArray(a):this}).filter(function(){var a=this.type;return this.name&&!n(this).is(":disabled")&&cc.test(this.nodeName)&&!bc.test(a)&&(this.checked||!Z.test(a))}).map(function(a,b){var c=n(this).val();return null==c?null:n.isArray(c)?n.map(c,function(a){return{name:b.name,value:a.replace(ac,"\r\n")}}):{name:b.name,value:c.replace(ac,"\r\n")}}).get()}}),n.ajaxSettings.xhr=void 0!==a.ActiveXObject?function(){return this.isLocal?ic():d.documentMode>8?hc():/^(get|post|head|put|delete|options)$/i.test(this.type)&&hc()||ic()}:hc;var ec=0,fc={},gc=n.ajaxSettings.xhr();a.attachEvent&&a.attachEvent("onunload",function(){for(var a in fc)fc[a](void 0,!0)}),l.cors=!!gc&&"withCredentials"in gc,gc=l.ajax=!!gc,gc&&n.ajaxTransport(function(b){if(!b.crossDomain||l.cors){var c;return{send:function(d,e){var f,g=b.xhr(),h=++ec;if(g.open(b.type,b.url,b.async,b.username,b.password),b.xhrFields)for(f in b.xhrFields)g[f]=b.xhrFields[f];b.mimeType&&g.overrideMimeType&&g.overrideMimeType(b.mimeType),b.crossDomain||d["X-Requested-With"]||(d["X-Requested-With"]="XMLHttpRequest");for(f in d)void 0!==d[f]&&g.setRequestHeader(f,d[f]+"");g.send(b.hasContent&&b.data||null),c=function(a,d){var f,i,j;if(c&&(d||4===g.readyState))if(delete fc[h],c=void 0,g.onreadystatechange=n.noop,d)4!==g.readyState&&g.abort();else{j={},f=g.status,"string"==typeof g.responseText&&(j.text=g.responseText);try{i=g.statusText}catch(k){i=""}f||!b.isLocal||b.crossDomain?1223===f&&(f=204):f=j.text?200:404}j&&e(f,i,j,g.getAllResponseHeaders())},b.async?4===g.readyState?a.setTimeout(c):g.onreadystatechange=fc[h]=c:c()},abort:function(){c&&c(void 0,!0)}}}});function hc(){try{return new a.XMLHttpRequest}catch(b){}}function ic(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}n.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(a){return n.globalEval(a),a}}}),n.ajaxPrefilter("script",function(a){void 0===a.cache&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),n.ajaxTransport("script",function(a){if(a.crossDomain){var b,c=d.head||n("head")[0]||d.documentElement;return{send:function(e,f){b=d.createElement("script"),b.async=!0,a.scriptCharset&&(b.charset=a.scriptCharset),b.src=a.url,b.onload=b.onreadystatechange=function(a,c){(c||!b.readyState||/loaded|complete/.test(b.readyState))&&(b.onload=b.onreadystatechange=null,b.parentNode&&b.parentNode.removeChild(b),b=null,c||f(200,"success"))},c.insertBefore(b,c.firstChild)},abort:function(){b&&b.onload(void 0,!0)}}}});var jc=[],kc=/(=)\?(?=&|$)|\?\?/;n.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var a=jc.pop()||n.expando+"_"+Eb++;return this[a]=!0,a}}),n.ajaxPrefilter("json jsonp",function(b,c,d){var e,f,g,h=b.jsonp!==!1&&(kc.test(b.url)?"url":"string"==typeof b.data&&0===(b.contentType||"").indexOf("application/x-www-form-urlencoded")&&kc.test(b.data)&&"data");return h||"jsonp"===b.dataTypes[0]?(e=b.jsonpCallback=n.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,h?b[h]=b[h].replace(kc,"$1"+e):b.jsonp!==!1&&(b.url+=(Fb.test(b.url)?"&":"?")+b.jsonp+"="+e),b.converters["script json"]=function(){return g||n.error(e+" was not called"),g[0]},b.dataTypes[0]="json",f=a[e],a[e]=function(){g=arguments},d.always(function(){void 0===f?n(a).removeProp(e):a[e]=f,b[e]&&(b.jsonpCallback=c.jsonpCallback,jc.push(e)),g&&n.isFunction(f)&&f(g[0]),g=f=void 0}),"script"):void 0}),n.parseHTML=function(a,b,c){if(!a||"string"!=typeof a)return null;"boolean"==typeof b&&(c=b,b=!1),b=b||d;var e=x.exec(a),f=!c&&[];return e?[b.createElement(e[1])]:(e=ja([a],b,f),f&&f.length&&n(f).remove(),n.merge([],e.childNodes))};var lc=n.fn.load;n.fn.load=function(a,b,c){if("string"!=typeof a&&lc)return lc.apply(this,arguments);var d,e,f,g=this,h=a.indexOf(" ");return h>-1&&(d=n.trim(a.slice(h,a.length)),a=a.slice(0,h)),n.isFunction(b)?(c=b,b=void 0):b&&"object"==typeof b&&(e="POST"),g.length>0&&n.ajax({url:a,type:e||"GET",dataType:"html",data:b}).done(function(a){f=arguments,g.html(d?n("<div>").append(n.parseHTML(a)).find(d):a)}).always(c&&function(a,b){g.each(function(){c.apply(this,f||[a.responseText,b,a])})}),this},n.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(a,b){n.fn[b]=function(a){return this.on(b,a)}}),n.expr.filters.animated=function(a){return n.grep(n.timers,function(b){return a===b.elem}).length};function mc(a){return n.isWindow(a)?a:9===a.nodeType?a.defaultView||a.parentWindow:!1}n.offset={setOffset:function(a,b,c){var d,e,f,g,h,i,j,k=n.css(a,"position"),l=n(a),m={};"static"===k&&(a.style.position="relative"),h=l.offset(),f=n.css(a,"top"),i=n.css(a,"left"),j=("absolute"===k||"fixed"===k)&&n.inArray("auto",[f,i])>-1,j?(d=l.position(),g=d.top,e=d.left):(g=parseFloat(f)||0,e=parseFloat(i)||0),n.isFunction(b)&&(b=b.call(a,c,n.extend({},h))),null!=b.top&&(m.top=b.top-h.top+g),null!=b.left&&(m.left=b.left-h.left+e),"using"in b?b.using.call(a,m):l.css(m)}},n.fn.extend({offset:function(a){if(arguments.length)return void 0===a?this:this.each(function(b){n.offset.setOffset(this,a,b)});var b,c,d={top:0,left:0},e=this[0],f=e&&e.ownerDocument;if(f)return b=f.documentElement,n.contains(b,e)?("undefined"!=typeof e.getBoundingClientRect&&(d=e.getBoundingClientRect()),c=mc(f),{top:d.top+(c.pageYOffset||b.scrollTop)-(b.clientTop||0),left:d.left+(c.pageXOffset||b.scrollLeft)-(b.clientLeft||0)}):d},position:function(){if(this[0]){var a,b,c={top:0,left:0},d=this[0];return"fixed"===n.css(d,"position")?b=d.getBoundingClientRect():(a=this.offsetParent(),b=this.offset(),n.nodeName(a[0],"html")||(c=a.offset()),c.top+=n.css(a[0],"borderTopWidth",!0),c.left+=n.css(a[0],"borderLeftWidth",!0)),{top:b.top-c.top-n.css(d,"marginTop",!0),left:b.left-c.left-n.css(d,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var a=this.offsetParent;while(a&&!n.nodeName(a,"html")&&"static"===n.css(a,"position"))a=a.offsetParent;return a||Qa})}}),n.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(a,b){var c=/Y/.test(b);n.fn[a]=function(d){return Y(this,function(a,d,e){var f=mc(a);return void 0===e?f?b in f?f[b]:f.document.documentElement[d]:a[d]:void(f?f.scrollTo(c?n(f).scrollLeft():e,c?e:n(f).scrollTop()):a[d]=e)},a,d,arguments.length,null)}}),n.each(["top","left"],function(a,b){n.cssHooks[b]=Ua(l.pixelPosition,function(a,c){return c?(c=Sa(a,b),Oa.test(c)?n(a).position()[b]+"px":c):void 0})}),n.each({Height:"height",Width:"width"},function(a,b){n.each({padding:"inner"+a,content:b,"":"outer"+a},function(c,d){n.fn[d]=function(d,e){var f=arguments.length&&(c||"boolean"!=typeof d),g=c||(d===!0||e===!0?"margin":"border");return Y(this,function(b,c,d){var e;return n.isWindow(b)?b.document.documentElement["client"+a]:9===b.nodeType?(e=b.documentElement,Math.max(b.body["scroll"+a],e["scroll"+a],b.body["offset"+a],e["offset"+a],e["client"+a])):void 0===d?n.css(b,c,g):n.style(b,c,d,g)},b,f?d:void 0,f,null)}})}),n.fn.extend({bind:function(a,b,c){return this.on(a,null,b,c)},unbind:function(a,b){return this.off(a,null,b)},delegate:function(a,b,c,d){return this.on(b,a,c,d)},undelegate:function(a,b,c){return 1===arguments.length?this.off(a,"**"):this.off(b,a||"**",c)}}),n.fn.size=function(){return this.length},n.fn.andSelf=n.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return n});var nc=a.jQuery,oc=a.$;return n.noConflict=function(b){return a.$===n&&(a.$=oc),b&&a.jQuery===n&&(a.jQuery=nc),n},b||(a.jQuery=a.$=n),n}); /*** combinestatic: from:lib/js/jquery-migrate-1.4.1.js ***/ (function(jQuery,window,undefined){jQuery.migrateVersion="1.4.1";var warnedAbout={};jQuery.migrateWarnings=[];if(window.console&&window.console.log){window.console.log("JQMIGRATE: Migrate is installed"+ (jQuery.migrateMute?"":" with logging active")+", version "+jQuery.migrateVersion);} if(jQuery.migrateTrace===undefined){jQuery.migrateTrace=true;} jQuery.migrateReset=function(){warnedAbout={};jQuery.migrateWarnings.length=0;};function migrateWarn(msg){var console=window.console;if(!warnedAbout[msg]){warnedAbout[msg]=true;jQuery.migrateWarnings.push(msg);if(console&&console.warn&&!jQuery.migrateMute){console.warn("JQMIGRATE: "+msg);if(jQuery.migrateTrace&&console.trace){console.trace();}}}} function migrateWarnProp(obj,prop,value,msg){if(Object.defineProperty){try{Object.defineProperty(obj,prop,{configurable:true,enumerable:true,get:function(){migrateWarn(msg);return value;},set:function(newValue){migrateWarn(msg);value=newValue;}});return;}catch(err){}} jQuery._definePropertyBroken=true;obj[prop]=value;} if(document.compatMode==="BackCompat"){migrateWarn("jQuery is not compatible with Quirks Mode");} var attrFn=jQuery("<input/>",{size:1}).attr("size")&&jQuery.attrFn,oldAttr=jQuery.attr,valueAttrGet=jQuery.attrHooks.value&&jQuery.attrHooks.value.get||function(){return null;},valueAttrSet=jQuery.attrHooks.value&&jQuery.attrHooks.value.set||function(){return undefined;},rnoType=/^(?:input|button)$/i,rnoAttrNodeType=/^[238]$/,rboolean=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,ruseDefault=/^(?:checked|selected)$/i;migrateWarnProp(jQuery,"attrFn",attrFn||{},"jQuery.attrFn is deprecated");jQuery.attr=function(elem,name,value,pass){var lowerName=name.toLowerCase(),nType=elem&&elem.nodeType;if(pass){if(oldAttr.length<4){migrateWarn("jQuery.fn.attr( props, pass ) is deprecated");} if(elem&&!rnoAttrNodeType.test(nType)&&(attrFn?name in attrFn:jQuery.isFunction(jQuery.fn[name]))){return jQuery(elem)[name](value);}} if(name==="type"&&value!==undefined&&rnoType.test(elem.nodeName)&&elem.parentNode){migrateWarn("Can't change the 'type' of an input or button in IE 6/7/8");} if(!jQuery.attrHooks[lowerName]&&rboolean.test(lowerName)){jQuery.attrHooks[lowerName]={get:function(elem,name){var attrNode,property=jQuery.prop(elem,name);return property===true||typeof property!=="boolean"&&(attrNode=elem.getAttributeNode(name))&&attrNode.nodeValue!==false?name.toLowerCase():undefined;},set:function(elem,value,name){var propName;if(value===false){jQuery.removeAttr(elem,name);}else{propName=jQuery.propFix[name]||name;if(propName in elem){elem[propName]=true;} elem.setAttribute(name,name.toLowerCase());} return name;}};if(ruseDefault.test(lowerName)){migrateWarn("jQuery.fn.attr('"+lowerName+"') might use property instead of attribute");}} return oldAttr.call(jQuery,elem,name,value);};jQuery.attrHooks.value={get:function(elem,name){var nodeName=(elem.nodeName||"").toLowerCase();if(nodeName==="button"){return valueAttrGet.apply(this,arguments);} if(nodeName!=="input"&&nodeName!=="option"){migrateWarn("jQuery.fn.attr('value') no longer gets properties");} return name in elem?elem.value:null;},set:function(elem,value){var nodeName=(elem.nodeName||"").toLowerCase();if(nodeName==="button"){return valueAttrSet.apply(this,arguments);} if(nodeName!=="input"&&nodeName!=="option"){migrateWarn("jQuery.fn.attr('value', val) no longer sets properties");} elem.value=value;}};var matched,browser,oldInit=jQuery.fn.init,oldFind=jQuery.find,oldParseJSON=jQuery.parseJSON,rspaceAngle=/^\s*</,rattrHashTest=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/,rattrHashGlob=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/g,rquickExpr=/^([^<]*)(<[\w\W]+>)([^>]*)$/;jQuery.fn.init=function(selector,context,rootjQuery){var match,ret;if(selector&&typeof selector==="string"){if(!jQuery.isPlainObject(context)&&(match=rquickExpr.exec(jQuery.trim(selector)))&&match[0]){if(!rspaceAngle.test(selector)){migrateWarn("$(html) HTML strings must start with '<' character");} if(match[3]){migrateWarn("$(html) HTML text after last tag is ignored");} if(match[0].charAt(0)==="#"){migrateWarn("HTML string cannot start with a '#' character");jQuery.error("JQMIGRATE: Invalid selector string (XSS)");} if(context&&context.context&&context.context.nodeType){context=context.context;} if(jQuery.parseHTML){return oldInit.call(this,jQuery.parseHTML(match[2],context&&context.ownerDocument||context||document,true),context,rootjQuery);}}} ret=oldInit.apply(this,arguments);if(selector&&selector.selector!==undefined){ret.selector=selector.selector;ret.context=selector.context;}else{ret.selector=typeof selector==="string"?selector:"";if(selector){ret.context=selector.nodeType?selector:context||document;}} return ret;};jQuery.fn.init.prototype=jQuery.fn;jQuery.find=function(selector){var args=Array.prototype.slice.call(arguments);if(typeof selector==="string"&&rattrHashTest.test(selector)){try{document.querySelector(selector);}catch(err1){selector=selector.replace(rattrHashGlob,function(_,attr,op,value){return"["+attr+op+"\""+value+"\"]";});try{document.querySelector(selector);migrateWarn("Attribute selector with '#' must be quoted: "+args[0]);args[0]=selector;}catch(err2){migrateWarn("Attribute selector with '#' was not fixed: "+args[0]);}}} return oldFind.apply(this,args);};var findProp;for(findProp in oldFind){if(Object.prototype.hasOwnProperty.call(oldFind,findProp)){jQuery.find[findProp]=oldFind[findProp];}} jQuery.parseJSON=function(json){if(!json){migrateWarn("jQuery.parseJSON requires a valid JSON string");return null;} return oldParseJSON.apply(this,arguments);};jQuery.uaMatch=function(ua){ua=ua.toLowerCase();var match=/(chrome)[ \/]([\w.]+)/.exec(ua)||/(webkit)[\/]([\w.]+)/.exec(ua)||/(opera)(?:.*version|)[\/]([\w.]+)/.exec(ua)||/(msie)([\w.]+)/.exec(ua)||ua.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(ua)||[];return{browser:match[1]||"",version:match[2]||"0"};};if(!jQuery.browser){matched=jQuery.uaMatch(navigator.userAgent);browser={};if(matched.browser){browser[matched.browser]=true;browser.version=matched.version;} if(browser.chrome){browser.webkit=true;}else if(browser.webkit){browser.safari=true;} jQuery.browser=browser;} migrateWarnProp(jQuery,"browser",jQuery.browser,"jQuery.browser is deprecated");jQuery.boxModel=jQuery.support.boxModel=(document.compatMode==="CSS1Compat");migrateWarnProp(jQuery,"boxModel",jQuery.boxModel,"jQuery.boxModel is deprecated");migrateWarnProp(jQuery.support,"boxModel",jQuery.support.boxModel,"jQuery.support.boxModel is deprecated");jQuery.sub=function(){function jQuerySub(selector,context){return new jQuerySub.fn.init(selector,context);} jQuery.extend(true,jQuerySub,this);jQuerySub.superclass=this;jQuerySub.fn=jQuerySub.prototype=this();jQuerySub.fn.constructor=jQuerySub;jQuerySub.sub=this.sub;jQuerySub.fn.init=function init(selector,context){var instance=jQuery.fn.init.call(this,selector,context,rootjQuerySub);return instance instanceof jQuerySub?instance:jQuerySub(instance);};jQuerySub.fn.init.prototype=jQuerySub.fn;var rootjQuerySub=jQuerySub(document);migrateWarn("jQuery.sub() is deprecated");return jQuerySub;};jQuery.fn.size=function(){migrateWarn("jQuery.fn.size() is deprecated; use the .length property");return this.length;};var internalSwapCall=false;if(jQuery.swap){jQuery.each(["height","width","reliableMarginRight"],function(_,name){var oldHook=jQuery.cssHooks[name]&&jQuery.cssHooks[name].get;if(oldHook){jQuery.cssHooks[name].get=function(){var ret;internalSwapCall=true;ret=oldHook.apply(this,arguments);internalSwapCall=false;return ret;};}});} jQuery.swap=function(elem,options,callback,args){var ret,name,old={};if(!internalSwapCall){migrateWarn("jQuery.swap() is undocumented and deprecated");} for(name in options){old[name]=elem.style[name];elem.style[name]=options[name];} ret=callback.apply(elem,args||[]);for(name in options){elem.style[name]=old[name];} return ret;};jQuery.ajaxSetup({converters:{"text json":jQuery.parseJSON}});var oldFnData=jQuery.fn.data;jQuery.fn.data=function(name){var ret,evt,elem=this[0];if(elem&&name==="events"&&arguments.length===1){ret=jQuery.data(elem,name);evt=jQuery._data(elem,name);if((ret===undefined||ret===evt)&&evt!==undefined){migrateWarn("Use of jQuery.fn.data('events') is deprecated");return evt;}} return oldFnData.apply(this,arguments);};var rscriptType=/\/(java|ecma)script/i;if(!jQuery.clean){jQuery.clean=function(elems,context,fragment,scripts){context=context||document;context=!context.nodeType&&context[0]||context;context=context.ownerDocument||context;migrateWarn("jQuery.clean() is deprecated");var i,elem,handleScript,jsTags,ret=[];jQuery.merge(ret,jQuery.buildFragment(elems,context).childNodes);if(fragment){handleScript=function(elem){if(!elem.type||rscriptType.test(elem.type)){return scripts?scripts.push(elem.parentNode?elem.parentNode.removeChild(elem):elem):fragment.appendChild(elem);}};for(i=0;(elem=ret[i])!=null;i++){if(!(jQuery.nodeName(elem,"script")&&handleScript(elem))){fragment.appendChild(elem);if(typeof elem.getElementsByTagName!=="undefined"){jsTags=jQuery.grep(jQuery.merge([],elem.getElementsByTagName("script")),handleScript);ret.splice.apply(ret,[i+1,0].concat(jsTags));i+=jsTags.length;}}}} return ret;};} var eventAdd=jQuery.event.add,eventRemove=jQuery.event.remove,eventTrigger=jQuery.event.trigger,oldToggle=jQuery.fn.toggle,oldLive=jQuery.fn.live,oldDie=jQuery.fn.die,oldLoad=jQuery.fn.load,ajaxEvents="ajaxStart|ajaxStop|ajaxSend|ajaxComplete|ajaxError|ajaxSuccess",rajaxEvent=new RegExp("\\b(?:"+ajaxEvents+")\\b"),rhoverHack=/(?:^|\s)hover(\.\S+|)\b/,hoverHack=function(events){if(typeof(events)!=="string"||jQuery.event.special.hover){return events;} if(rhoverHack.test(events)){migrateWarn("'hover' pseudo-event is deprecated, use 'mouseenter mouseleave'");} return events&&events.replace(rhoverHack,"mouseenter$1 mouseleave$1");};if(jQuery.event.props&&jQuery.event.props[0]!=="attrChange"){jQuery.event.props.unshift("attrChange","attrName","relatedNode","srcElement");} if(jQuery.event.dispatch){migrateWarnProp(jQuery.event,"handle",jQuery.event.dispatch,"jQuery.event.handle is undocumented and deprecated");} jQuery.event.add=function(elem,types,handler,data,selector){if(elem!==document&&rajaxEvent.test(types)){migrateWarn("AJAX events should be attached to document: "+types);} eventAdd.call(this,elem,hoverHack(types||""),handler,data,selector);};jQuery.event.remove=function(elem,types,handler,selector,mappedTypes){eventRemove.call(this,elem,hoverHack(types)||"",handler,selector,mappedTypes);};jQuery.each(["load","unload","error"],function(_,name){jQuery.fn[name]=function(){var args=Array.prototype.slice.call(arguments,0);if(name==="load"&&typeof args[0]==="string"){return oldLoad.apply(this,args);} migrateWarn("jQuery.fn."+name+"() is deprecated");args.splice(0,0,name);if(arguments.length){return this.bind.apply(this,args);} this.triggerHandler.apply(this,args);return this;};});jQuery.fn.toggle=function(fn,fn2){if(!jQuery.isFunction(fn)||!jQuery.isFunction(fn2)){return oldToggle.apply(this,arguments);} migrateWarn("jQuery.fn.toggle(handler, handler...) is deprecated");var args=arguments,guid=fn.guid||jQuery.guid++,i=0,toggler=function(event){var lastToggle=(jQuery._data(this,"lastToggle"+fn.guid)||0)%i;jQuery._data(this,"lastToggle"+fn.guid,lastToggle+1);event.preventDefault();return args[lastToggle].apply(this,arguments)||false;};toggler.guid=guid;while(i<args.length){args[i++].guid=guid;} return this.click(toggler);};jQuery.fn.live=function(types,data,fn){migrateWarn("jQuery.fn.live() is deprecated");if(oldLive){return oldLive.apply(this,arguments);} jQuery(this.context).on(types,this.selector,data,fn);return this;};jQuery.fn.die=function(types,fn){migrateWarn("jQuery.fn.die() is deprecated");if(oldDie){return oldDie.apply(this,arguments);} jQuery(this.context).off(types,this.selector||"**",fn);return this;};jQuery.event.trigger=function(event,data,elem,onlyHandlers){if(!elem&&!rajaxEvent.test(event)){migrateWarn("Global events are undocumented and deprecated");} return eventTrigger.call(this,event,data,elem||document,onlyHandlers);};jQuery.each(ajaxEvents.split("|"),function(_,name){jQuery.event.special[name]={setup:function(){var elem=this;if(elem!==document){jQuery.event.add(document,name+"."+jQuery.guid,function(){jQuery.event.trigger(name,Array.prototype.slice.call(arguments,1),elem,true);});jQuery._data(this,name,jQuery.guid++);} return false;},teardown:function(){if(this!==document){jQuery.event.remove(document,name+"."+jQuery._data(this,name));} return false;}};});jQuery.event.special.ready={setup:function(){if(this===document){migrateWarn("'ready' event is deprecated");}}};var oldSelf=jQuery.fn.andSelf||jQuery.fn.addBack,oldFnFind=jQuery.fn.find;jQuery.fn.andSelf=function(){migrateWarn("jQuery.fn.andSelf() replaced by jQuery.fn.addBack()");return oldSelf.apply(this,arguments);};jQuery.fn.find=function(selector){var ret=oldFnFind.apply(this,arguments);ret.context=this.context;ret.selector=this.selector?this.selector+" "+selector:selector;return ret;};if(jQuery.Callbacks){var oldDeferred=jQuery.Deferred,tuples=[["resolve","done",jQuery.Callbacks("once memory"),jQuery.Callbacks("once memory"),"resolved"],["reject","fail",jQuery.Callbacks("once memory"),jQuery.Callbacks("once memory"),"rejected"],["notify","progress",jQuery.Callbacks("memory"),jQuery.Callbacks("memory")]];jQuery.Deferred=function(func){var deferred=oldDeferred(),promise=deferred.promise();deferred.pipe=promise.pipe=function(){var fns=arguments;migrateWarn("deferred.pipe() is deprecated");return jQuery.Deferred(function(newDefer){jQuery.each(tuples,function(i,tuple){var fn=jQuery.isFunction(fns[i])&&fns[i];deferred[tuple[1]](function(){var returned=fn&&fn.apply(this,arguments);if(returned&&jQuery.isFunction(returned.promise)){returned.promise().done(newDefer.resolve).fail(newDefer.reject).progress(newDefer.notify);}else{newDefer[tuple[0]+"With"](this===promise?newDefer.promise():this,fn?[returned]:arguments);}});});fns=null;}).promise();};deferred.isResolved=function(){migrateWarn("deferred.isResolved is deprecated");return deferred.state()==="resolved";};deferred.isRejected=function(){migrateWarn("deferred.isRejected is deprecated");return deferred.state()==="rejected";};if(func){func.call(deferred,deferred);} return deferred;};}})(jQuery,window); /*** combinestatic: from:lib/js/jquery-utils.js ***/ (function($){!function(A,P,U){A.from=A.from||function(a,f,t){var r=P.slice.apply(a);return f?r.map(f.bind(t)):r};P.includes||Object.defineProperty(P,'includes',{value:function(e,i){return this.slice(i===U?0:i).indexOf(e)>=0}});P.fill||Object.defineProperty(P,'fill',{value:function(v,s,e){var i,l=this.length;s=(s===U?0:s);e=(e===U?l:e);s=(s<0?l-s:s);for(i=s;i<e;i++){this[i]=v;};return this}});}(Array,Array.prototype,undefined);String.prototype.trimasc=function(){return this.replace(/(^[ \f\n\r\t\v\u00a0\ufeff]+|[ \f\n\r\t\v\u00a0\ufeff]+$)/g,'')} var _div=$("<div>");var loremIpsum_src="Lorem ipsum dolor sit amet, consectetur adipiscing elit. In dignissim sem et arcu imperdiet molestie. Curabitur non libero at diam eleifend molestie id ac justo. Sed viverra, est ut mattis faucibus, lacus diam cursus mauris, eu laoreet nibh augue nec ante. Vestibulum id elit sit amet velit pulvinar fermentum et egestas libero. Nullam hendrerit nunc non orci convallis at sodales sem pellentesque. Integer imperdiet porttitor faucibus. Etiam placerat ultrices venenatis. Nam lectus est, posuere at interdum non, ullamcorper sit amet augue. Integer tristique tellus ut eros fermentum molestie sollicitudin tortor molestie. Nam facilisis auctor mattis. Sed et lectus leo. Aliquam erat volutpat. In iaculis vehicula arcu, scelerisque sodales turpis vehicula vel. Quisque eleifend porttitor dolor ac fermentum. Suspendisse nec lectus vel elit euismod vestibulum. ".split(' ');var scrollbarWidth=null,scrollbarHeight=null;var _ua=navigator.userAgent,m,k,i;$.browser={useragent:_ua};var rxs=[['webkit',/AppleWebKit\/([0-9.]+)/,false,false],['ios',/iPhone OS ([\d_]+)/,true,false],['ios',/iPad;(?: U;)? CPU OS ([\d_]+)/,true,false],['macosx',/Mac OS X ([\d_]+)/,false,false],['operamini',/Opera Mini\/([0-9.]+)$/,true,false],['operamobi',/Opera Mobi\/([^ ;]+)$/,true,false],['opera',/^Opera\/.*Version\/([0-9.]+)$/,false,true],['opera',/^Opera ([0-9.]+)/,false,true],['opera',/Opera[\/ ]([0-9.]+)/,false,true],['chrome',/CriOS\/([0-9.]+)/,true,true],['chrome',/Chrome\/([0-9.]+)/,false,true],['firefox',/Fennec\/([0-9.]+)/,true,true],['firefox',/Firefox\/([0-9.]+)/,false,true],['safari',/Version\/([0-9.]+) Safari\/([0-9.]+)/,false,true],['safari',/Safari\/([0-9.]+)/,false,true],['msie',/IEMobile\/([0-9.]+)/,true,true],['msie',/MSIE ([0-9.]+)/,false,true]];$.each(rxs,function(i,v){var k=v[0];var m=_ua.match(v[1]);if(m){$.browser[k]={version:m[1].replace(/_/g,'.'),mobile:v[2]};$.browser.version=$.browser[k].version;$.browser.mobile=v[2];if(v[3]){return false;}}});if($.browser.opera){m=_ua.match(/Opera Mini\/([0-9.]+)/);if(m){$.browser.opera.mini={version:m[1]};$.browser.opera.mobile=true;}} if($.browser.safari){m=_ua.match(/ Mobile\//);if(m){$.browser.safari.mobile=true;}} if($.browser.msie){$.browser.msie.backcompat=document.compatMode=='BackCompat';} $.browser.mozilla=$.browser.firefox;if(m=_ua.match(/Android ([0-9.]+)/)){$.browser.android={mobile:!!_ua.match(/Mobile/),tablet:!(_ua.match(/Mobile/)),version:m[1]};}else if(m=_ua.match(/Android;/)){$.browser.android={mobile:true,firefox:true,version:'unknown'};} if($.browser.ios){$.browser.iphone=!!_ua.match(/iPhone/);$.browser.ipod=!!_ua.match(/iPod/);$.browser.ipad=!!_ua.match(/iPad/);$.browser.ios.mobile=$.browser.iphone||$.browser.ipod;$.browser.ios.tablet=$.browser.ipad;} $.browser.mobile=$.browser.iphone||$.browser.ipod||($.browser.android&&$.browser.android.mobile)||($.browser.msie&&$.browser.msie.mobile)||($.browser.firefox&&$.browser.firefox.mobile);$.browser.tablet=$.browser.ipad||($.browser.android&&$.browser.android.tablet);$.browser.desktop=!$.browser.mobile&&!$.browser.tablet;$.browser.touchable=!!('ontouchstart'in window);$.each(['msie','webkit','safari','opera','mozilla','firefox','chrome','opera'],function(i,v){var _b=$.browser[v];if(_b){$('html').addClass('ua-'+v);var _v=(_b.version||$.browser.version).split('.');if(_v){$('html').addClass('ua-'+v+'-'+_v.join('.')).addClass('ua-'+v+'-'+_v[0]+'.'+_v[1]).addClass('ua-'+v+'-'+_v[0]);}}});$.each($.browser,function(k,v){if(!v){delete $.browser[k];}});$.each(['ios','android'],function(i,v){var _b=$.browser[v];if(_b){$('html').addClass('ua-'+v);var _v=$.browser[v].version.split('.');if(_v){$('html').addClass('ua-'+v+'-'+_v.join('.')).addClass('ua-'+v+'-'+_v[0]+'.'+_v[1]).addClass('ua-'+v+'-'+_v[0]);}}});$.browser.cssRound=function(v){return Math.round(v);};if($.browser.webkit){$.browser.cssRound=function(v){return Math.floor(v+0.01);};}else if($.browser.firefox){$.browser.cssRound=function(v){return Math.floor(v+(1-0.49166));};}else if($.browser.msie){$.browser.cssRound=function(v){return Math.floor(v);};} if(!('console'in window)){window.console={log:$.noop,error:$.noop,warn:$.noop,info:$.noop};}else if(typeof window.console.log!='function'){var _console=window.console;window.console={};$.each(['log','error','warn','info'],function(i,v){(function(method){var org=_console[method];window.console[method]=function(){return org(Array.prototype.slice.apply(arguments).join(', '));};})(v);});} $(document).ready(function(){var $div=$('#_dpi')||$('<div>').attr('id','_dpi').css({position:'absolute',width:'1in',height:'0',padding:0}).appendTo('body');$.browser.dpi=$div.width();});$(document).ready(function(){var dummy_console=$('textarea#console');if(dummy_console[0]){var dump=function(){var args=Array.prototype.slice.apply(arguments);return $.map(args,function(v){if(v===window)return'[Window]';if($.isXMLDoc(v))return'[Node:'+dumpHTMLElement(v)+']';if($.isPlainObject)return($.toJSON?$.toJSON(v):''+v);return""+v;}).join(',');};$.each([['log',''],['error','\nERR: '],['warn','WARN: '],['info','INFO: ']],function(i,v){(function(method){var lead=method[1],method=method[0],org=window.console[method];window.console[method]=function(){var args=Array.prototype.slice.apply(arguments);dummy_console.val(dummy_console.val()+lead+dump.apply(this,args)+'\n').scrollTop(100000);return org.apply(console,arguments);};})(v);});console.log('--- start console ---');}});$.extend({_log:function(){if('console'in window){console.log.apply(console,arguments);}},_error:function(){if('console'in window){console.error.apply(console,[(new Error()).stack].concat(arguments));}},_typeOf_constructors:{array:(new Array()).constructor,date:(new Date()).constructor,regexp:(new RegExp()).constructor,string:(new String()).constructor,number:(new Number()).constructor,boolean:(new Boolean()).constructor},typeOf:$.type||function(v){if(v===null){return'null';} var t=typeof(v);if(t==='object'){for(var k in $._typeOf_constructors){if(v.constructor===$._typeOf_constructors[k]){return k;}} return'object';} return t;},min:function(){var ret=arguments[0];Array.prototype.forEach.call(arguments,function(v){if(v===undefined||v===null){return;} if(ret>v){ret=v;}});return ret;},max:function(){var ret=arguments[0];Array.prototype.forEach.call(arguments,function(v){if(v===undefined||v===null){return;} if(ret<v){ret=v;}});return ret;},isDeferred:function(obj){return obj&&$.isFunction(obj.then&&obj.fail&&obj.always);},closure:function(args,thisobj,func){var _args=Array.prototype.slice.call(args);return function(){return func.apply(thisobj,_args.concat(Array.prototype.slice.apply(arguments)));};},doLaterWith:function(args,thisobj,func,delay){delay=(delay===undefined)?0:delay;var c=$.closure(args,thisobj,func);return $.Deferred(function(_d){setTimeout(function(){try{_d.resolve(c());}catch(ex){_d.reject(ex);throw ex;}},delay);});},doLater:function(func,delay){if($.isFunction(func)){return $.doLaterWith([],null,func,delay);}else{return $.doLaterWith([],null,function(){},func,1);}},pollWith:function(args,thisobj,func,timeout,interval){interval=(interval===undefined)?250:interval;timeout=(timeout==undefined)?-1:timeout;var c=$.closure(args,thisobj,func),remain=timeout*1000/interval;return $.Deferred($.closure([timeout,remain,interval],null,function(timeout,remain,interval,_d){var ret,_t=null;if((ret=c())!==true){_d.resolve(ret);}else{_t=setInterval(function(){if(timeout>0&&remain<0){clearInterval(_t);_d.resolve('timeout');}else if((ret=c())!==true){clearInterval(_t);_d.resolve(ret);} remain--;},interval);}}));},poll:function(func,timeout,interval){return $.pollWith([],null,func,timeout,interval);},resolve:function(obj,str,val){var bits=str.split('.'),bit,settable=false;var curobj=obj;var curname='';while(bit=bits.shift()){if(curobj===undefined){throw new Error('ResolveError: obj is undefined:<obj>'+curname);} curname=curname+'.'+bit;var res=bit.match(/^([a-zA-Z0-9_]+)(\(\))?(\[(\d+)\])?/);var name=res[1];var isfunc=res[2]=='()';var isarray=(res[3]!=undefined)&&(res[3]!='');var arraynum=parseInt(res[4],10);if(isfunc||isarray){if(curobj[name]===undefined){throw new Error('ResolveError: property is undefined:<obj>'+curname);} if(isfunc){settable=false;if(curobj[name].call===undefined){throw new Error('ResolveError:property is not callable:<obj>'+curname);} curobj=curobj[name].call(curobj);}else{settable=true;if(curobj[name]===undefined){throw new Error('ResolveError:undefined property:<obj>'+curname);} curobj=curobj[name][arraynum];}}else{settable=true;curobj=curobj[name];}} if(val!==undefined){if(settable){eval('(function(obj,v){obj.'+str+' = v;})(obj,val)');}} return curobj;},lpad:function(chr,len,str,do_cut){if(!do_cut&&str.length>=len){return str;} return(Array.apply(null,Array(len)).map(function(){return chr;}).join('')+str).splice(-len);},parseISO8601:function(str){var p=str.match(/(\d{4})(?:-(\d{2})(?:-(\d{2}))?)?T(\d{2})(?::(\d{2})(?::(\d{2})(?:\.(\d+))?)?)(Z|([+-]\d{2})(?::?(\d{2}))?)/);if(p===null){throw new Error('ISO8601ParseError','Invalid ISO8601 DateTime : '+str);} for(var i=0;i<p.length;i++){switch(i){case 2:case 3:if(p[i]===undefined){p[i]='01';};break;case 4:case 5:case 6:case 7:case 9:case 10:if(p[i]===undefined){p[i]='00';};break;case 8:if(p[i]==='Z'){p[9]='+00';};break;}} return new Date(Date.parse([p[1],p[2],p[3]].join('/')+' '+[p[4],p[5],p[6]].join(':')+' GMT'+[p[9],p[10]].join('')));},toISO8601:function(date){return $.toJSON(date).replace(/"/g,'');},dateformat:function(date,format,to_utc){if(!date instanceof Date){console.error('dateformat:date is not Date',date);return'Invalid Date';} if(isNaN(date.getTime())){return'Invalid Date';} to_utc=(to_utc===undefined)?false:true;format=(format===undefined)?'yyyy/M/d h:mm':format;function pad0(num,len){return('000000'+num).split('').reverse().splice(0,len).reverse().join('');} var dt=date,y,M,d,H,m,s,S;if(to_utc){y=dt.getUTCFullYear();M=dt.getUTCMonth()+1;d=dt.getUTCDate();H=dt.getUTCHours();m=dt.getUTCMinutes();s=dt.getUTCSeconds();}else{y=dt.getFullYear();M=dt.getMonth()+1;d=dt.getDate();H=dt.getHours();m=dt.getMinutes();s=dt.getSeconds();} S=dt.getMilliseconds();var formatted={yyyy:y,yy:(y+'').substring(2,4),MM:pad0(M,2),M:M,dd:pad0(d,2),d:d,HH:pad0(H,2),H:H,mm:pad0(m,2),m:m,ss:pad0(s,2),s:s,SSS:pad0(S,3),KK:pad0(H%12,2),K:H%12,hh:pad0((H%12)==0?12:(H%12),2),h:(H%12)==0?12:(H%12),a:H<12?'AM':'PM'};var ret=[],bit,bits=format.split("'");while(bits.length){bit=bits.shift();if(bit==''){ret.push('\'');}else{ret.push(bit.replace(/(yyyy|yy|[MdhHmsK]{1,2}|S{1,3}|a)/g,function(m0,m1,m2,idx){return formatted[m1];}));} bit=bits.shift();if(bits.length){ret.push(bit);}} return ret.join('');},dateCalc:function(base_date,delta_str){var m=delta_str.match(/([-+]?\d+[yMdHms],?\s*)/g);if(m===null){throw new Error('invalid delta_str: '+delta_str);} var d={'y':0,'M':0,'d':0,'H':0,'m':0,'s':0};$.each(m,function(i,v){var n=v.match(/^([-+]?\d+)([yMdHms])$/);d[n[2]]=parseInt(n[1],10);});return new Date(base_date.getFullYear()+d.y,base_date.getMonth()+d.M,base_date.getDate()+d.d,base_date.getHours()+d.H,base_date.getMinutes()+d.m,base_date.getSeconds()+d.s);},relativeTime:function(date,options){options=$.extend({now:new Date(),dateformat:'yyyy/M/d H:MM',thresholds:[[10,0,'Now'],[60,1,' sec'],[60*60,60,' min'],[2*60*60,60*60,' hour'],[24*60*60,60*60,' hours'],[2*24*60*60,24*60*60,' day'],[30*24*60*60,24*60*60,' days']],suffixes:[' ago',' later']},options);var suffix=(options.now.getTime()+100>date.getTime())?options.suffixes[0]:options.suffixes[1];var delta=Math.floor(Math.abs((options.now.getTime()-date.getTime())/1000));for(var i=0,l=options.thresholds.length;i<l;i++){var th=options.thresholds[i];if(delta<th[0]){if(th[1]>0){return Math.max(1,Math.floor(delta/th[1]))+th[2]+suffix;}else{return th[2];}}} return $.dateformat(date,options.dateformat);},calcAge:function(birthday_str){var _birth=parseInt(birthday_str.replace(/[-\/]/g,''));var _today=parseInt($.dateformat(new Date(),'yyyyMMdd'));return parseInt((_today-_birth)/10000);},numformat:{comma3:function(v){if(!isFinite(v)||isNaN(v)){return v;} if(v<1000&&v>-1000){return new String(v);} v=(new String(v)).match(/^([-+]?)(\d+)(\.\d+)?$/);v[2]=v[2].replace(/\B(?=(?:\d{3})+(?!\d))/g,',');v[3]=v[3]===undefined?'':v[3];return v[1]+v[2]+v[3];},round:function(v,pos,pad0){pad0=(pad0===undefined)?true:pad0;pos=(pos===undefined)?0:pos;var ret=v;if(pos<0){ret=Math.round(v*Math.pow(10,-pos))/Math.pow(10,-pos);}else{ret=Math.round(v/Math.pow(10,pos))*Math.pow(10,pos);} if(pad0&&pos<0){ret=ret.toFixed(-pos);} return ret;},kilo:function(v,use_si){return $.numformat.round(v/(use_si?1000:1024),-2,false);},mega:function(v,use_si){return $.numformat.round(v/(use_si?1000*1000:1024*1024),-2,false);},tera:function(v,use_si){return $.numformat.round(v/(use_si?1000*1000*1000:1024*1024*1024),-2,false);},shorten:function(v,use_si){var a=Math.abs(v),n=v<0?-1:1,u=use_si?1000:1024,r;if(a<u){r=$.numformat.round(a,-2,false);s='';}else if(a<u*u){r=$.numformat.kilo(a,use_si);s=use_si?'k':'Ki';}else if(a<u*u*u){r=$.numformat.mega(a,use_si);s=use_si?'M':'Mi';}else{r=$.numformat.tera(a,use_si);s=use_si?'T':'Ti';} if(r<10){}if(r<100){r=$.numformat.round(r,-1,true);}else{r=$.numformat.round(r,0,true);} r=(r*n)+s;return r;}},cookie:function(key,val,options){if(arguments.length<=1){var cookies={},bit,bits=document.cookie.split('; ');while(bit=bits.shift()){bit=bit.split('=');try{cookies[decodeURIComponent(bit[0])]=decodeURIComponent(bit[1]||'');}catch(ex){console.error('$.cookie: unexpecedly encoded:'+bit[0]+'='+bit[1]);cookies[bit[0]]=bit[1];}} if(key!==undefined){return cookies[key];} return cookies;}else{options=$.extend({expires:'',maxAge:null,path:'',domain:'',secure:false},options);if(val===null){val='';options.expires=new Date(0);options.maxAge=0;console.log('$.cookie:will delete:'+key);}else{if($.typeOf(key)!='string'){throw new Error('$.cookie:key is not string.');} if($.typeOf(val)!='string'&&$.typeOf(val)!='number'){throw new Error('$.cookie:value is not string: '+$.typeOf(val));}} if(options.maxAge){var expires=new Date();expires.setTime(new Date().getTime()+options.maxAge*1000);options.expires=expires;} if(options.expires){if(options.expires==='never'){options.expires=365*10;} if(typeof options.expires==='number'){var days=options.expires,t=options.expires=new Date();t.setTime(+t+days*864e+5);} if(!options.expires instanceof Date){console.error('$.cookie: expires is not Date() : '+key);}} console.log('$.cookie:will set:'+key+'='+val,options);var ret=document.cookie=[encodeURIComponent(key)+'='+encodeURIComponent(val),options.expires?('; max-age='+Math.round((options.expires.getTime()-new Date().getTime())/1000)):'',options.path?('; path='+options.path):'',options.domain?('; domain='+options.domain):'',options.secure?'; secure':''].join('');console.log('$.cookie:result:'+key+'='+$.cookie(key));return ret;}},encodeHtml:function(text){return _div.text(text).html();},decodeHtml:function(html){return _div.html(html).text();},anchor:function(val,skip){var fn=arguments.callee;switch(typeof val){case"undefined":var ret=location.hash;if(!ret){return null;} ret=ret.replace(/^#/,"");return $.browser.fx?ret:decodeURIComponent(ret);case"function":if(!fn.tid){fn.hash=location.hash;(function rec(){if(!fn.skip&&fn.hash!==location.hash){fn.hash=location.hash;$(window).trigger("changeAnchor",$.anchor());} fn.tid=setTimeout(rec,300);})();} return $(window).bind("changeAnchor",val);default:if(skip){fn.skip=true;location.hash=encodeURIComponent(val);fn.hash=location.hash;fn.skip=false;}else{location.hash=encodeURIComponent(val);} return;}},loremIpsum:function(min_words,max_words){min_words=(min_words===undefined)?5:min_words;max_words=(max_words===undefined)?20:max_words;var ret=[];var words_count=min_words+Math.floor(Math.random()*(max_words-max_words));for(var i=0;i<min_words;i++){ret.push(loremIpsum_src[Math.round(Math.random()*loremIpsum_src.length)]);} for(i=min_words;i<words_count;i++){ret.push(loremIpsum_src[Math.round(Math.random()*loremIpsum_src.length)]);} return ret.join(' ');},loadCss:function(href,flag){if(flag==false){return $.unloadCss(href);return;} if($('head link[href="'+href+'"][rel="stylesheet"]')[0]){return;} $('head').append('<link>');var css=$('head').children(':last');css.attr({'href':href,'rel':'stylesheet'});return $('head').children(':last');},unloadCss:function(elem){if($.typeOf(elem)==='string'){elem=$('head link[rel="stylesheet"][href="'+elem+'"]');} elem.remove();},setStyle:function(style,id){if(!id===undefined){if(!$('#'+id).is('style')){console.error('$.setStyle:#'+id+' is not <style>.');return $();}} var cnt=$.setStyle._cnt=($.setStyle._cnt||0)+1,id=id||'setstyle-'+cnt;var $new=$('<style id="'+id+'">'+style+'</style>');var $exists=$('#'+id);if($exists[0]){$exists.removeAttr('id');$new.insertAfter($exists);$exists.remove();}else{$new.appendTo($('head'));} return $new;},removeStyle:function(target){if(!id_or_$style_elm instanceof $){id_or_$style_elm=$('#'+id_or_$style_elm);} if(id_or_$style_elm.is('style')){id_or_$style_elm.remove();}},getScrollbarWidth:function(){if(scrollbarWidth!==null){return scrollbarWidth;} var div=$('<div>').css({position:'absolute',top:'-100px',left:'-100px',width:'100px',height:'100px',overflowY:'scroll'}).appendTo('body');scrollbarWidth=100-div[0].clientWidth;div.remove();return scrollbarWidth;},getScrollbarHeight:function(){if(scrollbarHeight!==null){return scrollbarHeight;} var div=$('<div>').css({position:'absolute',top:'-100px',left:'-100px',width:'100px',height:'100px',overflowX:'scroll'}).appendTo('body');scrollbarHeight=100-div[0].clientHeight;div.remove();return scrollbarHeight;},redraw:function(func){$('body').redraw(func);},arrayMap:function(array,key,ignore_null){ignore_null=ignore_null===undefined?true:ignore_null;var ret={};$.each(array,function(i,v){if(ignore_null&&v==null){return;} if(key in v){ret[v[key]]=v;}else{throw'arrayMap():object array['+i+'] is not have "'+key+'"';return false;}});return ret;},fontAvailable:function(fontName,teststr){var width,height;var element=$('#_fontavailable');if(!element[0]){element=$(document.createElement('span')).attr('id','_fontavailable').css({'visibility':'hidden','position':'absolute','top':'-10000px','left':'-10000px'}).html('abcdefghijklmnopqrstuvwxyz'+(teststr||'')).appendTo(document.body);} width=element.css('font-family','__FAKEFONT__').width();height=element.height();element.css('font-family',fontName);return width!==element.width()||height!==element.height();},createOrGet:function(selector,generate_func,context){var $ret=$(selector,context);if($ret[0]){return $ret;} $ret=generate_func(context);if(!$ret.is(selector)){console.error('$.createOrGet():generate_func is not "'+selector+'"');} return $ret;},toBase:function(num,base){var chars,type=$.type(base),use_chars=false;if(type=='number'){chars='01234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ';}else if(type=='string'){chars=base;base=chars.length;use_chars=true;}else{throw new Error('invalid base (number or string):'+base);} if(base<=36&&!use_chars){return Number(num).toString(base);} var is_negative=num<0;for(var str='',num=Math.abs(num);num>0;num=Math.floor(num/base)){str=chars[num%base]+str;} return(is_negative?'-':'')+str;},generateUUID4:function(base){if(base<2||base>62){throw new Error('invalid base (2 to 62):'+base);} base=base||16;return'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g,function(c){var r=Math.random()*16|0,v=c=='x'?r:(r&0x3|0x8);return v.toString(16)}).split('-').map(function(v){return $.toBase(parseInt(v,16),base);}).join('-');},});var _imgtest=$('<img>')[0];_imgtest='naturalWidth'in _imgtest?0:'runtimeStyle'in _imgtest?1:2;function dumpHTMLElement(v){if(v===window)return'Window';if(v.nodeName)return v.nodeName+(v.id?'#'+v.id:'')+(v.className?('.'+v.className.split(/\s+/).join('.')):'');return""+v;};var _toString=$.fn.toString;$.fn.extend({events:function(callback,type){return $(this).each(function(){var root=this,elm=root;while(elm){var evs=$._data(elm).events;if(!evs){elm=elm.parentNode;continue;} Object.keys(evs).forEach(function(name){if(type&&type!=name){return;} evs[name].forEach(function(evd){if(elm!=root){if(!evd.selector){return;} if(!$(root).is(evd.selector,elm)){return;}} (callback||console.info)(elm,evd);})});elm=elm.parentNode;}});},csses:function(properties_array){var $elm=this,ret={};properties_array.forEach(function(prop){ret[prop]=$elm.css(prop);});return ret;},assureUniqId:function(prefix,context){prefix=prefix||'asuq-';return $(this).each(function(){var org_id=$(this).attr('id');if(org_id){if($('[id]',context).filter(function(){return this.id==org_id}).length>1){console.error('assureUniqId:duplicated id is found:'+org_id,this);$(this).attr('data-duplicated-id',org_id);}else{return;}} $(this).attr('id',prefix+$.generateUUID4(62));});},reverse:[].reverse,spaceless:function(){return $(this).each(function(){$(this).contents().filter(function(){if(this.nodeType==3){return/^\s*$/.test(this.textContent);} return false;}).remove();});},bindFirst:function(name,fn){this.on(name,fn);this.each(function(){var handlers=$._data(this,'events')[name.split('.')[0]];var handler=handlers.pop();handlers.splice(0,0,handler);});},toString:function(){if(this[0]){return'[object jQuery:'+this.selector+':['+this.map(function(i,v){return dumpHTMLElement(v);}).toArray().join(',')+']]';} return _toString.call(this)+'';},tagName:function(){return this.nodeName;},outerHTML:function(s){if(s){this.before(s);return s.append(this);}else{return $('<div>').append(this.clone()).html();}},innerHTML:function(html){if(arguments.length==0){return this.html();} this[0].innerHTML=html;return this;},naturalSize:function(){var img=this[0];if(img.nodeName!=="IMG"){return null;} if(!img.src){return null;} if(img.complete===undefined||img.readyState=='uninitialized'){return false;} var w,h;if(_imgtest==0){w=img.naturalWidth;h=img.naturalHeight;}else if(_imgtest==1){var img2=new Image;img2.src=img.src;w=img2.width;h=img2.height;}else{var ow=img.width,oh=img.height;img.removeAttribute('width');img.removeAttribute('height');w=img.width;h=img.height;img.width=ow;img.height=oh;} if(img.complete==true&&w===0){return null;} return(w===0||w===undefined)?false:{elm:this,src:this.attr('src'),width:w,height:h};},imagesLoaded:function(func,timeout){timeout=(timeout===undefined)?30:timeout;var $images=$(this).find('img[src]').add($(this).filter('img[src]')).addClass('img_loading');var _d=$.Deferred(function(_d){var _ds=[];$images.each(function(){var _d=$.Deferred();_ds.push(_d);var $img=$(this);if($img.naturalSize()){$img.removeClass('img_loading');_d.resolve($img.naturalSize());}else{$img.one('load.imagesLoaded',function(){$.poll(function(){var size=$img.naturalSize();return size===false;},-1,20).always(function(){$img.removeClass('img_loading');_d.resolve($img.naturalSize());});}).one('error.imagesLoaded',function(){_d.resolve({'error ':arguments});$img.removeClass('img_loading').addClass('img_load_error');});if($img[0].complete||($.browser.msie&&$.browser.version<9)){$img.trigger('load');}}});$.when.apply(null,_ds).always(function(){func&&func.call(this,$images);_d.resolve(arguments);});});return func?$images:_d;},redraw:function(func){return this.hide(0,function(){$(this).show();func&&func($(this));});},overflowedX:function(){var ret=(this[0].clientWidth<this[0].scrollWidth);return ret;},overflowedY:function(){var ret=(this[0].clientHeight<this[0].scrollHeight-5);return ret;},overflowed:function(){return $(this).overflowedY()||$(this).overflowedX();},getFontSize:function(){if(document&&document.defaultView&&document.defaultView.getComputedStyle){return parseInt(document.defaultView.getComputedStyle(this[0],null).fontSize);} var $tmp=$('#getFontSize')[0]?$('#getFontSize'):$('<div id="getFontSize">').css({'width':'1em','height':'1em','line-height':'1em','padding':0,'position':'absolute'}).appendTo('body');$tmp.appendTo(this).show();var ret=$tmp[0].offsetWidth;$tmp.appendTo('body').hide();return ret;},adjustFontSizeNoWrap:function(){this.each(function(){var $this=$(this).wrapInner('<div></div>');var $wrapped=$this.children('div').css({'white-space':'nowrap','padding':0,'margin':0,'width':'auto','font-size':'inherit','letter-spacing':'inherit'});var ratio=$wrapped[0].clientWidth/$wrapped[0].scrollWidth;var fs=Math.floor($this.getFontSize()*ratio);if(ratio<1){$this.css('font-size',fs+'px');console.log('adjustFontSize():adjusted by ratio:'+$this+':'+fs);} while(fs>9&&$wrapped.css('white-space','normal').height()!=$wrapped.css('white-space','wrapped').height()){fs=Math.floor(fs*0.9);$wrapped.css('font-size',fs+'px');} console.log('adjustFontSize():adjusted by resize:'+$this+':'+fs);$wrapped.contents().unwrap();});return this;},scrollIntoView:function(opts){var o=this.offset();if(!o){return this;} opts=$.extend({margin:15},opts);var margin=opts.margin;var container=window;var ct=$(container).scrollTop(),ch=container.clientHeight||$(container).height(),cb=ct+ch;var t=this.offset().top,h=this.outerHeight(),b=t+h;var nt=ct;if(t>cb){nt=b-ch+margin;ct=nt;} if(b<ct){nt=t-margin;}else if(t<ct){nt=t-margin;} $(container).scrollTop(nt);return this;},scrollFixInView:function(do_scroll){var $this=$(this);if(!$this.is(':visible')){return;} if(!do_scroll){$this.data('_fixinview',$this[0].getBoundingClientRect());}else{$(window).scrollTop($this.offset().top-$this.data('_fixinview').top);} return this;},sortByPosition:function(reverse){var arr=this.toArray();arr.sort(function(a,b){if(a===b){return 0;} if(!a.compareDocumentPosition){return a.sourceIndex-b.sourceIndex;} if(a.compareDocumentPosition(b)&2){return 1;} return-1;});if(reverse){arr.reverse();} return $(arr);},findSelf:function(selector){return this.filter(selector).add(this.find(selector));},closestSelf:function(selector){if(this.is(selector)){return this;} return this.closest(selector);},});var Mask=function(elem,opts){this.opts=opts;this.$elem=$(elem);};function getMetrics($elem){var h=$elem.outerHeight();var w=$elem.outerWidth();var t=$elem.position().top;var l=$elem.position().left;var margin=$elem.css('margin');var borderRadius=$elem.css('border-radius');return{'border-radius':borderRadius,position:$elem.css('position')=='fixed'?'fixed':'absolute',margin:margin,top:t+'px',left:l+'px',height:h+'px',width:w+'px',zIndex:$elem.css('z-index')};} Mask.prototype={constructor:Mask,toggle:function(){return this[!!is_shown?'hide':'show'].apply(this,arguments);},show:function(opts,proc){var $elem=this.$elem.addClass('masked');this.is_shown&&this.$mask.hide();opts=$.extend(this.opts,opts);var className=opts.className;className=className.call?className(this.$elem):className;var mask=this.$mask||this.$elem.next('.'+className);if(!mask[0]){mask=$('<div>').addClass(className).appendTo(this.$elem.offsetParent());} var css=getMetrics($elem);mask=mask.clone();if(opts.html){mask.append($(opts.html));} mask.css($.extend(opts.css,{opacity:opts.opacity,background:opts.background},css)).appendTo(this.$elem.offsetParent());$elem.on('changemetrics.mask',function(){mask.css($.extend(opts.css,{opacity:opts.opacity,background:opts.background},css=getMetrics($(this))));});proc&&proc.call&&proc.call(this,mask);this._org_style=$elem.attr('style');this._org_position=$elem.css('position');if(this._org_position=='static'){$elem.css('position','relative');} this._org_display=$elem.css('display');if(this._org_display=='inline'){$elem.css('display','inline-block');} mask.show();this.$mask=mask;this.is_shown=true;},hide:function(opts,proc){if(!this.is_shown){return;} this.$elem.off('changemetrics.mask');opts=$.extend(this.opts,opts);this.$elem.css('position',this._org_position);this.$elem.css('display',this._org_display);if(this._org_style){this.$elem.attr('style',this._org_style);}else{this.$elem.removeAttr('style');} this.$elem.removeClass('masked');this.$mask.hide();this.is_shown=false;},destroy:function(){this.$elem.off('changemetrics.mask');this.hide();this.$mask&&this.$mask.remove();this.$elem.removeData('mask').removeClass('masked');}};$.fn.mask=function(opts,proc){if($.isFunction(opts)){proc=opts;opts={};} return this.each(function(){var $this=$(this),data=$this.data('mask'),_opts=$.extend({},$.fn.mask.defaults,$this.data(),typeof opts=='object'&&opts);if(!data)$this.data('mask',(data=new Mask(this,_opts)));if(typeof opts=='string')data[opts](_opts,proc);else if(_opts.show)data.show(_opts,proc);});};$.fn.mask.defaults={show:true,className:'mask',css:{'display':'block','position':'absolute','-webkit-box-sizing':'border-box','-moz-box-sizing':'border-box','-mz-box-sizing':'border-box','-o-box-sizing':'border-box','box-sizing':'border-box'},html:''};$.doLater(function(){var s=$.setStyle('#cssstest { margin:10px; }'),t=$('<div id="cssstest">').appendTo($('body'));if(t.css('margin')!=t.css('margin-left')){function mapSubProp(prop,repl,repls){return $.closure([prop,repl],null,function(prop,sub,elem,computed,extra){$elem=$(elem);return $.map(repls,function(v){return $elem.css(prop.replace(repl,v));}).join(' ');});} function mapDirections(prop){return mapSubProp(prop,'Direction',['Top','Right','Bottom','Left']);} $.each({'margin':mapDirections('marginDirection'),'padding':mapDirections('paddingDirection'),'borderWidth':mapDirections('borderDirectionWidth'),'borderColor':mapDirections('borderDirectionColor'),'borderStyle':mapDirections('borderDirectionStyle'),'border':mapSubProp('borderSub','Sub',['Width','Color','Style']),'borderTop':mapDirections('borderTopDirection'),'borderRight':mapDirections('borderRightDirection'),'borderBottom':mapDirections('borderBottomDirection'),'borderLeft':mapDirections('borderLeftDirection'),'borderImage':mapSubProp('borderImageSub','Sub',['Source','Slice','Width','Outset','Repeat']),'outline':mapSubProp('outlineSub','Sub',['Color','Style','Width']),'borderRadius':mapSubProp('borderCornerRadius','Corner',['TopLeft','TopRight','BottomRight','BottomLeft']),'font':mapSubProp('fontSub','Sub',['Style','Veriant','Weight','Size','Family']),'background':mapSubProp('backgroundSub','Sub',['Color','Image','Repeat','Attachment','Position']),'listStyle':mapSubProp('listStyleSub','Sub',['Type','Position','Image']),'transition':mapSubProp('transitionSub','Sub',['Property','Duration','TimingFunction','Delay'])},function(k,v){$.cssHooks[k]={get:v,set:$.closure([k],null,function(prop,elem,value){elem.style[k]=value;})};});} t.remove();s.remove();},10);if($.browser.msie){} if($.browser.android){$(document).on('focus','input[type="date"]',function(ev){$(this).val($(this).val().replace(/^(\d+)-(\d)-(\d+)$/,'$1-0$2-$3').replace(/^(\d+)-(\d+)-(\d)$/,'$1-$2-0$3'));});} $.fn.watch=function(id,opts){opts=$.extend({interval:1000/30,watch:function(){},onchange:function(id,mode,old,cur){}},opts);return this.each(function(){var _self=this;var o=opts.watch.call(_self),n,m=0,s=0;$(_self).data('watch_t',setInterval(function(){if((n=opts.watch.call(_self))!==o){if(m==0){m=1;s=n;opts.onchange.call(_self,id,'start',o,n);}else{opts.onchange.call(_self,id,'change',o,n,s);} o=n;}else{if(m==1){m=0;opts.onchange.call(_self,id,'end',s,n);}}},opts.interval));});};$.fn.unwatch=function(id){return this.each(function(){clearInterval($(this).data('watch_t'));});};function watchScrollTop(){return $(this).scrollTop();} function watchSize(){var t=$(this);return t.width()+','+t.height();} function watchOverflow(){return $(this).innerHeight()<$(this)[0].scrollHeight;} function watchMetrics(){return $.toJSON(getMetrics($(this)));} $.each([['scrolling','scrolling',watchScrollTop,'change'],['scrollstart','scrolling',watchScrollTop,'start'],['scrolled','scrolling',watchScrollTop,'end'],['resizing','resizing',watchSize,'change'],['resizestart','resizing',watchSize,'start'],['resized','resizing',watchSize,'end'],['overflow','overflow',watchOverflow,'start'],['changemetrics','changemetrics',watchMetrics,'start']],function(i,v){var eventType=v[0],watchId=v[1],watchFunc=v[2],watchType=v[3];$.event.special[eventType]={setup:function(data,namespace,eventHandle){$(this).watch(watchId+'.'+watchType,{watch:watchFunc,onchange:function(id,type,old,cur,start){if(type==watchType){var ev=$.Event(eventType);ev[eventType]={start:start,old:old,cur:cur};$.event.dispatch.call(this,ev);}}});},teardown:function(){$(this).unwatch(watchId);}};$.fn[eventType]=function(fn){return this.on(eventType,fn);};});console.log('set resized event on window');(function(w){var t=null;$(w).off('resized').on('resize',function(ev){clearTimeout(t);t=setTimeout(function(){$(window).trigger('resized',[ev]);t=null;},1000/30);});})(window);(function(){var DEBUG=false;var AUTOGROW_EVENTS='focus.autogrow keyup.autogrow paste.autogrow change.autogrow';var mirrorStyles=['-webkit-appearance','-moz-appearance','-ms-appearance','appearance','box-sizing','height','width','padding-bottom','padding-left','padding-right','padding-top','font-family','font-size','font-style','font-variant','font-weight','word-spacing','letter-spacing','line-height','text-decoration','text-indent','text-transform','word-break','word-wrap','overflow-wrap','white-space','direction'];function getMirror($ta){var $mirror=$('#autogrow-ta-mirror-div') if(!$mirror[0]){$mirror=$('<div></div>').attr('id','autogrow-ta-mirror-div').css({visibility:'hidden',opacity:0,position:'absolute',top:'-9999px',left:'-9999px',zIndex:-1}).appendTo('body');} var styles={};for(var i=0,style;style=mirrorStyles[i];i++){styles[style]=$ta.css(style);} $mirror.css(styles).css({'height':'auto','overflow-y':$ta[0].clientWidth<$ta[0].scrollWidth?'scroll':'visible','overflow-x':'hidden'});if($mirror.outerWidth()!=$ta.outerWidth()){$mirror.css('width',$ta.outerWidth()+'px');} if($.browser.ios){$mirror.css('padding-left',parseFloat($ta.css('padding-left'),10)+3+'px');$mirror.css('padding-right',parseFloat($ta.css('padding-right'),10)+3+'px');} return $mirror;} var t=null;function ta_autogrow($ta){clearTimeout(t);t=setTimeout(function(){_ta_autogrow($ta);t=null;},100);} function _ta_autogrow($ta){if(!$ta.is(':visible')){return;} var text=$ta.val();var old_text=$ta.data('old_text');if(text==old_text){return;} var opts=$ta.data('autogrow')||{};var $mirror=getMirror($ta);var _hfunc=$ta.css('box-sizing')=='border-box'?'outerHeight':'height';$mirror.css({minHeight:0,maxheight:'none'});var minHeight=$mirror.html(new Array(opts.minRows).join('A<br>'))[_hfunc]();var maxHeight=$mirror.html(new Array(opts.maxRows).join('A<br>'))[_hfunc]();$ta.css({minHeight:+'px',maxHeight:+'px'});$mirror.html(text.replace(/&/g,'&').replace(/</g,'<').replace(/(\r\n|\r|\n)/g,'<br>').replace(/<br>$/,'<br> ').replace(/^$/,' '));if(DEBUG){$ta.css({background:'#ccf',borderRadius:0});$mirror.css({visibility:'visible',opacity:'1',zIndex:'1000',background:'#fcc',top:($ta.offset().top+$ta.outerHeight())+'px',left:($ta.offset().left)+'px',});} var new_height=$mirror[_hfunc]();var old_height=$ta[_hfunc]();var vScrollbarHeight=0;if($ta.css('overflow-x')=='scroll'||($ta.css('overflow-x')=='auto'&&$ta.overflowedX())){vScrollbarHeight=$.getScrollbarHeight();} if(opts.autoShrink){}else{if(new_height+vScrollbarHeight<old_height){return;}} $ta.height(new_height+vScrollbarHeight);if(new_height!=old_height){$ta.height(new_height+vScrollbarHeight);if($.browser.iphone){if($ta.height()<=maxHeight){$ta.scrollTop(0).focus();}} $ta.trigger('autogrowed');}} $.extend({autogrow:function(selector,opts){$(document).off('focus.autogrow change.autogrow',selector).on('focus.autogrow change.autogrow',selector,function(ev){var $this=$(this);if($this.data('autogrow')){return;} return $this.autogrow(opts);});}});$.fn.extend({autogrow:function(opts){if(opts=='destroy'){this.removeData('autogrow');return;} opts=$.extend({autoShrink:false,minRows:4,maxRows:40},opts);if(opts.minRows<1){opts.minRows=1;} if(opts.maxRows<1){opts.maxRows=1;} var t=null;return this.each(function(){var $ta=$(this);if(!$ta.is('textarea')){return;} var pos=$ta.css('position');var disp=$ta.css('display');$ta.css({'word-break':'break-all','overflow-y':'hidden','height':'auto','display':disp=='inline'?'inline-block':disp,'position':pos=='static'?'relative':pos});$ta.off(AUTOGROW_EVENTS).on(AUTOGROW_EVENTS,function(ev){var $ta=$(this),opts=$ta.data('autogrow');ta_autogrow($ta);});$ta.data('autogrow',opts);ta_autogrow($ta);});}});})();(function($){var DEFAULTS={clear_image_url:'data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyAgIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgICB4bWxuczpjYz0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvbnMjIiAgIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyIgICB4bWxuczpzdmc9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgICB4bWxuczpzb2RpcG9kaT0iaHR0cDovL3NvZGlwb2RpLnNvdXJjZWZvcmdlLm5ldC9EVEQvc29kaXBvZGktMC5kdGQiICAgeG1sbnM6aW5rc2NhcGU9Imh0dHA6Ly93d3cuaW5rc2NhcGUub3JnL25hbWVzcGFjZXMvaW5rc2NhcGUiICAgd2lkdGg9IjgiICAgaGVpZ2h0PSI4IiAgIHZpZXdCb3g9IjAgMCA4IDgiICAgaWQ9InN2ZzIiICAgdmVyc2lvbj0iMS4xIiAgIGlua3NjYXBlOnZlcnNpb249IjAuNDguNSByMTAwNDAiICAgc29kaXBvZGk6ZG9jbmFtZT0ieF90cmFuczUwLnN2ZyI+ICA8bWV0YWRhdGEgICAgIGlkPSJtZXRhZGF0YTEwIj4gICAgPHJkZjpSREY+ICAgICAgPGNjOldvcmsgICAgICAgICByZGY6YWJvdXQ9IiI+ICAgICAgICA8ZGM6Zm9ybWF0PmltYWdlL3N2Zyt4bWw8L2RjOmZvcm1hdD4gICAgICAgIDxkYzp0eXBlICAgICAgICAgICByZGY6cmVzb3VyY2U9Imh0dHA6Ly9wdXJsLm9yZy9kYy9kY21pdHlwZS9TdGlsbEltYWdlIiAvPiAgICAgICAgPGRjOnRpdGxlPjwvZGM6dGl0bGU+ICAgICAgPC9jYzpXb3JrPiAgICA8L3JkZjpSREY+ICA8L21ldGFkYXRhPiAgPGRlZnMgICAgIGlkPSJkZWZzOCIgLz4gIDxzb2RpcG9kaTpuYW1lZHZpZXcgICAgIHBhZ2Vjb2xvcj0iI2ZmZmZmZiIgICAgIGJvcmRlcmNvbG9yPSIjNjY2NjY2IiAgICAgYm9yZGVyb3BhY2l0eT0iMSIgICAgIG9iamVjdHRvbGVyYW5jZT0iMTAiICAgICBncmlkdG9sZXJhbmNlPSIxMCIgICAgIGd1aWRldG9sZXJhbmNlPSIxMCIgICAgIGlua3NjYXBlOnBhZ2VvcGFjaXR5PSIwIiAgICAgaW5rc2NhcGU6cGFnZXNoYWRvdz0iMiIgICAgIGlua3NjYXBlOndpbmRvdy13aWR0aD0iMTExOCIgICAgIGlua3NjYXBlOndpbmRvdy1oZWlnaHQ9IjY4NSIgICAgIGlkPSJuYW1lZHZpZXc2IiAgICAgc2hvd2dyaWQ9ImZhbHNlIiAgICAgaW5rc2NhcGU6em9vbT0iMjkuNSIgICAgIGlua3NjYXBlOmN4PSI0IiAgICAgaW5rc2NhcGU6Y3k9IjQiICAgICBpbmtzY2FwZTp3aW5kb3cteD0iNzMwIiAgICAgaW5rc2NhcGU6d2luZG93LXk9IjM0OSIgICAgIGlua3NjYXBlOndpbmRvdy1tYXhpbWl6ZWQ9IjAiICAgICBpbmtzY2FwZTpjdXJyZW50LWxheWVyPSJzdmcyIiAvPiAgPHBhdGggICAgIGQ9Ik0xLjQxIDBsLTEuNDEgMS40MS43Mi43MiAxLjc4IDEuODEtMS43OCAxLjc4LS43Mi42OSAxLjQxIDEuNDQuNzItLjcyIDEuODEtMS44MSAxLjc4IDEuODEuNjkuNzIgMS40NC0xLjQ0LS43Mi0uNjktMS44MS0xLjc4IDEuODEtMS44MS43Mi0uNzItMS40NC0xLjQxLS42OS43Mi0xLjc4IDEuNzgtMS44MS0xLjc4LS43Mi0uNzJ6IiAgICAgaWQ9InBhdGg0IiAgICAgc3R5bGU9ImZpbGw6IzgwODA4MDtmaWxsLW9wYWNpdHk6MSIgLz48L3N2Zz4='};function setInputClearStyle(clear_image_url){var style=['.inputclear_shown {','background-repeat:no-repeat;','background-size:1em auto;','background-position:right .1em top .2em;','padding-right:1.4em!important;','background-image:url(__IMG_URL__);','}','.inputclear_shown::-ms-clear { display:none; }','.oninputclear { cursor:pointer; }'].join('').replace('__IMG_URL__',clear_image_url||DEFAULTS.clear_image_url);$.setStyle(style,'style-input-clear');} setInputClearStyle();function setInputClearToggle($input){var shown=!!$input.val();$input.toggleClass('inputclear_shown',shown);var image_url=($input.data('inputclear_opts')||{}).clear_image_url;if(image_url){$input.css('background-image',shown?'url('+image_url+')':'none');}} function setInputClearOffsets($input){var offset=$input.offset(),w=$input.outerWidth(),h=$input.outerHeight();var ret={'top':offset.top,'left':offset.left,'width':w,'height':h,'fs':parseFloat($input.css('font-size'))} $input.data('offsets',ret);return ret;} function setInputClearCursor($input,ev){var offsets=$input.data('offsets')||setInputClearOffsets($input);var oninputclear=ev.clientX>offsets.left+offsets.width-1.3*offsets.fs&&ev.clientY<offsets.top+1.3*offsets.fs;$input.toggleClass('oninputclear',oninputclear);} function doInputClear($input,ev){if($input.is('.oninputclear')){ev.preventDefault();$input.removeClass('oninputclear').val('').trigger('change');}} function setEventsAll(target_selector){$(document).off('input.ic focus.ic change.ic',target_selector).on('input.ic focus.ic change.ic',target_selector,function(ev){setInputClearToggle($(this));}).off('mouseenter.ic',target_selector).on('mouseenter.ic',target_selector,function(ev){setInputClearOffsets($(this));}).off('mouseenter.ic',target_selector).on('mousemove.ic',target_selector,function(ev){setInputClearCursor($(this),ev);}).off('touchstart.ic click.ic',target_selector).on('touchstart.ic click.ic',target_selector,function(ev){doInputClear($(this),ev);});} function setEventsToElm($elm){$elm.off('input.ic focus.ic change.ic').on('input.ic focus.ic change.ic',function(ev){setInputClearToggle($(this));}).off('mouseenter.ic').on('mouseenter.ic',function(ev){setInputClearOffsets($(this));}).off('mouseenter.ic').on('mousemove.ic',function(ev){setInputClearCursor($(this),ev);}).off('touchstart.ic click.ic').on('touchstart.ic click.ic',function(ev){doInputClear($(this),ev);});} var opts={};$.extend({'inputclear':function(selector,opts){selector=selector===undefined?'input.clearable':selector;var opts=$.extend({},DEFAULTS,opts);setInputClearStyle(opts.clear_image_url);setEventsAll(selector);}});$.fn.extend({'inputclear':function(opts){return this.each(function(){var $input=$(this);var opts=$.extend({},DEFAULTS,opts);$input.data('inputclear_ots',opts);setEventsToElm($input);});}});})($);$(function(){function toggleForSelected($select){$select.each(function(){var $select=$(this),name=$select.attr('name'),selected=$select.val();$select.closest('form').find('[data-for-select][data-for-selected]').each(function(){var $t=$(this);if($t.attr('data-for-select')==name){var hide=$t.attr('data-for-selected')!=selected;$t.css('display',hide?'none':'');}});});} $(document).on('change.forselect','select[name]',function(ev){toggleForSelected($(this));});toggleForSelected($('select[name]'));}) function DeferredQueue(){this.promise=$(this).promise();} DeferredQueue.prototype.add=function(func,arg){var _this=this;var args=Array.prototype.slice.call(arguments,1);return this.promise=this.promise.then(function(){return $.Deferred(function(){try{return func.apply(this,args);}catch(ex){this.reject(ex);return _this.promise=$(_this).promise();}}).promise();})};DeferredQueue.prototype.wait=function(wait_ms){this.add(function(){var _this=this;setTimeout(function(){_this.resolve();},wait_ms);});};$.DeferredQueue=DeferredQueue;$.toLocalDate=function(date){date=(date instanceof Date)?date:new Date(date);return(new Date(date.getTime()-date.getTimezoneOffset()*60000)).toISOString().replace(/(Z|[+-]\d{2}(:?\d{2})?)$/,'');} $.fromLocalDate=function(localdate){var offset=new Date().getTimezoneOffset()*60000;return new Date(new Date(localdate+'Z').getTime()+offset);} function ajax_cached(opts,force_clear){var cache_key=opts.url+':'+JSON.stringify(opts.data||{}),cached=ajax_cached._cache[cache_key];if(!opts.cache||!cached||cached.state=='error'){console.log('ajax_cached:regist\t'+cache_key);var _d=$.ajax(opts);_d.then(function(res){console.log('ajax_cached:success\t'+cache_key);ajax_cached._cache[cache_key]={state:'success',args:Array.from(arguments),};}).fail(function(){console.log('ajax_cached:error\t'+cache_key);ajax_cached._cache[cache_key]={state:'error',args:Array.from(arguments),};}).always(function(){ajax_cached._cache[cache_key]._expire_t=setTimeout(function(cache_key){console.log('ajax_cached:expire\t'+cache_key);delete ajax_cached._cache[cache_key];}.bind(null,cache_key),ajax_cached._expire_ms);});var cache={state:'loading',_d:_d,};ajax_cached._cache[cache_key]=cache;return cache._d;}else if(cached.state=='loading'){console.log('ajax_cached:wait\t'+cache_key);return cached._d;}else{console.log('ajax_cached:cached\t'+cache_key);var _d=$.Deferred();if(cached.state=='success'){_d.resolve.apply(_d,cached.args);}else{_d.reject.apply(_d,cached.args);} return _d.promise();}} ajax_cached._cache={};ajax_cached._expire_ms=10*60*1000;$.extend({ajax_cached:ajax_cached,});})(jQuery); </script> <style id="style-combined-dinoportal_base_top_css.css"> /*** combinestatic: generated:dinoportal_base_top_css.css ***/ /*** combinestatic: from:dinoportal/css/reset.css ***/ @charset "utf-8";*,*:after,*:before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;-webkit-overflow-scrolling:touch;-ms-word-break:break-all;word-break:break-all;word-break:break-word;-webkit-hyphens:auto;-moz-hyphens:auto;hyphens:auto}html{}body{-webkit-text-size-adjust:100%}table{border-collapse:collapse;border-spacing:0}a:focus{outline:none}style,script{display:none!important}body{line-height:150%;-webkit-text-size-adjust:100%;margin:0;padding:0}h1,h2,h3,h4,h5,h6{line-height:120%}h1{font-size:150%}h2{font-size:125%}h3,h4,h5,h6{font-size:110%}iframe,img,video{max-width:100%}pre{line-height:110%;font-family:monospace}a{text-decoration:none}a:hover,a:active{text-decoration:underline}*{border-style:none;border-width:1px}hr{border-top-style:solid;height:0}select,input,textarea{border-style:solid}input,textarea{-webkit-appearance:none;-moz-appearance:none;-ms-appearance:none;appearance:none;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;padding:.25em}input[type="checkbox"]{border-style:none;-webkit-appearance:checkbox;-ms-appearance:checkbox;-moz-appearance:checkbox;appearance:checkbox}input[type="radio"]{border-style:none;-webkit-appearance:radio;-ms-appearance:radio;-moz-appearance:radio;appearance:radio}input:focus,textarea:focus,select:focus,input[type="submit"]:focus,input[type="button"]:focus,input[type="reset"]:focus,button:focus,a.btn:focus{outline:none}input,button,select,textarea{font-size:inherit;font-family:inherit}.clearfix{min-height:1px}.clearfix:after{content:".";display:block;clear:both;height:0;visibility:hidden}@media all and (min-width:768px){.for-mobile{display:none!important}}@media all and (max-width:767px){.for-desktop{display:none!important}}.pre-wrap{white-space:pre-wrap}a.focus-toggle[tabindex] ~ .focus-toggle-target{display:none!important}a.focus-toggle[tabindex]:focus ~ .focus-toggle-target{display:block!important}input[type="checkbox"].css-toggle{display:none!important}input[type="checkbox"].css-toggle ~ .css-toggle-target{display:none}input[type="checkbox"].css-toggle:checked ~ .css-toggle-target{display:block}form ul.errorlist{list-style:none;margin:.5em 0;padding:0}form ul.errorlist>li{margin:0;padding:0;color:red}ul.menu{list-style:none;margin:0;padding:0}ul.menu>li{padding:0;margin:0}ul.menu>li>a{display:block;text-decoration:none}ul.menu>li>a:hover{text-decoration:none}ul.menu>li>a,ul.menu>li>a:visited{color:inherit}ul.menu.horizontal{display:block;min-height:1px}ul.menu.horizontal>li{display:block;float:left;vertical-align:middle}ul.menu.horizontal>li+li{margin-left:-1px}ul.menu.horizontal>li>a{display:block;float:left;padding:2px 4px 0}ul.menu.horizontal:after{content:".";display:block;clear:both;height:0;visibility:hidden}ul.menu.horizontal>li{border-bottom:2px solid transparent}ul.menu.vertical{display:block}ul.menu.vertical>li{display:block}ul.menu.vertical>li>a{display:block}ul.menu.vertical>li>a{padding:2px 4px}ul.menu.vertical>li{border-right:2px solid transparent}ul.menu.vertical>li.active,ul.vertical>li:hover{color:black}html{font-family:'Helvetica Neue',Helvetica,Arial,'Hiragino Kaku Gothic ProN',Meiryo,'MS PGothic',sans-serif}body{font-size:16px;line-height:24px;padding:0;margin:0}a,a:visited{color:#168dd9} /*** combinestatic: from:dinoportal/css/common.css ***/ @charset "utf-8";img{max-width:100%;vertical-align:bottom}.img-wrap>img{display:block}a.edit_link,a.edit_link:visited{color:red;font-weight:bold}a.edit_link:before{font-family:FontAwesome;content:"\f013"}html{max-width:100%;max-width:100vw;overflow:scroll;overflow-y:scroll;overflow-x:hidden}.image-bg:not(.prevent-bg-text-style),.image-bg:not(.prevent-bg-text-style) a:not(.prevent-bg-text-style),.image-bg:not(.prevent-bg-text-style) *:not(.prevent-bg-text-style),.image-bg:not(.prevent-bg-text-style) h1:not(.prevent-bg-text-style),.image-bg:not(.prevent-bg-text-style) h2:not(.prevent-bg-text-style),.image-bg:not(.prevent-bg-text-style) h3:not(.prevent-bg-text-style),.image-bg:not(.prevent-bg-text-style) h4:not(.prevent-bg-text-style){color:white;text-shadow:0 0 3px rgba(0,0,0,1),0 0 20px rgba(0,0,0,.3)}.image-bg{background-position:center center;background-repeat:no-repeat;background-size:cover;position:relative;overflow:hidden}.image-bg>*{position:relative}.image-bg>.image-bg-blur{position:absolute;z-index:0;top:0;left:0;right:0;bottom:0;background-position:center center;background-repeat:no-repeat;background-size:cover;overflow:hidden}.image-bg>.image-bg-blur>img{opacity:0;width:100%;height:auto}@media(min-width:767px){.flex-container{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-moz-box-orient:horizontal;-ms-flex-direction:row;-webkit-flex-direction:row;flex-direction:row;-webkit-box-lines:single;-moz-box-lines:single;-ms-flex-wrap:nowrap;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:justify;-moz-box-pack:justify;-ms-flex-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;-ms-flex-line-pack:stretch;-webkit-align-content:stretch;align-content:stretch;-webkit-box-align:stretch;-moz-box-align:stretch;-ms-flex-item-align:stretch;-webkit-align-items:stretch;align-items:stretch}.inline-flex{display:-webkit-inline-box;display:-moz-inline-box;display:-ms-inline-flexbox;display:-webkit-inline-flex;display:inline-flex}.flex-container.vertical{-webkit-box-orient:vertical;-moz-box-orient:vertical;-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column}.flex-container.horizontal{-webkit-box-orient:horizontal;-moz-box-orient:horizontal;-ms-flex-direction:row;-webkit-flex-direction:row;flex-direction:row}.flex-container.wrap{-webkit-box-lines:multiple;-moz-box-lines:multiple;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap}.flex-container.justify-content-flex-start{-webkit-box-pack:start;-moz-box-pack:start;-ms-flex-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start}.flex-container.justify-content-center{-webkit-box-pack:center;-moz-box-pack:center;-ms-flex-pack:center;-webkit-justify-content:center;justify-content:center}.flex-container.justify-content-flex-end{-webkit-box-pack:end;-moz-box-pack:end;-ms-flex-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end}.flex-container.align-items-center{-webkit-box-align:center;-moz-box-align:center;-ms-flex-item-align:center;-webkit-align-items:center;align-items:center}.flex-item{-webkit-box-flex:0;-moz-box-flex:0;-ms-flex:none;-webkit-flex:none;flex:none;min-width:0;min-height:0}.flex-item.growable{-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;-ms-flex:1 1 auto;flex-grow:1}.flex-item.shrinkable{-webkit-flex-shrink:1;-ms-flex:0 1 auto;flex-shrink:1}.flex-item.flexible{-webkit-box-flex:1;-moz-box-flex:1;-ms-flex:1 1 auto;-webkit-flex:1 1 auto;flex:1 1 auto}.flex-order-1{-webkit-box-ordinal-group:1;-moz-box-ordinal-group:1;-ms-flex-order:1;-webkit-order:1;order:1}.flex-order-2{-webkit-box-ordinal-group:2;-moz-box-ordinal-group:2;-ms-flex-order:2;-webkit-order:2;order:2}.flex-order-3{-webkit-box-ordinal-group:3;-moz-box-ordinal-group:3;-ms-flex-order:3;-webkit-order:3;order:3}.flex-order-4{-webkit-box-ordinal-group:4;-moz-box-ordinal-group:4;-ms-flex-order:4;-webkit-order:4;order:4}.flex-order-5{-webkit-box-ordinal-group:5;-moz-box-ordinal-group:5;-ms-flex-order:5;-webkit-order:5;order:5}.flex-item.flex-center{-ms-flex-item-align:center;-webkit-align-self:center;align-self:center}}@media(max-width:767px){.flex-container.flex-mobile{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-moz-box-orient:horizontal;-ms-flex-direction:row;-webkit-flex-direction:row;flex-direction:row;-webkit-box-lines:single;-moz-box-lines:single;-ms-flex-wrap:nowrap;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:justify;-moz-box-pack:justify;-ms-flex-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;-ms-flex-line-pack:stretch;-webkit-align-content:stretch;align-content:stretch;-webkit-box-align:stretch;-moz-box-align:stretch;-ms-flex-item-align:stretch;-webkit-align-items:stretch;align-items:stretch}.flex-container.flex-mobile.vertical{-webkit-box-orient:vertical;-moz-box-orient:vertical;-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column}.flex-container.flex-mobile.horizontal{-webkit-box-orient:horizontal;-moz-box-orient:horizontal;-ms-flex-direction:row;-webkit-flex-direction:row;flex-direction:row}.flex-container.flex-mobile.wrap{-webkit-box-lines:multiple;-moz-box-lines:multiple;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap}.flex-container.for-mobile.justify-content-flex-start{-webkit-box-pack:start;-moz-box-pack:start;-ms-flex-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start}.flex-container.for-mobile.justify-content-center{-webkit-box-pack:center;-moz-box-pack:center;-ms-flex-pack:center;-webkit-justify-content:center;justify-content:center}.flex-container.for-mobile.justify-content-flex-end{-webkit-box-pack:end;-moz-box-pack:end;-ms-flex-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end}.flex-container.for-mobile.align-items-center{-webkit-box-align:center;-moz-box-align:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center}.flex-mobile>.flex-item{-webkit-box-flex:0;-moz-box-flex:0;-ms-flex:none;-webkit-flex:none;flex:none;min-width:0}.flex-mobile>.flex-item.growable{-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;-ms-flex:1 1 auto;flex-grow:1}.flex-mobile>.flex-item.shrinkable{-webkit-flex-shrink:1;-ms-flex:0 1 auto;flex-shrink:1}.flex-mobile>.flex-item.flexible{-webkit-box-flex:1;-moz-box-flex:1;-ms-flex:1 1 auto;-webkit-flex:1 1 auto;flex:1 1 auto}.flex-mobile>.flex-order-1{-webkit-box-ordinal-group:1;-moz-box-ordinal-group:1;-ms-flex-order:1;-webkit-order:1;order:1}.flex-mobile>.flex-order-2{-webkit-box-ordinal-group:2;-moz-box-ordinal-group:2;-ms-flex-order:2;-webkit-order:2;order:2}.flex-mobile>.flex-order-3{-webkit-box-ordinal-group:3;-moz-box-ordinal-group:3;-ms-flex-order:3;-webkit-order:3;order:3}.flex-mobile>.flex-order-4{-webkit-box-ordinal-group:4;-moz-box-ordinal-group:4;-ms-flex-order:4;-webkit-order:4;order:4}.flex-mobile>.flex-order-5{-webkit-box-ordinal-group:5;-moz-box-ordinal-group:5;-ms-flex-order:5;-webkit-order:5;order:5}.flex-mobile>.flex-item.flex-center{-ms-flex-item-align:center;-webkit-align-self:center;align-self:center}}.centeringchild-v,.centeringchild-h,.centeringchild{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-moz-box-orient:horizontal;-ms-flex-direction:row;-webkit-flex-direction:row;flex-direction:row;-webkit-box-lines:single;-moz-box-lines:single;-ms-flex-wrap:nowrap;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-line-pack:center;-webkit-align-content:center;align-content:center;-webkit-box-align:center;-moz-box-align:center;-ms-flex-item-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-moz-box-pack:center;-ms-flex-pack:center;-webkit-justify-content:center;justify-content:center}.centeringchild-v.inline,.centeringchild-h.inline,.centeringchild.inline{display:-webkit-inline-box;display:-moz-inline-box;display:-ms-inline-flexbox;display:-webkit-inline-flex;display:inline-flex}.centeringchild-v>*,.centeringchild-h>*,.centeringchild>*{-webkit-box-flex:0;-moz-box-flex:0;-ms-flex:none;-webkit-flex:none;flex:none}.centeringchild-v{-webkit-box-pack:start;-moz-box-pack:start;-ms-flex-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start}.centeringchild-h{-webkit-align-items:flex-start;align-items:flex-start}.fillchild{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-moz-box-orient:horizontal;-ms-flex-direction:row;-webkit-flex-direction:row;flex-direction:row;-webkit-box-lines:single;-moz-box-lines:single;-ms-flex-wrap:nowrap;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-line-pack:stretch;-webkit-align-content:stretch;align-content:stretch;-webkit-box-align:stretch;-moz-box-align:stretch;-ms-flex-item-align:stretch;-webkit-align-items:stretch;align-items:stetch;-webkit-box-pack:justify;-moz-box-pack:justify;-ms-flex-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;-webkit-box-align:stretch;-moz-box-align:stretch;-ms-flex-item-align:stretch;-webkit-align-items:stretch;align-items:stretch}.fillchild>*{-webkit-box-flex:1;-moz-box-flex:1;-ms-flex:1 1 auto;-webkit-flex:1 1 auto;flex:1 1 auto}body{font-family:'Herlvetica Neue',Helvetica,Arial,'Hiragino Kaku Gothic ProN',Meiryo,'MS PGothic',sans-serif;line-height:1.6;color:#666}h1,h2,h3,h4,h5,h6{line-height:1.4}a,a:visited{color:inherit}h1,h2,h3,h4,h5,h6{color:black}@media(min-width:1143px){body{font-size:16px}html.font-big body{font-size:20px}}@media(min-width:768px) and (max-width:1143px){body{font-size:1.61616vw}html.font-big body{font-size:2.0202020202vw}}@media(max-width:767px){body{font-size:4.375vw}html.font-big body{font-size:5.46875vw}}@media(max-width:767px) and (orientation:landscape){body{font-size:2.46913vw}html.font-big body{font-size:3.08641976309vw}}#cover{position:relative}#cover-images{position:relative;overflow:hidden;height:600px;height:80vw;z-index:0}#cover-images>img{position:absolute;top:50%;left:50%;height:100%;width:auto;display:block;max-width:none;transform:translate(-50%,-50%)}#cover-images:after{content:'';display:block;position:absolute;top:0;left:0;width:100%;height:100%;background:black;-moz-opacity:.5;-ms-opacity:.5;opacity:.5;z-index:1}@media all and (min-height:320px){#cover-images{height:250px}}@media all and (min-height:480px){#cover-images{height:320px}}@media all and (min-height:768px){#cover-images{height:600px}}@media all and (min-height:1024px){#cover-images{height:800px}}@media all and (min-height:1080px){}#cover-picker{position:absolute;bottom:0;z-index:2;color:white;left:0;width:100%}#cover-picker-container{padding:15px}#main,#header{position:relative}#main{overflow:hidden;height:auto!important}li.divider{border-top:1px solid #eee}#left-menu li>a{padding:.5em 1em;display:block}#left-menu li:not(.divider)+li>a{padding-top:.25em;margin-top:-.25em}#left-menu-container{max-height:-webkit-calc(100vh - 68px);max-height:calc(100vh - 68px);overflow-y:auto}#cover-menu>ul{border-bottom:rgba(0,0,0,0.2) 1px solid}#cover-menu li>a{padding:10px 15px 8px 15px;margin-bottom:-4px}#cover-menu li.active>a,#cover-menu li:hover>a{border-bottom:rgba(0,0,0,0.8) 4px solid;padding-bottom:4px}.max-narrow,.max-narrow-padding{max-width:720px;margin-left:auto;margin-right:auto;overflow:hidden}@media(max-width:970px){.max-narrow-padding{padding-left:15px;padding-right:15px}}@media(min-width:971px){.max-narrow-padding{padding-left:0;padding-right:0}}#main-tab{}#main-tab{letter-spacing:1em}#main-tab>*{letter-spacing:normal}#main-tab>a{white-space:nowrap;color:inherit}#main-tab>a+a{}#main-tab a{}#main-tab a.active{border-bottom-color:black;font-weight:bold}@media(max-width:1063px){#bookmarks-heading>.container,.wfcontent-container{padding-left:15px;padding-right:15px}}.widgets{width:314px;padding:40px;font-size:87.5%}@media(max-width:767px){.widgets{font-size:85.714%}}@media(min-width:768px){.inserted-spiral .spiral-contents-container,#main-contents-container{position:relative;padding-right:314px}#main-contents-container{min-height:100vh}.widgets{position:absolute;top:0;right:0;bottom:0;overflow:visible}}.widgets.flex-item{-webkit-box-ordinal-group:1;-moz-box-ordinal-group:1;-ms-flex-order:1;-webkit-order:1;order:1}.widget{padding-bottom:10px}.widget+.widget{margin-top:40px}.widget h3{margin-top:0;margin-bottom:20px;text-align:left;color:#888}.widget ul{list-style:none;margin:0;padding:0}.widget ul li{margin:0;padding:0}.widget-link-content{overflow:hidden}.widget-link-content .content-title{position:relative;height:2.8em;overflow:hidden}.widget-link-tag{font-weight:bold;line-height:2em}.widget-link-tag+ul{padding-left:1em}.widget-content{width:100%}.widget-content+.widget-content{margin-top:20px}.widget-content-leading{width:28%;padding-right:8px}.widget-content-text{width:72%}.widget-content-leading .img-wrap{display:block;background-repeat:no-repeat;background-position:center center;background-size:cover;overflow:hidden}.widget-content-leading .img-wrap:before{content:"";display:block;padding-top:100%}.widget-content-leading .img-wrap img{position:absolute}.widget-content-title{font-size:92.857%;line-height:1.3;overflow:hidden;max-height:2.5em;text-overflow:ellipsis;display:block;display:-webkit-box}.widget-content-subtitle-above,.widget-content-subtitle-below{font-size:64.286%;line-height:1.3;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;opacity:.5}.widget-content.no-author-info .widget-content-title{max-height:3.8em}@supports(-webkit-line-clamp:2){.widget-content-title{-webkit-box-orient:vertical;-webkit-line-clamp:2}.widget-content.no-author-info .widget-content-title{-webkit-box-orient:vertical;-webkit-line-clamp:3}}.widget-content-author{font-size:85.714%;line-height:1.3;-moz-opacity:.5;opacity:.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.widget-content-link:hover{text-decoration:none}.widget-content-text{display:flex}.widget-content-text>a{display:flex;flex-direction:column;width:100%}.widget-content-text>a>:last-child:not(:first-child){margin-top:auto}ul.widget-tags-list{display:block;line-height:1}ul.widget-tags-list>li{display:inline-block;white-space:nowrap;margin-right:1em;margin-bottom:.5em}ul.widget-tags-list>li .fa{-moz-opacity:.5;opacity:.5;margin-right:.25em}body:not(.custom-sidebar-separate) .widgets,body.custom-sidebar-separate .widgets>*,#newsfeed .widget{color:inherit;background:#f8f8f8}@media(max-width:767px){.widgets{width:auto;padding:20px 15px}.widget{margin-top:30px;margin-bottom:30px}.widget:first-child{margin-top:0}.widget:last-child{margin-top:0}.widget ul>.widget-content:nth-child(n+5){display:none}.widget-content-leading{width:25%}.widget-content-text{width:75%}.widget-content+.widget-content{margin-top:10px}}.content-tags{letter-spacing:.5em}.content-tag{letter-spacing:normal;white-space:nowrap}@media(max-width:767px){.content-tag{white-space:normal}}.content-tag .fa{margin-right:.2em;-moz-opacity:.8;opacity:.8}#footer{position:relative;z-index:2}#footer-system{font-size:80%;text-align:center;padding:1em}.banners{position:relative}.banners>a,.banners>a>img{display:block;padding:0;width:100%}.banners>a+a{margin-top:8px}.banners>a:hover{text-decoration:none}.banners-2col{position:relative}.banners-2col>a>img{display:block;width:100%;margin:0;padding:0}.banners-2col>a{margin:0;padding:0;display:inline-block;position:relative;width:49%;width:-webkit-calc( 50% - 2px );width:calc( 50% - 2px );width:~"calc( 50% - 2px )";display:inline-block;vertical-align:top}.banners-2col>a:hover{text-decoration:none}.banners-2col>a:nth-child(2n+1){margin-right:2%;margin-right:4px}.banners-2col>a:nth-child(n+3){margin-top:4px}.adino-banner{margin-top:1em;margin-bottom:1em;position:relative;display:block}.adino-banner>a{position:relative;display:block;cursor:pointer;margin:0 auto;padding:0;border:none;text-decoration:none;max-width:480px}.adino-banner>a>img{border:none;display:block;max-width:100%;width:auto;height:auto}.adino-banner figure{margin:0;padding:0}.content-sitecard{position:relative;display:block;margin-top:1em;margin-bottom:1em;text-align:left}.content-sitecard>a{display:block;position:relative}.content-sitecard-leading{display:block;opacity:.8;font-size:80%}.content-sitecard-card{position:relative;display:block;overflow:hidden;border:1px solid #ccc;background:white;text-decoration:none}.content-sitecard-img{position:relative;overflow:hidden;background-repeat:no-repeat;background-position:center center;background-size:cover;width:120px;height:80px}.content-sitecard-img>img{opacity:.001;display:block;position:absolute;left:0;top:0;width:100%}.content-sitecard-img+.content-sitecard-info{position:absolute;top:0;left:120px;right:0;bottom:0}.content-sitecard-info{padding:.5em 1em;overflow:hidden;max-height:80px}.content-sitecard-info{}.content-sitecard-title{font-weight:bold}.content-sitecard-description{font-size:75%}.content-sitecard.no-img>a{padding:.5em 1em}.content-sitecard.no-img .content-sitecard-info{padding:0}.content-sitecard-info:after{content:"";display:block;position:absolute;bottom:0;left:0;right:0;height:1em;background:-moz-linear-gradient(top,rgba(255,255,255,0) 0,rgba(255,255,255,1) 100%);background:-webkit-linear-gradient(top,rgba(255,255,255,0) 0,rgba(255,255,255,1) 100%);background:linear-gradient(to bottom,rgba(255,255,255,0) 0,rgba(255,255,255,1) 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ffff',endColorstr='#ffffffff',GradientType=0)}.fa-nativead-sponsored{background-size:contain;height:16px;width:28px;margin-bottom:-3px}.fa-nativead-sponsored-gray{background-image:url(/static/ico/adino_icon_gray_touka.png)}.fa-nativead-sponsored-black{background-image:url(/static/ico/adino_icon_black_touka.png)}.fa-nativead-sponsored-white{background-image:url(/static/ico/adino_icon_white_touka.png)}.is-nativead .content-title{}#footer-system .terms_urls>ul{list-style:none;padding:0;margin:0}#footer-system .terms_urls>ul>li{padding:0;margin:0;display:inline}#footer-system .terms_urls>ul>li>a{display:inline}#footer-system .terms_urls>ul>li:not(:first-child){margin-left:.5em}#footer-system .terms_urls>ul>li:not(:first-child):before{content:"|";margin-right:.5em}.breadcrumbs{padding:.125em 0 .1em 0;overflow-x:auto}.breadcrumbs>ol{display:flex;align-items:center;list-style:none;padding:0;margin:0;font-size:80%}li.breadcrumb{display:flex;align-items:center}li.breadcrumb+.breadcrumb::before{font-family:FontAwesome;content:'\f105';margin-left:.25em;margin-right:.25em}li.breadcrumb>a{cursor:pointer}li.breadcrumb>a>span{display:inline-block;padding:.25em .5em;max-width:15em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:middle} /*** combinestatic: from:dinoportal/css/common-not-amp.css ***/ @charset 'utf-8';#acs-code{position:absolute;left:-1px;top:-1px;width:1px;height:1px;opacity:0;visibility:hidden;overflow:hidden}body:not(.ptluser-logined) .for-ptluser,body.ptluser-logined .for-anonymous{display:none!important}#header,.spiral-header{}#header-container,.spiral-header-container{position:fixed;top:0;left:0;width:100%;z-index:200}#header-container,.spiral-header-container{height:64px}#main{padding-top:66px;padding-top:75px}#header-container,.spiral-header-container{margin-top:0;transform:translateY(0);-webkit-transition:-webkit-transform .2s ease,margin-top .2s ease;-webkit-transition:transform .2s ease,margin-top .2s ease;-moz-transition:transform .2s ease,margin-top .2s ease;-ms-transition:transform .2s ease,margin-top .2s ease;transition:transform .2s ease,margin-top .2s ease}#header.slide-up #header-container{margin:0;-webkit-transform:translateY(-100%);-moz-transform:translateY(-100%);-ms-transform:translateY(-100%);transform:translateY(-100%)}#header-container>*,.spiral-header>*{position:relative;z-index:2}.spiral-header-bgs,#header-bgs{position:absolute;top:0;right:0;bottom:-2px;left:0;overflow:hidden}.spiral-headier-bgs:after,#header-bgs:after{content:"";display:block;position:absolute;width:100%;bottom:0;border-bottom:2px solid #f8f8f8}.menu-overflowed>.container{background:white}.spiral-header-bg,#header-bg{height:64px;background:white}#header-menu-bg{height:42px;background:white}#header-menu{background:none}#header:not(.initialized){background:white}@media(max-width:767px){#header:not(.initialized) #header-menu{background:white}}.spiral-header-title,#header-title{max-width:240px;margin:0}.spiral-header-title>a>img,#header-title>a>img{display:block}.spiral-header-title>a>.header-title-text,#header-title>a>.header-title-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:10px;line-height:1em}#header-right>a{padding-top:10px;padding-bottom:10px}@media all and (min-width:768px){#header-menu>*{height:64px}}.spiral-header-defaults,.spiral-header-bgs>*,#header-bgs>*{position:relative}@media all and (max-width:767px){#main{padding-top:calc(64px + 35px + 2px);padding-top:101px}.spiral-header-container,#header-container{font-size:14px;height:auto}#header.slide-up #header-container{}#header-menu{font-size:90%}#header-menu{-webkit-box-ordinal-group:3;-moz-box-ordinal-group:3;-ms-flex-order:3;-webkit-order:3;order:3;width:100%;padding-left:15px;padding-right:15px}#header-defaults{flex-wrap:wrap}#header-menu:after{content:'';display:block;margin-bottom:-100%}#header-menu>*{display:inline-block}#header-menu{white-space:nowrap}#header-menu>.menu-more{padding-left:10px;padding-right:10px;line-height:1}#header-right{-webkit-box-ordinal-group:2;-moz-box-ordinal-group:2;-ms-flex-order:2;-webkit-order:2;order:2}}.spiral-header a:hover,#header a:hover{text-decoration:none}.spiral-header-title a,.spiral-header-menu a,.spiral-header-right a{color:inherit}#header-title a,#header-menu a,#header-right a{color:inherit}#header-left{padding:10px 20px 10px 10px}#header-right{padding-left:20px;padding-right:10px}#header-right>a{padding-left:10px;padding-right:10px}@media(max-width:767px){#header-right>a{padding-left:7px;padding-right:7px}}@media all and (max-width:767px){#header-right{width:75px;white-space:normal;padding:0 7px}#header-right>a{padding:2px 4px;text-align:center;width:50%}#header-right>a#search-icon{-webkit-box-ordinal-group:4;-moz-box-ordinal-group:4;-ms-flex-order:4;-webkit-order:4;order:4}#header-right>a#menu-icon{-webkit-box-ordinal-group:2;-moz-box-ordinal-group:2;-ms-flex-order:2;-webkit-order:2;order:2}#header-right>a#signup-icon{-webkit-box-ordinal-group:1;-moz-box-ordinal-group:1;-ms-flex-order:1;-webkit-order:1;order:1}#header-right>a#user-notifies-toggle{-webkit-box-ordinal-group:3;-moz-box-ordinal-group:3;-ms-flex-order:3;-webkit-order:3;order:3}}#header-menu{justify-content:flex-start;justify-content:initial}#header-menu{font-size:75%}@media(max-width:767px){#header-menu{font-size:90%}}#header-menu>a{padding:.6em}@media(max-width:767px){#header-menu>*{padding-top:12px;padding-bottom:10px}}#header-menu>a{position:relative}#header-menu>a:active:after,#header-menu>a:hover:after,#header-menu>a.active:after{content:"";display:block;position:absolute;top:100%;left:0;right:0;border-bottom:2px solid black}#header:not(.initialized) #header-menu{overflow:hidden}#header-menu>*.active{font-weight:bold}@media(min-width:768px){#header-menu>*{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-moz-box-orient:horizontal;-ms-flex-direction:row;-webkit-flex-direction:row;flex-direction:row;-webkit-box-lines:single;-moz-box-lines:single;-ms-flex-wrap:nowrap;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-line-pack:center;-webkit-align-content:center;align-content:center;-webkit-box-align:center;-moz-box-align:center;-ms-flex-item-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-moz-box-pack:center;-ms-flex-pack:center;-webkit-justify-content:center;justify-content:center;_disabled_display:-webkit-inline-box;_disabled_display:-moz-inline-box;_disabled_display:-ms-inline-flexbox;_disabled_display:-webkit-inline-flex;_disabled_display:inline-flex;-webkit-box-flex:0;-moz-box-flex:0;-ms-flex:none;-webkit-flex:none;flex:none}#header-menu>*>*{-webkit-box-flex:0;-moz-box-flex:0;-ms-flex:none;-webkit-flex:none;flex:none}}.menu-more{position:relative}.menu-overflowed>.container{display:block;position:absolute;top:100%;right:0;margin-top:-5px;max-height:80vh;overflow-y:auto;background:white;border:1px solid #ddd;white-space:nowrap}.menu-overflowed>.container>*{display:block;padding:.5em 1em}#left-menu{}#left-menu-container{position:fixed;top:0;right:0;width:320px;overflow-y:auto;z-index:0;background:white;z-index:1000;border:1px solid #eee}#left-menu-container{visibility:hidden;-webkit-transform:translateY(-100%);-moz-transform:translateY(-100%);-ms-transform:translateY(-100%);transform:translateY(-100%);-webkit-transition:-webkit-transform .2s ease,visibility 0s linear .2s;-webkit-transition:transform .2s ease,visibility 0s linear .2s;-moz-transition:transform .2s ease,visibility 0s linear .2s;-ms-transition:transform .2s ease,visibility 0s linear .2s;transition:transform .2s ease,visibility 0s linear .2s}#left-menu.opened #left-menu-container{visibility:visible;-webkit-transform:translateY(68px);-moz-transform:translateY(68px);-ms-transform:translateY(68px);transform:translateY(68px);-webkit-transition:-webkit-transform .2s ease,visibility 0s linear .2s;-webkit-transition:transform .2s ease,visibility 0s linear .2s;-moz-transition:transform .2s ease,visibility 0s linear .2s;-ms-transition:transform .2s ease,visibility 0s linear .2s;transition:transform .2s ease,visibility 0s linear .2s;-webkit-transition-delay:0s;-moz-transition-delay:0s;-ms-transition-delay:0s;transition-delay:0s}#left-menu-container li.menu-item{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#left-menu-container li.menu-item>a{-moz-opacity:.75;opacity:.75}#left-menu-container li.menu-item.active>a,#left-menu-container li.menu-item:hover>a{-moz-opacity:1;opacity:1}.sns-shares-simple{margin-top:20px}.content-body>.sns-shares-simple:first-child{margin-top:0;margin-bottom:15px}@media(min-width:768px){#main>.sns-shares-simple{padding-left:0;padding-right:0}}.sns-shares-simple{position:relative;display:block;z-index:10}.sns-shares-simple-buttons>a{display:inline-block;color:white!important;text-decoration:none;text-align:center;overflow:hidden;-moz-opacity:.75;opacity:.75;padding:8px 5px}html:not(.ua-ios) .sns-shares-simple-buttons>a,html:not(.ua-android) .sns-shares-simple-buttons>a{-webkit-transition:opacity linear .1s;-moz-transition:opacity linear .1s;transition:opacity linear .1s}.sns-shares-simple-buttons>a:hover{-moz-opacity:1;opacity:1}.sns-shares-facebook-simple{background-color:#265a96}.sns-shares-twitter-simple{background-color:#00acec}.sns-shares-google-simple{background-color:#dd4b39}.sns-shares-line-simple{background-color:#00c300}.sns-shares-hatebu-simple{background-color:#2c6ebd}.sns-shares-simple-buttons{letter-spacing:0}.sns-shares-simple-buttons>*{letter-spacing:normal;vertical-align:middle}.sns-shares-simple-buttons>a{font-size:180%;line-height:1}.sns-shares-simple-buttons>a>*{display:inline-block;vertical-align:baseline}@media(max-width:767px){.sns-shares-simple-buttons>a>span{font-size:80%}}.sns-shares-simple-buttons>a{width:49%;width:-webkit-calc( 50% - 3px );width:calc( 50% - 3px );position:relative;margin:0}.sns-shares-simple-buttons>a:nth-child(2n){margin-left:6px}.sns-shares-simple-buttons>a:nth-child(n+3){margin-top:6px}.sns-shares-simple-buttons>a>.fa{position:relative;top:.08em;margin-right:.3em;margin-left:-0.3em}.sns-shares-simple-buttons>a>span{}.sns-shares-simple-buttons>a>span>span:first-child{font-size:1rem;display:inline-block;vertical-align:middle}.sns-shares-simple-buttons>a>span>span:empty{display:none}.sns-shares-simple-buttons>a>span>span+span{margin-left:.5em;font-family:Georgia,sans-serif}@media(max-width:767px){.sns-shares-simple-buttons>a.has-count>span>span:first-child{display:none}}.fa-x::before{content:"";background-image:url(/static/img/x-logo.svg);width:1em;height:.85em;display:inline-block;background-size:contain;background-repeat:no-repeat;background-position:50% 100%}.sns-shares-x-simple{background:black}.sns-shares-x-simple .fa-twitter+span>span:first-child{display:none}.sns-shares-x-buttons>a>.fa-x{margin-right:0;margin-left:0}#nativeadinfo>.nativeadinfo-container,#signup>.signup-container{position:fixed;top:0;right:0;padding:15px;background:white;border:1px solid #ddd;z-index:32767;text-align:center}.signup input[type="text"],.signup input[type="submit"]{display:block;width:100%;padding:5px;font-size:inherit}.signup input[type="submit"]{margin-top:5px}#signup>.signup-container{width:320px}.radio-signup-content p{text-align:left}.signup-notify,.signup .alert{font-size:80%}.signup-notify a,.signup-notify a:visited{}#nativeadinfo>.nativeadinfo-container,#signup>.signup-container{-webkit-transform:translateY(-100%);-moz-transform:translateY(-100%);-ms-transform:translateY(-100%);transform:translateY(-100%);-webkit-transition:-webkit-transform .2s ease;-webkit-transition:transform .2s ease;-moz-transition:transform .2s ease;-ms-transition:transform .2s ease;transition:transform .2s ease}#nativeadinfo.opened>.nativeadinfo-container,#signup.opened>.signup-container{-webkit-transform:translateY(68px);-moz-transform:translateY(68px);-ms-transform:translateY(68px);transform:translateY(68px)}.signup form .error_msg{font-size:80%;font-weight:bold;text-align:left;color:#f88}@media(max-width:767px) and (orientation:portrait){.signup-container,#left-menu-container{width:100%}}a.signup-button{display:block;width:90%;margin-left:auto;margin-right:auto;padding:.5em 1em;background:#888;color:white;white-space:nowrap;overflow:hidden;text-decoration:none;-moz-opacity:.8;opacity:.8}a.signup-button:hover,a.signup-button:active{text-decoration:none;-moz-opacity:1;opacity:1}a.signup-button+a.signup-button{margin-top:.5em}.signup-description{font-size:80%}.signup-content-vertical{text-align:left}.signup-content-vertical>*{display:block;padding:7px 0;-moz-opacity:.75;opacity:.75}.signup-content-vertical>*:active,.signup-content-vertical>*:hover{text-decoration:none;-moz-opacity:1;opacity:1}@media(max-width:767px){.signup.opened>.signup-container{-webkit-transform:translateY(50px);-moz-transform:translateY(50px);-ms-transform:translateY(50px);transform:translateY(50px)}#left-menu.opened #left-menu-container{-webkit-transform:translateY(50px);-moz-transform:translateY(50px);-ms-transform:translateY(50px);transform:translateY(50px)}}#signuped-user{height:36px;width:36px;-moz-border-radius:18px;border-radius:18px;background-color:#ccc;color:white;font-size:24px;line-height:1.2;text-transform:capitalize;position:relative;overflow:hidden;background-size:cover;background-position:center center;vertical-align:middle;display:flex;align-items:center;justify-content:center}@media(max-width:767px){#signuped-user{height:24px;width:24px;-moz-border-radius:12px;border-radius:12px;font-size:16px}}#signuped-user>img{opacity:0;width:100%;height:100%;vertical-align:top}.content-bookmark-label::before{content:"Bookmark";margin-left:.25em}.content-bookmarked .content-bookmark-label::before{content:"Bookmarked"}.content-bookmarked .fa-bookmark-o::before{content:"\f02e"}.content-bookmarked-count{margin-left:.25em}.content-bookmarked-count:empty{display:none}.content-bookmarked-count:not(:empty)::before{content:"("}.content-bookmarked-count:not(:empty)::after{content:")"}.widget.widget-bookmarks:empty{display:none}.carousel-container>.wfcontent.image-bg .content-info{display:none}.carousel-container>.wfcontent.image-bg .wfcontent-container{max-width:100%;margin:0}.carousel-container>.wfcontent.image-bg .content-title{position:absolute;top:auto;right:0;left:0;bottom:0;margin:0;padding:.5em .75em;font-size:1rem;font-weight:normal}.carousel-container>.wfcontent.image-bg:before{content:"";display:block;height:0;padding-top:56.25%}img[src$="?lz=small"][data-src-lazy]:not([width]),img[src$="?lz=small"][data-lazy-loading]:not([width]){width:160px}img[src$="?lz=normal"][data-src-lazy]:not([width]),img[src$="?lz=normal"][data-lazy-loading]:not([width]){width:320px}img[src$="?lz=large"][data-src-lazy]:not([width]),img[src$="?lz=large"][data-lazy-loading]:not([width]){width:640px}img[src$="?lz=xlarge"][data-src-lazy]:not([width]),img[src$="?lz=xlarge"][data-lazy-loading]:not([width]){width:1280px}img[src$=".jpg#lz:small"]:not([width]),img[data-src-lazy$="_small.jpg"]:not([width]),img[data-lazy-loading$=".jpg#lz:small"]:not([width]){width:160px}img[src$=".jpg#lz:normal"]:not([width]),img[data-src-lazy$="_normal.jpg"]:not([width]),img[data-lazy-loading$=".jpg#lz:normal"]:not([width]){width:320px}img[src$=".jpg#lz:large"]:not([width]),img[data-src-lazy$="_large.jpg"]:not([width]),img[data-lazy-loading$=".jpg#lz:large"]:not([width]){width:640px}img[src$=".jpg#lz:xlarge"]:not([width]),img[data-src-lazy$="_xlarge.jpg"]:not([width]),img[data-lazy-loading$=".jpg#lz:xlarge"]:not([width]){width:1280px}img[src$="?lz=orig"][data-src-lazy]:not([width]),img[src$="?lz=orig"][data-lazy-loading]:not([width]){width:33.33333%;opacity:0}img[src$="#lz:orig"][data-src-lazy]:not([width]),img[data-lazy-loading$="#lz:orig"]:not([width]){width:33.33333%;opacity:0}img[data-src-lazy][src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"]{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDAgMTAwIiBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJ4TWlkWU1pZCIgY2xhc3M9Imxkcy1yb2xsaW5nIj48Y2lyY2xlIGN4PSI1MCIgY3k9IjUwIiBmaWxsPSJub25lIiBzdHJva2U9IiNmOGY4ZjgiIHN0cm9rZS13aWR0aD0iMSIgcj0iMTAiIHN0cm9rZS1kYXNoYXJyYXk9IjQ3LjEyMzg4OTgwMzg0Njg5IDE3LjcwNzk2MzI2Nzk0ODk2NiIgdHJhbnNmb3JtPSJyb3RhdGUoNDggNTAgNTApIj48YW5pbWF0ZVRyYW5zZm9ybSBhdHRyaWJ1dGVOYW1lPSJ0cmFuc2Zvcm0iIHR5cGU9InJvdGF0ZSIgY2FsY01vZGU9ImxpbmVhciIgdmFsdWVzPSIwIDUwIDUwOzM2MCA1MCA1MCIga2V5VGltZXM9IjA7MSIgZHVyPSIxcyIgYmVnaW49IjBzIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSI+PC9hbmltYXRlVHJhbnNmb3JtPjwvY2lyY2xlPjwvc3ZnPg==)!important;background-position:center center!important;background-size:contain!important}[data-bgimage-lazy][style*="url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)"]{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDAgMTAwIiBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJ4TWlkWU1pZCIgY2xhc3M9Imxkcy1yb2xsaW5nIj48Y2lyY2xlIGN4PSI1MCIgY3k9IjUwIiBmaWxsPSJub25lIiBzdHJva2U9IiNmOGY4ZjgiIHN0cm9rZS13aWR0aD0iMSIgcj0iMTAiIHN0cm9rZS1kYXNoYXJyYXk9IjQ3LjEyMzg4OTgwMzg0Njg5IDE3LjcwNzk2MzI2Nzk0ODk2NiIgdHJhbnNmb3JtPSJyb3RhdGUoNDggNTAgNTApIj48YW5pbWF0ZVRyYW5zZm9ybSBhdHRyaWJ1dGVOYW1lPSJ0cmFuc2Zvcm0iIHR5cGU9InJvdGF0ZSIgY2FsY01vZGU9ImxpbmVhciIgdmFsdWVzPSIwIDUwIDUwOzM2MCA1MCA1MCIga2V5VGltZXM9IjA7MSIgZHVyPSIxcyIgYmVnaW49IjBzIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSI+PC9hbmltYXRlVHJhbnNmb3JtPjwvY2lyY2xlPjwvc3ZnPg==)!important;background-position:center center!important;background-size:contain!important}.network-error{padding:1em;text-align:center;white-space:pre;border:1px solid #ccc}.btn,a.btn,button,input[type="button"],input[type="submit"],input[type="reset"]{text-decoration:none;display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:middle;line-height:1.6;padding:.35em 1em;position:relative;border-radius:0;text-shadow:none;box-shadow:none;color:black;background:#eee;border:1px solid #ccc;margin:.25em .25em .5em 0;cursor:pointer}a.btn>.fa:first-child:not(:only-child) .btn>.fa:first-child:not(:only-child){opacity:.5;margin-left:-.35em;margin-right:.15em}.btn:hover,.btn:focus,a.btn:hover,a.btn:focus,button:hover,button:focus,input[type="button"]:hover,input[type="submit"]:hover,input[type="reset"]:hover,input[type="button"]:focus,input[type="submit"]:focus,input[type="reset"]:focus{text-decoration:none;position:relative;box-shadow:2px 2px rgba(0,0,0,.2)}.btn:active,a.btn:active,button:active,input[type="button"]:active,input[type="submit"]:active,input[type="reset"]:active{text-decoration:none;position:relative;box-shadow:none;top:2px;left:2px}.btn:hover,a.btn:hover,button:hover,input[type="button"]:hover,input[type="submit"]:hover,input[type="reset"]:hover{color:black;background:#eee;border:1px solid #ccc}.btn:active,a.btn:active,button:active,input[type="button"]:active,input[type="submit"]:active,input[type="reset"]:active{color:black;background:#eee}.btn-colored,.btn-colored:hover,.btn-colored:active,.btn-colored[disabled],.btn-colored[disabled]:hover,a.btn-colored,a.btn-colored:hover,a.btn-colored:active,a.btn-colored[disabled],a.btn-colored[disabled]:hover,input[type="button"].btn-colored,input[type="button"].btn-colored:hover,input[type="button"].btn-colored:active,button:not([type]):not(.btn-normal),button[type="submit"]:not(.btn-normal),input[type="submit"]:not(.btn-normal),button[type="submit"]:not(.btn-normal):hover,input[type="submit"]:not(.btn-normal):hover,button[type="submit"]:not(.btn-normal):active,input[type="submit"]:not(.btn-normal):active{color:white;border:1px solid hsl(359,57%,49%);background:hsl(359,57%,49%)}.btn-small{font-size:85%}input[disabled],select[disabled],textarea[disabled],button[disabled],.btn.disbabled,.btn[disabled],a.btn.disbabled,a.btn[disabled]{cursor:default;cursor:not-allowed;cursor:no-drop;opacity:.3}a.btn.back:before,.btn.back:before{content:'\f060'}input[type="checkbox"],input[type="radio"]{vertical-align:middle;margin:0}input[type="checkbox"]+span,input[type="radio"]+span{margin-left:.25em}label.checkbox-multiline{display:flex}label.checkbox-multiline>input[type="checkbox"],label.radio-multiline>input[type="radio"]{margin-top:.3em}@media(max-width:767px){.btn,a.btn{width:100%;text-align:center}span.mobile-wrap::before{content:'';display:block}}.nav{margin-left:0;list-style:none;padding:0;margin:0 0 1em 0}.nav-tabs{display:flex;flex-wrap:wrap;margin-bottom:1em;border-bottom:1px solid #ccc}.nav-tabs:after{content:"";clear:both;display:block;border-bottom:none}.nav-tabs>li{margin-bottom:0;float:none;margin:0;margin-right:-1px;padding:0}.nav-tabs>li>a{color:inherit}.nav-tabs>li>a{padding:.5em 1em;margin:0;border-radius:0;border:none;line-height:1.2;text-decoration:none;display:block}.nav-tabs>li.active>a,.nav-tabs>li.active>a:hover,.nav-tabs>li>a:hover{color:inherit;border:none;border-bottom:3px solid black;margin-bottom:-1px;background:transparent}.nav-tabs>li.active>a,.nav-tabs>li.active>a:hover,.nav-tabs>li>a:hover{border-bottom-color:hsla(0,0%,0%)}.nav-tabs>li>a:hover{border-bottom-color:hsla(0,0%,0%,.3)}@media(min-width:768px){li.breadcrumb>a>span{max-width:30em}li.breadcrumb:first-child>a>span{padding-left:0}} /*** combinestatic: from:user-notify/user-notify.css ***/ @charset "utf-8";.user-notify-loaded{display:none!important}.user-notify-loaded:before{content:'user notify css loaded'}#user-notifies{display:block}.user-notifies-content{margin:0;padding:0;max-height:80vh;overflow-y:auto;overflow-x:hidden;position:fixed;top:0;left:0;right:0;z-index:32767;color:#444;background:white;line-height:1.1;border:1px solid #ccc;box-shadow:0 3px 3px -3px rgba(0,0,0,.5)}#user-notifies:not(.shown) .user-notifies-content{box-shadow:none}.user-notifies-title{display:-webkit-flex;display:flex;-webkit-justify-content:flex-end;justify-content:flex-end;border-bottom:1px dotted #ccc;display:none}.user-notifies-title>*{padding:.25em}.user-notifies-title>*:first-child{-webkit-flex-grow:1;flex-grow:1}#user-notifies-close{cursor:pointer}.user-notifies-title .fa{font-size:150%;opacity:.5}.user-notify{display:block;margin:0;padding:0;position:relative;overflow:hidden}.user-notify.has-detail>.user-notify-overview{cursor:pointer}.user-notify.user-read>.user-notify-overview:not(.opened):not(:hover){color:#888}.user-notify-overview{background:white;position:relative;z-index:10}.user-notify-date{}.user-notify-message{}.user-notify-detail{background:white;position:relative;z-index:5}.user-notify-detail-content{padding:1em .5em 1em 1.5em;font-size:80%}.user-notify-detail-content>*:first-child{margin-top:0}.user-notify-detail-content>*:last-child{margin-bottom:0}.user-notify-detail-content a{text-decoration:none;border-bottom:1px dotted;cursor:pointer}.user-notify-detail-content a:hover{text-decoration:none;border-bottom:1px solid}.user-notify:not(.has-detail) .user-notify-detail{display:none}.user-notify.has-detail>.user-notify-overview:not(.opened)+.user-notify-detail>.user-noify-detail-content{-webkit-transform:translateY(-100%);transform:-100%}.user-notify.has-detail>.user-notfify-overview.opened{padding-bottom:0}.user-notify.has-detail>.user-notify-overview.opened+.user-notify-detail{border-top:1px dotted #ccc}.user-notify.has-detail:not(:last-child)>.user-notify-overview.opened+.user-notify-detail{border-bottom:1px solid #ccc}.user-notify-detail,.user-notify-detail-content,.user-notifies-content{-webkit-transition-duration:.2s;-webkit-transition-property:transform,margin,max-height;transition-duration:.2s;transition-property:transform,margin,max-height}.user-notifies-content{margin-left:.5em;margin-right:.5em}.user-notify.has-detail>.user-notify-overview:not(.opened)+.user-notify-detail>.user-notify-detail-content,#user-notifies:not(.shown)>.user-notifies-content{-webkit-transform:translateY(-100%);transform:translateY(-100%);margin-top:0}.user-notify.has-detail>.user-notify-overview:.opened+.user-notify-detail>.user-notify-detail-content,#user-notifies.shown>.user-notifies-content{-webkit-transform:translateY(0);transform:translateY(0)}.user-notify.has-detail>.user-notify-overview:not(.opened)+.user-notify-detail{max-height:0!important;overflow:hidden}.user-notify.has-detail>.user-notify-overview.opened+.user-notify-detail{overflow:hidden;max-height:10em}#user-notifies:not(.shown)>.user-notifies-content{margin-top:0}#user-notifies.shown>.user-notifies-content{margin-top:.5em}@keyframes blink{0%{opacity:0}50%{opacity:1}100%{opacity:0}}#user-notifies-toggle{cursor:pointer}#user-notifies-toggle .fa{font-size:125%;line-height:.8em;vertical-align:-.125em}#user-notifies-toggle:not(.has-unread){opacity:.5}#user-notifies-toggle.has-unread{-webkit-animation-name:blink;-webkit-animation-duration:1s;-webkit-animation-iteration-count:infinite;animation-name:blink;animation-duration:1s;animation-iteration-count:infinite;animation-timing-function:ease}#user-notifies-toggle:not(.has-notifies){}.user-notify.template{display:none!important}.user-notify-overview{display:-webkit-flex;display:flex;-webkit-align-items:flex-start;align-items:flex-start}.user-notify-overview>*{-webkit-flex:0 0 auto;flex:0 0 auto;padding:.25em}.user-notify-overview>.user-notify-date{}.user-notify-overview>.user-notify-message{-webkit-flex:1 1 auto;flex:1 1 auto}.user-notify-date:before{font-family:FontAwesome;content:"\f0da";transition-property:transform;transition-duration:.2s;transition-timing-function:linear;display:inline-block;margin-right:.5em}.user-notify:not(.has-detail) .user-notify-date:before{visibility:hidden}.user-notify-overview.opened>.user-notify-date:before{transform:rotate(90deg)}.user-notifies-title+.user-notify{padding-top:.25em}.user-notify:last-child{padding-bottom:.25em}#user-notifies.shown.auto-shown .user-notify.user-read{display:none}.user-notify-nothing{color:#888;padding:.25em .5em}#user-notifies .user-notify+.user-notify-nothing{display:none!inportant}.user-notify-history{text-align:right;padding:.25em .5em} </style> <style id="style-combined-dinoportal_base_top_async_css.css"> /*** combinestatic: generated:dinoportal_base_top_async_css.css ***/ /*** combinestatic: from:wf/css/article.css ***/ @charset "utf-8";@import url(https://fonts.googleapis.com/css?family=Lobster+Two&display=swap);.article *,.article *:after,.article *:before{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box}.article img,.article iframe,.article video,.article audio{max-width:100%}.article hr{display:block;border-top-style:solid;border-top-width:1px;border-left-style:none;border-right-style:none;border-bottom-style:none;height:0;margin:.5em 0}.artcile{line-height:1.6}.article:after{display:block;position:relative;content:'';width:100%;height:0;overflow:hidden;visibility:hidden;clear:both}.article ol,.article ul{line-height:1.4}.article .article-heading,.article .article-subheading,.article h3,.article h4{line-height:1.25}.article>p{margin-top:1.6em;margin-bottom:1.6em}.article .description .container{position:relative;margin:0;padding:0;width:auto;height:100%;max-width:none;min-width:0;max-height:none;min-height:0}.article cite{font-style:italic}.article cite>a{color:inherit;text-decoration:none;display:block}.article cite>a:hover{text-decoration:underline}.article figure{margin:2em 0}.article figure:first-child,.article .article-cover+figure{margin-top:15px}.article figure p{margin:0}.article figure img{margin:0;display:block}.article figcaption{-moz-opacity:.5;opacity:.5;font-size:90%;font-style:italic;margin:5px 0 10px 0;z-index:3!important;line-height:1.3}.article figure.hide-figcaption figcaption{display:none}.article figcaption p{margin-top:.5em;margin-bottom:0}.article figcaption p:last-child{margin-bottom:.5em}.article figcaption p+cite{display:block}.article cite>a:empty,.article cite:empty,.article figcaption>p:empty{display:none}.article .video-box{position:relative}.article .video-box>.video-thumb{position:absolute;top:0;left:0;z-index:1}.article .video-box>.video-embed{position:relative;z-index:2}.article .video-box>.video-thumb>img,.article .video-box>.video-embed>iframe{display:block;width:100%}.article figure:not(.img-small) .image-box{}.article figure.img-small>a,.article figure.img-small>.image-box{width:38%;margin:0;display:inline-block;position:relative;vertical-align:bottom}.article figure.img-small:after{content:"";display:block;height:0}.article figure.img-small .image-box>img{margin:0}.article figure.img-small>figcaption{width:62%;vertical-align:bottom;display:inline-block;padding-left:.75em;margin-bottom:0}.article figure.img-small>figcaption>cite{margin-top:.5em}.article figure>figcaption>cite>a:emtpy{display:none}.article figure>figcaption>p:emtpy{display:none}.article .cite-box{margin-top:1em;margin-bottom:1em;position:relative}.article .cite-box>a{display:block;color:inherit;text-decoration:none;color:#888!important;background:white!important;border:1px solid #ccc;position:relative}.article .cite-box>a:after{clear:both;content:"";display:block;position:relative;width:100%;height:0;visibility:hidden}.article .cite-box .thumb{position:relative;width:38%;margin-right:-38%;background-position:center center;background-repeat:no-repeat;background-size:cover;float:left;z-index:2}.article .cite-box:not(.thumb-full) .thumb>img{position:absolute;top:0;left:0;max-width:100%;max-height:100%;width:100%;height:100%;-moz-opacity:0;opacity:0}.article .cite-box.thumb-full .thumb>img{width:100%;display:block;margin:0}.article .cite-box:not(.thumb-full) .thumb:before{content:'';display:block;padding-top:100%}.article .cite-box .thumb+.description{padding-left:38%}.article .cite-box:not(.text-full) .thumb+.description{position:absolute;top:0;left:0;bottom:0;right:0;overflow:hidden;z-index:1}.article .cite-box .description{font-size:80%;line-height:1.5}.article .cite-box .description>.container{padding:15px;height:103%;height:calc(100% + 1px)}.article .cite-box .description>.container>h4:first-child{margin-top:0;font-size:125%}@media(max-width:767px){.article .cite-box .description>.container{padding:7px}.article .cite-box .description>.container>h4:first-child{font-size:115%;margin-bottom:.5em}.article .cite-box .description>.container>p{margin-top:.5em;margin-bottom:.5em}}.article .cite-box .description cite{font-style:italic;padding:5px 15px;position:absolute;bottom:1px;left:1px;right:1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:right}.article .cite-box:not(.text-full) .description cite{background:white;background:-moz-linear-gradient(90deg,rgba(255,255,255,0) 0,rgba(255,255,255,1) 50%);background:-webkit-linear-gradient(90deg,rgba(255,255,255,0) 0,rgba(255,255,255,1) 50%);background:-ms-linear-gradient(90deg,rgba(255,255,255,0) 0,rgba(255,255,255,1) 50%);background:linear-gradient(180deg,rgba(255,255,255,0) 0,rgba(255,255,255,1) 50%);padding-top:2em}.article .quotebox{position:relative;margin:.5em 0 2em 0;padding:1em;background-color:#eee;color:#666;z-index:1;overflow:hidden}.article .quotebox blockquote{margin:0;z-index:2}.article .quotebox blockquote:before,.article .quotebox blockquote:after{font-size:1000%;font-family:'Times New Roman',"MS Pゴシック",sans-serif;color:#FBFBFB;position:absolute;z-index:0;height:0}.article .quotebox blockquote:before{content:"“";line-height:.8;left:5px;top:5px}.article .quotebox blockquote:after{content:"”";line-height:.15;right:5px;bottom:5px}.article blockquote>h4{position:relative;padding:0 .5em 0 1em;z-index:3}.article blockquote>p{position:relative;padding:0 .5em 0 1em;z-index:3;font-size:95%}.article blockquote>footer{-moz-opacity:.9;opacity:.9;font-size:90%;font-style:italic;padding:0 1em;margin:0;z-index:3}.article>.article-heading,.article>h3:not(.article-subheading){margin:32px 0 20px 0;padding:5px 8px;border-left-style:solid;border-left-width:8px;border-bottom-style:dotted;border-bottom-width:1px}.article>.article-subheading,.article>h4:not(.article-subheading){margin:16px 0 8px 0}.article>.article-heading{font-size:110%}.article>.article-subheading{font-size:110%}@media(max-width:767px){.article .quotebox{padding:.5em;margin:.5em 0 1.5em 0}.article blockquote>h4,.article blockquote>p,.article blockquote>footer{padding:0 .5em 0 .5em}}.content-summary .font-big,.article .font-big{font-size:150%}.content-summary .font-small,.article .font-small{font-size:66.666666%}.content-summary,.article>p.summary{margin-bottom:3.2em;margin-top:1em}.content-summary:before,.article>p.summary:before,.article>.toc-place:before{content:"Summary";display:block;font-size:85%;font-style:italic;opacity:.5;font-family:'Lobster Two',cursive}.article>.toc-place:before{content:"Index"}.article>p.box{background:rgba(0,0,0,0.05);font-size:81.125%;padding:.5em .75em;width:80%;margin-left:auto;margin-right:auto}@media(max-width:767px){.article>p.box{width:90%}}.article>.toc-place{margin:1em auto;position:relative}.article>.toc-place>.toc-list{border:1px dashed #ccc;font-size:90%;margin:0;padding:.75em}.toc-place>.toc-list>.toc-item+.toc-item{margin-top:.8em}.toc-list .toc-list{font-size:80%;padding-left:0}.toc-link{display:block}.article .toc-list{list-style-type:none}.article .toc-item::before{margin-right:.5em;content:attr(data-section-number);opacity:.5}.article .toc-item .toc-item::before{content:'- '}.toc-place>.toc-list>.toc-item[data-section-number=""]::before{display:none}.article .toc-item{display:flex}.toc-item>.toc-item-container{flex-grow:1}.toc-item>.toc-link+.toc-list{width:100%}.content-summary .font-color-black,.article .font-color-black{color:hsl(0,0%,0%)}.content-summary .font-color-red,.article .font-color-red{color:hsl(0,70%,40%)}.content-summary .font-color-brown,.article .font-color-brown{color:hsl(30,60%,35%)}.content-summary .font-color-orange,.article .font-color-orange{color:hsl(20,80%,45%)}.content-summary .font-color-yellow,.article .font-color-yellow{color:hsl(45,75%,45%)}.content-summary .font-color-green,.article .font-color-green{color:hsl(120,45%,35%)}.content-summary .font-color-cyan,.article .font-color-cyan{color:hsl(180,40%,45%)}.content-summary .font-color-blue,.article .font-color-blue{color:hsl(240,40%,50%)}.content-summary .font-color-violet,.article .font-color-violet{color:hsl(275,30%,50%)}.content-summary .font-color-pink,.article .font-color-pink{color:hsl(330,45%,60%)}.content-summary .font-color-bgblack,.article .font-color-bgblack{background-color:hsla(0,0%,0%,.1)}.content-summary .font-color-bgred,.article .font-color-bgred{background-color:hsla(0,70%,40%,.15)}.content-summary .font-color-bgbrown,.article .font-color-bgbrown{background-color:hsla(30,60%,35%,.15)}.content-summary .font-color-bgorange,.article .font-color-bgorange{background-color:hsla(20,80%,45%,.15)}.content-summary .font-color-bgyellow,.article .font-color-bgyellow{background-color:hsla(45,75%,45%,.15)}.content-summary .font-color-bggreen,.article .font-color-bggreen{background-color:hsla(120,45%,35%,.15)}.content-summary .font-color-bgcyan,.article .font-color-bgcyan{background-color:hsla(180,40%,45%,.15)}.content-summary .font-color-bgblue,.article .font-color-bgblue{background-color:hsla(240,40%,50%,.15)}.content-summary .font-color-bgviolet,.article .font-color-bgviolet{background-color:hsla(275,30%,50%,.15)}.content-summary .font-color-bgpink,.article .font-color-bgpink{background-color:hsla(330,45%,60%,.15)}[class^="font-color-bg"]{padding-left:.25em;padding-right:.25em}.content-summary .font-color-ulblack,.article .font-color-ulblack{border-color:hsla(0,0%,0%,.66)}.content-summary .font-color-ulred,.article .font-color-ulred{border-color:hsla(0,70%,40%,.66)}.content-summary .font-color-ulbrown,.article .font-color-ulbrown{border-color:hsla(30,60%,35%,.66)}.content-summary .font-color-ulorange,.article .font-color-ulorange{border-color:hsla(20,80%,45%,.66)}.content-summary .font-color-ulyellow,.article .font-color-ulyellow{border-color:hsla(45,75%,45%,.66)}.content-summary .font-color-ulgreen,.article .font-color-ulgreen{border-color:hsla(120,45%,35%,.66)}.content-summary .font-color-ulcyan,.article .font-color-ulcyan{border-color:hsla(180,40%,45%,.66)}.content-summary .font-color-ulblue,.article .font-color-ulblue{border-color:hsla(240,40%,50%,.66)}.content-summary .font-color-ulviolet,.article .font-color-ulviolet{border-color:hsla(275,30%,50%,.66)}.content-summary .font-color-ulpink,.article .font-color-ulpink{border-color:hsla(330,45%,60%,.66)}[class^="font-color-ul"]{border-bottom-width:2px;border-bottom-style:solid}[class^="font-color-"] *{color:inherit}.content-summary [class^="font-color-"]:not([class^="font-color-bg"]):not([class^="font-color-ul"]),.content-summary [class$=" font-color-"]:not([class^="font-color-bg"]):not([class^="font-color-ul"]),.article [class^="font-color-"]:not([class^="font-color-bg"]):not([class^="font-color-ul"]),.article [class$=" font-color-"]:not([class^="font-color-bg"]):not([class^="font-color-ul"]){font-weight:bold}.article .sub-article{padding:.5em}.article .sub-article>*:first-child{margin-top:0}.article .sub-article>*:last-child{margin-bottom:0} /*** combinestatic: from:wf/css/article-not-amp.css ***/ @charset 'utf-8';.album-link[data-album-inline]:not([data-album-replaced]),.album-inline.loading{transition:opacity 100ms;opacity:.3;cursor:wait!important;cursor:progress!important;pointer-events:none!important}@media(min-width:768px){.afls-container{display:flex}.afls-img{flex:0 0 auto;width:38.2%}.afls-info{padding-left:1em;display:flex;flex-direction:column;width:61.8%}.afls-links[data-links-num="1"] .btn.afls-link{width:100%}.afls-links[data-links-num="2"] .btn.afls-link,.afls-links[data-links-num="4"] .btn.afls-link{width:calc(50% - .25em);margin-right:.25em}.afls-links[data-links-num="3"] .btn.afls-link{width:calc(33.3% - .25em);margin-right:.25em}}.afls-container[data-afls]:not(.updating):not(.updated){visibility:hidden;opacity:.2}.afls-container[data-afls].updating{opacity:.5} /*** combinestatic: from:lib/jquery-carousel/jquery-carousel.css ***/ @charset 'utf-8';#carousel-loaded{display:none!important}#carousel-loaded:before{content:'carousel loaded'}.carousel,.carousel-contents,.carousel-content,.carousel-container{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box}.carousel{position:relative;overflow:hidden;width:100%;height:auto}.carousel>input[name^=carousel-]{position:absolute;top:50%;left:50%;-moz-opacity:0;opacity:0;width:0;height:0;visibility:hidden;z-index:-1}.carousel .carousel-contents{position:relative;height:-webkit-calc(100% - 20px);height:calc(100% - 20px);overflow:visible}.carousel .carousel-contents:after{clear:both;content:"";display:block;position:relative;width:100%;height:0;visibility:hidden;overflow:hidden}.carousel .carousel-content{word-spacing:normal;float:left;position:relative;display:inline-block;position:relative;overflow:hidden;margin:0!important}.carousel .carousel-nav{text-align:center;cursor:default;font-size:75%}.carousel label{cursor:pointer}.carousel .carousel-nav>label{display:inline-block;position:relative;-moz-opacity:.5;opacity:.5}.carousel .carousel-nav>label:before{font-family:'FontAwesome';content:"\f111";display:inline-block;vertical-align:middle;margin:5px}.carousel .carousel-next,.carousel .carousel-prev{position:absolute;top:0;bottom:0;width:25%;opacity:.25;color:white;text-shadow:0 0 3px rgba(0,0,0,.8);cursor:pointer}.carousel .carousel-prev{left:0}.carousel .carousel-next{right:0}.carousel .carousel-prev:before,.carousel .carousel-next:before{display:block;position:absolute;top:50%;line-height:1;margin-top:-0.5em;margin-left:15px;margin-right:15px;left:0;right:0;text-align:center;font-family:FontAwesome;font-size:45px;-moz-opacity:.98;opacity:.98}@media(max-width:767px){.carousel .carousel-prev:before,.carousel .carousel-next:before{font-size:35px}}.carousel .carousel-prev:before{content:'\f104';text-align:left}.carousel .carousel-next:before{content:'\f105';text-align:right}.carousel .carousel-more:before{content:'\f105';text-align:right}.carousel .carousel-more>a[href]{position:absolute;top:0;left:0;right:0;bottom:0}.carousel .carousel-more:before{content:'\f101'}.carousel .carousel-next:hover,.carousel .carousel-prev:hover{opacity:1}.carousel .carousel-contents{-webkit-transform:translate3d(0,0,0);transform:translateX(0);-webkit-transition:transform 1.2s ease-out,margin 1.2s ease-out;transition:transform 1.2s ease-out,margin 1.2s ease-out}.carousel .carousel-contents.touching{-webkit-transition:none;transition:none}.carousel .carousel-contents.touchend{-webkit-transition:all 1.2s ease-out;transition:all 1.2s ease-out}.carousel .carousel-contents.prevent-animation,.carousel[data-carousel="destroyed"] .carouse-contents{-webkit-transition:none;transition:none}.carousel .carousel-container>img:only-child,.carousel .carousel-container>a:only-child,.carousel .carousel-container>a:only-child>img:only-child,.carousel .carousel-container>a.linkblock{max-width:100%;width:100%;display:block}.carousel .carousel-contents{width:300%}.carousel .carousel-content{width:33.3333%;width:-webkit-calc(100%/ 3);width:calc(100%/ 3)}.carousel>input[name^=carousel-]:nth-of-type(1):checked ~ .carousel-nav>label:nth-of-type(1):before,.carousel>input[name^=carousel-]:nth-of-type(2):checked ~ .carousel-nav>label:nth-of-type(2):before,.carousel>input[name^=carousel-]:nth-of-type(3):checked ~ .carousel-nav>label:nth-of-type(3):before{-moz-opacity:1;opacity:1}.carousel{-webkit-transform:translate3d(0,0,0);-webkit-backface-visibility:hidden}.carousel .carousel-contents{-webkit-backface-visibility:hidden}.carousel>input[name^=carousel-]:nth-of-type(1):checked ~ .carousel-contents{-webkit-transform:translate3d(0,0,0);transform:translateX(0)}.carousel>input[name^=carousel-]:nth-of-type(2):checked ~ .carousel-contents{-webkit-transform:translate3d(-33.33333%,0,0);transform:translateX(-33.33333%)}.carousel>input[name^=carousel-]:nth-of-type(3):checked ~ .carousel-contents{-webkit-transform:translate3d(-66.66666%,0,0);transform:translateX(-66.66666%)}.carousel>input[name^=carousel-]:first-of-type:checked ~ .carousel-contents.loop-forward>.carousel-content:first-child{-webkit-transform:translate3d(300%,0,0);transform:translateX(300%)}.carousel>input[name^=carousel-]:first-of-type:checked ~ .carousel-contents.loop-forward{-webkit-transform:translate3d(-100%,0,0);transform:translateX(-100%)}.carousel>input[name^=carousel-]:last-of-type:checked ~ .carousel-contents.loop-backward>.carousel-content:last-child{-webkit-transform:translate3d(-300%,0,0);transform:translateX(-300%)}.carousel>input[name^=carousel-]:last-of-type:checked ~ .carousel-contents.loop-backward{-webkit-transform:translate3d(33.33333%,0,0);transform:translateX(33.33333%)}.carousel.carousel-arrownav-none .carousel-prev,.carousel.carousel-arrownav-none .carousel-next{display:none!important}.carousel.carousel-pointnav-none .carousel-nav{display:none!important}.carousel.carousel-pointnav-over .carousel-nav{position:absolute;top:auto;bottom:0;left:0;right:0;-moz-opacity:.75;opacity:.75}.carousel.carousel-pointnav-over .carousel-nav:hover{-moz-opacity:.98;opacity:.98}.carousel.carousel-pointnav-over .carousel-nav>label:before{color:white;text-shadow:0 0 2px black,0 0 5px rgba(0,0,0,.5)} /*** combinestatic: from:lib/jquery-carousel-2/jquery-carousel.css ***/ .this-is-carousel2-stylesheet{}#carousel2-loaded{display:none!important}#carousel2-loaded:before{content:'carousel2 loaded'}.carousel2,.carousel2>.carousel-cotents,.carousel2>.carousel-contents>.carousel-content,.carousel2>.caorousel-contents>.carousel-nav-rel,.carousel2>.caorousel-contents>.carousel-nav-rel>*,.carousel2>.carousel-nav,.carousel2>.carousel-nav>*{box-sizing:border-box}.carousel2{overflow:hidden;position:relative}.carousel2>.carousel-contents{position:relative;white-space:nowrap;width:100%;overflow:hidden}.carousel2>.carousel-contents>.carousel-content{white-space:normal;display:inline-block;vertical-align:top;position:relative;top:0;left:0;width:100%;height:auto;z-index:1;background:white}.carousel2>.carousel-contents>.carousel-content+.carousel-content{margin-left:-100%}.carousel2.carousel-loading .carousel-contents{opacity:.5}@keyframes carousel-loading{0%{transform:scale(0)}50%{transform:scale(1)}100%{transform:scale(0)}}.carousel2.carousel-loading:after{content:'';display:block;position:absolute;width:1em;height:1em;border-radius:.5em;top:50%;left:50%;margin-left:-.5em;margin-top:-.5em;background:rgba(128,128,128,.5);border:rgba(0,0,0,.5);animation-name:carousel-loading;animation-timing-function:ease;animation-delay:0s;animation-duration:.5s;animation-iteration-count:infinite}.carousel2>.carousel-contents>.carousel-nav-rel{display:block;height:0}.carousel2[data-carousel-navrel='0']>.carousel-contents>.carousel-nav-rel,.carousel2[data-carousel-navrel='false']>.carousel-contents>.carousel-nav-rel{display:none}.carousel2 .carousel-nav-prev,.carousel2 .carousel-nav-next{position:absolute;bottom:0;top:0;width:25%;z-index:20;opacity:.25;cursor:pointer}.carousel2 .carousel-nav-prev:before,.carousel2 .carousel-nav-next:before{font-family:Helvetica;font-weight:normal;font-style:normal;font-size:200%;line-height:1;position:absolute;margin-top:-.5em;top:50%;color:white;text-shadow:0 0 2px black,0 0 5px rgba(0,0,0,.5)}.carousel2 .carousel-nav-prev:before{content:'\3008';left:0}.carousel2 .carousel-nav-next:before{content:'\3009';right:0}.carousel2 .carousel-nav-prev{left:0}.carousel2 .carousel-nav-next{right:0}.carousel2 .carousel-nav-prev:hover,.carousel2 .carousel-nav-next:hover{opacity:.8}.carousel2[data-carousel-anim$="-down"] .carousel-nav-prev,.carousel2[data-carousel-anim$="-down"] .carousel-nav-next,.carousel2[data-carousel-anim$="-up"] .carousel-nav-prev,.carousel2[data-carousel-anim$="-up"] .carousel-nav-next{left:auto;right:0;text-align:right}.carousel2[data-carousel-anim$="-down"] .carousel-nav-prev:before,.carousel2[data-carousel-anim$="-down"] .carousel-nav-next:before,.carousel2[data-carousel-anim$="-up"] .carousel-nav-prev:before,.carousel2[data-carousel-anim$="-up"] .carousel-nav-next:before{margin-top:0;top:auto;bottom:auto;right:.5em;left:auto;transform:rotate(90deg)}.carousel2[data-carousel-anim$="-down"] .carousel-nav-prev:before,.carousel2[data-carousel-anim$="-up"] .carousel-nav-prev:before{top:0}.carousel2[data-carousel-anim$="-down"] .carousel-nav-next:before,.carousel2[data-carousel-anim$="-up"] .carousel-nav-next:before{bottom:0}.carousel2[data-carousel-anim$="-down"] .carousel-nav-prev,.carousel2[data-carousel-anim$="-up"] .carousel-nav-prev{top:0;bottom:50%}.carousel2[data-carousel-anim$="-down"] .carousel-nav-next,.carousel2[data-carousel-anim$="-up"] .carousel-nav-next{top:50%;bottom:0}.carousel2>input[type="radio"]{position:absolute;width:1px;height:1px;top:0;left:0;z-index:0;opacity:0}.carousel2>.carousel-nav{position:relative;text-align:center;line-height:1.2;opacity:.25;color:black}.carousel2>.carousel-nav:hover{opacity:.5}.carousel2>.carousel-nav>label{display:inline-block;cursor:pointer;margin:0;height:1em}.carousel2>.carousel-nav>label:before{content:"";display:block;position:relative;margin:.25em .1em;width:.5em;height:.5em;border:1px solid black;border-radius:.25em;background:transparent}.carousel2[data-carousel-nav^="over"]>.carousel-nav>label:before{border-color:white}.carousel-template .carousel2>input[type="radio"]:nth-of-type(1):checked ~ .carousel-nav>label:nth-of-type(1):before{background:black}.carousel-template .carousel2[data-carousel-nav^="over"]>input[type="radio"]:nth-of-type(1):checked ~ .carousel-nav>label:nth-of-type(1):before{background:white}.carousel2>input[type="radio"]:nth-of-type(1):checked ~ .carousel-nav>label:nth-of-type(1):before,.carousel2>input[type="radio"]:nth-of-type(2):checked ~ .carousel-nav>label:nth-of-type(2):before,.carousel2>input[type="radio"]:nth-of-type(3):checked ~ .carousel-nav>label:nth-of-type(3):before,.carousel2>input[type="radio"]:nth-of-type(4):checked ~ .carousel-nav>label:nth-of-type(4):before,.carousel2>input[type="radio"]:nth-of-type(5):checked ~ .carousel-nav>label:nth-of-type(5):before,.carousel2>input[type="radio"]:nth-of-type(6):checked ~ .carousel-nav>label:nth-of-type(6):before,.carousel2>input[type="radio"]:nth-of-type(7):checked ~ .carousel-nav>label:nth-of-type(7):before,.carousel2>input[type="radio"]:nth-of-type(8):checked ~ .carousel-nav>label:nth-of-type(8):before,.carousel2>input[type="radio"]:nth-of-type(9):checked ~ .carousel-nav>label:nth-of-type(9):before,.carousel2>input[type="radio"]:nth-of-type(10):checked ~ .carousel-nav>label:nth-of-type(10):before,.carousel2>input[type="radio"]:nth-of-type(11):checked ~ .carousel-nav>label:nth-of-type(11):before,.carousel2>input[type="radio"]:nth-of-type(12):checked ~ .carousel-nav>label:nth-of-type(12):before{background:black}.carousel2 .carousel-nav-manip{position:absolute;right:0;top:.1em;height:1em}.carousel2 .carousel-nav-manip>*{position:relative;display:inline-block;width:.75em;height:1em;cursor:pointer;margin-right:.1em}.carousel2 .carousel-nav-manip>*:before,.carousel2 .carousel-nav-manip>*:after{content:"";display:inline-block;position:absolute;right:0;top:50%;width:0;height:0;border:0 solid black}.carousel2 .carousel-nav-pause:before{box-sizing:content-box;min-width:1px;height:.5em;width:.1em;margin-top:-.2em;left:.15em;border-right-width:.15em;border-left-width:.15em}.carousel2 .carousel-nav-stop:before{height:.5em;width:.1em;margin-top:-.2em;left:.08em;border-left-width:.5em}.carousel2 .carousel-nav-play:before{height:0;width:0;top:.35em;left:-.05em;border-width:.23em;border-left-color:transparent!important;border-bottom-color:transparent!important;transform:rotate(45deg)}.carousel2 .carousel-nav-rewind:before{height:.5em;left:.15em;top:.3em;border-left-width:.15em}.carousel2 .carousel-nav-rewind:after{height:0;width:0;left:.4em;top:.35em;border-width:.23em;border-left-color:transparent!important;border-bottom-color:transparent!important;transform:rotate(225deg)}.carousel2[data-carousel-autoanim="none"] .carousel-nav-manip{display:none}.carousel2 .carousel-nav-stop{display:none}.carousel2[data-carousel-autoanim-stat="playing"] .carousel-nav-play,.carousel2[data-carousel-autoanim-stat="pausing"] .carousel-nav-pause,.carousel2[data-carousel-autoanim-stat="stopped"] .carousel-nav-stop{display:none}.carousel2[data-carousel-nav="none"] .carousel-nav{display:none}.carousel2[data-carousel-nav^="over"] .carousel-nav{position:absolute;bottom:0;left:0;right:0;color:white;border-color:white;background:transparent;z-index:20;opacity:.3}.carousel2[data-carousel-nav^="over"] .carousel-nav:hover{opacity:.5}.carousel2[data-carousel-nav^="over"] .carousel-nav-manip{background:rgba(0,0,0,.35)}.carousel2[data-carousel-nav^="over"] .carousel-nav-manip>*:before,.carousel2[data-carousel-nav^="over"] .carousel-nav-manip>*:after{border-color:white}.carousel2[data-carousel-nav$="-manip"] .carousel-nav>label{visibility:hidden}.carousel2[data-carousel-nav$="-point"] .carousel-nav-manip{display:none}.carousel-template .carousel2:not([data-carousel-anim])>input[type="radio"]:nth-of-type(1):checked ~ .carousel-contents>:nth-child(1){z-index:3}.carousel-template .carousel2[data-carousel-anim=""]>input[type="radio"]:nth-of-type(1):checked ~ .carousel-contents>:nth-child(1){z-index:3}.carousel2:not([data-carousel-anim])>input[type="radio"]:nth-of-type(1):checked ~ .carousel-contents>:nth-child(1),.carousel2:not([data-carousel-anim])>input[type="radio"]:nth-of-type(2):checked ~ .carousel-contents>:nth-child(2),.carousel2:not([data-carousel-anim])>input[type="radio"]:nth-of-type(3):checked ~ .carousel-contents>:nth-child(3),.carousel2:not([data-carousel-anim])>input[type="radio"]:nth-of-type(4):checked ~ .carousel-contents>:nth-child(4),.carousel2:not([data-carousel-anim])>input[type="radio"]:nth-of-type(5):checked ~ .carousel-contents>:nth-child(5),.carousel2:not([data-carousel-anim])>input[type="radio"]:nth-of-type(6):checked ~ .carousel-contents>:nth-child(6),.carousel2:not([data-carousel-anim])>input[type="radio"]:nth-of-type(7):checked ~ .carousel-contents>:nth-child(7),.carousel2:not([data-carousel-anim])>input[type="radio"]:nth-of-type(8):checked ~ .carousel-contents>:nth-child(8),.carousel2:not([data-carousel-anim])>input[type="radio"]:nth-of-type(9):checked ~ .carousel-contents>:nth-child(9),.carousel2:not([data-carousel-anim])>input[type="radio"]:nth-of-type(10):checked ~ .carousel-contents>:nth-child(10),.carousel2:not([data-carousel-anim])>input[type="radio"]:nth-of-type(11):checked ~ .carousel-contents>:nth-child(11),.carousel2:not([data-carousel-anim])>input[type="radio"]:nth-of-type(12):checked ~ .carousel-contents>:nth-child(12){z-index:3}.carousel2[data-carousel-anim=""]>input[type="radio"]:nth-of-type(1):checked ~ .carousel-contents>:nth-child(1),.carousel2[data-carousel-anim=""]>input[type="radio"]:nth-of-type(2):checked ~ .carousel-contents>:nth-child(2),.carousel2[data-carousel-anim=""]>input[type="radio"]:nth-of-type(3):checked ~ .carousel-contents>:nth-child(3),.carousel2[data-carousel-anim=""]>input[type="radio"]:nth-of-type(4):checked ~ .carousel-contents>:nth-child(4),.carousel2[data-carousel-anim=""]>input[type="radio"]:nth-of-type(5):checked ~ .carousel-contents>:nth-child(5),.carousel2[data-carousel-anim=""]>input[type="radio"]:nth-of-type(6):checked ~ .carousel-contents>:nth-child(6),.carousel2[data-carousel-anim=""]>input[type="radio"]:nth-of-type(7):checked ~ .carousel-contents>:nth-child(7),.carousel2[data-carousel-anim=""]>input[type="radio"]:nth-of-type(8):checked ~ .carousel-contents>:nth-child(8),.carousel2[data-carousel-anim=""]>input[type="radio"]:nth-of-type(9):checked ~ .carousel-contents>:nth-child(9),.carousel2[data-carousel-anim=""]>input[type="radio"]:nth-of-type(10):checked ~ .carousel-contents>:nth-child(10),.carousel2[data-carousel-anim=""]>input[type="radio"]:nth-of-type(11):checked ~ .carousel-contents>:nth-child(11),.carousel2[data-carousel-anim=""]>input[type="radio"]:nth-of-type(12):checked ~ .carousel-contents>:nth-child(12){z-index:3}.carousel2:not(.carousel-valid) .carousel-content,.carousel2.prevent-anim .carousel-content{transition-duration:0s!important;animation-duration:0s!important}@keyframes fadein{0%{opacity:0;z-index:3}0.1%{opacity:0;z-index:3;visibility:visible}99.9%{opacity:1;z-index:3}100%{opacity:1;z-index:3;visibility:visible}}@keyframes fadeout{0%{opacity:1;z-index:2;visibility:visible}0.1%{opacity:1;z-index:2;visibility:visible}99.9%{opacity:0;z-index:2;visibility:visible}100%{opacity:0;z-index:2;visibility:hidden}}.carousel2[data-carousel-anim="crossfade"]>.carousel-contents>.carousel-content{z-index:-1;visibility:hidden}.carousel-template .carousel2[data-carousel-anim="crossfade"]>input[type="radio"]:nth-of-type(1):checked ~ .carousel-contents>.carousel-content:nth-child(1){animation-name:fadein;animation-timing-function:ease;z-index:3;opacity:1;visibility:visible}.carousel2[data-carousel-anim="crossfade"]>input[type="radio"]:nth-of-type(1):checked ~ .carousel-contents>.carousel-content:nth-child(1),.carousel2[data-carousel-anim="crossfade"]>input[type="radio"]:nth-of-type(2):checked ~ .carousel-contents>.carousel-content:nth-child(2),.carousel2[data-carousel-anim="crossfade"]>input[type="radio"]:nth-of-type(3):checked ~ .carousel-contents>.carousel-content:nth-child(3),.carousel2[data-carousel-anim="crossfade"]>input[type="radio"]:nth-of-type(4):checked ~ .carousel-contents>.carousel-content:nth-child(4),.carousel2[data-carousel-anim="crossfade"]>input[type="radio"]:nth-of-type(5):checked ~ .carousel-contents>.carousel-content:nth-child(5),.carousel2[data-carousel-anim="crossfade"]>input[type="radio"]:nth-of-type(6):checked ~ .carousel-contents>.carousel-content:nth-child(6),.carousel2[data-carousel-anim="crossfade"]>input[type="radio"]:nth-of-type(7):checked ~ .carousel-contents>.carousel-content:nth-child(7),.carousel2[data-carousel-anim="crossfade"]>input[type="radio"]:nth-of-type(8):checked ~ .carousel-contents>.carousel-content:nth-child(8),.carousel2[data-carousel-anim="crossfade"]>input[type="radio"]:nth-of-type(9):checked ~ .carousel-contents>.carousel-content:nth-child(9),.carousel2[data-carousel-anim="crossfade"]>input[type="radio"]:nth-of-type(10):checked ~ .carousel-contents>.carousel-content:nth-child(10),.carousel2[data-carousel-anim="crossfade"]>input[type="radio"]:nth-of-type(11):checked ~ .carousel-contents>.carousel-content:nth-child(11),.carousel2[data-carousel-anim="crossfade"]>input[type="radio"]:nth-of-type(12):checked ~ .carousel-contents>.carousel-content:nth-child(12){animation-name:fadein;animation-timing-function:ease;z-index:3;opacity:1;visibility:visible}.carousel-template .carousel2[data-carousel-anim="crossfade"]>input[type="radio"]:nth-of-type(1):not(:checked) ~ .carousel-contents>.carousel-content:nth-child(1){animation-name:fadeout;animation-timing-function:ease;z-index:2;opacity:0}.carousel2[data-carousel-anim="crossfade"]>input[type="radio"]:nth-of-type(1).prev-checked ~ .carousel-contents>.carousel-content:nth-child(1),.carousel2[data-carousel-anim="crossfade"]>input[type="radio"]:nth-of-type(2).prev-checked ~ .carousel-contents>.carousel-content:nth-child(2),.carousel2[data-carousel-anim="crossfade"]>input[type="radio"]:nth-of-type(3).prev-checked ~ .carousel-contents>.carousel-content:nth-child(3),.carousel2[data-carousel-anim="crossfade"]>input[type="radio"]:nth-of-type(4).prev-checked ~ .carousel-contents>.carousel-content:nth-child(4),.carousel2[data-carousel-anim="crossfade"]>input[type="radio"]:nth-of-type(5).prev-checked ~ .carousel-contents>.carousel-content:nth-child(5),.carousel2[data-carousel-anim="crossfade"]>input[type="radio"]:nth-of-type(6).prev-checked ~ .carousel-contents>.carousel-content:nth-child(6),.carousel2[data-carousel-anim="crossfade"]>input[type="radio"]:nth-of-type(7).prev-checked ~ .carousel-contents>.carousel-content:nth-child(7),.carousel2[data-carousel-anim="crossfade"]>input[type="radio"]:nth-of-type(8).prev-checked ~ .carousel-contents>.carousel-content:nth-child(8),.carousel2[data-carousel-anim="crossfade"]>input[type="radio"]:nth-of-type(9).prev-checked ~ .carousel-contents>.carousel-content:nth-child(9),.carousel2[data-carousel-anim="crossfade"]>input[type="radio"]:nth-of-type(10).prev-checked ~ .carousel-contents>.carousel-content:nth-child(10),.carousel2[data-carousel-anim="crossfade"]>input[type="radio"]:nth-of-type(11).prev-checked ~ .carousel-contents>.carousel-content:nth-child(11),.carousel2[data-carousel-anim="crossfade"]>input[type="radio"]:nth-of-type(12).prev-checked ~ .carousel-contents>.carousel-content:nth-child(12){animation-name:fadeout;animation-timing-function:ease;z-index:2;opacity:0}@keyframes slidein-left{0%{transform:translate(100%,0);z-index:3}100%{transform:translate(0,0);z-index:3}}@keyframes slidein-right{0%{transform:translate(-100%,0);z-index:3}100%{transform:translate(0,0);z-index:3}}@keyframes slidein-down{0%{transform:translate(0,-100%);z-index:3}100%{transform:translate(0,0);z-index:3}}@keyframes slidein-up{0%{transform:translate(0,100%);z-index:3}100%{transform:translate(0,0);z-index:3}}@keyframes slideout-left{0%{transform:translate(0,0);z-index:3}100%{transform:translate(-100%,0);z-index:3}}@keyframes slideout-right{0%{transform:translate(0,0);z-index:3}100%{transform:translate(100%,0);z-index:3}}@keyframes slideout-down{0%{transform:translate(0,0);z-index:3}100%{transform:translate(0,100%);z-index:3}}@keyframes slideout-up{0%{transform:translate(0,0);z-index:3}100%{transform:translate(0,-100%);z-index:3}}@keyframes stay-out{0%{transform:translate(0,0);z-index:2}99%{transform:translate(0,0);z-index:2}100%{transform:translate(0,0);z-index:2;display:none}}.carousel-template .carousel2[data-carousel-anim="slidein-left"]>input[type="radio"]:nth-of-type(1):checked ~ .carousel-contents>:nth-child(1){animation:slidein-left .5s ease-out;transform:translate(0,0);z-index:3;animation-duration:attr(data-carousel-anim-duration)}.carousel2[data-carousel-anim="slidein-left"]>input[type="radio"]:nth-of-type(1):checked ~ .carousel-contents>:nth-child(1),.carousel2[data-carousel-anim="slidein-left"]>input[type="radio"]:nth-of-type(2):checked ~ .carousel-contents>:nth-child(2),.carousel2[data-carousel-anim="slidein-left"]>input[type="radio"]:nth-of-type(3):checked ~ .carousel-contents>:nth-child(3),.carousel2[data-carousel-anim="slidein-left"]>input[type="radio"]:nth-of-type(4):checked ~ .carousel-contents>:nth-child(4),.carousel2[data-carousel-anim="slidein-left"]>input[type="radio"]:nth-of-type(5):checked ~ .carousel-contents>:nth-child(5),.carousel2[data-carousel-anim="slidein-left"]>input[type="radio"]:nth-of-type(6):checked ~ .carousel-contents>:nth-child(6),.carousel2[data-carousel-anim="slidein-left"]>input[type="radio"]:nth-of-type(7):checked ~ .carousel-contents>:nth-child(7),.carousel2[data-carousel-anim="slidein-left"]>input[type="radio"]:nth-of-type(8):checked ~ .carousel-contents>:nth-child(8),.carousel2[data-carousel-anim="slidein-left"]>input[type="radio"]:nth-of-type(9):checked ~ .carousel-contents>:nth-child(9),.carousel2[data-carousel-anim="slidein-left"]>input[type="radio"]:nth-of-type(10):checked ~ .carousel-contents>:nth-child(10),.carousel2[data-carousel-anim="slidein-left"]>input[type="radio"]:nth-of-type(11):checked ~ .carousel-contents>:nth-child(11),.carousel2[data-carousel-anim="slidein-left"]>input[type="radio"]:nth-of-type(12):checked ~ .carousel-contents>:nth-child(12){animation:slidein-left .5s ease-out;transform:translate(0,0);z-index:3}.carousel-template .carousel2[data-carousel-anim="slidein-left"]>input[type="radio"]:nth-of-type(1).prev-checked ~ .carousel-contents>:nth-child(1){animation:stay .5s ease-out;z-index:2}.carousel2[data-carousel-anim="slidein-left"]>input[type="radio"]:nth-of-type(1).prev-checked ~ .carousel-contents>:nth-child(1),.carousel2[data-carousel-anim="slidein-left"]>input[type="radio"]:nth-of-type(2).prev-checked ~ .carousel-contents>:nth-child(2),.carousel2[data-carousel-anim="slidein-left"]>input[type="radio"]:nth-of-type(3).prev-checked ~ .carousel-contents>:nth-child(3),.carousel2[data-carousel-anim="slidein-left"]>input[type="radio"]:nth-of-type(4).prev-checked ~ .carousel-contents>:nth-child(4),.carousel2[data-carousel-anim="slidein-left"]>input[type="radio"]:nth-of-type(5).prev-checked ~ .carousel-contents>:nth-child(5),.carousel2[data-carousel-anim="slidein-left"]>input[type="radio"]:nth-of-type(6).prev-checked ~ .carousel-contents>:nth-child(6),.carousel2[data-carousel-anim="slidein-left"]>input[type="radio"]:nth-of-type(7).prev-checked ~ .carousel-contents>:nth-child(7),.carousel2[data-carousel-anim="slidein-left"]>input[type="radio"]:nth-of-type(8).prev-checked ~ .carousel-contents>:nth-child(8),.carousel2[data-carousel-anim="slidein-left"]>input[type="radio"]:nth-of-type(9).prev-checked ~ .carousel-contents>:nth-child(9),.carousel2[data-carousel-anim="slidein-left"]>input[type="radio"]:nth-of-type(10).prev-checked ~ .carousel-contents>:nth-child(10),.carousel2[data-carousel-anim="slidein-left"]>input[type="radio"]:nth-of-type(11).prev-checked ~ .carousel-contents>:nth-child(11),.carousel2[data-carousel-anim="slidein-left"]>input[type="radio"]:nth-of-type(12).prev-checked ~ .carousel-contents>:nth-child(12){animation:stay .5s ease-out;z-index:2;animation-duration:attr(data-carousel-anim-duration)}.carousel-template .carousel2[data-carousel-anim="slidein-left"].anim-rev>input[type="radio"]:nth-of-type(1):checked ~ .carousel-contents>:nth-child(1){animation:stay .5s ease-out;z-index:2}.carousel2[data-carousel-anim="slidein-left"].anim-rev>input[type="radio"]:nth-of-type(1):checked ~ .carousel-contents>:nth-child(1),.carousel2[data-carousel-anim="slidein-left"].anim-rev>input[type="radio"]:nth-of-type(2):checked ~ .carousel-contents>:nth-child(2),.carousel2[data-carousel-anim="slidein-left"].anim-rev>input[type="radio"]:nth-of-type(3):checked ~ .carousel-contents>:nth-child(3),.carousel2[data-carousel-anim="slidein-left"].anim-rev>input[type="radio"]:nth-of-type(4):checked ~ .carousel-contents>:nth-child(4),.carousel2[data-carousel-anim="slidein-left"].anim-rev>input[type="radio"]:nth-of-type(5):checked ~ .carousel-contents>:nth-child(5),.carousel2[data-carousel-anim="slidein-left"].anim-rev>input[type="radio"]:nth-of-type(6):checked ~ .carousel-contents>:nth-child(6),.carousel2[data-carousel-anim="slidein-left"].anim-rev>input[type="radio"]:nth-of-type(7):checked ~ .carousel-contents>:nth-child(7),.carousel2[data-carousel-anim="slidein-left"].anim-rev>input[type="radio"]:nth-of-type(8):checked ~ .carousel-contents>:nth-child(8),.carousel2[data-carousel-anim="slidein-left"].anim-rev>input[type="radio"]:nth-of-type(9):checked ~ .carousel-contents>:nth-child(9),.carousel2[data-carousel-anim="slidein-left"].anim-rev>input[type="radio"]:nth-of-type(10):checked ~ .carousel-contents>:nth-child(10),.carousel2[data-carousel-anim="slidein-left"].anim-rev>input[type="radio"]:nth-of-type(11):checked ~ .carousel-contents>:nth-child(11),.carousel2[data-carousel-anim="slidein-left"].anim-rev>input[type="radio"]:nth-of-type(12):checked ~ .carousel-contents>:nth-child(12){animation:stay .5s ease-out;z-index:2}.carousel-template .carousel2[data-carousel-anim="slidein-left"].anim-rev>input[type="radio"]:nth-of-type(1).prev-checked ~ .carousel-contents>:nth-child(1){animation:slideout-right .5s ease-in;transform:translate(100%,0);z-index:3}.carousel2[data-carousel-anim="slidein-left"].anim-rev>input[type="radio"]:nth-of-type(1).prev-checked ~ .carousel-contents>:nth-child(1),.carousel2[data-carousel-anim="slidein-left"].anim-rev>input[type="radio"]:nth-of-type(2).prev-checked ~ .carousel-contents>:nth-child(2),.carousel2[data-carousel-anim="slidein-left"].anim-rev>input[type="radio"]:nth-of-type(3).prev-checked ~ .carousel-contents>:nth-child(3),.carousel2[data-carousel-anim="slidein-left"].anim-rev>input[type="radio"]:nth-of-type(4).prev-checked ~ .carousel-contents>:nth-child(4),.carousel2[data-carousel-anim="slidein-left"].anim-rev>input[type="radio"]:nth-of-type(5).prev-checked ~ .carousel-contents>:nth-child(5),.carousel2[data-carousel-anim="slidein-left"].anim-rev>input[type="radio"]:nth-of-type(6).prev-checked ~ .carousel-contents>:nth-child(6),.carousel2[data-carousel-anim="slidein-left"].anim-rev>input[type="radio"]:nth-of-type(7).prev-checked ~ .carousel-contents>:nth-child(7),.carousel2[data-carousel-anim="slidein-left"].anim-rev>input[type="radio"]:nth-of-type(8).prev-checked ~ .carousel-contents>:nth-child(8),.carousel2[data-carousel-anim="slidein-left"].anim-rev>input[type="radio"]:nth-of-type(9).prev-checked ~ .carousel-contents>:nth-child(9),.carousel2[data-carousel-anim="slidein-left"].anim-rev>input[type="radio"]:nth-of-type(10).prev-checked ~ .carousel-contents>:nth-child(10),.carousel2[data-carousel-anim="slidein-left"].anim-rev>input[type="radio"]:nth-of-type(11).prev-checked ~ .carousel-contents>:nth-child(11),.carousel2[data-carousel-anim="slidein-left"].anim-rev>input[type="radio"]:nth-of-type(12).prev-checked ~ .carousel-contents>:nth-child(12){animation:slideout-right .5s ease-in;transform:translate(100%,0);z-index:3}.carousel-template .carousel2[data-carousel-anim="slidein-right"]>input[type="radio"]:nth-of-type(1):checked ~ .carousel-contents>:nth-child(1){animation:slidein-right .5s ease-out;transform:translate(0,0);z-index:3}.carousel2[data-carousel-anim="slidein-right"]>input[type="radio"]:nth-of-type(1):checked ~ .carousel-contents>:nth-child(1),.carousel2[data-carousel-anim="slidein-right"]>input[type="radio"]:nth-of-type(2):checked ~ .carousel-contents>:nth-child(2),.carousel2[data-carousel-anim="slidein-right"]>input[type="radio"]:nth-of-type(3):checked ~ .carousel-contents>:nth-child(3),.carousel2[data-carousel-anim="slidein-right"]>input[type="radio"]:nth-of-type(4):checked ~ .carousel-contents>:nth-child(4),.carousel2[data-carousel-anim="slidein-right"]>input[type="radio"]:nth-of-type(5):checked ~ .carousel-contents>:nth-child(5),.carousel2[data-carousel-anim="slidein-right"]>input[type="radio"]:nth-of-type(6):checked ~ .carousel-contents>:nth-child(6),.carousel2[data-carousel-anim="slidein-right"]>input[type="radio"]:nth-of-type(7):checked ~ .carousel-contents>:nth-child(7),.carousel2[data-carousel-anim="slidein-right"]>input[type="radio"]:nth-of-type(8):checked ~ .carousel-contents>:nth-child(8),.carousel2[data-carousel-anim="slidein-right"]>input[type="radio"]:nth-of-type(9):checked ~ .carousel-contents>:nth-child(9),.carousel2[data-carousel-anim="slidein-right"]>input[type="radio"]:nth-of-type(10):checked ~ .carousel-contents>:nth-child(10),.carousel2[data-carousel-anim="slidein-right"]>input[type="radio"]:nth-of-type(11):checked ~ .carousel-contents>:nth-child(11),.carousel2[data-carousel-anim="slidein-right"]>input[type="radio"]:nth-of-type(12):checked ~ .carousel-contents>:nth-child(12){animation:slidein-right .5s ease-out;transform:translate(0,0);z-index:3}.carousel-template .carousel2[data-carousel-anim="slidein-right"]>input[type="radio"]:nth-of-type(1).prev-checked ~ .carousel-contents>:nth-child(1){animation:stay .5s ease-out;z-index:2}.carousel2[data-carousel-anim="slidein-right"]>input[type="radio"]:nth-of-type(1).prev-checked ~ .carousel-contents>:nth-child(1),.carousel2[data-carousel-anim="slidein-right"]>input[type="radio"]:nth-of-type(2).prev-checked ~ .carousel-contents>:nth-child(2),.carousel2[data-carousel-anim="slidein-right"]>input[type="radio"]:nth-of-type(3).prev-checked ~ .carousel-contents>:nth-child(3),.carousel2[data-carousel-anim="slidein-right"]>input[type="radio"]:nth-of-type(4).prev-checked ~ .carousel-contents>:nth-child(4),.carousel2[data-carousel-anim="slidein-right"]>input[type="radio"]:nth-of-type(5).prev-checked ~ .carousel-contents>:nth-child(5),.carousel2[data-carousel-anim="slidein-right"]>input[type="radio"]:nth-of-type(6).prev-checked ~ .carousel-contents>:nth-child(6),.carousel2[data-carousel-anim="slidein-right"]>input[type="radio"]:nth-of-type(7).prev-checked ~ .carousel-contents>:nth-child(7),.carousel2[data-carousel-anim="slidein-right"]>input[type="radio"]:nth-of-type(8).prev-checked ~ .carousel-contents>:nth-child(8),.carousel2[data-carousel-anim="slidein-right"]>input[type="radio"]:nth-of-type(9).prev-checked ~ .carousel-contents>:nth-child(9),.carousel2[data-carousel-anim="slidein-right"]>input[type="radio"]:nth-of-type(10).prev-checked ~ .carousel-contents>:nth-child(10),.carousel2[data-carousel-anim="slidein-right"]>input[type="radio"]:nth-of-type(11).prev-checked ~ .carousel-contents>:nth-child(11),.carousel2[data-carousel-anim="slidein-right"]>input[type="radio"]:nth-of-type(12).prev-checked ~ .carousel-contents>:nth-child(12){animation:stay .5s ease-out;z-index:2}.carousel-template .carousel2[data-carousel-anim="slidein-right"].anim-rev>input[type="radio"]:nth-of-type(1):checked ~ .carousel-contents>:nth-child(1){animation:stay .5s ease-out;z-index:2}.carousel2[data-carousel-anim="slidein-right"].anim-rev>input[type="radio"]:nth-of-type(1):checked ~ .carousel-contents>:nth-child(1),.carousel2[data-carousel-anim="slidein-right"].anim-rev>input[type="radio"]:nth-of-type(2):checked ~ .carousel-contents>:nth-child(2),.carousel2[data-carousel-anim="slidein-right"].anim-rev>input[type="radio"]:nth-of-type(3):checked ~ .carousel-contents>:nth-child(3),.carousel2[data-carousel-anim="slidein-right"].anim-rev>input[type="radio"]:nth-of-type(4):checked ~ .carousel-contents>:nth-child(4),.carousel2[data-carousel-anim="slidein-right"].anim-rev>input[type="radio"]:nth-of-type(5):checked ~ .carousel-contents>:nth-child(5),.carousel2[data-carousel-anim="slidein-right"].anim-rev>input[type="radio"]:nth-of-type(6):checked ~ .carousel-contents>:nth-child(6),.carousel2[data-carousel-anim="slidein-right"].anim-rev>input[type="radio"]:nth-of-type(7):checked ~ .carousel-contents>:nth-child(7),.carousel2[data-carousel-anim="slidein-right"].anim-rev>input[type="radio"]:nth-of-type(8):checked ~ .carousel-contents>:nth-child(8),.carousel2[data-carousel-anim="slidein-right"].anim-rev>input[type="radio"]:nth-of-type(9):checked ~ .carousel-contents>:nth-child(9),.carousel2[data-carousel-anim="slidein-right"].anim-rev>input[type="radio"]:nth-of-type(10):checked ~ .carousel-contents>:nth-child(10),.carousel2[data-carousel-anim="slidein-right"].anim-rev>input[type="radio"]:nth-of-type(11):checked ~ .carousel-contents>:nth-child(11),.carousel2[data-carousel-anim="slidein-right"].anim-rev>input[type="radio"]:nth-of-type(12):checked ~ .carousel-contents>:nth-child(12){animation:stay .5s ease-out;z-index:2}.carousel-template .carousel2[data-carousel-anim="slidein-right"].anim-rev>input[type="radio"]:nth-of-type(1).prev-checked ~ .carousel-contents>:nth-child(1){animation:slideout-left .5s ease-in;transform:translate(100%,0);z-index:3}.carousel2[data-carousel-anim="slidein-right"].anim-rev>input[type="radio"]:nth-of-type(1).prev-checked ~ .carousel-contents>:nth-child(1),.carousel2[data-carousel-anim="slidein-right"].anim-rev>input[type="radio"]:nth-of-type(2).prev-checked ~ .carousel-contents>:nth-child(2),.carousel2[data-carousel-anim="slidein-right"].anim-rev>input[type="radio"]:nth-of-type(3).prev-checked ~ .carousel-contents>:nth-child(3),.carousel2[data-carousel-anim="slidein-right"].anim-rev>input[type="radio"]:nth-of-type(4).prev-checked ~ .carousel-contents>:nth-child(4),.carousel2[data-carousel-anim="slidein-right"].anim-rev>input[type="radio"]:nth-of-type(5).prev-checked ~ .carousel-contents>:nth-child(5),.carousel2[data-carousel-anim="slidein-right"].anim-rev>input[type="radio"]:nth-of-type(6).prev-checked ~ .carousel-contents>:nth-child(6),.carousel2[data-carousel-anim="slidein-right"].anim-rev>input[type="radio"]:nth-of-type(7).prev-checked ~ .carousel-contents>:nth-child(7),.carousel2[data-carousel-anim="slidein-right"].anim-rev>input[type="radio"]:nth-of-type(8).prev-checked ~ .carousel-contents>:nth-child(8),.carousel2[data-carousel-anim="slidein-right"].anim-rev>input[type="radio"]:nth-of-type(9).prev-checked ~ .carousel-contents>:nth-child(9),.carousel2[data-carousel-anim="slidein-right"].anim-rev>input[type="radio"]:nth-of-type(10).prev-checked ~ .carousel-contents>:nth-child(10),.carousel2[data-carousel-anim="slidein-right"].anim-rev>input[type="radio"]:nth-of-type(11).prev-checked ~ .carousel-contents>:nth-child(11),.carousel2[data-carousel-anim="slidein-right"].anim-rev>input[type="radio"]:nth-of-type(12).prev-checked ~ .carousel-contents>:nth-child(12){animation:slideout-left .5s ease-in;transform:translate(100%,0);z-index:3}.carousel-template .carousel2[data-carousel-anim="slidein-down"]>input[type="radio"]:nth-of-type(1):checked ~ .carousel-contents>:nth-child(1){animation:slidein-down .5s ease-out;transform:translate(0,0);z-index:3}.carousel2[data-carousel-anim="slidein-down"]>input[type="radio"]:nth-of-type(1):checked ~ .carousel-contents>:nth-child(1),.carousel2[data-carousel-anim="slidein-down"]>input[type="radio"]:nth-of-type(2):checked ~ .carousel-contents>:nth-child(2),.carousel2[data-carousel-anim="slidein-down"]>input[type="radio"]:nth-of-type(3):checked ~ .carousel-contents>:nth-child(3),.carousel2[data-carousel-anim="slidein-down"]>input[type="radio"]:nth-of-type(4):checked ~ .carousel-contents>:nth-child(4),.carousel2[data-carousel-anim="slidein-down"]>input[type="radio"]:nth-of-type(5):checked ~ .carousel-contents>:nth-child(5),.carousel2[data-carousel-anim="slidein-down"]>input[type="radio"]:nth-of-type(6):checked ~ .carousel-contents>:nth-child(6),.carousel2[data-carousel-anim="slidein-down"]>input[type="radio"]:nth-of-type(7):checked ~ .carousel-contents>:nth-child(7),.carousel2[data-carousel-anim="slidein-down"]>input[type="radio"]:nth-of-type(8):checked ~ .carousel-contents>:nth-child(8),.carousel2[data-carousel-anim="slidein-down"]>input[type="radio"]:nth-of-type(9):checked ~ .carousel-contents>:nth-child(9),.carousel2[data-carousel-anim="slidein-down"]>input[type="radio"]:nth-of-type(10):checked ~ .carousel-contents>:nth-child(10),.carousel2[data-carousel-anim="slidein-down"]>input[type="radio"]:nth-of-type(11):checked ~ .carousel-contents>:nth-child(11),.carousel2[data-carousel-anim="slidein-down"]>input[type="radio"]:nth-of-type(12):checked ~ .carousel-contents>:nth-child(12){animation:slidein-down .5s ease-out;transform:translate(0,0);z-index:3}.carousel-template .carousel2[data-carousel-anim="slidein-down"]>input[type="radio"]:nth-of-type(1).prev-checked ~ .carousel-contents>:nth-child(1){animation:none;z-index:2}.carousel2[data-carousel-anim="slidein-down"]>input[type="radio"]:nth-of-type(1).prev-checked ~ .carousel-contents>:nth-child(1),.carousel2[data-carousel-anim="slidein-down"]>input[type="radio"]:nth-of-type(2).prev-checked ~ .carousel-contents>:nth-child(2),.carousel2[data-carousel-anim="slidein-down"]>input[type="radio"]:nth-of-type(3).prev-checked ~ .carousel-contents>:nth-child(3),.carousel2[data-carousel-anim="slidein-down"]>input[type="radio"]:nth-of-type(4).prev-checked ~ .carousel-contents>:nth-child(4),.carousel2[data-carousel-anim="slidein-down"]>input[type="radio"]:nth-of-type(5).prev-checked ~ .carousel-contents>:nth-child(5),.carousel2[data-carousel-anim="slidein-down"]>input[type="radio"]:nth-of-type(6).prev-checked ~ .carousel-contents>:nth-child(6),.carousel2[data-carousel-anim="slidein-down"]>input[type="radio"]:nth-of-type(7).prev-checked ~ .carousel-contents>:nth-child(7),.carousel2[data-carousel-anim="slidein-down"]>input[type="radio"]:nth-of-type(8).prev-checked ~ .carousel-contents>:nth-child(8),.carousel2[data-carousel-anim="slidein-down"]>input[type="radio"]:nth-of-type(9).prev-checked ~ .carousel-contents>:nth-child(9),.carousel2[data-carousel-anim="slidein-down"]>input[type="radio"]:nth-of-type(10).prev-checked ~ .carousel-contents>:nth-child(10),.carousel2[data-carousel-anim="slidein-down"]>input[type="radio"]:nth-of-type(11).prev-checked ~ .carousel-contents>:nth-child(11),.carousel2[data-carousel-anim="slidein-down"]>input[type="radio"]:nth-of-type(12).prev-checked ~ .carousel-contents>:nth-child(12){animation:none;z-index:2}.carousel-template .carousel2[data-carousel-anim="slidein-down"].anim-rev>input[type="radio"]:nth-of-type(1):checked ~ .carousel-contents>:nth-child(1){animation:none;z-index:2}.carousel2[data-carousel-anim="slidein-down"].anim-rev>input[type="radio"]:nth-of-type(1):checked ~ .carousel-contents>:nth-child(1),.carousel2[data-carousel-anim="slidein-down"].anim-rev>input[type="radio"]:nth-of-type(2):checked ~ .carousel-contents>:nth-child(2),.carousel2[data-carousel-anim="slidein-down"].anim-rev>input[type="radio"]:nth-of-type(3):checked ~ .carousel-contents>:nth-child(3),.carousel2[data-carousel-anim="slidein-down"].anim-rev>input[type="radio"]:nth-of-type(4):checked ~ .carousel-contents>:nth-child(4),.carousel2[data-carousel-anim="slidein-down"].anim-rev>input[type="radio"]:nth-of-type(5):checked ~ .carousel-contents>:nth-child(5),.carousel2[data-carousel-anim="slidein-down"].anim-rev>input[type="radio"]:nth-of-type(6):checked ~ .carousel-contents>:nth-child(6),.carousel2[data-carousel-anim="slidein-down"].anim-rev>input[type="radio"]:nth-of-type(7):checked ~ .carousel-contents>:nth-child(7),.carousel2[data-carousel-anim="slidein-down"].anim-rev>input[type="radio"]:nth-of-type(8):checked ~ .carousel-contents>:nth-child(8),.carousel2[data-carousel-anim="slidein-down"].anim-rev>input[type="radio"]:nth-of-type(9):checked ~ .carousel-contents>:nth-child(9),.carousel2[data-carousel-anim="slidein-down"].anim-rev>input[type="radio"]:nth-of-type(10):checked ~ .carousel-contents>:nth-child(10),.carousel2[data-carousel-anim="slidein-down"].anim-rev>input[type="radio"]:nth-of-type(11):checked ~ .carousel-contents>:nth-child(11),.carousel2[data-carousel-anim="slidein-down"].anim-rev>input[type="radio"]:nth-of-type(12):checked ~ .carousel-contents>:nth-child(12){animation:none;z-index:2}.carousel-template .carousel2[data-carousel-anim="slidein-down"].anim-rev>input[type="radio"]:nth-of-type(1).prev-checked ~ .carousel-contents>:nth-child(1){animation:slideout-up .5s ease-out;transform:translate(0,-100%);z-index:3}.carousel2[data-carousel-anim="slidein-down"].anim-rev>input[type="radio"]:nth-of-type(1).prev-checked ~ .carousel-contents>:nth-child(1),.carousel2[data-carousel-anim="slidein-down"].anim-rev>input[type="radio"]:nth-of-type(2).prev-checked ~ .carousel-contents>:nth-child(2),.carousel2[data-carousel-anim="slidein-down"].anim-rev>input[type="radio"]:nth-of-type(3).prev-checked ~ .carousel-contents>:nth-child(3),.carousel2[data-carousel-anim="slidein-down"].anim-rev>input[type="radio"]:nth-of-type(4).prev-checked ~ .carousel-contents>:nth-child(4),.carousel2[data-carousel-anim="slidein-down"].anim-rev>input[type="radio"]:nth-of-type(5).prev-checked ~ .carousel-contents>:nth-child(5),.carousel2[data-carousel-anim="slidein-down"].anim-rev>input[type="radio"]:nth-of-type(6).prev-checked ~ .carousel-contents>:nth-child(6),.carousel2[data-carousel-anim="slidein-down"].anim-rev>input[type="radio"]:nth-of-type(7).prev-checked ~ .carousel-contents>:nth-child(7),.carousel2[data-carousel-anim="slidein-down"].anim-rev>input[type="radio"]:nth-of-type(8).prev-checked ~ .carousel-contents>:nth-child(8),.carousel2[data-carousel-anim="slidein-down"].anim-rev>input[type="radio"]:nth-of-type(9).prev-checked ~ .carousel-contents>:nth-child(9),.carousel2[data-carousel-anim="slidein-down"].anim-rev>input[type="radio"]:nth-of-type(10).prev-checked ~ .carousel-contents>:nth-child(10),.carousel2[data-carousel-anim="slidein-down"].anim-rev>input[type="radio"]:nth-of-type(11).prev-checked ~ .carousel-contents>:nth-child(11),.carousel2[data-carousel-anim="slidein-down"].anim-rev>input[type="radio"]:nth-of-type(12).prev-checked ~ .carousel-contents>:nth-child(12){animation:slideout-up .5s ease-out;transform:translate(0,-100%);z-index:3}.carousel-template .carousel2[data-carousel-anim="slidein-up"]>input[type="radio"]:nth-of-type(1):checked ~ .carousel-contents>:nth-child(1){animation:slidein-up .5s ease-out;transform:translate(0,0);z-index:3}.carousel2[data-carousel-anim="slidein-up"]>input[type="radio"]:nth-of-type(1):checked ~ .carousel-contents>:nth-child(1),.carousel2[data-carousel-anim="slidein-up"]>input[type="radio"]:nth-of-type(2):checked ~ .carousel-contents>:nth-child(2),.carousel2[data-carousel-anim="slidein-up"]>input[type="radio"]:nth-of-type(3):checked ~ .carousel-contents>:nth-child(3),.carousel2[data-carousel-anim="slidein-up"]>input[type="radio"]:nth-of-type(4):checked ~ .carousel-contents>:nth-child(4),.carousel2[data-carousel-anim="slidein-up"]>input[type="radio"]:nth-of-type(5):checked ~ .carousel-contents>:nth-child(5),.carousel2[data-carousel-anim="slidein-up"]>input[type="radio"]:nth-of-type(6):checked ~ .carousel-contents>:nth-child(6),.carousel2[data-carousel-anim="slidein-up"]>input[type="radio"]:nth-of-type(7):checked ~ .carousel-contents>:nth-child(7),.carousel2[data-carousel-anim="slidein-up"]>input[type="radio"]:nth-of-type(8):checked ~ .carousel-contents>:nth-child(8),.carousel2[data-carousel-anim="slidein-up"]>input[type="radio"]:nth-of-type(9):checked ~ .carousel-contents>:nth-child(9),.carousel2[data-carousel-anim="slidein-up"]>input[type="radio"]:nth-of-type(10):checked ~ .carousel-contents>:nth-child(10),.carousel2[data-carousel-anim="slidein-up"]>input[type="radio"]:nth-of-type(11):checked ~ .carousel-contents>:nth-child(11),.carousel2[data-carousel-anim="slidein-up"]>input[type="radio"]:nth-of-type(12):checked ~ .carousel-contents>:nth-child(12){animation:slidein-up .5s ease-out;transform:translate(0,0);z-index:3}.carousel-template .carousel2[data-carousel-anim="slidein-up"]>input[type="radio"]:nth-of-type(1).prev-checked ~ .carousel-contents>:nth-child(1){animation:none;z-index:2}.carousel2[data-carousel-anim="slidein-up"]>input[type="radio"]:nth-of-type(1).prev-checked ~ .carousel-contents>:nth-child(1),.carousel2[data-carousel-anim="slidein-up"]>input[type="radio"]:nth-of-type(2).prev-checked ~ .carousel-contents>:nth-child(2),.carousel2[data-carousel-anim="slidein-up"]>input[type="radio"]:nth-of-type(3).prev-checked ~ .carousel-contents>:nth-child(3),.carousel2[data-carousel-anim="slidein-up"]>input[type="radio"]:nth-of-type(4).prev-checked ~ .carousel-contents>:nth-child(4),.carousel2[data-carousel-anim="slidein-up"]>input[type="radio"]:nth-of-type(5).prev-checked ~ .carousel-contents>:nth-child(5),.carousel2[data-carousel-anim="slidein-up"]>input[type="radio"]:nth-of-type(6).prev-checked ~ .carousel-contents>:nth-child(6),.carousel2[data-carousel-anim="slidein-up"]>input[type="radio"]:nth-of-type(7).prev-checked ~ .carousel-contents>:nth-child(7),.carousel2[data-carousel-anim="slidein-up"]>input[type="radio"]:nth-of-type(8).prev-checked ~ .carousel-contents>:nth-child(8),.carousel2[data-carousel-anim="slidein-up"]>input[type="radio"]:nth-of-type(9).prev-checked ~ .carousel-contents>:nth-child(9),.carousel2[data-carousel-anim="slidein-up"]>input[type="radio"]:nth-of-type(10).prev-checked ~ .carousel-contents>:nth-child(10),.carousel2[data-carousel-anim="slidein-up"]>input[type="radio"]:nth-of-type(11).prev-checked ~ .carousel-contents>:nth-child(11),.carousel2[data-carousel-anim="slidein-up"]>input[type="radio"]:nth-of-type(12).prev-checked ~ .carousel-contents>:nth-child(12){animation:none;z-index:2}.carousel-template .carousel2[data-carousel-anim="slidein-up"].anim-rev>input[type="radio"]:nth-of-type(1):checked ~ .carousel-contents>:nth-child(1){animation:none;z-index:2}.carousel2[data-carousel-anim="slidein-up"].anim-rev>input[type="radio"]:nth-of-type(1):checked ~ .carousel-contents>:nth-child(1),.carousel2[data-carousel-anim="slidein-up"].anim-rev>input[type="radio"]:nth-of-type(2):checked ~ .carousel-contents>:nth-child(2),.carousel2[data-carousel-anim="slidein-up"].anim-rev>input[type="radio"]:nth-of-type(3):checked ~ .carousel-contents>:nth-child(3),.carousel2[data-carousel-anim="slidein-up"].anim-rev>input[type="radio"]:nth-of-type(4):checked ~ .carousel-contents>:nth-child(4),.carousel2[data-carousel-anim="slidein-up"].anim-rev>input[type="radio"]:nth-of-type(5):checked ~ .carousel-contents>:nth-child(5),.carousel2[data-carousel-anim="slidein-up"].anim-rev>input[type="radio"]:nth-of-type(6):checked ~ .carousel-contents>:nth-child(6),.carousel2[data-carousel-anim="slidein-up"].anim-rev>input[type="radio"]:nth-of-type(7):checked ~ .carousel-contents>:nth-child(7),.carousel2[data-carousel-anim="slidein-up"].anim-rev>input[type="radio"]:nth-of-type(8):checked ~ .carousel-contents>:nth-child(8),.carousel2[data-carousel-anim="slidein-up"].anim-rev>input[type="radio"]:nth-of-type(9):checked ~ .carousel-contents>:nth-child(9),.carousel2[data-carousel-anim="slidein-up"].anim-rev>input[type="radio"]:nth-of-type(10):checked ~ .carousel-contents>:nth-child(10),.carousel2[data-carousel-anim="slidein-up"].anim-rev>input[type="radio"]:nth-of-type(11):checked ~ .carousel-contents>:nth-child(11),.carousel2[data-carousel-anim="slidein-up"].anim-rev>input[type="radio"]:nth-of-type(12):checked ~ .carousel-contents>:nth-child(12){animation:none;z-index:2}.carousel-template .carousel2[data-carousel-anim="slidein-up"].anim-rev>input[type="radio"]:nth-of-type(1).prev-checked ~ .carousel-contents>:nth-child(1){animation:slideout-down .5s ease-out;transform:translate(0,100%);z-index:3}.carousel2[data-carousel-anim="slidein-up"].anim-rev>input[type="radio"]:nth-of-type(1).prev-checked ~ .carousel-contents>:nth-child(1),.carousel2[data-carousel-anim="slidein-up"].anim-rev>input[type="radio"]:nth-of-type(2).prev-checked ~ .carousel-contents>:nth-child(2),.carousel2[data-carousel-anim="slidein-up"].anim-rev>input[type="radio"]:nth-of-type(3).prev-checked ~ .carousel-contents>:nth-child(3),.carousel2[data-carousel-anim="slidein-up"].anim-rev>input[type="radio"]:nth-of-type(4).prev-checked ~ .carousel-contents>:nth-child(4),.carousel2[data-carousel-anim="slidein-up"].anim-rev>input[type="radio"]:nth-of-type(5).prev-checked ~ .carousel-contents>:nth-child(5),.carousel2[data-carousel-anim="slidein-up"].anim-rev>input[type="radio"]:nth-of-type(6).prev-checked ~ .carousel-contents>:nth-child(6),.carousel2[data-carousel-anim="slidein-up"].anim-rev>input[type="radio"]:nth-of-type(7).prev-checked ~ .carousel-contents>:nth-child(7),.carousel2[data-carousel-anim="slidein-up"].anim-rev>input[type="radio"]:nth-of-type(8).prev-checked ~ .carousel-contents>:nth-child(8),.carousel2[data-carousel-anim="slidein-up"].anim-rev>input[type="radio"]:nth-of-type(9).prev-checked ~ .carousel-contents>:nth-child(9),.carousel2[data-carousel-anim="slidein-up"].anim-rev>input[type="radio"]:nth-of-type(10).prev-checked ~ .carousel-contents>:nth-child(10),.carousel2[data-carousel-anim="slidein-up"].anim-rev>input[type="radio"]:nth-of-type(11).prev-checked ~ .carousel-contents>:nth-child(11),.carousel2[data-carousel-anim="slidein-up"].anim-rev>input[type="radio"]:nth-of-type(12).prev-checked ~ .carousel-contents>:nth-child(12){animation:slideout-down .5s ease-out;transform:translate(0,100%);z-index:3}.carousel2[data-carousel-anim^="roll-"]>.carousel-contents>.carousel-content{visibility:hidden}.carousel-template .carousel2[data-carousel-anim="roll-horiz"]>input[type="radio"]:nth-of-type(1):checked ~ .carousel-contents>:nth-child(1){animation:slidein-left .5s ease-out;transform:translate(0,0);visibility:visible}.carousel2[data-carousel-anim="roll-horiz"]>input[type="radio"]:nth-of-type(1):checked ~ .carousel-contents>:nth-child(1),.carousel2[data-carousel-anim="roll-horiz"]>input[type="radio"]:nth-of-type(2):checked ~ .carousel-contents>:nth-child(2),.carousel2[data-carousel-anim="roll-horiz"]>input[type="radio"]:nth-of-type(3):checked ~ .carousel-contents>:nth-child(3),.carousel2[data-carousel-anim="roll-horiz"]>input[type="radio"]:nth-of-type(4):checked ~ .carousel-contents>:nth-child(4),.carousel2[data-carousel-anim="roll-horiz"]>input[type="radio"]:nth-of-type(5):checked ~ .carousel-contents>:nth-child(5),.carousel2[data-carousel-anim="roll-horiz"]>input[type="radio"]:nth-of-type(6):checked ~ .carousel-contents>:nth-child(6),.carousel2[data-carousel-anim="roll-horiz"]>input[type="radio"]:nth-of-type(7):checked ~ .carousel-contents>:nth-child(7),.carousel2[data-carousel-anim="roll-horiz"]>input[type="radio"]:nth-of-type(8):checked ~ .carousel-contents>:nth-child(8),.carousel2[data-carousel-anim="roll-horiz"]>input[type="radio"]:nth-of-type(9):checked ~ .carousel-contents>:nth-child(9),.carousel2[data-carousel-anim="roll-horiz"]>input[type="radio"]:nth-of-type(10):checked ~ .carousel-contents>:nth-child(10),.carousel2[data-carousel-anim="roll-horiz"]>input[type="radio"]:nth-of-type(11):checked ~ .carousel-contents>:nth-child(11),.carousel2[data-carousel-anim="roll-horiz"]>input[type="radio"]:nth-of-type(12):checked ~ .carousel-contents>:nth-child(12){animation:slidein-left .5s ease-out;transform:translate(0,0);visibility:visible}.carousel-template .carousel2[data-carousel-anim="roll-horiz"]>input[type="radio"]:nth-of-type(1).prev-checked ~ .carousel-contents>:nth-child(1){animation:slideout-left .5s ease-out;transform:translate(-100%,0);visibility:visible}.carousel2[data-carousel-anim="roll-horiz"]>input[type="radio"]:nth-of-type(1).prev-checked ~ .carousel-contents>:nth-child(1),.carousel2[data-carousel-anim="roll-horiz"]>input[type="radio"]:nth-of-type(2).prev-checked ~ .carousel-contents>:nth-child(2),.carousel2[data-carousel-anim="roll-horiz"]>input[type="radio"]:nth-of-type(3).prev-checked ~ .carousel-contents>:nth-child(3),.carousel2[data-carousel-anim="roll-horiz"]>input[type="radio"]:nth-of-type(4).prev-checked ~ .carousel-contents>:nth-child(4),.carousel2[data-carousel-anim="roll-horiz"]>input[type="radio"]:nth-of-type(5).prev-checked ~ .carousel-contents>:nth-child(5),.carousel2[data-carousel-anim="roll-horiz"]>input[type="radio"]:nth-of-type(6).prev-checked ~ .carousel-contents>:nth-child(6),.carousel2[data-carousel-anim="roll-horiz"]>input[type="radio"]:nth-of-type(7).prev-checked ~ .carousel-contents>:nth-child(7),.carousel2[data-carousel-anim="roll-horiz"]>input[type="radio"]:nth-of-type(8).prev-checked ~ .carousel-contents>:nth-child(8),.carousel2[data-carousel-anim="roll-horiz"]>input[type="radio"]:nth-of-type(9).prev-checked ~ .carousel-contents>:nth-child(9),.carousel2[data-carousel-anim="roll-horiz"]>input[type="radio"]:nth-of-type(10).prev-checked ~ .carousel-contents>:nth-child(10),.carousel2[data-carousel-anim="roll-horiz"]>input[type="radio"]:nth-of-type(11).prev-checked ~ .carousel-contents>:nth-child(11),.carousel2[data-carousel-anim="roll-horiz"]>input[type="radio"]:nth-of-type(12).prev-checked ~ .carousel-contents>:nth-child(12){animation:slideout-left .5s ease-out;transform:translate(-100%,0);visibility:visible}.carousel-template .carousel2[data-carousel-anim="roll-horiz"].anim-rev>input[type="radio"]:nth-of-type(1):checked ~ .carousel-contents>:nth-child(1){animation:slidein-right .5s ease-out;transform:translate(0,0);visibility:visible}.carousel2[data-carousel-anim="roll-horiz"].anim-rev>input[type="radio"]:nth-of-type(1):checked ~ .carousel-contents>:nth-child(1),.carousel2[data-carousel-anim="roll-horiz"].anim-rev>input[type="radio"]:nth-of-type(2):checked ~ .carousel-contents>:nth-child(2),.carousel2[data-carousel-anim="roll-horiz"].anim-rev>input[type="radio"]:nth-of-type(3):checked ~ .carousel-contents>:nth-child(3),.carousel2[data-carousel-anim="roll-horiz"].anim-rev>input[type="radio"]:nth-of-type(4):checked ~ .carousel-contents>:nth-child(4),.carousel2[data-carousel-anim="roll-horiz"].anim-rev>input[type="radio"]:nth-of-type(5):checked ~ .carousel-contents>:nth-child(5),.carousel2[data-carousel-anim="roll-horiz"].anim-rev>input[type="radio"]:nth-of-type(6):checked ~ .carousel-contents>:nth-child(6),.carousel2[data-carousel-anim="roll-horiz"].anim-rev>input[type="radio"]:nth-of-type(7):checked ~ .carousel-contents>:nth-child(7),.carousel2[data-carousel-anim="roll-horiz"].anim-rev>input[type="radio"]:nth-of-type(8):checked ~ .carousel-contents>:nth-child(8),.carousel2[data-carousel-anim="roll-horiz"].anim-rev>input[type="radio"]:nth-of-type(9):checked ~ .carousel-contents>:nth-child(9),.carousel2[data-carousel-anim="roll-horiz"].anim-rev>input[type="radio"]:nth-of-type(10):checked ~ .carousel-contents>:nth-child(10),.carousel2[data-carousel-anim="roll-horiz"].anim-rev>input[type="radio"]:nth-of-type(11):checked ~ .carousel-contents>:nth-child(11),.carousel2[data-carousel-anim="roll-horiz"].anim-rev>input[type="radio"]:nth-of-type(12):checked ~ .carousel-contents>:nth-child(12){animation:slidein-right .5s ease-out;transform:translate(0,0);visibility:visible}.carousel-template .carousel2[data-carousel-anim="roll-horiz"].anim-rev>input[type="radio"]:nth-of-type(1).prev-checked ~ .carousel-contents>:nth-child(1){animation:slideout-right .5s ease-out;transform:translate(100%,0);visibility:visible}.carousel2[data-carousel-anim="roll-horiz"].anim-rev>input[type="radio"]:nth-of-type(1).prev-checked ~ .carousel-contents>:nth-child(1),.carousel2[data-carousel-anim="roll-horiz"].anim-rev>input[type="radio"]:nth-of-type(2).prev-checked ~ .carousel-contents>:nth-child(2),.carousel2[data-carousel-anim="roll-horiz"].anim-rev>input[type="radio"]:nth-of-type(3).prev-checked ~ .carousel-contents>:nth-child(3),.carousel2[data-carousel-anim="roll-horiz"].anim-rev>input[type="radio"]:nth-of-type(4).prev-checked ~ .carousel-contents>:nth-child(4),.carousel2[data-carousel-anim="roll-horiz"].anim-rev>input[type="radio"]:nth-of-type(5).prev-checked ~ .carousel-contents>:nth-child(5),.carousel2[data-carousel-anim="roll-horiz"].anim-rev>input[type="radio"]:nth-of-type(6).prev-checked ~ .carousel-contents>:nth-child(6),.carousel2[data-carousel-anim="roll-horiz"].anim-rev>input[type="radio"]:nth-of-type(7).prev-checked ~ .carousel-contents>:nth-child(7),.carousel2[data-carousel-anim="roll-horiz"].anim-rev>input[type="radio"]:nth-of-type(8).prev-checked ~ .carousel-contents>:nth-child(8),.carousel2[data-carousel-anim="roll-horiz"].anim-rev>input[type="radio"]:nth-of-type(9).prev-checked ~ .carousel-contents>:nth-child(9),.carousel2[data-carousel-anim="roll-horiz"].anim-rev>input[type="radio"]:nth-of-type(10).prev-checked ~ .carousel-contents>:nth-child(10),.carousel2[data-carousel-anim="roll-horiz"].anim-rev>input[type="radio"]:nth-of-type(11).prev-checked ~ .carousel-contents>:nth-child(11),.carousel2[data-carousel-anim="roll-horiz"].anim-rev>input[type="radio"]:nth-of-type(12).prev-checked ~ .carousel-contents>:nth-child(12){animation:slideout-right .5s ease-out;transform:translate(100%,0);visibility:visible}.carousel-template .carousel2[data-carousel-anim="roll-up"]>input[type="radio"]:nth-of-type(1):checked ~ .carousel-contents>:nth-child(1){animation:slidein-up .5s ease-out;transform:translate(0,0);visibility:visible}.carousel2[data-carousel-anim="roll-up"]>input[type="radio"]:nth-of-type(1):checked ~ .carousel-contents>:nth-child(1),.carousel2[data-carousel-anim="roll-up"]>input[type="radio"]:nth-of-type(2):checked ~ .carousel-contents>:nth-child(2),.carousel2[data-carousel-anim="roll-up"]>input[type="radio"]:nth-of-type(3):checked ~ .carousel-contents>:nth-child(3),.carousel2[data-carousel-anim="roll-up"]>input[type="radio"]:nth-of-type(4):checked ~ .carousel-contents>:nth-child(4),.carousel2[data-carousel-anim="roll-up"]>input[type="radio"]:nth-of-type(5):checked ~ .carousel-contents>:nth-child(5),.carousel2[data-carousel-anim="roll-up"]>input[type="radio"]:nth-of-type(6):checked ~ .carousel-contents>:nth-child(6),.carousel2[data-carousel-anim="roll-up"]>input[type="radio"]:nth-of-type(7):checked ~ .carousel-contents>:nth-child(7),.carousel2[data-carousel-anim="roll-up"]>input[type="radio"]:nth-of-type(8):checked ~ .carousel-contents>:nth-child(8),.carousel2[data-carousel-anim="roll-up"]>input[type="radio"]:nth-of-type(9):checked ~ .carousel-contents>:nth-child(9),.carousel2[data-carousel-anim="roll-up"]>input[type="radio"]:nth-of-type(10):checked ~ .carousel-contents>:nth-child(10),.carousel2[data-carousel-anim="roll-up"]>input[type="radio"]:nth-of-type(11):checked ~ .carousel-contents>:nth-child(11),.carousel2[data-carousel-anim="roll-up"]>input[type="radio"]:nth-of-type(12):checked ~ .carousel-contents>:nth-child(12){animation:slidein-up .5s ease-out;transform:translate(0,0);visibility:visible}.carousel-template .carousel2[data-carousel-anim="roll-up"]>input[type="radio"]:nth-of-type(1).prev-checked ~ .carousel-contents>:nth-child(1){animation:slideout-up .5s ease-out;transform:translate(-100%,0);visibility:visible}.carousel2[data-carousel-anim="roll-up"]>input[type="radio"]:nth-of-type(1).prev-checked ~ .carousel-contents>:nth-child(1),.carousel2[data-carousel-anim="roll-up"]>input[type="radio"]:nth-of-type(2).prev-checked ~ .carousel-contents>:nth-child(2),.carousel2[data-carousel-anim="roll-up"]>input[type="radio"]:nth-of-type(3).prev-checked ~ .carousel-contents>:nth-child(3),.carousel2[data-carousel-anim="roll-up"]>input[type="radio"]:nth-of-type(4).prev-checked ~ .carousel-contents>:nth-child(4),.carousel2[data-carousel-anim="roll-up"]>input[type="radio"]:nth-of-type(5).prev-checked ~ .carousel-contents>:nth-child(5),.carousel2[data-carousel-anim="roll-up"]>input[type="radio"]:nth-of-type(6).prev-checked ~ .carousel-contents>:nth-child(6),.carousel2[data-carousel-anim="roll-up"]>input[type="radio"]:nth-of-type(7).prev-checked ~ .carousel-contents>:nth-child(7),.carousel2[data-carousel-anim="roll-up"]>input[type="radio"]:nth-of-type(8).prev-checked ~ .carousel-contents>:nth-child(8),.carousel2[data-carousel-anim="roll-up"]>input[type="radio"]:nth-of-type(9).prev-checked ~ .carousel-contents>:nth-child(9),.carousel2[data-carousel-anim="roll-up"]>input[type="radio"]:nth-of-type(10).prev-checked ~ .carousel-contents>:nth-child(10),.carousel2[data-carousel-anim="roll-up"]>input[type="radio"]:nth-of-type(11).prev-checked ~ .carousel-contents>:nth-child(11),.carousel2[data-carousel-anim="roll-up"]>input[type="radio"]:nth-of-type(12).prev-checked ~ .carousel-contents>:nth-child(12){animation:slideout-up .5s ease-out;transform:translate(-100%,0);visibility:visible}.carousel-template .carousel2[data-carousel-anim="roll-up"].anim-rev>input[type="radio"]:nth-of-type(1):checked ~ .carousel-contents>:nth-child(1){animation:slidein-down .5s ease-out;transform:translate(0,0);visibility:visible}.carousel2[data-carousel-anim="roll-up"].anim-rev>input[type="radio"]:nth-of-type(1):checked ~ .carousel-contents>:nth-child(1),.carousel2[data-carousel-anim="roll-up"].anim-rev>input[type="radio"]:nth-of-type(2):checked ~ .carousel-contents>:nth-child(2),.carousel2[data-carousel-anim="roll-up"].anim-rev>input[type="radio"]:nth-of-type(3):checked ~ .carousel-contents>:nth-child(3),.carousel2[data-carousel-anim="roll-up"].anim-rev>input[type="radio"]:nth-of-type(4):checked ~ .carousel-contents>:nth-child(4),.carousel2[data-carousel-anim="roll-up"].anim-rev>input[type="radio"]:nth-of-type(5):checked ~ .carousel-contents>:nth-child(5),.carousel2[data-carousel-anim="roll-up"].anim-rev>input[type="radio"]:nth-of-type(6):checked ~ .carousel-contents>:nth-child(6),.carousel2[data-carousel-anim="roll-up"].anim-rev>input[type="radio"]:nth-of-type(7):checked ~ .carousel-contents>:nth-child(7),.carousel2[data-carousel-anim="roll-up"].anim-rev>input[type="radio"]:nth-of-type(8):checked ~ .carousel-contents>:nth-child(8),.carousel2[data-carousel-anim="roll-up"].anim-rev>input[type="radio"]:nth-of-type(9):checked ~ .carousel-contents>:nth-child(9),.carousel2[data-carousel-anim="roll-up"].anim-rev>input[type="radio"]:nth-of-type(10):checked ~ .carousel-contents>:nth-child(10),.carousel2[data-carousel-anim="roll-up"].anim-rev>input[type="radio"]:nth-of-type(11):checked ~ .carousel-contents>:nth-child(11),.carousel2[data-carousel-anim="roll-up"].anim-rev>input[type="radio"]:nth-of-type(12):checked ~ .carousel-contents>:nth-child(12){animation:slidein-down .5s ease-out;transform:translate(0,0);visibility:visible}.carousel-template .carousel2[data-carousel-anim="roll-up"].anim-rev>input[type="radio"]:nth-of-type(1).prev-checked ~ .carousel-contents>:nth-child(1){animation:slideout-down .5s ease-out;transform:translate(100%,0);visibility:visible}.carousel2[data-carousel-anim="roll-up"].anim-rev>input[type="radio"]:nth-of-type(1).prev-checked ~ .carousel-contents>:nth-child(1),.carousel2[data-carousel-anim="roll-up"].anim-rev>input[type="radio"]:nth-of-type(2).prev-checked ~ .carousel-contents>:nth-child(2),.carousel2[data-carousel-anim="roll-up"].anim-rev>input[type="radio"]:nth-of-type(3).prev-checked ~ .carousel-contents>:nth-child(3),.carousel2[data-carousel-anim="roll-up"].anim-rev>input[type="radio"]:nth-of-type(4).prev-checked ~ .carousel-contents>:nth-child(4),.carousel2[data-carousel-anim="roll-up"].anim-rev>input[type="radio"]:nth-of-type(5).prev-checked ~ .carousel-contents>:nth-child(5),.carousel2[data-carousel-anim="roll-up"].anim-rev>input[type="radio"]:nth-of-type(6).prev-checked ~ .carousel-contents>:nth-child(6),.carousel2[data-carousel-anim="roll-up"].anim-rev>input[type="radio"]:nth-of-type(7).prev-checked ~ .carousel-contents>:nth-child(7),.carousel2[data-carousel-anim="roll-up"].anim-rev>input[type="radio"]:nth-of-type(8).prev-checked ~ .carousel-contents>:nth-child(8),.carousel2[data-carousel-anim="roll-up"].anim-rev>input[type="radio"]:nth-of-type(9).prev-checked ~ .carousel-contents>:nth-child(9),.carousel2[data-carousel-anim="roll-up"].anim-rev>input[type="radio"]:nth-of-type(10).prev-checked ~ .carousel-contents>:nth-child(10),.carousel2[data-carousel-anim="roll-up"].anim-rev>input[type="radio"]:nth-of-type(11).prev-checked ~ .carousel-contents>:nth-child(11),.carousel2[data-carousel-anim="roll-up"].anim-rev>input[type="radio"]:nth-of-type(12).prev-checked ~ .carousel-contents>:nth-child(12){animation:slideout-down .5s ease-out;transform:translate(100%,0);visibility:visible}.carousel-template .carousel2[data-carousel-anim="roll-down"]>input[type="radio"]:nth-of-type(1):checked ~ .carousel-contents>:nth-child(1){animation:slidein-down .5s ease-out;transform:translate(0,0);visibility:visible}.carousel2[data-carousel-anim="roll-down"]>input[type="radio"]:nth-of-type(1):checked ~ .carousel-contents>:nth-child(1),.carousel2[data-carousel-anim="roll-down"]>input[type="radio"]:nth-of-type(2):checked ~ .carousel-contents>:nth-child(2),.carousel2[data-carousel-anim="roll-down"]>input[type="radio"]:nth-of-type(3):checked ~ .carousel-contents>:nth-child(3),.carousel2[data-carousel-anim="roll-down"]>input[type="radio"]:nth-of-type(4):checked ~ .carousel-contents>:nth-child(4),.carousel2[data-carousel-anim="roll-down"]>input[type="radio"]:nth-of-type(5):checked ~ .carousel-contents>:nth-child(5),.carousel2[data-carousel-anim="roll-down"]>input[type="radio"]:nth-of-type(6):checked ~ .carousel-contents>:nth-child(6),.carousel2[data-carousel-anim="roll-down"]>input[type="radio"]:nth-of-type(7):checked ~ .carousel-contents>:nth-child(7),.carousel2[data-carousel-anim="roll-down"]>input[type="radio"]:nth-of-type(8):checked ~ .carousel-contents>:nth-child(8),.carousel2[data-carousel-anim="roll-down"]>input[type="radio"]:nth-of-type(9):checked ~ .carousel-contents>:nth-child(9),.carousel2[data-carousel-anim="roll-down"]>input[type="radio"]:nth-of-type(10):checked ~ .carousel-contents>:nth-child(10),.carousel2[data-carousel-anim="roll-down"]>input[type="radio"]:nth-of-type(11):checked ~ .carousel-contents>:nth-child(11),.carousel2[data-carousel-anim="roll-down"]>input[type="radio"]:nth-of-type(12):checked ~ .carousel-contents>:nth-child(12){animation:slidein-down .5s ease-out;transform:translate(0,0);visibility:visible}.carousel-template .carousel2[data-carousel-anim="roll-down"]>input[type="radio"]:nth-of-type(1).prev-checked ~ .carousel-contents>:nth-child(1){animation:slideout-down .5s ease-out;transform:translate(-100%,0);visibility:visible}.carousel2[data-carousel-anim="roll-down"]>input[type="radio"]:nth-of-type(1).prev-checked ~ .carousel-contents>:nth-child(1),.carousel2[data-carousel-anim="roll-down"]>input[type="radio"]:nth-of-type(2).prev-checked ~ .carousel-contents>:nth-child(2),.carousel2[data-carousel-anim="roll-down"]>input[type="radio"]:nth-of-type(3).prev-checked ~ .carousel-contents>:nth-child(3),.carousel2[data-carousel-anim="roll-down"]>input[type="radio"]:nth-of-type(4).prev-checked ~ .carousel-contents>:nth-child(4),.carousel2[data-carousel-anim="roll-down"]>input[type="radio"]:nth-of-type(5).prev-checked ~ .carousel-contents>:nth-child(5),.carousel2[data-carousel-anim="roll-down"]>input[type="radio"]:nth-of-type(6).prev-checked ~ .carousel-contents>:nth-child(6),.carousel2[data-carousel-anim="roll-down"]>input[type="radio"]:nth-of-type(7).prev-checked ~ .carousel-contents>:nth-child(7),.carousel2[data-carousel-anim="roll-down"]>input[type="radio"]:nth-of-type(8).prev-checked ~ .carousel-contents>:nth-child(8),.carousel2[data-carousel-anim="roll-down"]>input[type="radio"]:nth-of-type(9).prev-checked ~ .carousel-contents>:nth-child(9),.carousel2[data-carousel-anim="roll-down"]>input[type="radio"]:nth-of-type(10).prev-checked ~ .carousel-contents>:nth-child(10),.carousel2[data-carousel-anim="roll-down"]>input[type="radio"]:nth-of-type(11).prev-checked ~ .carousel-contents>:nth-child(11),.carousel2[data-carousel-anim="roll-down"]>input[type="radio"]:nth-of-type(12).prev-checked ~ .carousel-contents>:nth-child(12){animation:slideout-down .5s ease-out;transform:translate(-100%,0);visibility:visible}.carousel-template .carousel2[data-carousel-anim="roll-down"].anim-rev>input[type="radio"]:nth-of-type(1):checked ~ .carousel-contents>:nth-child(1){animation:slidein-up .5s ease-out;transform:translate(0,0);visibility:visible}.carousel2[data-carousel-anim="roll-down"].anim-rev>input[type="radio"]:nth-of-type(1):checked ~ .carousel-contents>:nth-child(1),.carousel2[data-carousel-anim="roll-down"].anim-rev>input[type="radio"]:nth-of-type(2):checked ~ .carousel-contents>:nth-child(2),.carousel2[data-carousel-anim="roll-down"].anim-rev>input[type="radio"]:nth-of-type(3):checked ~ .carousel-contents>:nth-child(3),.carousel2[data-carousel-anim="roll-down"].anim-rev>input[type="radio"]:nth-of-type(4):checked ~ .carousel-contents>:nth-child(4),.carousel2[data-carousel-anim="roll-down"].anim-rev>input[type="radio"]:nth-of-type(5):checked ~ .carousel-contents>:nth-child(5),.carousel2[data-carousel-anim="roll-down"].anim-rev>input[type="radio"]:nth-of-type(6):checked ~ .carousel-contents>:nth-child(6),.carousel2[data-carousel-anim="roll-down"].anim-rev>input[type="radio"]:nth-of-type(7):checked ~ .carousel-contents>:nth-child(7),.carousel2[data-carousel-anim="roll-down"].anim-rev>input[type="radio"]:nth-of-type(8):checked ~ .carousel-contents>:nth-child(8),.carousel2[data-carousel-anim="roll-down"].anim-rev>input[type="radio"]:nth-of-type(9):checked ~ .carousel-contents>:nth-child(9),.carousel2[data-carousel-anim="roll-down"].anim-rev>input[type="radio"]:nth-of-type(10):checked ~ .carousel-contents>:nth-child(10),.carousel2[data-carousel-anim="roll-down"].anim-rev>input[type="radio"]:nth-of-type(11):checked ~ .carousel-contents>:nth-child(11),.carousel2[data-carousel-anim="roll-down"].anim-rev>input[type="radio"]:nth-of-type(12):checked ~ .carousel-contents>:nth-child(12){animation:slidein-up .5s ease-out;transform:translate(0,0);visibility:visible}.carousel-template .carousel2[data-carousel-anim="roll-down"].anim-rev>input[type="radio"]:nth-of-type(1).prev-checked ~ .carousel-contents>:nth-child(1){animation:slideout-up .5s ease-out;transform:translate(100%,0);visibility:visible}.carousel2[data-carousel-anim="roll-down"].anim-rev>input[type="radio"]:nth-of-type(1).prev-checked ~ .carousel-contents>:nth-child(1),.carousel2[data-carousel-anim="roll-down"].anim-rev>input[type="radio"]:nth-of-type(2).prev-checked ~ .carousel-contents>:nth-child(2),.carousel2[data-carousel-anim="roll-down"].anim-rev>input[type="radio"]:nth-of-type(3).prev-checked ~ .carousel-contents>:nth-child(3),.carousel2[data-carousel-anim="roll-down"].anim-rev>input[type="radio"]:nth-of-type(4).prev-checked ~ .carousel-contents>:nth-child(4),.carousel2[data-carousel-anim="roll-down"].anim-rev>input[type="radio"]:nth-of-type(5).prev-checked ~ .carousel-contents>:nth-child(5),.carousel2[data-carousel-anim="roll-down"].anim-rev>input[type="radio"]:nth-of-type(6).prev-checked ~ .carousel-contents>:nth-child(6),.carousel2[data-carousel-anim="roll-down"].anim-rev>input[type="radio"]:nth-of-type(7).prev-checked ~ .carousel-contents>:nth-child(7),.carousel2[data-carousel-anim="roll-down"].anim-rev>input[type="radio"]:nth-of-type(8).prev-checked ~ .carousel-contents>:nth-child(8),.carousel2[data-carousel-anim="roll-down"].anim-rev>input[type="radio"]:nth-of-type(9).prev-checked ~ .carousel-contents>:nth-child(9),.carousel2[data-carousel-anim="roll-down"].anim-rev>input[type="radio"]:nth-of-type(10).prev-checked ~ .carousel-contents>:nth-child(10),.carousel2[data-carousel-anim="roll-down"].anim-rev>input[type="radio"]:nth-of-type(11).prev-checked ~ .carousel-contents>:nth-child(11),.carousel2[data-carousel-anim="roll-down"].anim-rev>input[type="radio"]:nth-of-type(12).prev-checked ~ .carousel-contents>:nth-child(12){animation:slideout-up .5s ease-out;transform:translate(100%,0);visibility:visible}.carousel2[data-carousel-anim^="flipout-"],.carousel2[data-carousel-anim^="turn-"]{overflow:visible}.carousel2[data-carousel-anim^="flipout-"]>.carousel-contents,.carousel2[data-carousel-anim^="turn-"]>.carousel-contents{overflow:visible;-webkit-perspective:100vw;-moz-perspective:100vw;perspective:100vw;-webkit-transform-style:preserve-3d;-moz-transform-style:preserve-3d;transform-style:preserve-3d;position:relative;background:transparent!important}.carousel2[data-carousel-anim^="turn-"]>.carousel-contents>.carousel-content,.carousel2[data-carousel-anim^="flipout-"]>.carousel-contents>.carousel-content{visibility:hidden;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;backface-visibility:hidden;animation-timing-function:ease;animation-duration:.5s}@keyframes turnin-horiz{0%{transform:rotateY(-180deg)}100%{transform:rotateY(0)}}@keyframes turnout-horiz{0%{transform:rotateY(0);visibility:visible}100%{transform:rotateY(180deg);visibility:hidden}}@keyframes turnin-horiz-rev{0%{transform:rotateY(180deg)}100%{transform:rotateY(0)}}@keyframes turnout-horiz-rev{0%{transform:rotateY(0);visibility:visible}100%{transform:rotateY(-180deg);visibility:hidden}}@keyframes turnin-vert{0%{transform:rotateX(-180deg)}100%{transform:rotateX(0)}}@keyframes turnout-vert{0%{transform:rotateX(0);visibility:visible}100%{transform:rotateX(180deg);visibility:hidden}}@keyframes turnin-vert-rev{0%{transform:rotateX(180deg)}100%{transform:rotateX(0)}}@keyframes turnout-vert-rev{0%{transform:rotateX(0);visibility:visible}100%{transform:rotateX(-180deg);visibility:hidden}}.carousel-template .carousel2[data-carousel-anim="turn-horiz"]>input[type="radio"]:nth-of-type(1):checked ~ .carousel-contents>:nth-child(1){animation-name:turnin-horiz;display:inline-block;visibility:visible}.carousel-template .carousel2[data-carousel-anim="turn-horiz"].anim-rev>input[type="radio"]:nth-of-type(1):checked ~ .carousel-contents>:nth-child(1){animation-name:turnin-horiz-rev}.carousel2[data-carousel-anim="turn-horiz"]>input[type="radio"]:nth-of-type(1):checked ~ .carousel-contents>:nth-child(1),.carousel2[data-carousel-anim="turn-horiz"]>input[type="radio"]:nth-of-type(2):checked ~ .carousel-contents>:nth-child(2),.carousel2[data-carousel-anim="turn-horiz"]>input[type="radio"]:nth-of-type(3):checked ~ .carousel-contents>:nth-child(3),.carousel2[data-carousel-anim="turn-horiz"]>input[type="radio"]:nth-of-type(4):checked ~ .carousel-contents>:nth-child(4),.carousel2[data-carousel-anim="turn-horiz"]>input[type="radio"]:nth-of-type(5):checked ~ .carousel-contents>:nth-child(5),.carousel2[data-carousel-anim="turn-horiz"]>input[type="radio"]:nth-of-type(6):checked ~ .carousel-contents>:nth-child(6),.carousel2[data-carousel-anim="turn-horiz"]>input[type="radio"]:nth-of-type(7):checked ~ .carousel-contents>:nth-child(7),.carousel2[data-carousel-anim="turn-horiz"]>input[type="radio"]:nth-of-type(8):checked ~ .carousel-contents>:nth-child(8),.carousel2[data-carousel-anim="turn-horiz"]>input[type="radio"]:nth-of-type(9):checked ~ .carousel-contents>:nth-child(9),.carousel2[data-carousel-anim="turn-horiz"]>input[type="radio"]:nth-of-type(10):checked ~ .carousel-contents>:nth-child(10),.carousel2[data-carousel-anim="turn-horiz"]>input[type="radio"]:nth-of-type(11):checked ~ .carousel-contents>:nth-child(11),.carousel2[data-carousel-anim="turn-horiz"]>input[type="radio"]:nth-of-type(12):checked ~ .carousel-contents>:nth-child(12){animation-name:turnin-horiz;visibility:visible}.carousel2[data-carousel-anim="turn-horiz"].anim-rev>input[type="radio"]:nth-of-type(1):checked ~ .carousel-contents>:nth-child(1),.carousel2[data-carousel-anim="turn-horiz"].anim-rev>input[type="radio"]:nth-of-type(2):checked ~ .carousel-contents>:nth-child(2),.carousel2[data-carousel-anim="turn-horiz"].anim-rev>input[type="radio"]:nth-of-type(3):checked ~ .carousel-contents>:nth-child(3),.carousel2[data-carousel-anim="turn-horiz"].anim-rev>input[type="radio"]:nth-of-type(4):checked ~ .carousel-contents>:nth-child(4),.carousel2[data-carousel-anim="turn-horiz"].anim-rev>input[type="radio"]:nth-of-type(5):checked ~ .carousel-contents>:nth-child(5),.carousel2[data-carousel-anim="turn-horiz"].anim-rev>input[type="radio"]:nth-of-type(6):checked ~ .carousel-contents>:nth-child(6),.carousel2[data-carousel-anim="turn-horiz"].anim-rev>input[type="radio"]:nth-of-type(7):checked ~ .carousel-contents>:nth-child(7),.carousel2[data-carousel-anim="turn-horiz"].anim-rev>input[type="radio"]:nth-of-type(8):checked ~ .carousel-contents>:nth-child(8),.carousel2[data-carousel-anim="turn-horiz"].anim-rev>input[type="radio"]:nth-of-type(9):checked ~ .carousel-contents>:nth-child(9),.carousel2[data-carousel-anim="turn-horiz"].anim-rev>input[type="radio"]:nth-of-type(10):checked ~ .carousel-contents>:nth-child(10),.carousel2[data-carousel-anim="turn-horiz"].anim-rev>input[type="radio"]:nth-of-type(11):checked ~ .carousel-contents>:nth-child(11),.carousel2[data-carousel-anim="turn-horiz"].anim-rev>input[type="radio"]:nth-of-type(12):checked ~ .carousel-contents>:nth-child(12){animation-name:turnin-horiz-rev}.carousel-template .carousel2[data-carousel-anim="turn-horiz"]>input[type="radio"]:nth-of-type(1).prev-checked ~ .carousel-contents>:nth-child(1){animation-name:turnout-horiz;visibility:hidden}.carousel-template .carousel2[data-carousel-anim="turn-horiz"].animp-rev>input[type="radio"]:nth-of-type(1).prev-checked ~ .carousel-contents>:nth-child(1){animation-name:turnout-horiz-rev}.carousel2[data-carousel-anim="turn-horiz"]>input[type="radio"]:nth-of-type(1).prev-checked ~ .carousel-contents>:nth-child(1),.carousel2[data-carousel-anim="turn-horiz"]>input[type="radio"]:nth-of-type(2).prev-checked ~ .carousel-contents>:nth-child(2),.carousel2[data-carousel-anim="turn-horiz"]>input[type="radio"]:nth-of-type(3).prev-checked ~ .carousel-contents>:nth-child(3),.carousel2[data-carousel-anim="turn-horiz"]>input[type="radio"]:nth-of-type(4).prev-checked ~ .carousel-contents>:nth-child(4),.carousel2[data-carousel-anim="turn-horiz"]>input[type="radio"]:nth-of-type(5).prev-checked ~ .carousel-contents>:nth-child(5),.carousel2[data-carousel-anim="turn-horiz"]>input[type="radio"]:nth-of-type(6).prev-checked ~ .carousel-contents>:nth-child(6),.carousel2[data-carousel-anim="turn-horiz"]>input[type="radio"]:nth-of-type(7).prev-checked ~ .carousel-contents>:nth-child(7),.carousel2[data-carousel-anim="turn-horiz"]>input[type="radio"]:nth-of-type(8).prev-checked ~ .carousel-contents>:nth-child(8),.carousel2[data-carousel-anim="turn-horiz"]>input[type="radio"]:nth-of-type(9).prev-checked ~ .carousel-contents>:nth-child(9),.carousel2[data-carousel-anim="turn-horiz"]>input[type="radio"]:nth-of-type(10).prev-checked ~ .carousel-contents>:nth-child(10),.carousel2[data-carousel-anim="turn-horiz"]>input[type="radio"]:nth-of-type(11).prev-checked ~ .carousel-contents>:nth-child(11),.carousel2[data-carousel-anim="turn-horiz"]>input[type="radio"]:nth-of-type(12).prev-checked ~ .carousel-contents>:nth-child(12){animation-name:turnout-horiz;visibility:hidden}.carousel2[data-carousel-anim="turn-horiz"].anim-rev>input[type="radio"]:nth-of-type(1).prev-checked ~ .carousel-contents>:nth-child(1),.carousel2[data-carousel-anim="turn-horiz"].anim-rev>input[type="radio"]:nth-of-type(2).prev-checked ~ .carousel-contents>:nth-child(2),.carousel2[data-carousel-anim="turn-horiz"].anim-rev>input[type="radio"]:nth-of-type(3).prev-checked ~ .carousel-contents>:nth-child(3),.carousel2[data-carousel-anim="turn-horiz"].anim-rev>input[type="radio"]:nth-of-type(4).prev-checked ~ .carousel-contents>:nth-child(4),.carousel2[data-carousel-anim="turn-horiz"].anim-rev>input[type="radio"]:nth-of-type(5).prev-checked ~ .carousel-contents>:nth-child(5),.carousel2[data-carousel-anim="turn-horiz"].anim-rev>input[type="radio"]:nth-of-type(6).prev-checked ~ .carousel-contents>:nth-child(6),.carousel2[data-carousel-anim="turn-horiz"].anim-rev>input[type="radio"]:nth-of-type(7).prev-checked ~ .carousel-contents>:nth-child(7),.carousel2[data-carousel-anim="turn-horiz"].anim-rev>input[type="radio"]:nth-of-type(8).prev-checked ~ .carousel-contents>:nth-child(8),.carousel2[data-carousel-anim="turn-horiz"].anim-rev>input[type="radio"]:nth-of-type(9).prev-checked ~ .carousel-contents>:nth-child(9),.carousel2[data-carousel-anim="turn-horiz"].anim-rev>input[type="radio"]:nth-of-type(10).prev-checked ~ .carousel-contents>:nth-child(10),.carousel2[data-carousel-anim="turn-horiz"].anim-rev>input[type="radio"]:nth-of-type(11).prev-checked ~ .carousel-contents>:nth-child(11),.carousel2[data-carousel-anim="turn-horiz"].anim-rev>input[type="radio"]:nth-of-type(12).prev-checked ~ .carousel-contents>:nth-child(12){animation-name:turnout-horiz-rev}.carousel-template .carousel2[data-carousel-anim="turn-vert"]>input[type="radio"]:nth-of-type(1):checked ~ .carousel-contents>:nth-child(1){animation-name:turnin-vert;display:inline-block;visibility:visible}.carousel-template .carousel2[data-carousel-anim="turn-vert"].anim-rev>input[type="radio"]:nth-of-type(1):checked ~ .carousel-contents>:nth-child(1){animation-name:turnin-vert-rev}.carousel2[data-carousel-anim="turn-vert"]>input[type="radio"]:nth-of-type(1):checked ~ .carousel-contents>:nth-child(1),.carousel2[data-carousel-anim="turn-vert"]>input[type="radio"]:nth-of-type(2):checked ~ .carousel-contents>:nth-child(2),.carousel2[data-carousel-anim="turn-vert"]>input[type="radio"]:nth-of-type(3):checked ~ .carousel-contents>:nth-child(3),.carousel2[data-carousel-anim="turn-vert"]>input[type="radio"]:nth-of-type(4):checked ~ .carousel-contents>:nth-child(4),.carousel2[data-carousel-anim="turn-vert"]>input[type="radio"]:nth-of-type(5):checked ~ .carousel-contents>:nth-child(5),.carousel2[data-carousel-anim="turn-vert"]>input[type="radio"]:nth-of-type(6):checked ~ .carousel-contents>:nth-child(6),.carousel2[data-carousel-anim="turn-vert"]>input[type="radio"]:nth-of-type(7):checked ~ .carousel-contents>:nth-child(7),.carousel2[data-carousel-anim="turn-vert"]>input[type="radio"]:nth-of-type(8):checked ~ .carousel-contents>:nth-child(8),.carousel2[data-carousel-anim="turn-vert"]>input[type="radio"]:nth-of-type(9):checked ~ .carousel-contents>:nth-child(9),.carousel2[data-carousel-anim="turn-vert"]>input[type="radio"]:nth-of-type(10):checked ~ .carousel-contents>:nth-child(10),.carousel2[data-carousel-anim="turn-vert"]>input[type="radio"]:nth-of-type(11):checked ~ .carousel-contents>:nth-child(11),.carousel2[data-carousel-anim="turn-vert"]>input[type="radio"]:nth-of-type(12):checked ~ .carousel-contents>:nth-child(12){animation-name:turnin-vert;visibility:visible}.carousel2[data-carousel-anim="turn-vert"].anim-rev>input[type="radio"]:nth-of-type(1):checked ~ .carousel-contents>:nth-child(1),.carousel2[data-carousel-anim="turn-vert"].anim-rev>input[type="radio"]:nth-of-type(2):checked ~ .carousel-contents>:nth-child(2),.carousel2[data-carousel-anim="turn-vert"].anim-rev>input[type="radio"]:nth-of-type(3):checked ~ .carousel-contents>:nth-child(3),.carousel2[data-carousel-anim="turn-vert"].anim-rev>input[type="radio"]:nth-of-type(4):checked ~ .carousel-contents>:nth-child(4),.carousel2[data-carousel-anim="turn-vert"].anim-rev>input[type="radio"]:nth-of-type(5):checked ~ .carousel-contents>:nth-child(5),.carousel2[data-carousel-anim="turn-vert"].anim-rev>input[type="radio"]:nth-of-type(6):checked ~ .carousel-contents>:nth-child(6),.carousel2[data-carousel-anim="turn-vert"].anim-rev>input[type="radio"]:nth-of-type(7):checked ~ .carousel-contents>:nth-child(7),.carousel2[data-carousel-anim="turn-vert"].anim-rev>input[type="radio"]:nth-of-type(8):checked ~ .carousel-contents>:nth-child(8),.carousel2[data-carousel-anim="turn-vert"].anim-rev>input[type="radio"]:nth-of-type(9):checked ~ .carousel-contents>:nth-child(9),.carousel2[data-carousel-anim="turn-vert"].anim-rev>input[type="radio"]:nth-of-type(10):checked ~ .carousel-contents>:nth-child(10),.carousel2[data-carousel-anim="turn-vert"].anim-rev>input[type="radio"]:nth-of-type(11):checked ~ .carousel-contents>:nth-child(11),.carousel2[data-carousel-anim="turn-vert"].anim-rev>input[type="radio"]:nth-of-type(12):checked ~ .carousel-contents>:nth-child(12){animation-name:turnin-vert-rev}.carousel-template .carousel2[data-carousel-anim="turn-vert"]>input[type="radio"]:nth-of-type(1).prev-checked ~ .carousel-contents>:nth-child(1){animation-name:turnout-vert;visibility:hidden}.carousel-template .carousel2[data-carousel-anim="turn-vert"].anim-rev>input[type="radio"]:nth-of-type(1).prev-checked ~ .carousel-contents>:nth-child(1){animation-name:turnout-vert-rev}.carousel2[data-carousel-anim="turn-vert"]>input[type="radio"]:nth-of-type(1).prev-checked ~ .carousel-contents>:nth-child(1),.carousel2[data-carousel-anim="turn-vert"]>input[type="radio"]:nth-of-type(2).prev-checked ~ .carousel-contents>:nth-child(2),.carousel2[data-carousel-anim="turn-vert"]>input[type="radio"]:nth-of-type(3).prev-checked ~ .carousel-contents>:nth-child(3),.carousel2[data-carousel-anim="turn-vert"]>input[type="radio"]:nth-of-type(4).prev-checked ~ .carousel-contents>:nth-child(4),.carousel2[data-carousel-anim="turn-vert"]>input[type="radio"]:nth-of-type(5).prev-checked ~ .carousel-contents>:nth-child(5),.carousel2[data-carousel-anim="turn-vert"]>input[type="radio"]:nth-of-type(6).prev-checked ~ .carousel-contents>:nth-child(6),.carousel2[data-carousel-anim="turn-vert"]>input[type="radio"]:nth-of-type(7).prev-checked ~ .carousel-contents>:nth-child(7),.carousel2[data-carousel-anim="turn-vert"]>input[type="radio"]:nth-of-type(8).prev-checked ~ .carousel-contents>:nth-child(8),.carousel2[data-carousel-anim="turn-vert"]>input[type="radio"]:nth-of-type(9).prev-checked ~ .carousel-contents>:nth-child(9),.carousel2[data-carousel-anim="turn-vert"]>input[type="radio"]:nth-of-type(10).prev-checked ~ .carousel-contents>:nth-child(10),.carousel2[data-carousel-anim="turn-vert"]>input[type="radio"]:nth-of-type(11).prev-checked ~ .carousel-contents>:nth-child(11),.carousel2[data-carousel-anim="turn-vert"]>input[type="radio"]:nth-of-type(12).prev-checked ~ .carousel-contents>:nth-child(12){animation-name:turnout-vert;visibility:hidden}.carousel2[data-carousel-anim="turn-vert"].anim-rev>input[type="radio"]:nth-of-type(1).prev-checked ~ .carousel-contents>:nth-child(1),.carousel2[data-carousel-anim="turn-vert"].anim-rev>input[type="radio"]:nth-of-type(2).prev-checked ~ .carousel-contents>:nth-child(2),.carousel2[data-carousel-anim="turn-vert"].anim-rev>input[type="radio"]:nth-of-type(3).prev-checked ~ .carousel-contents>:nth-child(3),.carousel2[data-carousel-anim="turn-vert"].anim-rev>input[type="radio"]:nth-of-type(4).prev-checked ~ .carousel-contents>:nth-child(4),.carousel2[data-carousel-anim="turn-vert"].anim-rev>input[type="radio"]:nth-of-type(5).prev-checked ~ .carousel-contents>:nth-child(5),.carousel2[data-carousel-anim="turn-vert"].anim-rev>input[type="radio"]:nth-of-type(6).prev-checked ~ .carousel-contents>:nth-child(6),.carousel2[data-carousel-anim="turn-vert"].anim-rev>input[type="radio"]:nth-of-type(7).prev-checked ~ .carousel-contents>:nth-child(7),.carousel2[data-carousel-anim="turn-vert"].anim-rev>input[type="radio"]:nth-of-type(8).prev-checked ~ .carousel-contents>:nth-child(8),.carousel2[data-carousel-anim="turn-vert"].anim-rev>input[type="radio"]:nth-of-type(9).prev-checked ~ .carousel-contents>:nth-child(9),.carousel2[data-carousel-anim="turn-vert"].anim-rev>input[type="radio"]:nth-of-type(10).prev-checked ~ .carousel-contents>:nth-child(10),.carousel2[data-carousel-anim="turn-vert"].anim-rev>input[type="radio"]:nth-of-type(11).prev-checked ~ .carousel-contents>:nth-child(11),.carousel2[data-carousel-anim="turn-vert"].anim-rev>input[type="radio"]:nth-of-type(12).prev-checked ~ .carousel-contents>:nth-child(12){animation-name:turnout-vert-rev}@keyframes flipinout-stay{0%{transform:rotateY(0);visibility:visible}100%{transform:rotateY(0);visibility:hidden}}@keyframes flipin-left{0%{transform:rotateY(-90deg)}100%{transform:rotateY(0)}}@keyframes flipout-left{0%{transform:rotateY(0);visibility:visible}100%{transform:rotateY(-90deg);visibility:hidden}}@keyframes flipin-right{0%{transform:rotateY(90deg)}100%{transform:rotateY(0)}}@keyframes flipout-right{0%{transform:rotateY(0);visibility:visible}100%{transform:rotateY(90deg);visibility:hidden}}@keyframes flipin-top{0%{transform:rotateX(90deg)}100%{transform:rotateX(0)}}@keyframes flipout-top{0%{transform:rotateX(0);visibility:visible}100%{transform:rotateX(90deg);visibility:hidden}}@keyframes flipin-bottom{0%{transform:rotateX(-90deg)}100%{transform:rotateX(0)}}@keyframes flipout-bottom{0%{transform:rotateX(0);visibility:visible}100%{transform:rotateX(-90deg);visibility:hidden}}.carousel2[data-carousel-anim^="flipout-"]>.carousel-contents>.carousel-content{visibility:hidden}.carousel2[data-carousel-anim="flipout-up"]>.carousel-contents>.carousel-content{-webkit-transform-origin:top center;-moz-transform-origin:top center;transform-origin:top center}.carousel2[data-carousel-anim="flipout-down"]>.carousel-contents>.carousel-content{-webkit-transform-origin:bottom center;-moz-transform-origin:bottom center;transform-origin:bottom center}.carousel2[data-carousel-anim="flipout-left"]>.carousel-contents>.carousel-content{-webkit-transform-origin:left center;-moz-transform-origin:left center;transform-origin:left center}.carousel2[data-carousel-anim="flipout-right"]>.carousel-contents>.carousel-content{-webkit-transform-origin:right center;-moz-transform-origin:right center;transform-origin:right center}.carousel-template .carousel2[data-carousel-anim^="flipout-"]>input[type="radio"]:nth-of-type(1):checked ~ .carousel-contents>:nth-child(1){visibility:visible;z-index:2}.carousel-template .carousel2[data-carousel-anim^="flipout-"]>input[type="radio"]:nth-of-type(1).prev-checked ~ .carousel-contents>:nth-child(1){visibility:hidden;z-index:3}.carousel-template .carousel2[data-carousel-anim^="flipout-"].anim-rev>input[type="radio"]:nth-of-type(1):checked ~ .carousel-contents>:nth-child(1){z-index:3}.carousel-template .carousel2[data-carousel-anim^="flipout-"].anim-rev>input[type="radio"]:nth-of-type(1).prev-checked ~ .carousel-contents>:nth-child(1){animation-name:flipinout-stay;visibility:hidden;z-index:2}.carousel2[data-carousel-anim^="flipout-"]>input[type="radio"]:nth-of-type(1):checked ~ .carousel-contents>:nth-child(1),.carousel2[data-carousel-anim^="flipout-"]>input[type="radio"]:nth-of-type(2):checked ~ .carousel-contents>:nth-child(2),.carousel2[data-carousel-anim^="flipout-"]>input[type="radio"]:nth-of-type(3):checked ~ .carousel-contents>:nth-child(3),.carousel2[data-carousel-anim^="flipout-"]>input[type="radio"]:nth-of-type(4):checked ~ .carousel-contents>:nth-child(4),.carousel2[data-carousel-anim^="flipout-"]>input[type="radio"]:nth-of-type(5):checked ~ .carousel-contents>:nth-child(5),.carousel2[data-carousel-anim^="flipout-"]>input[type="radio"]:nth-of-type(6):checked ~ .carousel-contents>:nth-child(6),.carousel2[data-carousel-anim^="flipout-"]>input[type="radio"]:nth-of-type(7):checked ~ .carousel-contents>:nth-child(7),.carousel2[data-carousel-anim^="flipout-"]>input[type="radio"]:nth-of-type(8):checked ~ .carousel-contents>:nth-child(8),.carousel2[data-carousel-anim^="flipout-"]>input[type="radio"]:nth-of-type(9):checked ~ .carousel-contents>:nth-child(9),.carousel2[data-carousel-anim^="flipout-"]>input[type="radio"]:nth-of-type(10):checked ~ .carousel-contents>:nth-child(10),.carousel2[data-carousel-anim^="flipout-"]>input[type="radio"]:nth-of-type(11):checked ~ .carousel-contents>:nth-child(11),.carousel2[data-carousel-anim^="flipout-"]>input[type="radio"]:nth-of-type(12):checked ~ .carousel-contents>:nth-child(12){visibility:visible;z-index:2}.carousel2[data-carousel-anim^="flipout-"]>input[type="radio"]:nth-of-type(1).prev-checked ~ .carousel-contents>:nth-child(1),.carousel2[data-carousel-anim^="flipout-"]>input[type="radio"]:nth-of-type(2).prev-checked ~ .carousel-contents>:nth-child(2),.carousel2[data-carousel-anim^="flipout-"]>input[type="radio"]:nth-of-type(3).prev-checked ~ .carousel-contents>:nth-child(3),.carousel2[data-carousel-anim^="flipout-"]>input[type="radio"]:nth-of-type(4).prev-checked ~ .carousel-contents>:nth-child(4),.carousel2[data-carousel-anim^="flipout-"]>input[type="radio"]:nth-of-type(5).prev-checked ~ .carousel-contents>:nth-child(5),.carousel2[data-carousel-anim^="flipout-"]>input[type="radio"]:nth-of-type(6).prev-checked ~ .carousel-contents>:nth-child(6),.carousel2[data-carousel-anim^="flipout-"]>input[type="radio"]:nth-of-type(7).prev-checked ~ .carousel-contents>:nth-child(7),.carousel2[data-carousel-anim^="flipout-"]>input[type="radio"]:nth-of-type(8).prev-checked ~ .carousel-contents>:nth-child(8),.carousel2[data-carousel-anim^="flipout-"]>input[type="radio"]:nth-of-type(9).prev-checked ~ .carousel-contents>:nth-child(9),.carousel2[data-carousel-anim^="flipout-"]>input[type="radio"]:nth-of-type(10).prev-checked ~ .carousel-contents>:nth-child(10),.carousel2[data-carousel-anim^="flipout-"]>input[type="radio"]:nth-of-type(11).prev-checked ~ .carousel-contents>:nth-child(11),.carousel2[data-carousel-anim^="flipout-"]>input[type="radio"]:nth-of-type(12).prev-checked ~ .carousel-contents>:nth-child(12){visibility:hidden;z-index:3}.carousel2[data-carousel-anim^="flipout-"].anim-rev>input[type="radio"]:nth-of-type(1):checked ~ .carousel-contents>:nth-child(1),.carousel2[data-carousel-anim^="flipout-"].anim-rev>input[type="radio"]:nth-of-type(2):checked ~ .carousel-contents>:nth-child(2),.carousel2[data-carousel-anim^="flipout-"].anim-rev>input[type="radio"]:nth-of-type(3):checked ~ .carousel-contents>:nth-child(3),.carousel2[data-carousel-anim^="flipout-"].anim-rev>input[type="radio"]:nth-of-type(4):checked ~ .carousel-contents>:nth-child(4),.carousel2[data-carousel-anim^="flipout-"].anim-rev>input[type="radio"]:nth-of-type(5):checked ~ .carousel-contents>:nth-child(5),.carousel2[data-carousel-anim^="flipout-"].anim-rev>input[type="radio"]:nth-of-type(6):checked ~ .carousel-contents>:nth-child(6),.carousel2[data-carousel-anim^="flipout-"].anim-rev>input[type="radio"]:nth-of-type(7):checked ~ .carousel-contents>:nth-child(7),.carousel2[data-carousel-anim^="flipout-"].anim-rev>input[type="radio"]:nth-of-type(8):checked ~ .carousel-contents>:nth-child(8),.carousel2[data-carousel-anim^="flipout-"].anim-rev>input[type="radio"]:nth-of-type(10):checked ~ .carousel-contents>:nth-child(10),.carousel2[data-carousel-anim^="flipout-"].anim-rev>input[type="radio"]:nth-of-type(11):checked ~ .carousel-contents>:nth-child(11),.carousel2[data-carousel-anim^="flipout-"].anim-rev>input[type="radio"]:nth-of-type(12):checked ~ .carousel-contents>:nth-child(12){z-index:3}.carousel2[data-carousel-anim^="flipout-"].anim-rev>input[type="radio"]:nth-of-type(1).prev-checked ~ .carousel-contents>:nth-child(1),.carousel2[data-carousel-anim^="flipout-"].anim-rev>input[type="radio"]:nth-of-type(2).prev-checked ~ .carousel-contents>:nth-child(2),.carousel2[data-carousel-anim^="flipout-"].anim-rev>input[type="radio"]:nth-of-type(3).prev-checked ~ .carousel-contents>:nth-child(3),.carousel2[data-carousel-anim^="flipout-"].anim-rev>input[type="radio"]:nth-of-type(4).prev-checked ~ .carousel-contents>:nth-child(4),.carousel2[data-carousel-anim^="flipout-"].anim-rev>input[type="radio"]:nth-of-type(5).prev-checked ~ .carousel-contents>:nth-child(5),.carousel2[data-carousel-anim^="flipout-"].anim-rev>input[type="radio"]:nth-of-type(6).prev-checked ~ .carousel-contents>:nth-child(6),.carousel2[data-carousel-anim^="flipout-"].anim-rev>input[type="radio"]:nth-of-type(7).prev-checked ~ .carousel-contents>:nth-child(7),.carousel2[data-carousel-anim^="flipout-"].anim-rev>input[type="radio"]:nth-of-type(8).prev-checked ~ .carousel-contents>:nth-child(8),.carousel2[data-carousel-anim^="flipout-"].anim-rev>input[type="radio"]:nth-of-type(9).prev-checked ~ .carousel-contents>:nth-child(9),.carousel2[data-carousel-anim^="flipout-"].anim-rev>input[type="radio"]:nth-of-type(10).prev-checked ~ .carousel-contents>:nth-child(10),.carousel2[data-carousel-anim^="flipout-"].anim-rev>input[type="radio"]:nth-of-type(11).prev-checked ~ .carousel-contents>:nth-child(11),.carousel2[data-carousel-anim^="flipout-"].anim-rev>input[type="radio"]:nth-of-type(12).prev-checked ~ .carousel-contents>:nth-child(12){animation-name:flipinout-stay;visibility:hidden;z-index:2}.carousel-template .carousel2[data-carousel-anim^="flipout-up"]>input[type="radio"]:nth-of-type(1).prev-checked ~ .carousel-contents>:nth-child(1){animation-name:flipout-top}.carousel-template .carousel2[data-carousel-anim^="flipout-up"].anim-rev>input[type="radio"]:nth-of-type(1):checked ~ .carousel-contents>:nth-child(1){animation-name:flipin-top}.carousel2[data-carousel-anim^="flipout-up"]>input[type="radio"]:nth-of-type(1).prev-checked ~ .carousel-contents>:nth-child(1),.carousel2[data-carousel-anim^="flipout-up"]>input[type="radio"]:nth-of-type(2).prev-checked ~ .carousel-contents>:nth-child(2),.carousel2[data-carousel-anim^="flipout-up"]>input[type="radio"]:nth-of-type(3).prev-checked ~ .carousel-contents>:nth-child(3),.carousel2[data-carousel-anim^="flipout-up"]>input[type="radio"]:nth-of-type(4).prev-checked ~ .carousel-contents>:nth-child(4),.carousel2[data-carousel-anim^="flipout-up"]>input[type="radio"]:nth-of-type(5).prev-checked ~ .carousel-contents>:nth-child(5),.carousel2[data-carousel-anim^="flipout-up"]>input[type="radio"]:nth-of-type(6).prev-checked ~ .carousel-contents>:nth-child(6),.carousel2[data-carousel-anim^="flipout-up"]>input[type="radio"]:nth-of-type(7).prev-checked ~ .carousel-contents>:nth-child(7),.carousel2[data-carousel-anim^="flipout-up"]>input[type="radio"]:nth-of-type(8).prev-checked ~ .carousel-contents>:nth-child(8),.carousel2[data-carousel-anim^="flipout-up"]>input[type="radio"]:nth-of-type(9).prev-checked ~ .carousel-contents>:nth-child(9),.carousel2[data-carousel-anim^="flipout-up"]>input[type="radio"]:nth-of-type(10).prev-checked ~ .carousel-contents>:nth-child(10),.carousel2[data-carousel-anim^="flipout-up"]>input[type="radio"]:nth-of-type(11).prev-checked ~ .carousel-contents>:nth-child(11),.carousel2[data-carousel-anim^="flipout-up"]>input[type="radio"]:nth-of-type(12).prev-checked ~ .carousel-contents>:nth-child(12){animation-name:flipout-top}.carousel2[data-carousel-anim^="flipout-up"].anim-rev>input[type="radio"]:nth-of-type(1):checked ~ .carousel-contents>:nth-child(1),.carousel2[data-carousel-anim^="flipout-up"].anim-rev>input[type="radio"]:nth-of-type(2):checked ~ .carousel-contents>:nth-child(2),.carousel2[data-carousel-anim^="flipout-up"].anim-rev>input[type="radio"]:nth-of-type(3):checked ~ .carousel-contents>:nth-child(3),.carousel2[data-carousel-anim^="flipout-up"].anim-rev>input[type="radio"]:nth-of-type(4):checked ~ .carousel-contents>:nth-child(4),.carousel2[data-carousel-anim^="flipout-up"].anim-rev>input[type="radio"]:nth-of-type(5):checked ~ .carousel-contents>:nth-child(5),.carousel2[data-carousel-anim^="flipout-up"].anim-rev>input[type="radio"]:nth-of-type(6):checked ~ .carousel-contents>:nth-child(6),.carousel2[data-carousel-anim^="flipout-up"].anim-rev>input[type="radio"]:nth-of-type(7):checked ~ .carousel-contents>:nth-child(7),.carousel2[data-carousel-anim^="flipout-up"].anim-rev>input[type="radio"]:nth-of-type(8):checked ~ .carousel-contents>:nth-child(8),.carousel2[data-carousel-anim^="flipout-up"].anim-rev>input[type="radio"]:nth-of-type(9):checked ~ .carousel-contents>:nth-child(9),.carousel2[data-carousel-anim^="flipout-up"].anim-rev>input[type="radio"]:nth-of-type(10):checked ~ .carousel-contents>:nth-child(10),.carousel2[data-carousel-anim^="flipout-up"].anim-rev>input[type="radio"]:nth-of-type(11):checked ~ .carousel-contents>:nth-child(11),.carousel2[data-carousel-anim^="flipout-up"].anim-rev>input[type="radio"]:nth-of-type(12):checked ~ .carousel-contents>:nth-child(12){animation-name:flipin-top}.carousel-template .carousel2[data-carousel-anim^="flipout-down"]>input[type="radio"]:nth-of-type(1).prev-checked ~ .carousel-contents>:nth-child(1){animation-name:flipout-bottom}.carousel-template .carousel2[data-carousel-anim^="flipout-down"].anim-rev>input[type="radio"]:nth-of-type(1):checked ~ .carousel-contents>:nth-child(1){animation-name:flipin-bottom}.carousel2[data-carousel-anim^="flipout-down"]>input[type="radio"]:nth-of-type(1).prev-checked ~ .carousel-contents>:nth-child(1),.carousel2[data-carousel-anim^="flipout-down"]>input[type="radio"]:nth-of-type(2).prev-checked ~ .carousel-contents>:nth-child(2),.carousel2[data-carousel-anim^="flipout-down"]>input[type="radio"]:nth-of-type(3).prev-checked ~ .carousel-contents>:nth-child(3),.carousel2[data-carousel-anim^="flipout-down"]>input[type="radio"]:nth-of-type(4).prev-checked ~ .carousel-contents>:nth-child(4),.carousel2[data-carousel-anim^="flipout-down"]>input[type="radio"]:nth-of-type(5).prev-checked ~ .carousel-contents>:nth-child(5),.carousel2[data-carousel-anim^="flipout-down"]>input[type="radio"]:nth-of-type(6).prev-checked ~ .carousel-contents>:nth-child(6),.carousel2[data-carousel-anim^="flipout-down"]>input[type="radio"]:nth-of-type(7).prev-checked ~ .carousel-contents>:nth-child(7),.carousel2[data-carousel-anim^="flipout-down"]>input[type="radio"]:nth-of-type(8).prev-checked ~ .carousel-contents>:nth-child(8),.carousel2[data-carousel-anim^="flipout-down"]>input[type="radio"]:nth-of-type(9).prev-checked ~ .carousel-contents>:nth-child(9),.carousel2[data-carousel-anim^="flipout-down"]>input[type="radio"]:nth-of-type(10).prev-checked ~ .carousel-contents>:nth-child(10),.carousel2[data-carousel-anim^="flipout-down"]>input[type="radio"]:nth-of-type(11).prev-checked ~ .carousel-contents>:nth-child(11),.carousel2[data-carousel-anim^="flipout-down"]>input[type="radio"]:nth-of-type(12).prev-checked ~ .carousel-contents>:nth-child(12){animation-name:flipout-bottom}.carousel2[data-carousel-anim^="flipout-down"].anim-rev>input[type="radio"]:nth-of-type(1):checked ~ .carousel-contents>:nth-child(1),.carousel2[data-carousel-anim^="flipout-down"].anim-rev>input[type="radio"]:nth-of-type(2):checked ~ .carousel-contents>:nth-child(2),.carousel2[data-carousel-anim^="flipout-down"].anim-rev>input[type="radio"]:nth-of-type(3):checked ~ .carousel-contents>:nth-child(3),.carousel2[data-carousel-anim^="flipout-down"].anim-rev>input[type="radio"]:nth-of-type(4):checked ~ .carousel-contents>:nth-child(4),.carousel2[data-carousel-anim^="flipout-down"].anim-rev>input[type="radio"]:nth-of-type(5):checked ~ .carousel-contents>:nth-child(5),.carousel2[data-carousel-anim^="flipout-down"].anim-rev>input[type="radio"]:nth-of-type(6):checked ~ .carousel-contents>:nth-child(6),.carousel2[data-carousel-anim^="flipout-down"].anim-rev>input[type="radio"]:nth-of-type(7):checked ~ .carousel-contents>:nth-child(7),.carousel2[data-carousel-anim^="flipout-down"].anim-rev>input[type="radio"]:nth-of-type(8):checked ~ .carousel-contents>:nth-child(8),.carousel2[data-carousel-anim^="flipout-down"].anim-rev>input[type="radio"]:nth-of-type(9):checked ~ .carousel-contents>:nth-child(9),.carousel2[data-carousel-anim^="flipout-down"].anim-rev>input[type="radio"]:nth-of-type(10):checked ~ .carousel-contents>:nth-child(10),.carousel2[data-carousel-anim^="flipout-down"].anim-rev>input[type="radio"]:nth-of-type(11):checked ~ .carousel-contents>:nth-child(11),.carousel2[data-carousel-anim^="flipout-down"].anim-rev>input[type="radio"]:nth-of-type(12):checked ~ .carousel-contents>:nth-child(12){animation-name:flipin-bottom}.carousel-template .carousel2[data-carousel-anim^="flipout-left"]>input[type="radio"]:nth-of-type(1).prev-checked ~ .carousel-contents>:nth-child(1){animation-name:flipout-left}.carousel-template .carousel2[data-carousel-anim^="flipout-left"].anim-rev>input[type="radio"]:nth-of-type(1):checked ~ .carousel-contents>:nth-child(1){animation-name:flipin-left}.carousel2[data-carousel-anim^="flipout-left"]>input[type="radio"]:nth-of-type(1).prev-checked ~ .carousel-contents>:nth-child(1),.carousel2[data-carousel-anim^="flipout-left"]>input[type="radio"]:nth-of-type(2).prev-checked ~ .carousel-contents>:nth-child(2),.carousel2[data-carousel-anim^="flipout-left"]>input[type="radio"]:nth-of-type(3).prev-checked ~ .carousel-contents>:nth-child(3),.carousel2[data-carousel-anim^="flipout-left"]>input[type="radio"]:nth-of-type(4).prev-checked ~ .carousel-contents>:nth-child(4),.carousel2[data-carousel-anim^="flipout-left"]>input[type="radio"]:nth-of-type(5).prev-checked ~ .carousel-contents>:nth-child(5),.carousel2[data-carousel-anim^="flipout-left"]>input[type="radio"]:nth-of-type(6).prev-checked ~ .carousel-contents>:nth-child(6),.carousel2[data-carousel-anim^="flipout-left"]>input[type="radio"]:nth-of-type(7).prev-checked ~ .carousel-contents>:nth-child(7),.carousel2[data-carousel-anim^="flipout-left"]>input[type="radio"]:nth-of-type(8).prev-checked ~ .carousel-contents>:nth-child(8),.carousel2[data-carousel-anim^="flipout-left"]>input[type="radio"]:nth-of-type(9).prev-checked ~ .carousel-contents>:nth-child(9),.carousel2[data-carousel-anim^="flipout-left"]>input[type="radio"]:nth-of-type(10).prev-checked ~ .carousel-contents>:nth-child(10),.carousel2[data-carousel-anim^="flipout-left"]>input[type="radio"]:nth-of-type(11).prev-checked ~ .carousel-contents>:nth-child(11),.carousel2[data-carousel-anim^="flipout-left"]>input[type="radio"]:nth-of-type(12).prev-checked ~ .carousel-contents>:nth-child(12){animation-name:flipout-left}.carousel2[data-carousel-anim^="flipout-left"].anim-rev>input[type="radio"]:nth-of-type(1):checked ~ .carousel-contents>:nth-child(1),.carousel2[data-carousel-anim^="flipout-left"].anim-rev>input[type="radio"]:nth-of-type(2):checked ~ .carousel-contents>:nth-child(2),.carousel2[data-carousel-anim^="flipout-left"].anim-rev>input[type="radio"]:nth-of-type(3):checked ~ .carousel-contents>:nth-child(3),.carousel2[data-carousel-anim^="flipout-left"].anim-rev>input[type="radio"]:nth-of-type(4):checked ~ .carousel-contents>:nth-child(4),.carousel2[data-carousel-anim^="flipout-left"].anim-rev>input[type="radio"]:nth-of-type(5):checked ~ .carousel-contents>:nth-child(5),.carousel2[data-carousel-anim^="flipout-left"].anim-rev>input[type="radio"]:nth-of-type(6):checked ~ .carousel-contents>:nth-child(6),.carousel2[data-carousel-anim^="flipout-left"].anim-rev>input[type="radio"]:nth-of-type(7):checked ~ .carousel-contents>:nth-child(7),.carousel2[data-carousel-anim^="flipout-left"].anim-rev>input[type="radio"]:nth-of-type(8):checked ~ .carousel-contents>:nth-child(8),.carousel2[data-carousel-anim^="flipout-left"].anim-rev>input[type="radio"]:nth-of-type(9):checked ~ .carousel-contents>:nth-child(9),.carousel2[data-carousel-anim^="flipout-left"].anim-rev>input[type="radio"]:nth-of-type(10):checked ~ .carousel-contents>:nth-child(10),.carousel2[data-carousel-anim^="flipout-left"].anim-rev>input[type="radio"]:nth-of-type(11):checked ~ .carousel-contents>:nth-child(11),.carousel2[data-carousel-anim^="flipout-left"].anim-rev>input[type="radio"]:nth-of-type(12):checked ~ .carousel-contents>:nth-child(12){animation-name:flipin-left}.carousel-template .carousel2[data-carousel-anim^="flipout-right"]>input[type="radio"]:nth-of-type(1).prev-checked ~ .carousel-contents>:nth-child(1){animation-name:flipout-right}.carousel-template .carousel2[data-carousel-anim^="flipout-right"].anim-rev>input[type="radio"]:nth-of-type(1):checked ~ .carousel-contents>:nth-child(1){animation-name:flipin-right}.carousel2[data-carousel-anim^="flipout-right"]>input[type="radio"]:nth-of-type(1).prev-checked ~ .carousel-contents>:nth-child(1),.carousel2[data-carousel-anim^="flipout-right"]>input[type="radio"]:nth-of-type(2).prev-checked ~ .carousel-contents>:nth-child(2),.carousel2[data-carousel-anim^="flipout-right"]>input[type="radio"]:nth-of-type(3).prev-checked ~ .carousel-contents>:nth-child(3),.carousel2[data-carousel-anim^="flipout-right"]>input[type="radio"]:nth-of-type(4).prev-checked ~ .carousel-contents>:nth-child(4),.carousel2[data-carousel-anim^="flipout-right"]>input[type="radio"]:nth-of-type(5).prev-checked ~ .carousel-contents>:nth-child(5),.carousel2[data-carousel-anim^="flipout-right"]>input[type="radio"]:nth-of-type(6).prev-checked ~ .carousel-contents>:nth-child(6),.carousel2[data-carousel-anim^="flipout-right"]>input[type="radio"]:nth-of-type(7).prev-checked ~ .carousel-contents>:nth-child(7),.carousel2[data-carousel-anim^="flipout-right"]>input[type="radio"]:nth-of-type(8).prev-checked ~ .carousel-contents>:nth-child(8),.carousel2[data-carousel-anim^="flipout-right"]>input[type="radio"]:nth-of-type(9).prev-checked ~ .carousel-contents>:nth-child(9),.carousel2[data-carousel-anim^="flipout-right"]>input[type="radio"]:nth-of-type(10).prev-checked ~ .carousel-contents>:nth-child(10),.carousel2[data-carousel-anim^="flipout-right"]>input[type="radio"]:nth-of-type(11).prev-checked ~ .carousel-contents>:nth-child(11),.carousel2[data-carousel-anim^="flipout-right"]>input[type="radio"]:nth-of-type(12).prev-checked ~ .carousel-contents>:nth-child(12){animation-name:flipout-right}.carousel2[data-carousel-anim^="flipout-right"].anim-rev>input[type="radio"]:nth-of-type(1):checked ~ .carousel-contents>:nth-child(1),.carousel2[data-carousel-anim^="flipout-right"].anim-rev>input[type="radio"]:nth-of-type(2):checked ~ .carousel-contents>:nth-child(2),.carousel2[data-carousel-anim^="flipout-right"].anim-rev>input[type="radio"]:nth-of-type(3):checked ~ .carousel-contents>:nth-child(3),.carousel2[data-carousel-anim^="flipout-right"].anim-rev>input[type="radio"]:nth-of-type(4):checked ~ .carousel-contents>:nth-child(4),.carousel2[data-carousel-anim^="flipout-right"].anim-rev>input[type="radio"]:nth-of-type(5):checked ~ .carousel-contents>:nth-child(5),.carousel2[data-carousel-anim^="flipout-right"].anim-rev>input[type="radio"]:nth-of-type(6):checked ~ .carousel-contents>:nth-child(6),.carousel2[data-carousel-anim^="flipout-right"].anim-rev>input[type="radio"]:nth-of-type(7):checked ~ .carousel-contents>:nth-child(7),.carousel2[data-carousel-anim^="flipout-right"].anim-rev>input[type="radio"]:nth-of-type(8):checked ~ .carousel-contents>:nth-child(8),.carousel2[data-carousel-anim^="flipout-right"].anim-rev>input[type="radio"]:nth-of-type(9):checked ~ .carousel-contents>:nth-child(9),.carousel2[data-carousel-anim^="flipout-right"].anim-rev>input[type="radio"]:nth-of-type(10):checked ~ .carousel-contents>:nth-child(10),.carousel2[data-carousel-anim^="flipout-right"].anim-rev>input[type="radio"]:nth-of-type(11):checked ~ .carousel-contents>:nth-child(11),.carousel2[data-carousel-anim^="flipout-right"].anim-rev>input[type="radio"]:nth-of-type(12):checked ~ .carousel-contents>:nth-child(12){animation-name:flipin-right} /*** combinestatic: from:dinoportal/custom/maxwidth.css ***/ @charset 'utf-8';body:not(.page-content) #main,.inserted-spiral .spiral-header-defaults,.inserted-spiral .spiral-contents-container,#header-defaults,body.custom-header-menu-always-mobile #header-menu,#common-header,#main>.breadcrumbs>ol,#footer-container{max-width:1024px;margin-left:auto;margin-right:auto}#free_q-heading,#tag-heading{padding-left:15px}@media(min-width :1024px){#nativeadinfo>.nativeadinfo-container,#signup>.signup-container,#left-menu-container{right:-webkit-calc( 100vw / 2 - 1024px / 2)!important;right:calc( 100vw / 2 - 1024px / 2)!important}}@media(min-width:1064px){#bookmarks-heading>.container,.wfcontent-container{padding-left:15px;padding-right:15px}body:not(.custom-sidebar-left) #bookmarks-heading>.container,body:not(.custom-sidebar-left) .wfcontent-container{padding-left:0}body.custom-sidebar-left #bookmarks-heading>.container,body.custom-sidebar-left .wfcontent-container{padding-right:0}} </style> <link rel="stylesheet" href="/static/dinoportal/css/print.css?241128055109" media="print"> <link href="/static/lib/fontawesome-4/css/font-awesome.min.css" rel="stylesheet" type="text/css"> <link href="/static/lib/ligaturesymbols-2/LigatureSymbols.min.css" rel="stylesheet" type="text/css" media="print" onload="this.media='all'"> <link href="/static/lib/rvlvr/rvlvr.css" rel="stylesheet" media="print" onload="this.medhia='all'"> <script>$(function(){setTimeout(function(){$('#style-prevent-animation').remove();},1000)});</script> <script>window._langrc={login:'ログイン',search:'検索'}</script> <style id="style-combined-dinoportal_index_top_css.css"> /*** combinestatic: generated:dinoportal_index_top_css.css ***/ /*** combinestatic: from:dinoportal/css/index.css ***/ @charset "utf-8"; /*** combinestatic: from:dinoportal/css/newsfeed.css ***/ @charset "utf-8";.heading>.container{max-width:960px;margin-left:auto;margin-right:auto}@media(max-width:767px){.heading>.container{padding-left:15px;padding-right:15px}}#tenant-heading,#user-heading,#tag-heading,#tags-heading,#stags-heading,#free_q-heading{text-align:left;padding-top:40px;padding-bottom:20px}#tenant-heading,#user-heading .user-heading-name,#tag-heading,#free_q-heading{font-size:200%}#tenant-heading h1.tenant-heading-name,#tag-heading h1.feed-title.tag-heading-tag{font-size:unset;font-weight:unset;line-height:unset;margin:unset}#tag-heading.is-header-menu-tag{display:none}#tags-heading,#stags-heading{padding-top:0;padding-bottom:0}#tags-heading.heading>.container,#stags-heading.heading>.container{max-width:none}#tags-heading h1,#stags-heading h1{font-size:80%;line-height:1.6;font-weight:normal}#tags-heading a.tag,#stags-heading a.tag{border:1px solid rgba(128,128,128,.25);display:inline-block;padding:0 .4em;margin:.15em .25em .15em 0;vertical-align:middle}#tags-heading a.tag:hover,#stags-heading a.tag:hover{text-decoration:none;background:rgba(128,128,128,.25)}.free_q-heading-q{white-space:nowrap}@media(min-width:767px){#tag-heading,#free_q-heading{padding-right:314px}#tag-heading>.container,#free_q-heading>.container{max-width:720px}}#tag-heading>.container,#free_q-heading>.container{z-index:2}#tag-heading:after,#free_q-heading:after{content:"";display:block;position:absolute;top:0;right:0;left:0;bottom:0;z-index:1;background:rgba(0,0,0,0.1)}#free_q-heading>.container input[name="q"],#free_q-heading>.container .btn{padding:5px;height:1.7em;vertical-align:middle;line-height:1}#free_q-heading>.container input[name="q"]{color:#888}#free_q-heading>.container .btn{margin:0;width:auto}#free_q-heading>.container input[name="q"]:focus{outline:1px solid #888}@media(max-width:767px){#free_q-heading{white-space:nowrap;font-size:18px}}#user-heading{text-align:center}#user-heading .user-image{width:300px;height:300px;-moz-border-radius:50%;border-radius:50%;display:inline-block;font-size:150px;border:1px solid #ccc}#user-heading .user-heading-body{font-size:90%;line-height:1.5;color:#777;margin:20px auto;max-width:640px}#tenant-heading{text-align:center;font-size:200%;padding:20px}#tenant-heading-site{font-size:1rem}#tenant-heading-site>a{display:block;line-height:1.2;text-align:left;text-decoration:none}.tenant-heading-site-title{margin-top:0}.tenant-heading-site-description{font-size:90%}.tenant-heading-site-link{font-size:75%;margin-top:1em;padding-bottom:.5em;text-align:right}#tenant-heading-site>a:hover .tenant-heading-site-title,#tenant-heading-site>a:hover .tenant-heading-site-link{text-decoration:underline}#bookmarks-heading>.container{-moz-opacity:.5;opacity:.5}#newsfeed .wfcontent:not(.image-bg):not(.newsfeed-display-type-imagewide):first-child{padding-top:40px}@media(max-width:767px){#newsfeed .wfcontent:not(.image-bg):not(.newsfeed-display-type-imagewide):first-child{padding-top:20px}}.free_q input[name="q"],.free_q .btn{border:1px solid #888}.free_q{display:flex;align-items:center;flex-wrap:wrap}.free_q-key-opts{margin-top:.5em;font-size:.4em;align-self:stretch;display:flex;width:100%}.free_q-key-opts>label{padding:.25em 1em .25em 0;color:#888;text-shadow:none;display:flex;align-items:center;line-height:1.2;cursor:pointer}.free_q-key-opts>label>input[type="radio"]:first-child{margin-right:.25em}#newsfeed{position:relative}#newsfeed-nocontent{text-align:center;-moz-opacity:.3;opacity:.3;padding:20px;font-size:150%}#bookmarks-heading .container,#newsfeed .wfcontent,.wfcontent-container{max-width:720px;margin:0 auto;position:relative}#newsfeed .wfcontent.newsfeed-display-type-imagebgwide-nobody,#newsfeed .wfcontent.newsfeed-display-type-imagebgwide{max-width:none;width:100%}#newsfeed .wfcontent.image-bg *{color:white!important}#newsfeed .wfcontent.image-bg .wfcontent-container{padding-top:40px}#newsfeed .wfcontent.image-bg .wfcontent-container.flex-container,#newsfeed .wfcontent.image-bg .wfcontent-container.flex-mobile{display:block}#newsfeed .wfcontent.newsfeed-display-type-imagebg-nobody .wfcontent-container,#newsfeed .wfcontent.newsfeed-display-type-imagebg .wfcontent-container{padding-left:15px;padding-right:15px}#newsfeed .wfcontent.newsfeed-display-type-imagewide .wfcontent-imagewide{height:10em;margin-bottom:15px;background-position:center center;background-repeat:no-repeat;background-size:cover}#newsfeed .wfcontent.image-all{padding-top:0!important;padding-bottom:0!important}#newsfeed .wfcontent.image-all>a:not(.content-link-overwrap)>img,#newsfeed .wfcontent.image-all>a:not(.content-link-overwrap){display:block;width:100%;max-width:720px;position:relative}#newsfeed .wfcontent.image-all.fullwidth>a:not(.content-link-overwrap)>img,#newsfeed .wfcontent.image-all.fullwidth>a:not(.content-link-overwrap){max-width:none}#newsfeed .wfcontent.newsfeed-display-type-imageall-wide>a>img,#newsfeed .wfcontent.newsfeed-display-type-imageall-wide>a,#newsfeed .wfcontent.newsfeed-display-type-imageall-wide,#newsfeed .wfcontent.newsfeed-display-type-imageall-wide-withtitle>a>img,#newsfeed .wfcontent.newsfeed-display-type-imageall-wide-withtitle>a,#newsfeed .wfcontent.newsfeed-display-type-imageall-wide-withtitle{max-width:none}#newsfeed a.wfcontent-imageall+.wfcontent-container{margin-top:15px;margin-bottom:20px}#newsfeed .wfcontent.image-all .content-title{padding:0 5px}#newsfeed .wfcontent.newsfeed-display-type-imageall-withtitle .content-title h2,#newsfeed .wfcontent.newsfeed-display-type-imageall-wide-withtitle .content-title h2{font-weight:normal;font-size:.8rem;line-height:1.2em;color:white;text-shadow:0 0 2px black;-moz-opacity:.95;opacity:.95;margin:0;padding:0 5px}#newsfeed .wfcontent.newsfeed-display-type-imageall-wide-withtitle .content-title h2{max-width:720px;margin:0 auto}#newsfeed .wfcontent.newsfeed-display-type-imageall-withtitle .content-title,#newsfeed .wfcontent.newsfeed-display-type-imageall-wide-withtitle .content-title{position:absolute;bottom:5px;left:0;width:100%;max-width:720px}#newsfeed .wfcontent{padding-top:30px;padding-bottom:30px}#newsfeed .wfcontent:first-child{padding-top:0}#newsfeed .wfcontent .content-link{display:block}#newsfeed .wfcontent .content-link:hover{text-decoration:none}#newsfeed .wfcontent .content-title{margin-top:5px;margin-bottom:10px}#newsfeed .wfcontent .content-title>a{color:inherit}#newsfeed .wfcontent .content-body{margin-bottom:10px;margin-top:5px}#newsfeed .wfcontent .content-body,#newsfeed .wfcontent .content-author-info{opacity:.8}#newsfeed .wfcontent .content-info{margin-top:20px}#newsfeed .wfcontent .content-info a:hover{}#newsfeed .wfcontent .content-tags{margin-top:20px}#newsfeed .wfcontent .content-tags a:hover{}#newsfeed .wfcontent .content-author-image{display:inline-block;background:#888;color:white;width:32px;height:32px;-moz-border-radius:16px;border-radius:16px;vertical-align:middle;margin-right:5px}#newsfeed .wfcontent .content-author-info{display:inline-block;vertical-align:middle;line-height:1.3}#newsfeed .wfcontent .content-author-image+.content-author-info{padding-left:.5em}#newsfeed .wfcontent .content-subtitle-above,#newsfeed .wfcontent .content-subtitle-below{font-size:80%;opacity:.8}#newsfeed .wfcontent .content-subtitle-above{margin-bottom:0}#newsfeed .wfcontent .content-title{padding-bottom:10px;margin-bottom:0}#newsfeed .wfcontent .content-subtitle-below{margin-bottom:0;margin-top:-7px;padding-bottom:10px}#newsfeed .wfcontent .content-body-leading+.content-body-container{padding-top:20px}#newsfeed .wfcontent .content-body{font-size:87.5%;height:4.7em;overflow:hidden;display:block}@supports(-webkit-line-clamp:3){#newsfeed .wfcontent .content-body{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}}#newsfeed .wfcontent .content-info{font-size:75%}@media(max-width:767px){#newsfeed .wfcontent .content-body{font-size:92.857%}#newsfeed .wfcontent .content-info{font-size:85.714%}}#newsfeed .wfcontent span.content-author-image{font-size:20px;line-height:30px;border:1px solid #ccc;text-align:center;-moz-opacity:.5;opacity:.5;vertical-align:middle;position:relative;text-align:center;text-shadow:none;font-weight:bold}#newsfeed .wfcontent span.content-author-image>span{-moz-opacity:.8;opacity:.8}.wfcontent.is-official-user{}.wfcontent.is-official-user:not(.prevent-official-user-label) .content-leading{padding-top:1.70em}.wfcontent.is-official-user:not(.prevent-official-user-label) .content-user-official{-moz-opacity:.5;opacity:.5;font-size:80%;margin-bottom:.15em}#newsfeed .wfcontent:after{clear:both;display:block;content:"";height:0;width:100%;visibility:hidden}#newsfeed .wfcontent+.wfcontent{border-top:1px solid #eee}#newsfeed .wfcontent.image-bg+.wfcontent{border-top:none}#newsfeed-next{display:block;text-align:center;padding:40px 40px 120px 40px;color:#555;border-top:1px solid rgba(0,0,0,0.2)}#newsfeed-next.loading{opacity:.5}#newsfeed-next.loading>span{display:none}#newsfeed-next.loading::after{content:'\f1ce';font-family:FontAwesome;display:inline-block;-webkit-animation:fa-spin 2s infinite linear;-moz-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}.content-leading.flex-item{width:20%;padding-right:20px}.newsfeed-display-type-normal-right .content-leading.flex-item,.newsfeed-display-type-normal-big-right .content-leading.flex-item{padding-right:0}.content-leading.flex-item+.flex-item{width:80%}#newsfeed .wfcontent .content-title{margin-top:0}.wfcontent.newsfeed-display-type-normal>.flex-container>.content-leading,.wfcontent.newsfeed-display-type-normal-big>.flex-container>.content-leading{padding-right:15px;padding-left:0}.wfcontent.newsfeed-display-type-normal-right>.flex-container>.content-leading,.wfcontent.newsfeed-display-type-normal-right-big>.flex-container>.content-leading{-webkit-box-ordinal-group:2;-moz-box-ordinal-group:2;-ms-flex-order:2;-webkit-order:2;order:2;padding-right:0;padding-left:15px}.wfcontent.newsfeed-display-type-normal-big>.flex-container>.content-leading.flex-item,.wfcontent.newsfeed-display-type-normal-right-big>.flex-container>.content-leading.flex-item{-webkit-box-flex:1;-moz-box-flex:1;-ms-flex:1 1 auto;-webkit-flex:1 1 auto;flex:1 1 auto;width:50%}.wfcontent.newsfeed-display-type-normal-big>.flex-container>.content-leading.flex-item+.flex-item,.wfcontent.newsfeed-display-type-normal-right-big>.flex-container>.content-leading.flex-item+.flex-item{width:50%}@media(max-width:767px){#newsfeed h2{font-size:142.857%}#newsfeed .wfcontent .content-info{font-size:inherit}.content-leading.flex-item{width:25%;padding-right:10px;padding-left:0}.content-leading.flex-item+.flex-item{width:75%}.newsfeed-display-type-normal-right>.flex-container>.content-leading.flex-item,.newsfeed-display-type-normal-big-right>.flex-container>.content-leading.flex-item{padding-right:0;padding-left:10px}.newsfeed-display-type-normal-right>.flex-container>.content-leading.flex-item+.flex-iterm,.newsfeed-display-type-normal-big-right>.flex-container>.content-leading.flex-item+.flex-item{}}.content-leading .img-wrap{display:block;position:relative;background-position:center center;background-repeat:no-repeat;background-size:cover}.newsfeed-all-display-type-list .content-leading .img-wrap{-webkit-box-shadow:0 0 5px rgba(0,0,0,.25);-moz-box-shadow:0 0 5px rgba(0,0,0,.25);-ms-box-shadow:0 0 5px rgba(0,0,0,.25);box-shadow:0 0 5px rgba(0,0,0,.25)}.content-leading .img-wrap img{position:absolute;top:0;left:0;width:100%;height:100%;-moz-opacity:0;opacity:0;visibility:hidden}.content-leading .img-wrap:before{content:"";display:block;width:100%;padding-top:100%}.content-bookmark{font-size:75%;-moz-opacity:.5;opacity:.5}.content-bookmark:hover{-moz-opacity:.8;opacity:1}@media(max-width:767px){.content-bookmark{font-size:inherit}}#newsfeed .widget{background:#f8f8f8;padding:20px 15px;margin:0}@media(min-width:768px){#newsfeed .widget{display:none!important}}#newsfeed .content-tags{margin-top:1em;font-size:80%}#newsfeed .content-tag:before{font-family:FontAwesome;content:"\f02b";margin-right:.25em}#newsfeed .content-tags{display:none}#newsfeed.newsfeed-all-display-type-photo,#newsfeed.newsfeed-all-display-type-card{background:#eee;min-height:100vh}.newsfeed-all-display-type-photo>.newsfeed-container,.newsfeed-all-display-type-card>.newsfeed-container{position:relative;margin:0 auto;padding:0}.newsfeed-all-display-type-photo:after,.newsfeed-all-display-type-card:after{clear:both;content:"";display:block;width:100%;height:0}#newsfeed-next{border:none;clear:both;display:block;float:none}.newsfeed-all-display-type-photo .wfcontent,.newsfeed-all-display-type-card .wfcontent{display:inline-block;vertical-align:top;border:none!important;padding:0!important;margin:0!important}.newsfeed-all-display-type-photo .wfcontent+.wfcontent,.newsfeed-all-display-type-card .wfcontent+.wfcontent{border-top:none!important}.newsfeed-all-display-type-photo,.newsfeed-all-display-type-card{padding-top:5px}.newsfeed-all-display-type-photo .wfcontent .wfcontent-container,.newsfeed-all-display-type-card .wfcontent .wfcontent-container{position:relative;border:1px solid #ddd;background:white}.newsfeed-all-display-type-card .wfcontent .wfcontent-container{padding:10px!important;font-size:80%}.newsfeed-all-display-type-photo .wfcontent .wfcontent-container{padding:0!important;background:#888;color:white;text-shadow:0 0 3px rgba(0,0,0,0.5);font-size:60%}.newsfeed-all-display-type-photo .wfcontent .wfcontent-container *{color:white!important;font-size:.5rem}.newsfeed-all-display-type-photo .wfcontent .wfcontent-container .content-title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-bottom:0!important}.newsfeed-all-display-type-photo .wfcontent .wfcontent-container .content-body{display:none!important}.newsfeed-all-display-type-photo .wfcontent-container.flex-container,.newsfeed-all-display-type-card .wfcontent-container.flex-container{display:block}.newsfeed-all-display-type-photo .wfcontent-container.flex-container>.flex-item,.newsfeed-all-display-type-card .wfcontent-container.flex-container>.flex-item{width:100%;padding:0}.newsfeed-all-display-type-card .content-leading .img-wrap:before{padding-top:75%}.newsfeed-all-display-type-photo .content-leading .img-wrap:before{padding-top:75%}.newsfeed-all-display-type-card .wfcontent-container.flex-container>.flex-item+.flex-item{margin-top:10px}.newsfeed-all-display-type-card .content-title{padding:0;margin:5px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-height:1.6em}#newsfeed.newsfeed-all-display-type-card .content-info,.newsfeed-all-display-type-card .content-info{margin-top:.5em;margin-bottonm:-.5em}.newsfeed-all-display-type-card .content-user-official,.newsfeed-all-display-type-card .content-body,.newsfeed-all-display-type-card .content-tags{display:none}.newsfeed-all-display-type-card .content-author-avater{height:40px;padding-top:2px}.newsfeed-all-display-type-card .content-author-image-link{display:block}.newsfeed-all-display-type-card .content-author-info>.flex-item{max-height:calc( 1.3 * .75 * .8 * 1rem );max-height:40px;overflow:hidden;text-overflow:ellipsis}@supports(-webkit-line-clamp:3){.newsfeed-all-display-type-card .content-author-info>.flex-item{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}}@media(max-width:767px){.newsfeed-all-display-type-card .content-author-info>.flex-item{max-height:40px;line-height:1.1}}.newsfeed-all-display-type-photo .content-link{position:absolute;bottom:5px;left:10px;right:10px}.newsfeed-all-display-type-photo .content-title{padding:0;font-weight:normal;-moz-opacity:.8;opacity:.8}.newsfeed-all-display-type-photo .content-bookmark,.newsfeed-all-display-type-photo .content-info,.newsfeed-all-display-type-photo .content-user-official,.newsfeed-all-display-type-photo .content-body,.newsfeed-all-display-type-photo .content-tags{display:none}.newsfeed-all-display-type-photo .wfcontent,.newsfeed-all-display-type-card .wfcontent{width:32%;width:-webkit-calc( 100% / 3 - 5px * 4 / 3);width:calc( 100% / 3 - 5px * 4 / 3);margin:0 0 5px 5px!important}.newsfeed-all-display-type-card .wfcontent .content-body{height:4.7em}#newsfeed.newsfeed-all-display-type-card .wfcontent .content-info{margin-top:.5em}@media(max-width:767px){.newsfeed-all-display-type-photo .wfcontent,.newsfeed-all-display-type-card .wfcontent{width:95%;width:-webkit-calc( 100% - 10px );width:calc( 100% - 10px );margin:0 5px 5px 5px!important}}@media(max-width:767px) and (orientation:landscape){.newsfeed-all-display-type-photo .wfcontent,.newsfeed-all-display-type-card .wfcontent{width:45%;width:-webkit-calc( 100% / 2 - 15px / 2 );width:calc( 100% / 2 - 15px / 2 );margin:0 0 5px 5px!important}}body:not(.page-index):not(.page-newsfeed) #newsfeed.newsfeed-all-display-type-photo .content-feedlabel{display:none!important}#newsfeed .widget{clear:both;margin-top:5px;margin-bottom:5px}#newsfeed .widget+.widget{margin-top:-5px}#newsfeed .widget:last-child{margin-bottom:0}.newsfeed-block{position:relative;padding:8px 0}.newsfeed-block:first-child{padding-top:0}.newsfeed-block:last-child{padding-bottom:80px}.newsfeed-block-header-container,.newsfeed-block.newsfeed-all-display-type-normal .wfcontent-container,.newsfeed-block.newsfeed-all-display-type-carousel .wfcontent-container,.newsfeed-block.newsfeed-all-display-type-list .newsfeed-block-contents,.newsfeed-block.newsfeed-all-display-type-photo .newsfeed-block-contents,.newsfeed-block.newsfeed-all-display-type-card .newsfeed-block-contents{padding-left:15px;padding-right:15px;max-width:750px;max-width:calc(720px + 15px * 2);margin-left:auto;margin-right:auto}.newsfeed-block.newsfeed-all-display-type-carousel .wfcontent-container,.newsfeed-block.newsfeed-all-display-type-normal .wfcontent-container{padding-left:0;padding-right:0}.newsfeed-block-container:after{clear:both;content:"";display:table}#newsfeed .newsfeed-block.newsfeed-all-display-type-carousel .wfcontent,#newsfeed .newsfeed-block.newsfeed-all-display-type-normal .wfcontent{padding-bottom:0}.newsfeed-block .wfcontent-container{padding-left:0;padding-right:0}@media(max-width:767px){.newsfeed-block{padding:20px 0}}.newsfeed-block-header{text-align:left}.newsfeed-block:first-child .newsfeed-block-header{padding-top:20px}.newsfeed-block-header h2>a{display:block;border-bottom:1px solid rgba(0,0,0,0.25);text-decoration:none;padding:5px 0}#newsfeed .newsfeed-block.newsfeed-all-display-type-carousel .wfcontent:not(.image-bg):not(.newsfeed-display-type-imagewide),#newsfeed .newsfeed-block.newsfeed-all-display-type-normal .wfcontent:not(.image-bg):not(.newsfeed-display-type-imagewide):first-child{padding-top:0}#newsfeed .newsfeed-block .wfcontent{padding-left:15px;padding-right:15px;max-width:750px;margin:0 auto;position:relative}#newsfeed .newsfeed-block .wfcontent.newsfeed-display-type-imagebgwide-nobody,#newsfeed .newsfeed-block .wfcontent.newsfeed-display-type-imagebgwide{max-width:none;width:100%}#newsfeed .newsfeed-block .wfcontent.newsfeed-display-type-imageall-wide>a>img,#newsfeed .newsfeed-block .wfcontent.newsfeed-display-type-imageall-wide>a,#newsfeed .newsfeed-block .wfcontent.newsfeed-display-type-imageall-wide,#newsfeed .newsfeed-block .wfcontent.newsfeed-display-type-imageall-wide-withtitle>a>img,#newsfeed .newsfeed-block .wfcontent.newsfeed-display-type-imageall-wide-withtitle>a,#newsfeed .newsfeed-block .wfcontent.newsfeed-display-type-imageall-wide-withtitle{max-width:none}#newsfeed .newsfeed-block .wfcontent.fullwidth{padding-left:0;padding-right:0}#newsfeed .newsfeed-block .wfcontent.image-bg{max-width:720px;padding-left:0;padding-right:0}#newsfeed .newsfeed-block .wfcontent.image-bg .wfcontent-container{padding-bottom:15px}#newsfeed .newsfeed-block.first-content-is-fullwidth .newsfeed-block-header h2>a{position:relative;z-index:2;color:white;text-shadow:0 0 3px rgba(0,0,0,0.5);border-bottom-color:rgba(255,255,255,0.5);padding-top:20px}#newsfeed .newsfeed-block.first-content-is-fullwidth .wfcontent{position:static}#newsfeed .newsfeed-block.first-content-is-fullwidth.first-content-is-imageall .newsfeed-block-header{position:absolute;top:0;left:0;right:0}#newsfeed .newsfeed-block .wfcontent+.wfcontent{border-top:none}#newsfeed .newsfeed-block .wfcontent .content-title{padding-bottom:0}#newsfeed .newsfeed-block .wfcontent .content-info{margin-top:0}#newsfeed .newsfeed-block .wfcontent.is-official-user .content-leading{padding-top:0}#newsfeed .newsfeed-block .wfcontent+.wfcontent{margin-top:5px}.newsfeed-block.newsfeed-all-display-type-list .wfcontent.not-has-display-type .content-leading.flex-item{width:5.2em;width:calc(1.6em * 3);-webkit-box-flex:0;-moz-box-flex:0;-ms-flex:0 0 auto;-webkit-flex:0 0 auto;flex:0 0 auto}.newsfeed-block.newsfeed-all-display-type-list .wcontent.not-has-display-type .content-leading.flex-item{padding-right:10px}.newsfeed-block.newsfeed-all-display-type-list .wfcontent.not-has-display-type>.flex-container>.content-leading.flex-item+.flex-item{width:auto;overflow:hidden}.newsfeed-block .content-title,.newsfeed-block .content-author-info>.flex-item{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.newsfeed-block.newsfeed-all-display-type-carousel .content-title,.newsfeed-block.newsfeed-all-display-type-carousel .content-author-info>.flex-item,.newsfeed-block.newsfeed-all-display-type-normal .content-title,.newsfeed-block.newsfeed-all-display-type-normal .content-author-info>.flex-item{white-space:normal}@media(min-width:767px){.newsfeed-block.newsfeed-all-display-type-photo .wfcontent,.newsfeed-block.newsfeed-all-display-type-card .wfcontent{}}@media(max-width:767px) and (orientation:portrait){#newsfeed .newsfeed-block.newsfeed-all-display-type-list .wfcontent{padding:0}.newsfeed-block.newsfeed-all-display-type-photo .wfcontent,.newsfeed-block.newsfeed-all-display-type-card .wfcontent{width:48%;width:-webkit-calc( 100% / 2 + 5px / 2 - 5px );width:calc( 100% / 2 + 5px / 2 - 5px );margin:0 5px 5px 0!important}.newsfeed-block.newsfeed-all-display-type-photo .wfcontent:nth-child(2n),.newsfeed-block.newsfeed-all-display-type-card .wfcontent:nth-child(2n){margin-right:0!important}.newsfeed-block.newsfeed-all-display-type-card .wfcontent .wfcontent-container{padding:5px!important}}@media(max-width:767px) and (orientation:landscape){.newsfeed-block.newsfeed-all-display-type-photo .wfcontent,.newsfeed-block.newsfeed-all-display-type-card .wfcontent{width:30%;width:-webkit-calc( 100% / 3 + 5px / 3 - 5px );width:calc( 100% / 3 + 5px / 3 - 5px );margin:0 5px 5px 0!important}.newsfeed-block.newsfeed-all-display-type-photo .wfcontent:nth-child(3n),.newsfeed-block.newsfeed-all-display-type-card .wfcontent:nth-child(3n){margin-right:0!important}.newsfeed-block.newsfeed-all-display-type-card .wfcontent .wfcontent-container{padding:5px!important}}#newsfeed .newsfeed-block.newsfeed-all-display-type-list .wfcontent .content-info,#newsfeed .newsfeed-block.newsfeed-all-display-type-photo .wfcontent .content-info,#newsfeed .newsfeed-block.newsfeed-all-display-type-card .wfcontent .content-info{font-size:75%}.newsfeed-block-contents-container:after{content:"";display:table;clear:both}.newsfeed-block.newsfeed-all-display-type-card .wfcontent:nth-child(n+9),.newsfeed-block.newsfeed-all-display-type-photo .wfcontent:nth-child(n+9),.newsfeed-block.newsfeed-all-display-type-list .wfcontent:nth-child(n+8){display:none!important}@media(min-width:768px){.newsfeed-block.newsfeed-all-display-type-list .wfcontent{width:50%;padding:0;position:relative;float:left}#newsfeed .newsfeed-block.newsfeed-all-display-type-list .wfcontent{padding:0}#newsfeed .newsfeed-block.newsfeed-all-display-type-list .wfcontent:nth-child(2n+2){padding-right:5px!important}#newsfeed .newsfeed-block.newsfeed-all-display-type-list .wfcontent:nth-child(2n+3){padding-left:5px!important}.newsfeed-block.newsfeed-all-display-type-carousel .wfcontent .content-leading .img-wrap:before,.newsfeed-block.newsfeed-all-display-type-normal .wfcontent .content-leading .img-wrap:before,.newsfeed-block.newsfeed-all-display-type-list .wfcontent .content-leading .img-wrap:before{padding-top:75%}.newsfeed-block.newsfeed-all-display-type-photo .wfcontent,.newsfeed-block.newsfeed-all-display-type-card .wfcontent{width:24%;width:-webkit-calc( 100% / 4 + 5px / 4 - 5px );width:calc( 100% / 4 + 5px / 4 - 5px );margin:0 5px 5px 0!important;padding:0!important}.newsfeed-block.newsfeed-all-display-type-photo .wfcontent:nth-child(4n),.newsfeed-block.newsfeed-all-display-type-card .wfcontent:nth-child(4n){margin-right:0!important}.newsfeed-block.newsfeed-all-display-type-list .wfcontent:nth-child(2),.newsfeed-block.newsfeed-all-display-type-list .wfcontent:nth-child(3){margin-top:0!important}.newsfeed-block.newsfeed-all-display-type-card .wfcontent .wfcontent-container{padding:5px!important}}.newsfeed-block.newsfeed-all-display-type-list .wfcontent:first-child{width:100%;font-size:120%;padding:0!important;margin-bottom:1em!important}.newsfeed-block.newsfeed-all-display-type-carousel .wfcontent.newsfeed-display-type-carousel .content-leading.flex-item,.newsfeed-block.newsfeed-all-display-type-carousel .wfcontent.newsfeed-display-type-carousel-right .content-leading.flex-item,.newsfeed-block.newsfeed-all-display-type-normal .wfcontent.newsfeed-display-type-normal .content-leading.flex-item,.newsfeed-block.newsfeed-all-display-type-normal .wfcontent.newsfeed-display-type-normal-right .content-leading.flex-item,.newsfeed-block.newsfeed-all-display-type-list .wfcontent:first-child{font-size:120%}.newsfeed-block.newsfeed-all-display-type-list .wfcontent:first-child .content-title{white-space:normal;font-weight:bold}.newsfeed-block.newsfeed-all-display-type-carousel .wfcontent.newsfeed-display-type-carousel .content-leading.flex-item,.newsfeed-block.newsfeed-all-display-type-carousel .wfcontent.newsfeed-display-type-carousel-right .content-leading.flex-item,.newsfeed-block.newsfeed-all-display-type-normal .wfcontent.newsfeed-display-type-normal .content-leading.flex-item,.newsfeed-block.newsfeed-all-display-type-normal .wfcontent.newsfeed-display-type-normal-right .content-leading.flex-item,.newsfeed-block.newsfeed-all-display-type-list .wfcontent.not-has-display-type:first-child .content-leading.flex-item{width:9.6em;width:calc(1.6em * 6)}@media(max-width:767px){.newsfeed-block.newsfeed-all-display-type-list .wfcontent.not-has-display-type:first-child .content-leading.flex-item{width:6.4em;width:calc(1.6em * 4)}}#newsfeed .newsfeed-block .content-title+.content-body{margin-top:.5em}#newsfeed .newsfeed-block.newsfeed-all-display-type-list .content-body,#newsfeed .newsfeed-block.newsfeed-all-display-type-photo .content-body,#newsfeed .newsfeed-block.newsfeed-all-display-type-card .content-body{font-size:60%;-moz-opacity:.8;opacity:.8;line-height:1.5;max-height:4.49em;display:block}@supports(-webkit-line-clamp:3){#newsfeed .newsfeed-block.newsfeed-all-display-type-list .content-body,#newsfeed .newsfeed-block.newsfeed-all-display-type-photo .content-body,#newsfeed .newsfeed-block.newsfeed-all-display-type-card .content-body{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}}.newsfeed-block.newsfeed-all-display-type-carousel h2{margin-bottom:0}#newsfeed .carousel-wrap{max-width:720px;margin-left:auto;margin-right:auto}#newsfeed .carousel-wrap .wfcontent.newsfeed-display-type-imagebg-nobody .wfcontent-container,#newsfeed .carousel-wrap .wfcontent.newsfeed-display-type-imagebg .wfcontent-container{padding-left:48px;padding-right:48px;padding-bottom:28px}#newsfeed .carousel-wrap .wfcontent.image-bg .wfcontent-container{position:absolute!important;left:0;right:0;bottom:0;top:auto}#newsfeed .carousel-wrap .wfcontent.image-bg{height:235px;position:relative}#newsfeed .carousel-wrap .wfcontent.image-bg h2.content-title{position:relative;overflow:hidden;max-height:92px;max-height:-webkit-calc(1em * 1.4 * 3 - .1em + 10px);max-height:calc(1em * 1.4 * 3 - .1em + 10px);display:block;padding:0 0 10px 0;text-overflow:ellipsis}@supports(-webkit-line-clamp:3){#newsfeed .carousel-wrap .wfcontent.image-bg h2.content-title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}}#newsfeed .carousel-wrap .wfcontent.image-bg .content-body{position:relative;overflow:hidden;max-height:66px;max-height:-webkit-calc(1em * 1.6 * 3 - .1em);max-height:calc(1em * 1.6 * 3 - .1em);display:block;text-overflow:ellipsis;white-space:nowrap}@supports(-webkit-line-clamp:3){#newsfeed .carousel-wrap .wfcontent.image-bg .content-body{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}}@media(max-width:767px){#newsfeed .carousel-wrap .wfcontent.image-bg{height:216px;position:relative}#newsfeed .carousel-wrap .wfcontent.image-bg h2.content-title{position:relative;overflow:hidden;max-height:66px;max-height:-webkit-calc(1em * 1.4 * 3 - .1em);max-height:calc(1em * 1.4 * 3 - .1em);display:block}@supports(-webkit-line-clamp:3){#newsfeed .carousel-wrap .wfcontent.image-bg h2.content-title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}}#newsfeed .carousel-wrap .wfcontent.image-bg .content-body{position:relative;overflow:hidden;max-height:55px;max-height:-webkit-calc(1em * 1.6 * 3 - .1em);max-height:calc(1em * 1.6 * 3 - .1em);display:block;text-overflow:ellipsis;white-space:nowrap}@supports(-webkit-line-clamp:3){#newsfeed .carousel-wrap .wfcontent.image-bg .content-body{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}}}a.content-link-overwrap{position:absolute;top:0;left:0;right:0;bottom:0;text-decoration:none;background:rgba(255,255,255,0)}a.content-link-overwrap:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background:white;opacity:0}.wfcontent.has-vote,.wfcontent.has-quiz,.wfcontent.has-vote.has-quiz{}.wfcontent.has-vote .content-title:before,.wfcontent.has-quiz .content-title:before{font-family:verdana;font-weight:bold;display:inline-block;line-height:1;font-size:60%;vertical-align:text-top;padding:.25em;margin-right:.5em;position:relative;top:.05em}.wfcontent.has-vote .content-title:before{content:"VOTE";background:#dcbd23;color:black;color:hsl(49,72%,15%);text-shadow:none}.wfcontent.has-quiz .content-title:before{content:"QUIZ";background:#c73738;color:white;color:hsl(359,56%,97%);text-shadow:none}.wfcontent .content-feedlabel{text-align:left;font-size:60%;margin-top:-1em;margin-bottom:.5em}.newsfeed-all-display-type-photo .wfcontent .content-feedlabel{position:absolute;top:0;right:0;margin:0}.wfcontent .content-feedlabel>span{line-height:1;display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;padding:.25em;white-space:nowrap;text-shadow:none;position:relative;top:.05em;vertical-align:middle}.wfcontent .content-feedlabel>span{color:rgba(0,0,0,.9);font-weight:bold;font-family:verdana,Meiryo,sans-serif}.newsfeed-block .wfcontent .content-feedlabel{margin-top:0;position:absolute;bottom:0;right:0;margin:0;z-index:10;max-width:100%}.wfcontent .content-link[target="_blank"] .content-title:before{font-family:'FontAwesome';font-weight:normal;font-style:normal;content:"\f08e";font-size:66.666666%;margin-right:.4em;opacity:.5;vertical-align:text-bottom;color:inherit;background:inherit}.wfcontent .content-link[target="_blank"]:hover .content-title:before{opacity:1}.wfcontent[data-limited] .content-title:before{font-family:FontAwesome;content:'\f023';opacity:.2;margin-right:.25em}.wfcontent[data-limited="locked"] .content-title:before{}.wfcontent[data-limited="unlocked"] .content-title:before{content:'\f09c'} </style> <style id="style-combined-dinoportal_index_top_css_async.css"> /*** combinestatic: generated:dinoportal_index_top_css_async.css ***/ /*** combinestatic: from:dinoportal/css/users.css ***/ @charset "utf-8";#users-heading{max-width:720px;margin-left:auto;margin-right:auto}@media(max-width:1063px){#users-heading{padding:15px}}#users-heading h1{-moz-opacity:.5;opacity:.5}#users{position:relative}@media(max-width:767px){#users{font-size:80%}}#users .wfuser,.wfuser-container{max-width:720px;margin:0 auto;position:relative}@media(max-width:1063px){#users .wfuser{padding-left:15px;padding-right:15px}}#users .wfuser{padding-top:30px;padding-bottom:30px}#users .wfuser .wfuser-link{display:block}#users .wfuser .wfuser-link:hover{text-decoration:none}#users .wfuser .wfuser-desc{max-height:6.3em;overflow:hidden}#users .wfuser .wfuser-image{width:100%;height:auto;-moz-border-radius:50%;border-radius:50%}#users .wfuser.is-official-user{}#users .wfuser:after{clear:both;display:block;content:"";height:0;width:100%;visibility:hidden}#users .wfuser+.wfuser{border-top:1px solid #eee}#users .wfuser .wfuser-name{margin-top:0}@media(min-width:768px){#users .wfuser .wfuser-avatar{width:25%}#users .wfuser .wfuser-info{width:75%}.wfuser-info-container{padding-left:15px}#users .wfuser .wfuser-desc{font-size:87.5%}}@media(max-width:767px){#users-heading h1{margin:0}#users-heading>.container{padding:0}#users h2{font-size:142.857%}#users .wfuser{text-align:center}#users .wfuser .wfuser-avatar,#users .wfuser .wfuser-info{margin-left:auto;margin-right:auto}#users .wfuser .wfuser-info{padding-top:15px}#users .wfuser .wfuser-avatar{width:75%}}#users .widget{background:#f8f8f8;padding:20px 15px;margin:0} /*** combinestatic: from:dinoportal/css/tenants.css ***/ @charset "utf-8";#tenants-heading{max-width:720px;margin-left:auto;margin-right:auto}@media(max-width:1063px){#tenants-heading{padding:15px}}#tenants-heading h1{-moz-opacity:.5;opacity:.5}#tenants{position:relative}@media(max-width:767px){#tenants{font-size:80%}}#tenants .wftenant,.wftenant-container{max-width:720px;margin:0 auto;position:relative}@media(max-width:1063px){#tenants .wftenant{padding-left:15px;padding-right:15px}}#tenants .wftenant{padding-top:30px;padding-bottom:30px}#tenants .wftenant .wftenant-link{display:block}#tenants .wftenant .wftenant-link:hover{text-decoration:none}#tenants .wftenant .wftenant-desc{}#tenants .wftenant .wftenant-image{width:100%;height:auto}#tenants .wftenant.is-official-user{}#tenants .wftenant:after{clear:both;display:block;content:"";height:0;width:100%;visibility:hidden}#tenants .wftenant+.wftenant{border-top:1px solid #eee}#tenants .wftenant .wftenant-name{margin-top:0}@media(min-width:768px){#tenants .wftenant .wftenant-avatar{width:25%}#tenants .wftenant .wftenant-info{width:75%}.wftenant-info-container{padding-left:15px}#tenants .wftenant .wftenant-desc{font-size:87.5%}}@media(max-width:767px){#tenants-heading h1{margin:0}#tenants-heading>.container{padding:0}#tenants h2{font-size:142.857%}#tenants .wftenant{text-align:center}#tenants .wftenant .wftenant-avatar,#tenants .wftenant .wftenant-info{margin-left:auto;margin-right:auto}#tenants .wftenant .wftenant-info{padding-top:15px}#tenants .wftenant .wftenant-avatar{width:75%}}#tenants .widget{background:#f8f8f8;padding:20px 15px;margin:0} </style> <link rel="stylesheet" href="/static/dinoportal/css/newsfeed-flex.css?241128055109"> <style> .network-error > span:after { content:'通信エラーです' '\0a' 'しばらくして再読み込みしてください'; } </style> <script id="script-acs-flags"> window._use_acs_feed_dummy=false; window._use_vpv_iframe=false; </script> <!-- custom css as less --> <style id="style-site-custom" type="text/less"> /**** 各種色設定 ****/ /**** imported colors.less ****/ @colors-base: #666; @colors-base-bg: white; @colors-base-box: @colors-base; @colors-base-box-bg: fade(@colors-base, 8%); @colors-header: @colors-base; @colors-header-bg: @colors-base-bg; @colors-header-menu: @colors-header; @colors-header-menu-bg: @colors-header-bg; @colors-header-menu-active: black; @colors-header-menu-active-bg: transparent; @colors-header-menu-active-mark: black; @colors-header-shadow: #eee; @colors-footer: @colors-base-box; @colors-footer-bg: @colors-base-box-bg; @colors-widget: @colors-base-box; @colors-widget-bg: @colors-base-box-bg; @colors-marble: @colors-widget; @colors-marble-bg: @colors-widget-bg; @colors-marblebar: @colors-base; @colors-marblebar-bg: @colors-base-bg; @colors-menufeed-title: black; @colors-contents-title: @colors-base; @colors-cards-bg: #eee; @colors-content-heading: @colors-base; @colors-content-heading-decoration: @colors-base; @colors-content-subheading: @colors-base; @colors-content-subheading-decoration: @colors-base; @colors-content-body-link: inherit; @colors-content-body-link-active: inherit; @colors-content-quote: @colors-base-box; @colors-content-quote-bg: @colors-base-box-bg; @colors-content-box: @colors-base-box; @colors-content-box-bg: @colors-base-box-bg; @colors-paging-current: @colors-base-box; @colors-paging-current-bg: @colors-base-box-bg; @colors-spiral-header: @colors-header; @colors-spiral-header-bg: @colors-header-bg; @colors-spiral-header-shadow: @colors-header-shadow; @colors-btn: black; @colors-btn-bg: #eee; @colors-btn-border: #ccc; @colors-btn-colored: white; @colors-btn-colored-bg: hsl(359, 57%, 49%); @colors-btn-colored-border: hsl(359, 57%, 49%); @colors-tab-active: hsl(359, 57%, 49%); body { color: @colors-base; background: @colors-base-bg; } .content-info { color: @colors-base; } *,*:after,*:before { border-color: fade(@colors-base, 50%); } #header-container, .menu-overflowed > .container { color: @colors-header; } #header-bgs:after { border-bottom-color: @colors-header-shadow; } .spiral-header-container { color: @colors-spiral-header; } .spiral-header-bgs { border-bottom-color: @colors-spiral-header-shadow; } #header-menu { color: @colors-header-menu; } .menu-overflowed > .container { color: @colors-header-menu; background: @colors-header-menu-bg; } #header-bg { background: @colors-header-bg; } .spiral-header-bg { background: @colors-spiral-header-bg; } #header-menu-bg { background: @colors-header-menu-bg; } #header:not(.initialized) { background: @colors-header-bg; } @media (max-width:767px) { #header:not(.initialized) #header-menu { background: @colors-header-menu-bg; } } #header-menu > a:hover, #header-menu > a.active { color: @colors-header-menu-active; background: @colors-header-menu-active-bg; } #header-menu > a:hover:after, #header-menu > a.active:after { border-bottom-color: @colors-header-menu-active-mark; } #footer { color: @colors-footer; background: @colors-footer-bg; } .newsfeed-block-header h2 { color: @colors-menufeed-title; } #newsfeed .wfcontent .content-link .content-title { color: @colors-contents-title; } #newsfeed.newsfeed-all-display-type-photo, #newsfeed.newsfeed-all-display-type-card { background: @colors-cards-bg; } body.page-ctstock #main > .content .content-summary a:not(.btn), body.page-ctstock #main > .content .content-body-body a:not(.btn), body.page-content #main > .content .content-summary a:not(.btn), body.page-content #main > .content .content-body-body a:not(.btn) { color: @colors-content-body-link; } body.page-ctstock #main > .content .content-summary a:not(.btn):hover, body.page-ctstock #main > .content .content-summary a:not(.btn):active, body.page-ctstock #main > .content .content-body-body a:not(.btn):hover, body.page-ctstock #main > .content .content-body-body a:not(.btn):active, body.page-content #main > .content .content-summary a:not(.btn):hover, body.page-content #main > .content .content-summary a:not(.btn):active, body.page-content #main > .content .content-body-body a:not(.btn):hover, body.page-content #main > .content .content-body-body a:not(.btn):active { color: @colors-content-body-link-active; } .article > .article-heading { color: @colors-content-heading; border-color: @colors-content-heading-decoration; } .article > .article-subheading { color: @colors-content-subheading; border-color: @colors-content-subheading-decoration; } .article > .quotebox { color: @colors-content-quote; background: @colors-content-quote-bg; } .article > p.box { color: @colors-content-box; background: @colors-content-box-bg; } body:not(.custom-sidebar-separate) .widgets, body.custom-sidebar-separate .widgets > *, #newsfeed .widget { color: @colors-widget; background: @colors-widget-bg; } #newsfeed .marble { color: @colors-marble; background: @colors-marble-bg; } #newsfeed .marblebar { color: @colors-marblebar; background: @colors-marblebar-bg; } .btn, .btn:hover, .btn:active, a.btn, a.btn:hover, a.btn:active, a.btn:visited, button, button:hover, button:active, input[type="button"], input[type="submit"], input[type="reset"], input[type="button"]:hover, input[type="submit"]:hover, input[type="reset"]:hover, input[type="button"]:active, input[type="submit"]:active, input[type="reset"]:active { color:@colors-btn; background:@colors-btn-bg; border:1px solid @colors-btn-border; } .btn-colored, .btn-colored:hover, .btn-colored:active, .btn-colored[disabled], .btn-colored[disabled]:hover, a.btn-colored, a.btn-colored:hover, a.btn-colored:active, a.btn-colored:visited, a.btn-colored[disabled], a.btn-colored[disabled]:hover, a.btn-colored[disabled]:visited, input[type="button"].btn-colored, input[type="button"].btn-colored:hover, input[type="button"].btn-colored:active, button:not([type]):not(.btn-normal), button[type="submit"]:not(.btn-normal), input[type="submit"]:not(.btn-normal), button[type="submit"]:not(.btn-normal):hover, input[type="submit"]:not(.btn-normal):hover, button[type="submit"]:not(.btn-normal):active, input[type="submit"]:not(.btn-normal):active { color:@colors-btn-colored; background:@colors-btn-colored-bg; border:1px solid @colors-btn-colored-border; } .nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li > a:hover { border-bottom-color:@colors-tab-active; } .nav-tabs > li > a:hover { border-bottom-color:fade(@colors-tab-active, 30%); } body.page-ctstock #main>.content .content-body-body a.content-paging-link.content-paging-link-current, body.page-ctstock #main>.content .content-body-body a.content-paging-link:hover, body.page-content #main>.content .content-body-body a.content-paging-link.content-paging-link-current, body.page-content #main>.content .content-body-body a.content-paging-link:hover { color: @colors-paging-current; background: @colors-paging-current-bg; border-color: @colors-paging-current; } /**** end of imported colors.less ****/ @colors-main: #cfba53; @colors-accent: #000; @colors-sub1: #fff; @colors-sub2: fade(@colors-main, 70%); /* 以下、変更が必要な行のみ設定でOK */ /* ベース設定 */ @colors-base: #333; /* ベース色(文字) */ @colors-base-bg: hsl(0,0%,100%); /* ベース色(背景) */ @colors-base-box: @colors-base; /* 箱囲み(背景) */ @colors-base-box-bg: fade(@colors-base, 8%); /* 箱囲み(背景) */ /* ヘッダ */ @colors-header: hsl(0,0%,87%); /* ヘッダ色(文字) */ @colors-header-bg: @colors-main; /* ヘッダ色(背景) */ @colors-header-menu: @colors-sub1; /* ヘッダメニュー(文字) */ /* フッタ */ @colors-footer: @colors-sub1; /* フッタ色(文字) */ @colors-footer-bg: @colors-main; /* フッタ色(背景) */ /* サイドバーとウィジェット */ @colors-widget: @colors-base-box; /* ウィジェット(文字) */ @colors-widget-bg: @colors-base-box-bg; /* ウィジェット(背景) */ /* コンテンツ */ @colors-content-heading-decoration: @colors-main; /* コンテンツ見出し装飾 */ @colors-content-subheading-decoration: @colors-main; /* コンテンツ小見出し装飾 */ @colors-content-body-link: @colors-main; /* コンテンツ内リンク */ @colors-content-body-link-active: @colors-sub2; /* コンテンツ内リンク(アクティブ/ホバー) */ /* ボタン */ /* input[type="button"],button[type="buttton"],.btn,.btn-normal */ @colors-btn: black; /* ボタン文字色 */ @colors-btn-bg: #eee; /* ボタン背景色 */ @colors-btn-border: #ccc; /* ボタン枠色 */ /* input[type="submit"],button[type="submit"],.btn-colored */ @colors-btn-colored: white; /* 色付きボタン文字色 */ @colors-btn-colored-bg: @colors-main; /* 色付きボタン背景色 */ @colors-btn-colored-border: @colors-main; /* 色付きボタン枠色 */ /**** 新着・優先マーカーを追加 ****/ /* @import '/static/dinoportal/custom/new-marker.less'; @new-marker-recent: '3d'; /* 0d, 1d, 2d, 3d, 1w, 1m, test */ @colors-new-marker: #fff; @colors-new-marker-bg: hsl(0, 67%, 45%); /**** 非表示要素 ****/ #header-right a#user-notifies-toggle, .pinned-marker, .wfuser-site, .user-heading-site,.content-author-site-wrap,.widget-content-author-site-wrap, .content-author-avater, .content-author-name, .widget-content-author, .widget.widget-hot, .content .content-pubdate { display:none; } @media (min-width:768px) { .custom-menufeed-big-leading #newsfeed .newsfeed-block.newsfeed-all-display-type-card .wfcontent:first-child .content-leading .img-wrap:before { padding-bottom: 13.2px; } #main-contents-container { padding-right: 290px; } } /**** ヘッダメニューを常にモバイルと同じにする ****/ /**** imported header-menu-always-mobile.css ****/ @media (min-width:768px) { #main { padding-top:105px; } .spiral-header-container, #header-container { font-size:14px; height:auto; } #header.slide-up #header-container { } #header-menu { font-size:90%; } #header-menu { -webkit-box-ordinal-group:3; -moz-box-ordinal-group:3; -ms-flex-order:3; -webkit-order:3; order:3; width:100%; padding-left:15px; padding-right:15px; } .spiral-header-defaults, #header-defaults { flex-wrap:wrap; } #header-menu > * { display:inline-block; } #header-menu { white-space: nowrap; } #header-menu > .menu-more { padding-left:10px; padding-right:10px; } #header-right { -webkit-box-ordinal-group:2; -moz-box-ordinal-group:2; -ms-flex-order:2; -webkit-order:2; order:2; } #header-menu > a, #header-menu > span { padding:12px; padding-bottom:10px; height:auto; } #header-menu-bg { background:@colors-header-bg; } } /**** end of imported header-menu-always-mobile.css ****/ #header-menu { margin-bottom: -2px; } @media (min-width: 768px) { #header-menu { padding-left: 0; padding-right: 0; } #main-contents-container { padding-right: 290px; } } #header-menu > .nav-scroll { width: 100%; overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; display: flex; justify-content: flex-start; height: auto; } #header-menu > .nav-scroll > * { display: block; line-height: 1; position: relative; padding: 12px 1.5em; } @media (max-width:767px) { #header-menu { padding: 0; } #header-menu > .nav-scroll { justify-content: flex-start; } #header-menu > .nav-scroll > a:last-child { padding-right: 1em; } #header-menu>* { padding: 0 5px; } } /* * @header ================================= */ #header-menu a.active { background: @colors-accent; font-weight: bold; } #header-menu a:not(.active):hover { background: @colors-accent; } #header-right a:hover { color: @colors-sub1; } #header-right > a { font-size: 110%; display: block; text-align: center; } #header-right > a::after { display: block; font-size: 75%; line-height: 1; } @media (max-width: 767px) { #header-right > a#search-icon { -webkit-box-ordinal-group: 1; -webkit-order: 1; order: 1; } } .spiral-headier-bgs:after, #header-bgs:after { display: none; } #newsfeed .wfcontent .content-link .content-title { font-family: 'Noto Serif JP', serif; } /* * @newsfeed ================================= */ .wfcontent[data-tags*="sponsored"] .content-author-info .flex-item::before, .content[data-tags*="sponsored"] .content-cover-over .content-author-info::before { content: 'sponsored'; display: block; color: #a9a9a9; } .wfcontent .content-feedlabel { display: none; } #newsfeed.newsfeed-all-display-type-flex .wfcontent .content-info { margin: 0; } #newsfeed .wfcontent .content-author-info { opacity: 1; } #newsfeed .wfcontent .content-title:before { color: #fff; padding: .4em; font-size: 50%; } @media (min-width: 768px) { #newsfeed.newsfeed-all-display-type-flex > .newsfeed-container > .wfcontent:nth-child(22n+2), #newsfeed.newsfeed-all-display-type-flex > .newsfeed-container > .wfcontent:nth-child(22n+3) { height: 25em; } } @media (max-width: 767px) { #newsfeed h2 { font-size: 125%; } } /* * @widget ================================= */ #main-contents-container >.widgets, #newsfeed .widget { background: none; } .widgets { padding: 0 0 0 0; width: 280px; } .widget { padding: 0; } .widget + .widget { margin-top: 32px; } #main-contents-container >.widgets .widget:last-of-type { padding-bottom: 40px; } .widget h3 { display: block; border-bottom: 2px solid @colors-main; text-decoration: none; padding: 0 0 5px; color: @colors-base; font-size: 125%; } .widget h3 a:hover { text-decoration: none; } .content-region .widget h3 { color: @colors-base; } .widget-content-leading { width: 40%; padding-right: 10px; position: relative; } .widget-content-text { width: 60%; } .widget-content-title { -webkit-line-clamp: 3; max-height: 3.5em; } .widget-content-leading { width: 40%; padding-right: 10px; position: relative; } .widget-content-text { width: 60%; } .content-leading .img-wrap:before, .widget-content-leading .img-wrap:before { padding-top: 75%; } @media (min-width:768px) { .content-region .widget-content { margin: 15px 0 0 0 !important; width: 49%; } .content-region .widget-content:nth-child(even){ margin-left: 2% !important; } } @media (max-width:767px) { .widget-content-leading { width: 32%; } .widget-content-text { width: 68%; } .widget-content-title { font-size: 75%; font-weight: normal; } #newsfeed .widget { background: hsl(0,0%,100%); padding: 20px 8px; margin: 0; } .content-region .widget-content + .widget-content { margin-top: 8px !important; } .newsfeed-block .wfcontent .content-info { margin-bottom: 2em; } } /* タグクラウド */ ul.widget-tags-list > li { display: inline-block; overflow: hidden; text-overflow: ellipsis; line-height: 1; color: @colors-sub1; margin: 0 0 5px 5px; background: @colors-main; } ul.widget-tags-list > li:hover { background: @colors-sub2; text-decoration: none; border-color: @colors-sub2; } ul.widget-tags-list > li > a { padding: 0.5em; display: block; } ul.widget-tags-list > li:hover > a { text-decoration: none; } /* 全幅リスト */ ul.widget-tags-list.horizontal > li { display: block; max-width: 100%; white-space: normal; padding: 0 0 0 2px; width: 100%; margin: 0; line-height: 1.3; position: relative; } ul.widget-tags-list.horizontal > li + li { margin: 5px 0 0 0; } ul.widget-tags-list.horizontal > li > a { padding: 0.5em 2em 0.5em .5em; } ul.widget-tags-list.horizontal > li:hover { text-decoration: none; } ul.widget-tags-list.horizontal > li:hover > a { text-decoration: none; } .widget-tags-list.horizontal li a::before { position: absolute; top: ~"calc(50% - .6em)"; right: .3em; font-family: FontAwesome; content: "\f101"; font-size: 110%; } .widget-tags-list.horizontal li:hover a::before { right: .05em; } @media (max-width:767px) { #newsfeed .widget { background: hsl(0,0%,100%); padding: 20px 5%; margin: 0; } #newsfeed .widget h3 { font-size: 120%; } #newsfeed .widget h3 a:hover { text-decoration: none; } #newsfeed .widget-content + .widget-content { margin-top: 8px; } #newsfeed .widget-content + .widget-content { padding-top: 8px; } } .banners a.has-border { border: 1px solid #efefef; } /* * @contents ================================= */ .content-cover .content-title { font-size: 150%; } .article > .article-heading { font-size: 125%; margin-top: 2.4em; } .article > .article-subheading { border-left-width: 5px; border-left-style: solid; padding-left: 0.4em; margin-top: 2.65em; } #main > .content a.content-tag, #main > .content .content-cover.image-bg.content-cover-style-full a.content-tag, #main > .content .content-cover.image-bg.content-cover-style-normal a.content-tag { color: #fff; background: none; } #main > .content a.content-tag { background: @colors-main; box-shadow: none; border: 1px solid @colors-main; } #main>.content .content-cover.content-cover-style-narrow a.content-tag { border-color: @colors-main; box-shadow: none; } #main > .content a.content-tag:hover, #main > .content .content-cover.image-bg.content-cover-style-full a.content-tag:hover, #main > .content .content-cover.image-bg.content-cover-style-full a.content-tag:hover span, #main > .content .content-cover.image-bg.content-cover-style-normal a.content-tag:hover, #main > .content .content-cover.image-bg.content-cover-style-normal a.content-tag:hover span { background: @colors-sub2; text-decoration: none; text-shadow: none; } #main > .content a.content-tag:hover, #main > .content .content-cover.image-bg.content-cover-style-full a.content-tag:hover { border: 1px solid @colors-sub2 !important; } .content-body .content-author-info, .content-body .content-tags > .content-tag > span { -moz-opacity: 1; opacity: 1; } .content .content-info { font-size: 75%; } .content .content-author-info { padding-left: 0; } .content .widgets { display: none!important; } /* path custom */ /* * カルーセル調整 =======================================*/ .page-index .carousel-container > .wfcontent.image-bg:before { padding-top: 45%; } .carousel2 .carousel-nav-prev, .carousel2 .carousel-nav-next { opacity: .75; } .carousel2 .carousel-nav-prev:hover, .carousel2 .carousel-nav-next:hover { opacity: 1; } .carousel2 .carousel-nav-prev:before, .carousel2 .carousel-nav-next:before{ text-shadow: 0 0 10px black, 0 0 5px rgba(0, 0, 0, 0.25); } .page-index .carousel-container > .wfcontent.image-bg .content-title { font-size: 1.35rem; font-weight: bold; letter-spacing: .05em; background: rgba(1,1,1,.3); } @media (min-width: 768px){ .carousel2 .carousel-nav-prev, .carousel2 .carousel-nav-next { width: 5%; } .carousel2 .carousel-nav-prev:hover, .carousel2 .carousel-nav-next:hover { background: rgba(60,60,60,0.2); } } @media (max-width: 768px){ .page-index .carousel-container > .wfcontent.image-bg:before { padding-top: 75%; } } .page-index .carousel-container > .wfcontent.image-bg .content-title::before { display: none; } /* * ピックアップコンテンツ調整 =======================================*/ #pickup-contents .wfcontent { max-width: 720px; margin: 0 auto; padding-bottom: 1em; } #pickup-contents .wfcontent .wfcontent-container.flex-container.horizontal { flex-direction: column; } #pickup-contents .wfcontent .content-leading { width: 100%; padding: 0; } #pickup-contents .wfcontent .content-leading .img-wrap { border: 1px solid #ccc; } #pickup-contents .wfcontent .content-leading .img-wrap img { position: static; } #pickup-contents .wfcontent .content-leading .img-wrap::before { display: none; } #pickup-contents .wfcontent .content-leading.flex-item+.flex-item { width: 100%; padding-top: .5em; } #pickup-contents .wfcontent .content-link:hover { text-decoration: none; } #pickup-contents .wfcontent .content-link { display: block; } #pickup-contents .wfcontent .content-title { font-family: 'Noto Serif JP', serif; color: #333; margin: 0; } #pickup-contents .wfcontent .content-body { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; font-size: 87.5%; height: 4.7em; overflow: hidden; opacity: .8; margin-bottom: 10px; margin-top: 5px; } #pickup-contents .wfcontent .content-info { font-size: 75%; } #pickup-contents .wfcontent .content-author-info { line-height: 1.3; } #pickup-contents .wfcontent .content-tags { display: none; } @media (max-width: 767px) { #pickup-contents .wfcontent .wfcontent-container { padding: 0; } #pickup-contents .wfcontent .content-leading.flex-item+.flex-item { padding-left: .75em; padding-right: .75em; } #pickup-contents .wfcontent .content-body { font-size: 92.857%; } } /* ニュースフィード7つ目以降のコンテンツを非表示 */ @media (min-width: 768px) { #newsfeed.newsfeed-all-display-type-flex .wfcontent:nth-child(n+7) { display: none!important; } } </style> <script> <!-- /* custom css */ (function(d, s){ var m, rx = /^@(import|requirejs:)\s+(\((css|less)\))?\s*(url\()?('|"|)(.+?)\5(\))?;/gm; var scripts = {}; var bc = [], hd = d.getElementsByTagName('head')[0]; function procCustomLess(custom_css) { custom_css = custom_css .replace(/\/\*([\S\s]*?)\*\//mg, '') .replace(/\/\/.*$/g, ''); // console.log('custom_css:\n' + custom_css); while (m = rx.exec(custom_css)) { var cmd = m[1], arg = m[6]; if (arg.indexOf('/static/dinoportal/custom/') != 0) { continue; } console.log('custom css:cmd=' + cmd + ',arg=' + arg); ({ 'import': function(arg, m){ m = arg.match(/^.+\/([^\/]*)\.(css|less)$/); if (m) { bc.push('custom-' + m[1]); } }, 'requirejs:': function(arg, m){ m = arg.match(/^.+\/([^\/]*)\.(js)$/); if (m) { // $('<'+'script src='+m[2]+'></'+'script>').appendTo('body'); s = d.createElement('script'); s.src = arg; hd.appendChild(s); } }, }[cmd]||(function(){}))(arg); } } function procCustomLessImported(custom_css){ // chrome 101 workaround #4302 / server side import css,less var m, rx2 = /\*\*\* imported ((\S+)\.(less|css)) \*\*\*/gm; while (m = rx2.exec(custom_css)) { console.log('custom css server imported:' + m[1]) bc.push('custom-' + m[2]); } } var custom_css = (d.getElementById('style-site-custom')||{}).innerHTML; custom_css && procCustomLess(custom_css); custom_css && procCustomLessImported(custom_css); custom_css = (d.getElementById('style-path-custom')||{}).innerHTML; custom_css && procCustomLess(custom_css); custom_css && procCustomLessImported(custom_css); $(function(){ d.body.className = d.body.className + ' ' + bc.join(' '); $(document).trigger('loadcustoms'); window._customized = {}; $.each(bc, function(i, v){ var vname = v.replace(/custom-/, '').replace(/-/g, '_'); window._customized[vname] = true; }); console.log('body.' + bc.join('.')); console.log('window._customized', window._customized); }); })(document); /* less */ window.less = { env:'development', errorReporting:'console', dumpLineNumbers: "comments", logLevel:2, compress:false, javascriptEnabled:true }; (function(){ var ls = document.getElementById('style-site-custom'), ls_txt = ls.textContent.replace( /^\/\*\*\* external import: (.+) \*\*\*\//gm, function(a, href){ var ln = document.createElement('link'); ln.setAttribute('data-from-customcss', '1'); ln.rel = 'stylesheet'; ln.href = href; ls.parentNode.insertBefore(ln, ls); console.log('custom css: inserted external link[rel="stylesheet"]', ln); return '/* replaced */'; }); })(); /* */ // ' --> </script> <script id="script-combined-dinoportal_base_less4.js"> /*** combinestatic: generated:dinoportal_base_less4.js ***/ /*** combinestatic: from:lib/less-4.1.2/less.min.js ***/ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).less=t()}(this,(function(){"use strict";function e(e){return e.replace(/^[a-z-]+:\/+?[^\/]+/,"").replace(/[\?\&]livereload=\w+/,"").replace(/^\//,"").replace(/\.[a-zA-Z]+$/,"").replace(/[^\.\w-]+/g,"-").replace(/\./g,":")}function t(e,t){for(var i in t.dataset)if(t.dataset.hasOwnProperty(i))if("env"===i||"dumpLineNumbers"===i||"rootpath"===i||"errorReporting"===i)e[i]=t.dataset[i];else try{e[i]=JSON.parse(t.dataset[i])}catch(e){}}var i=function(t,i,n){var r=n.href||"",s="less:"+(n.title||e(r)),o=t.getElementById(s),a=!1,l=t.createElement("style");l.setAttribute("type","text/css"),n.media&&l.setAttribute("media",n.media),l.id=s,l.styleSheet||(l.appendChild(t.createTextNode(i)),a=null!==o&&o.childNodes.length>0&&l.childNodes.length>0&&o.firstChild.nodeValue===l.firstChild.nodeValue);var u=t.getElementsByTagName("head")[0];if(null===o||!1===a){var c=n&&n.nextSibling||null;c?c.parentNode.insertBefore(l,c):u.appendChild(l)}if(o&&!1===a&&o.parentNode.removeChild(o),l.styleSheet)try{l.styleSheet.cssText=i}catch(e){throw new Error("Couldn't reassign styleSheet.cssText.")}},n=function(e){var t,i=e.document;return i.currentScript||(t=i.getElementsByTagName("script"))[t.length-1]},r={error:function(e){this._fireEvent("error",e)},warn:function(e){this._fireEvent("warn",e)},info:function(e){this._fireEvent("info",e)},debug:function(e){this._fireEvent("debug",e)},addListener:function(e){this._listeners.push(e)},removeListener:function(e){for(var t=0;t<this._listeners.length;t++)if(this._listeners[t]===e)return void this._listeners.splice(t,1)},_fireEvent:function(e,t){for(var i=0;i<this._listeners.length;i++){var n=this._listeners[i][e];n&&n(t)}},_listeners:[]},s=function(){function e(e,t){this.fileManagers=t||[],e=e||{};for(var i=[],n=i.concat(["encodeBase64","mimeLookup","charsetLookup","getSourceMapGenerator"]),r=0;r<n.length;r++){var s=n[r],o=e[s];o?this[s]=o.bind(e):r<i.length&&this.warn("missing required function in environment - "+s)}}return e.prototype.getFileManager=function(e,t,i,n,s){e||r.warn("getFileManager called with no filename.. Please report this issue. continuing."),null==t&&r.warn("getFileManager called with null directory.. Please report this issue. continuing.");var o=this.fileManagers;i.pluginManager&&(o=[].concat(o).concat(i.pluginManager.getFileManagers()));for(var a=o.length-1;a>=0;a--){var l=o[a];if(l[s?"supportsSync":"supports"](e,t,i,n))return l}return null},e.prototype.addFileManager=function(e){this.fileManagers.push(e)},e.prototype.clearFileManagers=function(){this.fileManagers=[]},e}(),o={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgrey:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",grey:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370d8",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#d87093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},a={length:{m:1,cm:.01,mm:.001,in:.0254,px:.0254/96,pt:.0254/72,pc:.0254/72*12},duration:{s:1,ms:.001},angle:{rad:1/(2*Math.PI),deg:1/360,grad:1/400,turn:1}},l={colors:o,unitConversions:a},u=function(){function e(){this.parent=null,this.visibilityBlocks=void 0,this.nodeVisible=void 0,this.rootNode=null,this.parsed=null}return Object.defineProperty(e.prototype,"currentFileInfo",{get:function(){return this.fileInfo()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"index",{get:function(){return this.getIndex()},enumerable:!1,configurable:!0}),e.prototype.setParent=function(t,i){function n(t){t&&t instanceof e&&(t.parent=i)}Array.isArray(t)?t.forEach(n):n(t)},e.prototype.getIndex=function(){return this._index||this.parent&&this.parent.getIndex()||0},e.prototype.fileInfo=function(){return this._fileInfo||this.parent&&this.parent.fileInfo()||{}},e.prototype.isRulesetLike=function(){return!1},e.prototype.toCSS=function(e){var t=[];return this.genCSS(e,{add:function(e,i,n){t.push(e)},isEmpty:function(){return 0===t.length}}),t.join("")},e.prototype.genCSS=function(e,t){t.add(this.value)},e.prototype.accept=function(e){this.value=e.visit(this.value)},e.prototype.eval=function(){return this},e.prototype._operate=function(e,t,i,n){switch(t){case"+":return i+n;case"-":return i-n;case"*":return i*n;case"/":return i/n}},e.prototype.fround=function(e,t){var i=e&&e.numPrecision;return i?Number((t+2e-16).toFixed(i)):t},e.compare=function(t,i){if(t.compare&&"Quoted"!==i.type&&"Anonymous"!==i.type)return t.compare(i);if(i.compare)return-i.compare(t);if(t.type===i.type){if(t=t.value,i=i.value,!Array.isArray(t))return t===i?0:void 0;if(t.length===i.length){for(var n=0;n<t.length;n++)if(0!==e.compare(t[n],i[n]))return;return 0}}},e.numericCompare=function(e,t){return e<t?-1:e===t?0:e>t?1:void 0},e.prototype.blocksVisibility=function(){return null==this.visibilityBlocks&&(this.visibilityBlocks=0),0!==this.visibilityBlocks},e.prototype.addVisibilityBlock=function(){null==this.visibilityBlocks&&(this.visibilityBlocks=0),this.visibilityBlocks=this.visibilityBlocks+1},e.prototype.removeVisibilityBlock=function(){null==this.visibilityBlocks&&(this.visibilityBlocks=0),this.visibilityBlocks=this.visibilityBlocks-1},e.prototype.ensureVisibility=function(){this.nodeVisible=!0},e.prototype.ensureInvisibility=function(){this.nodeVisible=!1},e.prototype.isVisible=function(){return this.nodeVisible},e.prototype.visibilityInfo=function(){return{visibilityBlocks:this.visibilityBlocks,nodeVisible:this.nodeVisible}},e.prototype.copyVisibilityInfo=function(e){e&&(this.visibilityBlocks=e.visibilityBlocks,this.nodeVisible=e.nodeVisible)},e}(),c=function(e,t,i){var n=this;Array.isArray(e)?this.rgb=e:e.length>=6?(this.rgb=[],e.match(/.{2}/g).map((function(e,t){t<3?n.rgb.push(parseInt(e,16)):n.alpha=parseInt(e,16)/255}))):(this.rgb=[],e.split("").map((function(e,t){t<3?n.rgb.push(parseInt(e+e,16)):n.alpha=parseInt(e+e,16)/255}))),this.alpha=this.alpha||("number"==typeof t?t:1),void 0!==i&&(this.value=i)};function h(e,t){return Math.min(Math.max(e,0),t)}function f(e){return"#"+e.map((function(e){return((e=h(Math.round(e),255))<16?"0":"")+e.toString(16)})).join("")}c.prototype=Object.assign(new u,{type:"Color",luma:function(){var e=this.rgb[0]/255,t=this.rgb[1]/255,i=this.rgb[2]/255;return.2126*(e=e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4))+.7152*(t=t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.0722*(i=i<=.03928?i/12.92:Math.pow((i+.055)/1.055,2.4))},genCSS:function(e,t){t.add(this.toCSS(e))},toCSS:function(e,t){var i,n,r,s=e&&e.compress&&!t,o=[];if(n=this.fround(e,this.alpha),this.value)if(0===this.value.indexOf("rgb"))n<1&&(r="rgba");else{if(0!==this.value.indexOf("hsl"))return this.value;r=n<1?"hsla":"hsl"}else n<1&&(r="rgba");switch(r){case"rgba":o=this.rgb.map((function(e){return h(Math.round(e),255)})).concat(h(n,1));break;case"hsla":o.push(h(n,1));case"hsl":i=this.toHSL(),o=[this.fround(e,i.h),this.fround(e,100*i.s)+"%",this.fround(e,100*i.l)+"%"].concat(o)}if(r)return r+"("+o.join(","+(s?"":" "))+")";if(i=this.toRGB(),s){var a=i.split("");a[1]===a[2]&&a[3]===a[4]&&a[5]===a[6]&&(i="#"+a[1]+a[3]+a[5])}return i},operate:function(e,t,i){for(var n=new Array(3),r=this.alpha*(1-i.alpha)+i.alpha,s=0;s<3;s++)n[s]=this._operate(e,t,this.rgb[s],i.rgb[s]);return new c(n,r)},toRGB:function(){return f(this.rgb)},toHSL:function(){var e,t,i=this.rgb[0]/255,n=this.rgb[1]/255,r=this.rgb[2]/255,s=this.alpha,o=Math.max(i,n,r),a=Math.min(i,n,r),l=(o+a)/2,u=o-a;if(o===a)e=t=0;else{switch(t=l>.5?u/(2-o-a):u/(o+a),o){case i:e=(n-r)/u+(n<r?6:0);break;case n:e=(r-i)/u+2;break;case r:e=(i-n)/u+4}e/=6}return{h:360*e,s:t,l:l,a:s}},toHSV:function(){var e,t,i=this.rgb[0]/255,n=this.rgb[1]/255,r=this.rgb[2]/255,s=this.alpha,o=Math.max(i,n,r),a=Math.min(i,n,r),l=o,u=o-a;if(t=0===o?0:u/o,o===a)e=0;else{switch(o){case i:e=(n-r)/u+(n<r?6:0);break;case n:e=(r-i)/u+2;break;case r:e=(i-n)/u+4}e/=6}return{h:360*e,s:t,v:l,a:s}},toARGB:function(){return f([255*this.alpha].concat(this.rgb))},compare:function(e){return e.rgb&&e.rgb[0]===this.rgb[0]&&e.rgb[1]===this.rgb[1]&&e.rgb[2]===this.rgb[2]&&e.alpha===this.alpha?0:void 0}}),c.fromKeyword=function(e){var t,i=e.toLowerCase();if(o.hasOwnProperty(i)?t=new c(o[i].slice(1)):"transparent"===i&&(t=new c([0,0,0],0)),t)return t.value=e,t};var p=function(e){this.value=e};p.prototype=Object.assign(new u,{type:"Paren",genCSS:function(e,t){t.add("("),this.value.genCSS(e,t),t.add(")")},eval:function(e){return new p(this.value.eval(e))}});var v={"":!0," ":!0,"|":!0},d=function(e){" "===e?(this.value=" ",this.emptyOrWhitespace=!0):(this.value=e?e.trim():"",this.emptyOrWhitespace=""===this.value)};d.prototype=Object.assign(new u,{type:"Combinator",genCSS:function(e,t){var i=e.compress||v[this.value]?"":" ";t.add(i+this.value+i)}});var m=function(e,t,i,n,r,s){this.combinator=e instanceof d?e:new d(e),this.value="string"==typeof t?t.trim():t||"",this.isVariable=i,this._index=n,this._fileInfo=r,this.copyVisibilityInfo(s),this.setParent(this.combinator,this)};m.prototype=Object.assign(new u,{type:"Element",accept:function(e){var t=this.value;this.combinator=e.visit(this.combinator),"object"==typeof t&&(this.value=e.visit(t))},eval:function(e){return new m(this.combinator,this.value.eval?this.value.eval(e):this.value,this.isVariable,this.getIndex(),this.fileInfo(),this.visibilityInfo())},clone:function(){return new m(this.combinator,this.value,this.isVariable,this.getIndex(),this.fileInfo(),this.visibilityInfo())},genCSS:function(e,t){t.add(this.toCSS(e),this.fileInfo(),this.getIndex())},toCSS:function(e){e=e||{};var t=this.value,i=e.firstSelector;return t instanceof p&&(e.firstSelector=!0),t=t.toCSS?t.toCSS(e):t,e.firstSelector=i,""===t&&"&"===this.combinator.value.charAt(0)?"":this.combinator.toCSS(e)+t}});var g={ALWAYS:0,PARENS_DIVISION:1,PARENS:2},y=0,b=1,w=2;function x(e){return Object.prototype.toString.call(e).slice(8,-1)}function S(e){return"Array"===x(e)}function I(e,t){return void 0===t&&(t={}),S(e)?e.map((function(e){return I(e,t)})):"Object"!==x(i=e)||i.constructor!==Object||Object.getPrototypeOf(i)!==Object.prototype?e:function(){for(var e=0,t=0,i=arguments.length;t<i;t++)e+=arguments[t].length;var n=Array(e),r=0;for(t=0;t<i;t++)for(var s=arguments[t],o=0,a=s.length;o<a;o++,r++)n[r]=s[o];return n}(Object.getOwnPropertyNames(e),Object.getOwnPropertySymbols(e)).reduce((function(i,n){return S(t.props)&&!t.props.includes(n)||function(e,t,i,n,r){var s={}.propertyIsEnumerable.call(n,t)?"enumerable":"nonenumerable";"enumerable"===s&&(e[t]=i),r&&"nonenumerable"===s&&Object.defineProperty(e,t,{value:i,enumerable:!1,writable:!0,configurable:!0})}(i,n,I(e[n],t),e,t.nonenumerable),i}),{});var i}function C(e,t){for(var i=e+1,n=null,r=-1;--i>=0&&"\n"!==t.charAt(i);)r++;return"number"==typeof e&&(n=(t.slice(0,e).match(/\n/g)||"").length),{line:n,column:r}}function k(e){var t,i=e.length,n=new Array(i);for(t=0;t<i;t++)n[t]=e[t];return n}function _(e){var t={};for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);return t}function A(e,t){var i=t||{};if(!t._defaults){i={};var n=I(e);i._defaults=n;var r=t?I(t):{};Object.assign(i,n,r)}return i}function M(e,t){if(t&&t._defaults)return t;var i=A(e,t);if(i.strictMath&&(i.math=g.PARENS),i.relativeUrls&&(i.rewriteUrls=w),"string"==typeof i.math)switch(i.math.toLowerCase()){case"always":i.math=g.ALWAYS;break;case"parens-division":i.math=g.PARENS_DIVISION;break;case"strict":case"parens":i.math=g.PARENS;break;default:i.math=g.PARENS}if("string"==typeof i.rewriteUrls)switch(i.rewriteUrls.toLowerCase()){case"off":i.rewriteUrls=y;break;case"local":i.rewriteUrls=b;break;case"all":i.rewriteUrls=w}return i}function E(e,t){void 0===t&&(t=[]);for(var i=0,n=e.length;i<n;i++){var r=e[i];Array.isArray(r)?E(r,t):void 0!==r&&t.push(r)}return t}var P=Object.freeze({__proto__:null,getLocation:C,copyArray:k,clone:_,defaults:A,copyOptions:M,merge:function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);return e},flattenArray:E}),R=/(<anonymous>|Function):(\d+):(\d+)/,O=function(e,t,i){Error.call(this);var n=e.filename||i;if(this.message=e.message,this.stack=e.stack,t&&n){var r=t.contents[n],s=C(e.index,r),o=s.line,a=s.column,l=e.call&&C(e.call,r).line,u=r?r.split("\n"):"";if(this.type=e.type||"Syntax",this.filename=n,this.index=e.index,this.line="number"==typeof o?o+1:null,this.column=a,!this.line&&this.stack){var c=this.stack.match(R),h=new Function("a","throw new Error()"),f=0;try{h()}catch(e){var p=e.stack.match(R);f=1-(o=parseInt(p[2]))}c&&(c[2]&&(this.line=parseInt(c[2])+f),c[3]&&(this.column=parseInt(c[3])))}this.callLine=l+1,this.callExtract=u[l],this.extract=[u[this.line-2],u[this.line-1],u[this.line]]}};if(void 0===Object.create){var V=function(){};V.prototype=Error.prototype,O.prototype=new V}else O.prototype=Object.create(Error.prototype);O.prototype.constructor=O,O.prototype.toString=function(e){e=e||{};var t="",i=this.extract||[],n=[],r=function(e){return e};if(e.stylize){var s=typeof e.stylize;if("function"!==s)throw Error("options.stylize should be a function, got a "+s+"!");r=e.stylize}if(null!==this.line){if("string"==typeof i[0]&&n.push(r(this.line-1+" "+i[0],"grey")),"string"==typeof i[1]){var o=this.line+" ";i[1]&&(o+=i[1].slice(0,this.column)+r(r(r(i[1].substr(this.column,1),"bold")+i[1].slice(this.column+1),"red"),"inverse")),n.push(o)}"string"==typeof i[2]&&n.push(r(this.line+1+" "+i[2],"grey")),n=n.join("\n")+r("","reset")+"\n"}return t+=r(this.type+"Error: "+this.message,"red"),this.filename&&(t+=r(" in ","red")+this.filename),this.line&&(t+=r(" on line "+this.line+", column "+(this.column+1)+":","grey")),t+="\n"+n,this.callLine&&(t+=r("from ","red")+(this.filename||"")+"/n",t+=r(this.callLine,"grey")+" "+this.callExtract+"/n"),t};var F=function(e,t,i,n,r,s){this.extendList=t,this.condition=i,this.evaldCondition=!i,this._index=n,this._fileInfo=r,this.elements=this.getElements(e),this.mixinElements_=void 0,this.copyVisibilityInfo(s),this.setParent(this.elements,this)};F.prototype=Object.assign(new u,{type:"Selector",accept:function(e){this.elements&&(this.elements=e.visitArray(this.elements)),this.extendList&&(this.extendList=e.visitArray(this.extendList)),this.condition&&(this.condition=e.visit(this.condition))},createDerived:function(e,t,i){e=this.getElements(e);var n=new F(e,t||this.extendList,null,this.getIndex(),this.fileInfo(),this.visibilityInfo());return n.evaldCondition=null!=i?i:this.evaldCondition,n.mediaEmpty=this.mediaEmpty,n},getElements:function(e){return e?("string"==typeof e&&this.parse.parseNode(e,["selector"],this._index,this._fileInfo,(function(t,i){if(t)throw new O({index:t.index,message:t.message},this.parse.imports,this._fileInfo.filename);e=i[0].elements})),e):[new m("","&",!1,this._index,this._fileInfo)]},createEmptySelectors:function(){var e=new m("","&",!1,this._index,this._fileInfo),t=[new F([e],null,null,this._index,this._fileInfo)];return t[0].mediaEmpty=!0,t},match:function(e){var t,i,n=this.elements,r=n.length;if(0===(t=(e=e.mixinElements()).length)||r<t)return 0;for(i=0;i<t;i++)if(n[i].value!==e[i])return 0;return t},mixinElements:function(){if(this.mixinElements_)return this.mixinElements_;var e=this.elements.map((function(e){return e.combinator.value+(e.value.value||e.value)})).join("").match(/[,&#\*\.\w-]([\w-]|(\\.))*/g);return e?"&"===e[0]&&e.shift():e=[],this.mixinElements_=e},isJustParentSelector:function(){return!this.mediaEmpty&&1===this.elements.length&&"&"===this.elements[0].value&&(" "===this.elements[0].combinator.value||""===this.elements[0].combinator.value)},eval:function(e){var t=this.condition&&this.condition.eval(e),i=this.elements,n=this.extendList;return i=i&&i.map((function(t){return t.eval(e)})),n=n&&n.map((function(t){return t.eval(e)})),this.createDerived(i,n,t)},genCSS:function(e,t){var i;for(e&&e.firstSelector||""!==this.elements[0].combinator.value||t.add(" ",this.fileInfo(),this.getIndex()),i=0;i<this.elements.length;i++)this.elements[i].genCSS(e,t)},getIsOutput:function(){return this.evaldCondition}});var $=function(e){if(!e)throw new Error("Value requires an array argument");Array.isArray(e)?this.value=e:this.value=[e]};$.prototype=Object.assign(new u,{type:"Value",accept:function(e){this.value&&(this.value=e.visitArray(this.value))},eval:function(e){return 1===this.value.length?this.value[0].eval(e):new $(this.value.map((function(t){return t.eval(e)})))},genCSS:function(e,t){var i;for(i=0;i<this.value.length;i++)this.value[i].genCSS(e,t),i+1<this.value.length&&t.add(e&&e.compress?",":", ")}});var L=function(e){this.value=e};L.prototype=Object.assign(new u,{type:"Keyword",genCSS:function(e,t){if("%"===this.value)throw{type:"Syntax",message:"Invalid % without number"};t.add(this.value)}}),L.True=new L("true"),L.False=new L("false");var j=function(e,t,i,n,r,s){this.value=e,this._index=t,this._fileInfo=i,this.mapLines=n,this.rulesetLike=void 0!==r&&r,this.allowRoot=!0,this.copyVisibilityInfo(s)};j.prototype=Object.assign(new u,{type:"Anonymous",eval:function(){return new j(this.value,this._index,this._fileInfo,this.mapLines,this.rulesetLike,this.visibilityInfo())},compare:function(e){return e.toCSS&&this.toCSS()===e.toCSS()?0:void 0},isRulesetLike:function(){return this.rulesetLike},genCSS:function(e,t){this.nodeVisible=Boolean(this.value),this.nodeVisible&&t.add(this.value,this._fileInfo,this._index,this.mapLines)}});var N=g;var D=function(e,t,i,n,r,s,o,a){this.name=e,this.value=t instanceof u?t:new $([t?new j(t):null]),this.important=i?" "+i.trim():"",this.merge=n,this._index=r,this._fileInfo=s,this.inline=o||!1,this.variable=void 0!==a?a:e.charAt&&"@"===e.charAt(0),this.allowRoot=!0,this.setParent(this.value,this)};D.prototype=Object.assign(new u,{type:"Declaration",genCSS:function(e,t){t.add(this.name+(e.compress?":":": "),this.fileInfo(),this.getIndex());try{this.value.genCSS(e,t)}catch(e){throw e.index=this._index,e.filename=this._fileInfo.filename,e}t.add(this.important+(this.inline||e.lastRule&&e.compress?"":";"),this._fileInfo,this._index)},eval:function(e){var t,i,n=!1,r=this.name,s=this.variable;"string"!=typeof r&&(r=1===r.length&&r[0]instanceof L?r[0].value:function(e,t){var i,n="",r=t.length,s={add:function(e){n+=e}};for(i=0;i<r;i++)t[i].eval(e).genCSS(e,s);return n}(e,r),s=!1),"font"===r&&e.math===N.ALWAYS&&(n=!0,t=e.math,e.math=N.PARENS_DIVISION);try{if(e.importantScope.push({}),i=this.value.eval(e),!this.variable&&"DetachedRuleset"===i.type)throw{message:"Rulesets cannot be evaluated on a property.",index:this.getIndex(),filename:this.fileInfo().filename};var o=this.important,a=e.importantScope.pop();return!o&&a.important&&(o=a.important),new D(r,i,o,this.merge,this.getIndex(),this.fileInfo(),this.inline,s)}catch(e){throw"number"!=typeof e.index&&(e.index=this.getIndex(),e.filename=this.fileInfo().filename),e}finally{n&&(e.math=t)}},makeImportant:function(){return new D(this.name,this.value,"!important",this.merge,this.getIndex(),this.fileInfo(),this.inline)}});var B=function(){function e(t,i,n){var r="";if(t.dumpLineNumbers&&!t.compress)switch(t.dumpLineNumbers){case"comments":r=e.asComment(i);break;case"mediaquery":r=e.asMediaQuery(i);break;case"all":r=e.asComment(i)+(n||"")+e.asMediaQuery(i)}return r}return e.asComment=function(e){return"/* line "+e.debugInfo.lineNumber+", "+e.debugInfo.fileName+" */\n"},e.asMediaQuery=function(e){var t=e.debugInfo.fileName;return/^[a-z]+:\/\//i.test(t)||(t="file://"+t),"@media -sass-debug-info{filename{font-family:"+t.replace(/([.:\/\\])/g,(function(e){return"\\"==e&&(e="/"),"\\"+e}))+"}line{font-family:\\00003"+e.debugInfo.lineNumber+"}}\n"},e}(),U=function(e,t,i,n){this.value=e,this.isLineComment=t,this._index=i,this._fileInfo=n,this.allowRoot=!0};U.prototype=Object.assign(new u,{type:"Comment",genCSS:function(e,t){this.debugInfo&&t.add(B(e,this),this.fileInfo(),this.getIndex()),t.add(this.value)},isSilent:function(e){var t=e.compress&&"!"!==this.value[2];return this.isLineComment||t}});var q={},T=function(e,t,i){if(e)for(var n=0;n<i.length;n++)e.hasOwnProperty(i[n])&&(t[i[n]]=e[i[n]])},z=["paths","rewriteUrls","rootpath","strictImports","insecure","dumpLineNumbers","compress","syncImport","chunkInput","mime","useFileCache","processImports","pluginManager"];q.Parse=function(e){T(e,this,z),"string"==typeof this.paths&&(this.paths=[this.paths])};var G=["paths","compress","math","strictUnits","sourceMap","importMultiple","urlArgs","javascriptEnabled","pluginManager","importantScope","rewriteUrls"];function W(e){return!/^(?:[a-z-]+:|\/|#)/i.test(e)}function J(e){return"."===e.charAt(0)}q.Eval=function(e,t){T(e,this,G),"string"==typeof this.paths&&(this.paths=[this.paths]),this.frames=t||[],this.importantScope=this.importantScope||[]},q.Eval.prototype.enterCalc=function(){this.calcStack||(this.calcStack=[]),this.calcStack.push(!0),this.inCalc=!0},q.Eval.prototype.exitCalc=function(){this.calcStack.pop(),this.calcStack.length||(this.inCalc=!1)},q.Eval.prototype.inParenthesis=function(){this.parensStack||(this.parensStack=[]),this.parensStack.push(!0)},q.Eval.prototype.outOfParenthesis=function(){this.parensStack.pop()},q.Eval.prototype.inCalc=!1,q.Eval.prototype.mathOn=!0,q.Eval.prototype.isMathOn=function(e){return!!this.mathOn&&(!!("/"!==e||this.math===g.ALWAYS||this.parensStack&&this.parensStack.length)&&(!(this.math>g.PARENS_DIVISION)||this.parensStack&&this.parensStack.length))},q.Eval.prototype.pathRequiresRewrite=function(e){return(this.rewriteUrls===b?J:W)(e)},q.Eval.prototype.rewritePath=function(e,t){var i;return t=t||"",i=this.normalizePath(t+e),J(e)&&W(t)&&!1===J(i)&&(i="./"+i),i},q.Eval.prototype.normalizePath=function(e){var t,i=e.split("/").reverse();for(e=[];0!==i.length;)switch(t=i.pop()){case".":break;case"..":0===e.length||".."===e[e.length-1]?e.push(t):e.pop();break;default:e.push(t)}return e.join("/")};var H=function e(t){return{_data:{},add:function(e,t){e=e.toLowerCase(),this._data.hasOwnProperty(e),this._data[e]=t},addMultiple:function(e){var t=this;Object.keys(e).forEach((function(i){t.add(i,e[i])}))},get:function(e){return this._data[e]||t&&t.get(e)},getLocalFunctions:function(){return this._data},inherit:function(){return e(this)},create:function(t){return e(t)}}}(null),Q={eval:function(){var e=this.value_,t=this.error_;if(t)throw t;if(null!=e)return e?L.True:L.False},value:function(e){this.value_=e},error:function(e){this.error_=e},reset:function(){this.value_=this.error_=null}},K=function(e,t,i,n){this.selectors=e,this.rules=t,this._lookups={},this._variables=null,this._properties=null,this.strictImports=i,this.copyVisibilityInfo(n),this.allowRoot=!0,this.setParent(this.selectors,this),this.setParent(this.rules,this)};K.prototype=Object.assign(new u,{type:"Ruleset",isRuleset:!0,isRulesetLike:function(){return!0},accept:function(e){this.paths?this.paths=e.visitArray(this.paths,!0):this.selectors&&(this.selectors=e.visitArray(this.selectors)),this.rules&&this.rules.length&&(this.rules=e.visitArray(this.rules))},eval:function(e){var t,i,n,r,s,o=!1;if(this.selectors&&(i=this.selectors.length)){for(t=new Array(i),Q.error({type:"Syntax",message:"it is currently only allowed in parametric mixin guards,"}),r=0;r<i;r++){n=this.selectors[r].eval(e);for(var a=0;a<n.elements.length;a++)if(n.elements[a].isVariable){s=!0;break}t[r]=n,n.evaldCondition&&(o=!0)}if(s){var l=new Array(i);for(r=0;r<i;r++)n=t[r],l[r]=n.toCSS(e);this.parse.parseNode(l.join(","),["selectors"],t[0].getIndex(),t[0].fileInfo(),(function(e,i){i&&(t=E(i))}))}Q.reset()}else o=!0;var c,h,f=this.rules?k(this.rules):null,p=new K(t,f,this.strictImports,this.visibilityInfo());p.originalRuleset=this,p.root=this.root,p.firstRoot=this.firstRoot,p.allowImports=this.allowImports,this.debugInfo&&(p.debugInfo=this.debugInfo),o||(f.length=0),p.functionRegistry=function(e){for(var t,i=0,n=e.length;i!==n;++i)if(t=e[i].functionRegistry)return t;return H}(e.frames).inherit();var v=e.frames;v.unshift(p);var d=e.selectors;d||(e.selectors=d=[]),d.unshift(this.selectors),(p.root||p.allowImports||!p.strictImports)&&p.evalImports(e);var m=p.rules;for(r=0;c=m[r];r++)c.evalFirst&&(m[r]=c.eval(e));var g=e.mediaBlocks&&e.mediaBlocks.length||0;for(r=0;c=m[r];r++)"MixinCall"===c.type?(f=c.eval(e).filter((function(e){return!(e instanceof D&&e.variable)||!p.variable(e.name)})),m.splice.apply(m,[r,1].concat(f)),r+=f.length-1,p.resetCache()):"VariableCall"===c.type&&(f=c.eval(e).rules.filter((function(e){return!(e instanceof D&&e.variable)})),m.splice.apply(m,[r,1].concat(f)),r+=f.length-1,p.resetCache());for(r=0;c=m[r];r++)c.evalFirst||(m[r]=c=c.eval?c.eval(e):c);for(r=0;c=m[r];r++)if(c instanceof K&&c.selectors&&1===c.selectors.length&&c.selectors[0]&&c.selectors[0].isJustParentSelector()){m.splice(r--,1);for(a=0;h=c.rules[a];a++)h instanceof u&&(h.copyVisibilityInfo(c.visibilityInfo()),h instanceof D&&h.variable||m.splice(++r,0,h))}if(v.shift(),d.shift(),e.mediaBlocks)for(r=g;r<e.mediaBlocks.length;r++)e.mediaBlocks[r].bubbleSelectors(t);return p},evalImports:function(e){var t,i,n=this.rules;if(n)for(t=0;t<n.length;t++)"Import"===n[t].type&&((i=n[t].eval(e))&&(i.length||0===i.length)?(n.splice.apply(n,[t,1].concat(i)),t+=i.length-1):n.splice(t,1,i),this.resetCache())},makeImportant:function(){return new K(this.selectors,this.rules.map((function(e){return e.makeImportant?e.makeImportant():e})),this.strictImports,this.visibilityInfo())},matchArgs:function(e){return!e||0===e.length},matchCondition:function(e,t){var i=this.selectors[this.selectors.length-1];return!!i.evaldCondition&&!(i.condition&&!i.condition.eval(new q.Eval(t,t.frames)))},resetCache:function(){this._rulesets=null,this._variables=null,this._properties=null,this._lookups={}},variables:function(){return this._variables||(this._variables=this.rules?this.rules.reduce((function(e,t){if(t instanceof D&&!0===t.variable&&(e[t.name]=t),"Import"===t.type&&t.root&&t.root.variables){var i=t.root.variables();for(var n in i)i.hasOwnProperty(n)&&(e[n]=t.root.variable(n))}return e}),{}):{}),this._variables},properties:function(){return this._properties||(this._properties=this.rules?this.rules.reduce((function(e,t){if(t instanceof D&&!0!==t.variable){var i=1===t.name.length&&t.name[0]instanceof L?t.name[0].value:t.name;e["$"+i]?e["$"+i].push(t):e["$"+i]=[t]}return e}),{}):{}),this._properties},variable:function(e){var t=this.variables()[e];if(t)return this.parseValue(t)},property:function(e){var t=this.properties()[e];if(t)return this.parseValue(t)},lastDeclaration:function(){for(var e=this.rules.length;e>0;e--){var t=this.rules[e-1];if(t instanceof D)return this.parseValue(t)}},parseValue:function(e){var t=this;function i(e){return e.value instanceof j&&!e.parsed?("string"==typeof e.value.value?this.parse.parseNode(e.value.value,["value","important"],e.value.getIndex(),e.fileInfo(),(function(t,i){t&&(e.parsed=!0),i&&(e.value=i[0],e.important=i[1]||"",e.parsed=!0)})):e.parsed=!0,e):e}if(Array.isArray(e)){var n=[];return e.forEach((function(e){n.push(i.call(t,e))})),n}return i.call(t,e)},rulesets:function(){if(!this.rules)return[];var e,t,i=[],n=this.rules;for(e=0;t=n[e];e++)t.isRuleset&&i.push(t);return i},prependRule:function(e){var t=this.rules;t?t.unshift(e):this.rules=[e],this.setParent(e,this)},find:function(e,t,i){t=t||this;var n,r,s=[],o=e.toCSS();return o in this._lookups?this._lookups[o]:(this.rulesets().forEach((function(o){if(o!==t)for(var a=0;a<o.selectors.length;a++)if(n=e.match(o.selectors[a])){if(e.elements.length>n){if(!i||i(o)){r=o.find(new F(e.elements.slice(n)),t,i);for(var l=0;l<r.length;++l)r[l].path.push(o);Array.prototype.push.apply(s,r)}}else s.push({rule:o,path:[]});break}})),this._lookups[o]=s,s)},genCSS:function(e,t){var i,n,r,s,o,a=[];e.tabLevel=e.tabLevel||0,this.root||e.tabLevel++;var l,u=e.compress?"":Array(e.tabLevel+1).join(" "),c=e.compress?"":Array(e.tabLevel).join(" "),h=0,f=0;for(i=0;s=this.rules[i];i++)s instanceof U?(f===i&&f++,a.push(s)):s.isCharset&&s.isCharset()?(a.splice(h,0,s),h++,f++):"Import"===s.type?(a.splice(f,0,s),f++):a.push(s);if(a=[].concat(a),!this.root){(r=B(e,this,c))&&(t.add(r),t.add(c));var p=this.paths,v=p.length,d=void 0;for(l=e.compress?",":",\n"+c,i=0;i<v;i++)if(d=(o=p[i]).length)for(i>0&&t.add(l),e.firstSelector=!0,o[0].genCSS(e,t),e.firstSelector=!1,n=1;n<d;n++)o[n].genCSS(e,t);t.add((e.compress?"{":" {\n")+u)}for(i=0;s=a[i];i++){i+1===a.length&&(e.lastRule=!0);var m=e.lastRule;s.isRulesetLike(s)&&(e.lastRule=!1),s.genCSS?s.genCSS(e,t):s.value&&t.add(s.value.toString()),e.lastRule=m,!e.lastRule&&s.isVisible()?t.add(e.compress?"":"\n"+u):e.lastRule=!1}this.root||(t.add(e.compress?"}":"\n"+c+"}"),e.tabLevel--),t.isEmpty()||e.compress||!this.firstRoot||t.add("\n")},joinSelectors:function(e,t,i){for(var n=0;n<i.length;n++)this.joinSelector(e,t,i[n])},joinSelector:function(e,t,i){function n(e,t){var i,n;if(0===e.length)i=new p(e[0]);else{var r=new Array(e.length);for(n=0;n<e.length;n++)r[n]=new m(null,e[n],t.isVariable,t._index,t._fileInfo);i=new p(new F(r))}return i}function r(e,t){var i;return i=new m(null,e,t.isVariable,t._index,t._fileInfo),new F([i])}function s(e,t,i,n){var r,s,o;if(r=[],e.length>0?(s=(r=k(e)).pop(),o=n.createDerived(k(s.elements))):o=n.createDerived([]),t.length>0){var a=i.combinator,l=t[0].elements[0];a.emptyOrWhitespace&&!l.combinator.emptyOrWhitespace&&(a=l.combinator),o.elements.push(new m(a,l.value,i.isVariable,i._index,i._fileInfo)),o.elements=o.elements.concat(t[0].elements.slice(1))}if(0!==o.elements.length&&r.push(o),t.length>1){var u=t.slice(1);u=u.map((function(e){return e.createDerived(e.elements,[])})),r=r.concat(u)}return r}function o(e,t,i,n,r){var o;for(o=0;o<e.length;o++){var a=s(e[o],t,i,n);r.push(a)}return r}function a(e,t){var i,n;if(0!==e.length)if(0!==t.length)for(i=0;n=t[i];i++)n.length>0?n[n.length-1]=n[n.length-1].createDerived(n[n.length-1].elements.concat(e)):n.push(new F(e));else t.push([new F(e)])}function l(e,t){var i=t.createDerived(t.elements,t.extendList,t.evaldCondition);return i.copyVisibilityInfo(e),i}var u,c;if(!function e(t,i,l){var u,c,h,f,v,d,g,y,b,w,x,S,I=!1;for(f=[],v=[[]],u=0;y=l.elements[u];u++)if("&"!==y.value){var C=(S=void 0,(x=y).value instanceof p&&(S=x.value.value)instanceof F?S:null);if(null!=C){a(f,v);var k,_=[],A=[];for(k=e(_,i,C),I=I||k,h=0;h<_.length;h++){o(v,[r(n(_[h],y),y)],y,l,A)}v=A,f=[]}else f.push(y)}else{for(I=!0,d=[],a(f,v),c=0;c<v.length;c++)if(g=v[c],0===i.length)g.length>0&&g[0].elements.push(new m(y.combinator,"",y.isVariable,y._index,y._fileInfo)),d.push(g);else for(h=0;h<i.length;h++){var M=s(g,i[h],y,l);d.push(M)}v=d,f=[]}for(a(f,v),u=0;u<v.length;u++)(b=v[u].length)>0&&(t.push(v[u]),w=v[u][b-1],v[u][b-1]=w.createDerived(w.elements,l.extendList));return I}(c=[],t,i))if(t.length>0)for(c=[],u=0;u<t.length;u++){var h=t[u].map(l.bind(this,i.visibilityInfo()));h.push(i),c.push(h)}else c=[[i]];for(u=0;u<c.length;u++)e.push(c[u])}});var Z=function(e,t,i,n,r,s,o,a){var l;if(this.name=e,this.value=t instanceof u?t:t?new j(t):t,i){for(Array.isArray(i)?this.rules=i:(this.rules=[i],this.rules[0].selectors=new F([],null,null,n,r).createEmptySelectors()),l=0;l<this.rules.length;l++)this.rules[l].allowImports=!0;this.setParent(this.rules,this)}this._index=n,this._fileInfo=r,this.debugInfo=s,this.isRooted=o||!1,this.copyVisibilityInfo(a),this.allowRoot=!0};Z.prototype=Object.assign(new u,{type:"AtRule",accept:function(e){var t=this.value,i=this.rules;i&&(this.rules=e.visitArray(i)),t&&(this.value=e.visit(t))},isRulesetLike:function(){return this.rules||!this.isCharset()},isCharset:function(){return"@charset"===this.name},genCSS:function(e,t){var i=this.value,n=this.rules;t.add(this.name,this.fileInfo(),this.getIndex()),i&&(t.add(" "),i.genCSS(e,t)),n?this.outputRuleset(e,t,n):t.add(";")},eval:function(e){var t,i,n=this.value,r=this.rules;return t=e.mediaPath,i=e.mediaBlocks,e.mediaPath=[],e.mediaBlocks=[],n&&(n=n.eval(e)),r&&((r=[r[0].eval(e)])[0].root=!0),e.mediaPath=t,e.mediaBlocks=i,new Z(this.name,n,r,this.getIndex(),this.fileInfo(),this.debugInfo,this.isRooted,this.visibilityInfo())},variable:function(e){if(this.rules)return K.prototype.variable.call(this.rules[0],e)},find:function(){if(this.rules)return K.prototype.find.apply(this.rules[0],arguments)},rulesets:function(){if(this.rules)return K.prototype.rulesets.apply(this.rules[0])},outputRuleset:function(e,t,i){var n,r=i.length;if(e.tabLevel=1+(0|e.tabLevel),e.compress){for(t.add("{"),n=0;n<r;n++)i[n].genCSS(e,t);return t.add("}"),void e.tabLevel--}var s="\n"+Array(e.tabLevel).join(" "),o=s+" ";if(r){for(t.add(" {"+o),i[0].genCSS(e,t),n=1;n<r;n++)t.add(o),i[n].genCSS(e,t);t.add(s+"}")}else t.add(" {"+s+"}");e.tabLevel--}});var X=function(e,t){this.ruleset=e,this.frames=t,this.setParent(this.ruleset,this)};X.prototype=Object.assign(new u,{type:"DetachedRuleset",evalFirst:!0,accept:function(e){this.ruleset=e.visit(this.ruleset)},eval:function(e){var t=this.frames||k(e.frames);return new X(this.ruleset,t)},callEval:function(e){return this.ruleset.eval(this.frames?new q.Eval(e,this.frames.concat(e.frames)):e)}});var Y=function(e,t,i){this.numerator=e?k(e).sort():[],this.denominator=t?k(t).sort():[],i?this.backupUnit=i:e&&e.length&&(this.backupUnit=e[0])};Y.prototype=Object.assign(new u,{type:"Unit",clone:function(){return new Y(k(this.numerator),k(this.denominator),this.backupUnit)},genCSS:function(e,t){var i=e&&e.strictUnits;1===this.numerator.length?t.add(this.numerator[0]):!i&&this.backupUnit?t.add(this.backupUnit):!i&&this.denominator.length&&t.add(this.denominator[0])},toString:function(){var e,t=this.numerator.join("*");for(e=0;e<this.denominator.length;e++)t+="/"+this.denominator[e];return t},compare:function(e){return this.is(e.toString())?0:void 0},is:function(e){return this.toString().toUpperCase()===e.toUpperCase()},isLength:function(){return RegExp("^(px|em|ex|ch|rem|in|cm|mm|pc|pt|ex|vw|vh|vmin|vmax)$","gi").test(this.toCSS())},isEmpty:function(){return 0===this.numerator.length&&0===this.denominator.length},isSingular:function(){return this.numerator.length<=1&&0===this.denominator.length},map:function(e){var t;for(t=0;t<this.numerator.length;t++)this.numerator[t]=e(this.numerator[t],!1);for(t=0;t<this.denominator.length;t++)this.denominator[t]=e(this.denominator[t],!0)},usedUnits:function(){var e,t,i,n={};for(i in t=function(t){return e.hasOwnProperty(t)&&!n[i]&&(n[i]=t),t},a)a.hasOwnProperty(i)&&(e=a[i],this.map(t));return n},cancel:function(){var e,t,i={};for(t=0;t<this.numerator.length;t++)i[e=this.numerator[t]]=(i[e]||0)+1;for(t=0;t<this.denominator.length;t++)i[e=this.denominator[t]]=(i[e]||0)-1;for(e in this.numerator=[],this.denominator=[],i)if(i.hasOwnProperty(e)){var n=i[e];if(n>0)for(t=0;t<n;t++)this.numerator.push(e);else if(n<0)for(t=0;t<-n;t++)this.denominator.push(e)}this.numerator.sort(),this.denominator.sort()}});var ee=function(e,t){if(this.value=parseFloat(e),isNaN(this.value))throw new Error("Dimension is not a number.");this.unit=t&&t instanceof Y?t:new Y(t?[t]:void 0),this.setParent(this.unit,this)};ee.prototype=Object.assign(new u,{type:"Dimension",accept:function(e){this.unit=e.visit(this.unit)},eval:function(e){return this},toColor:function(){return new c([this.value,this.value,this.value])},genCSS:function(e,t){if(e&&e.strictUnits&&!this.unit.isSingular())throw new Error("Multiple units in dimension. Correct the units or use the unit function. Bad unit: "+this.unit.toString());var i=this.fround(e,this.value),n=String(i);if(0!==i&&i<1e-6&&i>-1e-6&&(n=i.toFixed(20).replace(/0+$/,"")),e&&e.compress){if(0===i&&this.unit.isLength())return void t.add(n);i>0&&i<1&&(n=n.substr(1))}t.add(n),this.unit.genCSS(e,t)},operate:function(e,t,i){var n=this._operate(e,t,this.value,i.value),r=this.unit.clone();if("+"===t||"-"===t)if(0===r.numerator.length&&0===r.denominator.length)r=i.unit.clone(),this.unit.backupUnit&&(r.backupUnit=this.unit.backupUnit);else if(0===i.unit.numerator.length&&0===r.denominator.length);else{if(i=i.convertTo(this.unit.usedUnits()),e.strictUnits&&i.unit.toString()!==r.toString())throw new Error("Incompatible units. Change the units or use the unit function. Bad units: '"+r.toString()+"' and '"+i.unit.toString()+"'.");n=this._operate(e,t,this.value,i.value)}else"*"===t?(r.numerator=r.numerator.concat(i.unit.numerator).sort(),r.denominator=r.denominator.concat(i.unit.denominator).sort(),r.cancel()):"/"===t&&(r.numerator=r.numerator.concat(i.unit.denominator).sort(),r.denominator=r.denominator.concat(i.unit.numerator).sort(),r.cancel());return new ee(n,r)},compare:function(e){var t,i;if(e instanceof ee){if(this.unit.isEmpty()||e.unit.isEmpty())t=this,i=e;else if(t=this.unify(),i=e.unify(),0!==t.unit.compare(i.unit))return;return u.numericCompare(t.value,i.value)}},unify:function(){return this.convertTo({length:"px",duration:"s",angle:"rad"})},convertTo:function(e){var t,i,n,r,s,o=this.value,l=this.unit.clone(),u={};if("string"==typeof e){for(t in a)a[t].hasOwnProperty(e)&&((u={})[t]=e);e=u}for(i in s=function(e,t){return n.hasOwnProperty(e)?(t?o/=n[e]/n[r]:o*=n[e]/n[r],r):e},e)e.hasOwnProperty(i)&&(r=e[i],n=a[i],l.map(s));return l.cancel(),new ee(o,l)}});var te=g,ie=function(e,t,i){this.op=e.trim(),this.operands=t,this.isSpaced=i};ie.prototype=Object.assign(new u,{type:"Operation",accept:function(e){this.operands=e.visitArray(this.operands)},eval:function(e){var t,i=this.operands[0].eval(e),n=this.operands[1].eval(e);if(e.isMathOn(this.op)){if(t="./"===this.op?"/":this.op,i instanceof ee&&n instanceof c&&(i=i.toColor()),n instanceof ee&&i instanceof c&&(n=n.toColor()),!i.operate||!n.operate){if((i instanceof ie||n instanceof ie)&&"/"===i.op&&e.math===te.PARENS_DIVISION)return new ie(this.op,[i,n],this.isSpaced);throw{type:"Operation",message:"Operation on an invalid type"}}return i.operate(e,t,n)}return new ie(this.op,[i,n],this.isSpaced)},genCSS:function(e,t){this.operands[0].genCSS(e,t),this.isSpaced&&t.add(" "),t.add(this.op),this.isSpaced&&t.add(" "),this.operands[1].genCSS(e,t)}});var ne=function(e,t){if(this.value=e,this.noSpacing=t,!e)throw new Error("Expression requires an array parameter")};ne.prototype=Object.assign(new u,{type:"Expression",accept:function(e){this.value=e.visitArray(this.value)},eval:function(e){var t,i=e.isMathOn(),n=this.parens,r=!1;return n&&e.inParenthesis(),this.value.length>1?t=new ne(this.value.map((function(t){return t.eval?t.eval(e):t})),this.noSpacing):1===this.value.length?(!this.value[0].parens||this.value[0].parensInOp||e.inCalc||(r=!0),t=this.value[0].eval(e)):t=this,n&&e.outOfParenthesis(),!this.parens||!this.parensInOp||i||r||t instanceof ee||(t=new p(t)),t},genCSS:function(e,t){for(var i=0;i<this.value.length;i++)this.value[i].genCSS(e,t),!this.noSpacing&&i+1<this.value.length&&t.add(" ")},throwAwayComments:function(){this.value=this.value.filter((function(e){return!(e instanceof U)}))}});var re=function(){function e(e,t,i,n){this.name=e.toLowerCase(),this.index=i,this.context=t,this.currentFileInfo=n,this.func=t.frames[0].functionRegistry.get(this.name)}return e.prototype.isValid=function(){return Boolean(this.func)},e.prototype.call=function(e){var t=this;Array.isArray(e)||(e=[e]);var i=this.func.evalArgs;!1!==i&&(e=e.map((function(e){return e.eval(t.context)})));var n=function(e){return!("Comment"===e.type)};return e=e.filter(n).map((function(e){if("Expression"===e.type){var t=e.value.filter(n);return 1===t.length?e.parens&&"/"===t[0].op?e:t[0]:new ne(t)}return e})),!1===i?this.func.apply(this,function(e,t,i){if(i||2===arguments.length)for(var n,r=0,s=t.length;r<s;r++)!n&&r in t||(n||(n=Array.prototype.slice.call(t,0,r)),n[r]=t[r]);return e.concat(n||t)}([this.context],e)):this.func.apply(this,e)},e}(),se=function(e,t,i,n){this.name=e,this.args=t,this.calc="calc"===e,this._index=i,this._fileInfo=n};se.prototype=Object.assign(new u,{type:"Call",accept:function(e){this.args&&(this.args=e.visitArray(this.args))},eval:function(e){var t=this,i=e.mathOn;e.mathOn=!this.calc,(this.calc||e.inCalc)&&e.enterCalc();var n,r=function(){(t.calc||e.inCalc)&&e.exitCalc(),e.mathOn=i},s=new re(this.name,e,this.getIndex(),this.fileInfo());if(s.isValid())try{n=s.call(this.args),r()}catch(e){if(e.hasOwnProperty("line")&&e.hasOwnProperty("column"))throw e;throw{type:e.type||"Runtime",message:"Error evaluating function `"+this.name+"`"+(e.message?": "+e.message:""),index:this.getIndex(),filename:this.fileInfo().filename,line:e.lineNumber,column:e.columnNumber}}if(null!=n)return n instanceof u||(n=new j(n&&!0!==n?n.toString():null)),n._index=this._index,n._fileInfo=this._fileInfo,n;var o=this.args.map((function(t){return t.eval(e)}));return r(),new se(this.name,o,this.getIndex(),this.fileInfo())},genCSS:function(e,t){t.add(this.name+"(",this.fileInfo(),this.getIndex());for(var i=0;i<this.args.length;i++)this.args[i].genCSS(e,t),i+1<this.args.length&&t.add(", ");t.add(")")}});var oe=function(e,t,i){this.name=e,this._index=t,this._fileInfo=i};oe.prototype=Object.assign(new u,{type:"Variable",eval:function(e){var t,i=this.name;if(0===i.indexOf("@@")&&(i="@"+new oe(i.slice(1),this.getIndex(),this.fileInfo()).eval(e).value),this.evaluating)throw{type:"Name",message:"Recursive variable definition for "+i,filename:this.fileInfo().filename,index:this.getIndex()};if(this.evaluating=!0,t=this.find(e.frames,(function(t){var n=t.variable(i);if(n){if(n.important)e.importantScope[e.importantScope.length-1].important=n.important;return e.inCalc?new se("_SELF",[n.value]).eval(e):n.value.eval(e)}})))return this.evaluating=!1,t;throw{type:"Name",message:"variable "+i+" is undefined",filename:this.fileInfo().filename,index:this.getIndex()}},find:function(e,t){for(var i=0,n=void 0;i<e.length;i++)if(n=t.call(e,e[i]))return n;return null}});var ae=function(e,t,i){this.name=e,this._index=t,this._fileInfo=i};ae.prototype=Object.assign(new u,{type:"Property",eval:function(e){var t,i=this.name,n=e.pluginManager.less.visitors.ToCSSVisitor.prototype._mergeRules;if(this.evaluating)throw{type:"Name",message:"Recursive property reference for "+i,filename:this.fileInfo().filename,index:this.getIndex()};if(this.evaluating=!0,t=this.find(e.frames,(function(t){var r,s=t.property(i);if(s){for(var o=0;o<s.length;o++)r=s[o],s[o]=new D(r.name,r.value,r.important,r.merge,r.index,r.currentFileInfo,r.inline,r.variable);if(n(s),(r=s[s.length-1]).important)e.importantScope[e.importantScope.length-1].important=r.important;return r=r.value.eval(e)}})))return this.evaluating=!1,t;throw{type:"Name",message:"Property '"+i+"' is undefined",filename:this.currentFileInfo.filename,index:this.index}},find:function(e,t){for(var i=0,n=void 0;i<e.length;i++)if(n=t.call(e,e[i]))return n;return null}});var le=function(e,t,i){this.key=e,this.op=t,this.value=i};le.prototype=Object.assign(new u,{type:"Attribute",eval:function(e){return new le(this.key.eval?this.key.eval(e):this.key,this.op,this.value&&this.value.eval?this.value.eval(e):this.value)},genCSS:function(e,t){t.add(this.toCSS(e))},toCSS:function(e){var t=this.key.toCSS?this.key.toCSS(e):this.key;return this.op&&(t+=this.op,t+=this.value.toCSS?this.value.toCSS(e):this.value),"["+t+"]"}});var ue=function(e,t,i,n,r){this.escaped=null==i||i,this.value=t||"",this.quote=e.charAt(0),this._index=n,this._fileInfo=r,this.variableRegex=/@\{([\w-]+)\}/g,this.propRegex=/\$\{([\w-]+)\}/g,this.allowRoot=i};ue.prototype=Object.assign(new u,{type:"Quoted",genCSS:function(e,t){this.escaped||t.add(this.quote,this.fileInfo(),this.getIndex()),t.add(this.value),this.escaped||t.add(this.quote)},containsVariables:function(){return this.value.match(this.variableRegex)},eval:function(e){var t=this,i=this.value;function n(e,t,i){var n=e;do{e=n.toString(),n=e.replace(t,i)}while(e!==n);return n}return i=n(i,this.variableRegex,(function(i,n){var r=new oe("@"+n,t.getIndex(),t.fileInfo()).eval(e,!0);return r instanceof ue?r.value:r.toCSS()})),i=n(i,this.propRegex,(function(i,n){var r=new ae("$"+n,t.getIndex(),t.fileInfo()).eval(e,!0);return r instanceof ue?r.value:r.toCSS()})),new ue(this.quote+i+this.quote,i,this.escaped,this.getIndex(),this.fileInfo())},compare:function(e){return"Quoted"!==e.type||this.escaped||e.escaped?e.toCSS&&this.toCSS()===e.toCSS()?0:void 0:u.numericCompare(this.value,e.value)}});var ce=function(e,t,i,n){this.value=e,this._index=t,this._fileInfo=i,this.isEvald=n};ce.prototype=Object.assign(new u,{type:"Url",accept:function(e){this.value=e.visit(this.value)},genCSS:function(e,t){t.add("url("),this.value.genCSS(e,t),t.add(")")},eval:function(e){var t,i=this.value.eval(e);if(!this.isEvald&&("string"==typeof(t=this.fileInfo()&&this.fileInfo().rootpath)&&"string"==typeof i.value&&e.pathRequiresRewrite(i.value)?(i.quote||(t=t.replace(/[\(\)'"\s]/g,(function(e){return"\\"+e}))),i.value=e.rewritePath(i.value,t)):i.value=e.normalizePath(i.value),e.urlArgs&&!i.value.match(/^\s*data:/))){var n=(-1===i.value.indexOf("?")?"?":"&")+e.urlArgs;-1!==i.value.indexOf("#")?i.value=i.value.replace("#",n+"#"):i.value+=n}return new ce(i,this.getIndex(),this.fileInfo(),!0)}});var he=function(e,t,i,n,r){this._index=i,this._fileInfo=n;var s=new F([],null,null,this._index,this._fileInfo).createEmptySelectors();this.features=new $(t),this.rules=[new K(s,e)],this.rules[0].allowImports=!0,this.copyVisibilityInfo(r),this.allowRoot=!0,this.setParent(s,this),this.setParent(this.features,this),this.setParent(this.rules,this)};he.prototype=Object.assign(new Z,{type:"Media",isRulesetLike:function(){return!0},accept:function(e){this.features&&(this.features=e.visit(this.features)),this.rules&&(this.rules=e.visitArray(this.rules))},genCSS:function(e,t){t.add("@media ",this._fileInfo,this._index),this.features.genCSS(e,t),this.outputRuleset(e,t,this.rules)},eval:function(e){e.mediaBlocks||(e.mediaBlocks=[],e.mediaPath=[]);var t=new he(null,[],this._index,this._fileInfo,this.visibilityInfo());return this.debugInfo&&(this.rules[0].debugInfo=this.debugInfo,t.debugInfo=this.debugInfo),t.features=this.features.eval(e),e.mediaPath.push(t),e.mediaBlocks.push(t),this.rules[0].functionRegistry=e.frames[0].functionRegistry.inherit(),e.frames.unshift(this.rules[0]),t.rules=[this.rules[0].eval(e)],e.frames.shift(),e.mediaPath.pop(),0===e.mediaPath.length?t.evalTop(e):t.evalNested(e)},evalTop:function(e){var t=this;if(e.mediaBlocks.length>1){var i=new F([],null,null,this.getIndex(),this.fileInfo()).createEmptySelectors();(t=new K(i,e.mediaBlocks)).multiMedia=!0,t.copyVisibilityInfo(this.visibilityInfo()),this.setParent(t,this)}return delete e.mediaBlocks,delete e.mediaPath,t},evalNested:function(e){var t,i,n=e.mediaPath.concat([this]);for(t=0;t<n.length;t++)i=n[t].features instanceof $?n[t].features.value:n[t].features,n[t]=Array.isArray(i)?i:[i];return this.features=new $(this.permute(n).map((function(e){for(e=e.map((function(e){return e.toCSS?e:new j(e)})),t=e.length-1;t>0;t--)e.splice(t,0,new j("and"));return new ne(e)}))),this.setParent(this.features,this),new K([],[])},permute:function(e){if(0===e.length)return[];if(1===e.length)return e[0];for(var t=[],i=this.permute(e.slice(1)),n=0;n<i.length;n++)for(var r=0;r<e[0].length;r++)t.push([e[0][r]].concat(i[n]));return t},bubbleSelectors:function(e){e&&(this.rules=[new K(k(e),[this.rules[0]])],this.setParent(this.rules,this))}});var fe=function(e,t,i,n,r,s){if(this.options=i,this._index=n,this._fileInfo=r,this.path=e,this.features=t,this.allowRoot=!0,void 0!==this.options.less||this.options.inline)this.css=!this.options.less||this.options.inline;else{var o=this.getPath();o&&/[#\.\&\?]css([\?;].*)?$/.test(o)&&(this.css=!0)}this.copyVisibilityInfo(s),this.setParent(this.features,this),this.setParent(this.path,this)};fe.prototype=Object.assign(new u,{type:"Import",accept:function(e){this.features&&(this.features=e.visit(this.features)),this.path=e.visit(this.path),this.options.isPlugin||this.options.inline||!this.root||(this.root=e.visit(this.root))},genCSS:function(e,t){this.css&&void 0===this.path._fileInfo.reference&&(t.add("@import ",this._fileInfo,this._index),this.path.genCSS(e,t),this.features&&(t.add(" "),this.features.genCSS(e,t)),t.add(";"))},getPath:function(){return this.path instanceof ce?this.path.value.value:this.path.value},isVariableImport:function(){var e=this.path;return e instanceof ce&&(e=e.value),!(e instanceof ue)||e.containsVariables()},evalForImport:function(e){var t=this.path;return t instanceof ce&&(t=t.value),new fe(t.eval(e),this.features,this.options,this._index,this._fileInfo,this.visibilityInfo())},evalPath:function(e){var t=this.path.eval(e),i=this._fileInfo;if(!(t instanceof ce)){var n=t.value;i&&n&&e.pathRequiresRewrite(n)?t.value=e.rewritePath(n,i.rootpath):t.value=e.normalizePath(t.value)}return t},eval:function(e){var t=this.doEval(e);return(this.options.reference||this.blocksVisibility())&&(t.length||0===t.length?t.forEach((function(e){e.addVisibilityBlock()})):t.addVisibilityBlock()),t},doEval:function(e){var t,i,n=this.features&&this.features.eval(e);if(this.options.isPlugin){if(this.root&&this.root.eval)try{this.root.eval(e)}catch(e){throw e.message="Plugin error during evaluation",new O(e,this.root.imports,this.root.filename)}return(i=e.frames[0]&&e.frames[0].functionRegistry)&&this.root&&this.root.functions&&i.addMultiple(this.root.functions),[]}if(this.skip&&("function"==typeof this.skip&&(this.skip=this.skip()),this.skip))return[];if(this.options.inline){var r=new j(this.root,0,{filename:this.importedFilename,reference:this.path._fileInfo&&this.path._fileInfo.reference},!0,!0);return this.features?new he([r],this.features.value):[r]}if(this.css){var s=new fe(this.evalPath(e),n,this.options,this._index);if(!s.css&&this.error)throw this.error;return s}return this.root?((t=new K(null,k(this.root.rules))).evalImports(e),this.features?new he(t.rules,this.features.value):t.rules):[]}});var pe=function(){};pe.prototype=Object.assign(new u,{evaluateJavaScript:function(e,t){var i,n=this,r={};if(!t.javascriptEnabled)throw{message:"Inline JavaScript is not enabled. Is it set in your options?",filename:this.fileInfo().filename,index:this.getIndex()};e=e.replace(/@\{([\w-]+)\}/g,(function(e,i){return n.jsify(new oe("@"+i,n.getIndex(),n.fileInfo()).eval(t))}));try{e=new Function("return ("+e+")")}catch(t){throw{message:"JavaScript evaluation error: "+t.message+" from `"+e+"`",filename:this.fileInfo().filename,index:this.getIndex()}}var s=t.frames[0].variables();for(var o in s)s.hasOwnProperty(o)&&(r[o.slice(1)]={value:s[o].value,toJS:function(){return this.value.eval(t).toCSS()}});try{i=e.call(r)}catch(e){throw{message:"JavaScript evaluation error: '"+e.name+": "+e.message.replace(/["]/g,"'")+"'",filename:this.fileInfo().filename,index:this.getIndex()}}return i},jsify:function(e){return Array.isArray(e.value)&&e.value.length>1?"["+e.value.map((function(e){return e.toCSS()})).join(", ")+"]":e.toCSS()}});var ve=function(e,t,i,n){this.escaped=t,this.expression=e,this._index=i,this._fileInfo=n};ve.prototype=Object.assign(new pe,{type:"JavaScript",eval:function(e){var t=this.evaluateJavaScript(this.expression,e),i=typeof t;return"number"!==i||isNaN(t)?"string"===i?new ue('"'+t+'"',t,this.escaped,this._index):Array.isArray(t)?new j(t.join(", ")):new j(t):new ee(t)}});var de=function(e,t){this.key=e,this.value=t};de.prototype=Object.assign(new u,{type:"Assignment",accept:function(e){this.value=e.visit(this.value)},eval:function(e){return this.value.eval?new de(this.key,this.value.eval(e)):this},genCSS:function(e,t){t.add(this.key+"="),this.value.genCSS?this.value.genCSS(e,t):t.add(this.value)}});var me=function(e,t,i,n,r){this.op=e.trim(),this.lvalue=t,this.rvalue=i,this._index=n,this.negate=r};me.prototype=Object.assign(new u,{type:"Condition",accept:function(e){this.lvalue=e.visit(this.lvalue),this.rvalue=e.visit(this.rvalue)},eval:function(e){var t=function(e,t,i){switch(e){case"and":return t&&i;case"or":return t||i;default:switch(u.compare(t,i)){case-1:return"<"===e||"=<"===e||"<="===e;case 0:return"="===e||">="===e||"=<"===e||"<="===e;case 1:return">"===e||">="===e;default:return!1}}}(this.op,this.lvalue.eval(e),this.rvalue.eval(e));return this.negate?!t:t}});var ge=function(e){this.value=e};ge.prototype=Object.assign(new u,{type:"UnicodeDescriptor"});var ye=function(e){this.value=e};ye.prototype=Object.assign(new u,{type:"Negative",genCSS:function(e,t){t.add("-"),this.value.genCSS(e,t)},eval:function(e){return e.isMathOn()?new ie("*",[new ee(-1),this.value]).eval(e):new ye(this.value.eval(e))}});var be=function(e,t,i,n,r){switch(this.selector=e,this.option=t,this.object_id=be.next_id++,this.parent_ids=[this.object_id],this._index=i,this._fileInfo=n,this.copyVisibilityInfo(r),this.allowRoot=!0,t){case"all":this.allowBefore=!0,this.allowAfter=!0;break;default:this.allowBefore=!1,this.allowAfter=!1}this.setParent(this.selector,this)};be.prototype=Object.assign(new u,{type:"Extend",accept:function(e){this.selector=e.visit(this.selector)},eval:function(e){return new be(this.selector.eval(e),this.option,this.getIndex(),this.fileInfo(),this.visibilityInfo())},clone:function(e){return new be(this.selector,this.option,this.getIndex(),this.fileInfo(),this.visibilityInfo())},findSelfSelectors:function(e){var t,i,n=[];for(t=0;t<e.length;t++)i=e[t].elements,t>0&&i.length&&""===i[0].combinator.value&&(i[0].combinator.value=" "),n=n.concat(e[t].elements);this.selfSelectors=[new F(n)],this.selfSelectors[0].copyVisibilityInfo(this.visibilityInfo())}}),be.next_id=0;var we=function(e,t,i){this.variable=e,this._index=t,this._fileInfo=i,this.allowRoot=!0};we.prototype=Object.assign(new u,{type:"VariableCall",eval:function(e){var t,i=new oe(this.variable,this.getIndex(),this.fileInfo()).eval(e),n=new O({message:"Could not evaluate variable call "+this.variable});if(!i.ruleset){if(i.rules)t=i;else if(Array.isArray(i))t=new K("",i);else{if(!Array.isArray(i.value))throw n;t=new K("",i.value)}i=new X(t)}if(i.ruleset)return i.callEval(e);throw n}});var xe=function(e,t,i,n){this.value=e,this.lookups=t,this._index=i,this._fileInfo=n};xe.prototype=Object.assign(new u,{type:"NamespaceValue",eval:function(e){var t,i,n=this.value.eval(e);for(t=0;t<this.lookups.length;t++){if(i=this.lookups[t],Array.isArray(n)&&(n=new K([new F],n)),""===i)n=n.lastDeclaration();else if("@"===i.charAt(0)){if("@"===i.charAt(1)&&(i="@"+new oe(i.substr(1)).eval(e).value),n.variables&&(n=n.variable(i)),!n)throw{type:"Name",message:"variable "+i+" not found",filename:this.fileInfo().filename,index:this.getIndex()}}else{if(i="$@"===i.substring(0,2)?"$"+new oe(i.substr(1)).eval(e).value:"$"===i.charAt(0)?i:"$"+i,n.properties&&(n=n.property(i)),!n)throw{type:"Name",message:'property "'+i.substr(1)+'" not found',filename:this.fileInfo().filename,index:this.getIndex()};n=n[n.length-1]}n.value&&(n=n.eval(e).value),n.ruleset&&(n=n.ruleset.eval(e))}return n}});var Se=function(e,t,i,n,r,s,o){this.name=e||"anonymous mixin",this.selectors=[new F([new m(null,e,!1,this._index,this._fileInfo)])],this.params=t,this.condition=n,this.variadic=r,this.arity=t.length,this.rules=i,this._lookups={};var a=[];this.required=t.reduce((function(e,t){return!t.name||t.name&&!t.value?e+1:(a.push(t.name),e)}),0),this.optionalParameters=a,this.frames=s,this.copyVisibilityInfo(o),this.allowRoot=!0};Se.prototype=Object.assign(new K,{type:"MixinDefinition",evalFirst:!0,accept:function(e){this.params&&this.params.length&&(this.params=e.visitArray(this.params)),this.rules=e.visitArray(this.rules),this.condition&&(this.condition=e.visit(this.condition))},evalParams:function(e,t,i,n){var r,s,o,a,l,u,c,h,f=new K(null,null),p=k(this.params),v=0;if(t.frames&&t.frames[0]&&t.frames[0].functionRegistry&&(f.functionRegistry=t.frames[0].functionRegistry.inherit()),t=new q.Eval(t,[f].concat(t.frames)),i)for(v=(i=k(i)).length,o=0;o<v;o++)if(u=(s=i[o])&&s.name){for(c=!1,a=0;a<p.length;a++)if(!n[a]&&u===p[a].name){n[a]=s.value.eval(e),f.prependRule(new D(u,s.value.eval(e))),c=!0;break}if(c){i.splice(o,1),o--;continue}throw{type:"Runtime",message:"Named argument for "+this.name+" "+i[o].name+" not found"}}for(h=0,o=0;o<p.length;o++)if(!n[o]){if(s=i&&i[h],u=p[o].name)if(p[o].variadic){for(r=[],a=h;a<v;a++)r.push(i[a].value.eval(e));f.prependRule(new D(u,new ne(r).eval(e)))}else{if(l=s&&s.value)l=Array.isArray(l)?new X(new K("",l)):l.eval(e);else{if(!p[o].value)throw{type:"Runtime",message:"wrong number of arguments for "+this.name+" ("+v+" for "+this.arity+")"};l=p[o].value.eval(t),f.resetCache()}f.prependRule(new D(u,l)),n[o]=l}if(p[o].variadic&&i)for(a=h;a<v;a++)n[a]=i[a].value.eval(e);h++}return f},makeImportant:function(){var e=this.rules?this.rules.map((function(e){return e.makeImportant?e.makeImportant(!0):e})):this.rules;return new Se(this.name,this.params,e,this.condition,this.variadic,this.frames)},eval:function(e){return new Se(this.name,this.params,this.rules,this.condition,this.variadic,this.frames||k(e.frames))},evalCall:function(e,t,i){var n,r,s=[],o=this.frames?this.frames.concat(e.frames):e.frames,a=this.evalParams(e,new q.Eval(e,o),t,s);return a.prependRule(new D("@arguments",new ne(s).eval(e))),n=k(this.rules),(r=new K(null,n)).originalRuleset=this,r=r.eval(new q.Eval(e,[this,a].concat(o))),i&&(r=r.makeImportant()),r},matchCondition:function(e,t){return!(this.condition&&!this.condition.eval(new q.Eval(t,[this.evalParams(t,new q.Eval(t,this.frames?this.frames.concat(t.frames):t.frames),e,[])].concat(this.frames||[]).concat(t.frames))))},matchArgs:function(e,t){var i,n=e&&e.length||0,r=this.optionalParameters,s=e?e.reduce((function(e,t){return r.indexOf(t.name)<0?e+1:e}),0):0;if(this.variadic){if(s<this.required-1)return!1}else{if(s<this.required)return!1;if(n>this.params.length)return!1}i=Math.min(s,this.arity);for(var o=0;o<i;o++)if(!this.params[o].name&&!this.params[o].variadic&&e[o].value.eval(t).toCSS()!=this.params[o].value.eval(t).toCSS())return!1;return!0}});var Ie=function(e,t,i,n,r){this.selector=new F(e),this.arguments=t||[],this._index=i,this._fileInfo=n,this.important=r,this.allowRoot=!0,this.setParent(this.selector,this)};Ie.prototype=Object.assign(new u,{type:"MixinCall",accept:function(e){this.selector&&(this.selector=e.visit(this.selector)),this.arguments.length&&(this.arguments=e.visitArray(this.arguments))},eval:function(e){var t,i,n,r,s,o,a,l,u,c,h,f,p,v,d,m=[],g=[],y=!1,b=[],w=[];function x(t,i){var n,r,s;for(n=0;n<2;n++){for(w[n]=!0,Q.value(n),r=0;r<i.length&&w[n];r++)(s=i[r]).matchCondition&&(w[n]=w[n]&&s.matchCondition(null,e));t.matchCondition&&(w[n]=w[n]&&t.matchCondition(m,e))}return w[0]||w[1]?w[0]!=w[1]?w[1]?1:2:0:-1}for(this.selector=this.selector.eval(e),o=0;o<this.arguments.length;o++)if(s=(r=this.arguments[o]).value.eval(e),r.expand&&Array.isArray(s.value))for(s=s.value,a=0;a<s.length;a++)m.push({value:s[a]});else m.push({name:r.name,value:s});for(d=function(t){return t.matchArgs(null,e)},o=0;o<e.frames.length;o++)if((t=e.frames[o].find(this.selector,null,d)).length>0){for(c=!0,a=0;a<t.length;a++){for(i=t[a].rule,n=t[a].path,u=!1,l=0;l<e.frames.length;l++)if(!(i instanceof Se)&&i===(e.frames[l].originalRuleset||e.frames[l])){u=!0;break}u||i.matchArgs(m,e)&&(-1!==(h={mixin:i,group:x(i,n)}).group&&b.push(h),y=!0)}for(Q.reset(),p=[0,0,0],a=0;a<b.length;a++)p[b[a].group]++;if(p[0]>0)f=2;else if(f=1,p[1]+p[2]>1)throw{type:"Runtime",message:"Ambiguous use of `default()` found when matching for `"+this.format(m)+"`",index:this.getIndex(),filename:this.fileInfo().filename};for(a=0;a<b.length;a++)if(0===(h=b[a].group)||h===f)try{(i=b[a].mixin)instanceof Se||(v=i.originalRuleset||i,(i=new Se("",[],i.rules,null,!1,null,v.visibilityInfo())).originalRuleset=v);var S=i.evalCall(e,m,this.important).rules;this._setVisibilityToReplacement(S),Array.prototype.push.apply(g,S)}catch(e){throw{message:e.message,index:this.getIndex(),filename:this.fileInfo().filename,stack:e.stack}}if(y)return g}throw c?{type:"Runtime",message:"No matching definition was found for `"+this.format(m)+"`",index:this.getIndex(),filename:this.fileInfo().filename}:{type:"Name",message:this.selector.toCSS().trim()+" is undefined",index:this.getIndex(),filename:this.fileInfo().filename}},_setVisibilityToReplacement:function(e){var t;if(this.blocksVisibility())for(t=0;t<e.length;t++)e[t].addVisibilityBlock()},format:function(e){return this.selector.toCSS().trim()+"("+(e?e.map((function(e){var t="";return e.name&&(t+=e.name+":"),e.value.toCSS?t+=e.value.toCSS():t+="???",t})).join(", "):"")+")"}});var Ce={Node:u,Color:c,AtRule:Z,DetachedRuleset:X,Operation:ie,Dimension:ee,Unit:Y,Keyword:L,Variable:oe,Property:ae,Ruleset:K,Element:m,Attribute:le,Combinator:d,Selector:F,Quoted:ue,Expression:ne,Declaration:D,Call:se,URL:ce,Import:fe,Comment:U,Anonymous:j,Value:$,JavaScript:ve,Assignment:de,Condition:me,Paren:p,Media:he,UnicodeDescriptor:ge,Negative:ye,Extend:be,VariableCall:we,NamespaceValue:xe,mixin:{Call:Ie,Definition:Se}},ke=function(){function e(){}return e.prototype.getPath=function(e){var t=e.lastIndexOf("?");return t>0&&(e=e.slice(0,t)),(t=e.lastIndexOf("/"))<0&&(t=e.lastIndexOf("\\")),t<0?"":e.slice(0,t+1)},e.prototype.tryAppendExtension=function(e,t){return/(\.[a-z]*$)|([\?;].*)$/.test(e)?e:e+t},e.prototype.tryAppendLessExtension=function(e){return this.tryAppendExtension(e,".less")},e.prototype.supportsSync=function(){return!1},e.prototype.alwaysMakePathsAbsolute=function(){return!1},e.prototype.isPathAbsolute=function(e){return/^(?:[a-z-]+:|\/|\\|#)/i.test(e)},e.prototype.join=function(e,t){return e?e+t:t},e.prototype.pathDiff=function(e,t){var i,n,r,s,o=this.extractUrlParts(e),a=this.extractUrlParts(t),l="";if(o.hostPart!==a.hostPart)return"";for(n=Math.max(a.directories.length,o.directories.length),i=0;i<n&&a.directories[i]===o.directories[i];i++);for(s=a.directories.slice(i),r=o.directories.slice(i),i=0;i<s.length-1;i++)l+="../";for(i=0;i<r.length-1;i++)l+=r[i]+"/";return l},e.prototype.extractUrlParts=function(e,t){var i,n,r=/^((?:[a-z-]+:)?\/{2}(?:[^\/\?#]*\/)|([\/\\]))?((?:[^\/\\\?#]*[\/\\])*)([^\/\\\?#]*)([#\?].*)?$/i,s=e.match(r),o={},a=[],l=[];if(!s)throw new Error("Could not parse sheet href - '"+e+"'");if(t&&(!s[1]||s[2])){if(!(n=t.match(r)))throw new Error("Could not parse page url - '"+t+"'");s[1]=s[1]||n[1]||"",s[2]||(s[3]=n[3]+s[3])}if(s[3])for(a=s[3].replace(/\\/g,"/").split("/"),i=0;i<a.length;i++)".."===a[i]?l.pop():"."!==a[i]&&l.push(a[i]);return o.hostPart=s[1],o.directories=l,o.rawPath=(s[1]||"")+a.join("/"),o.path=(s[1]||"")+l.join("/"),o.filename=s[4],o.fileUrl=o.path+(s[4]||""),o.url=o.fileUrl+(s[5]||""),o},e}(),_e=function(){function e(){this.require=function(){return null}}return e.prototype.evalPlugin=function(e,t,i,n,r){var s,o,a,l,u,c;l=t.pluginManager,r&&(u="string"==typeof r?r:r.filename);var h=(new this.less.FileManager).extractUrlParts(u).filename;if(u&&(o=l.get(u))){if(c=this.trySetOptions(o,u,h,n))return c;try{o.use&&o.use.call(this.context,o)}catch(e){return e.message=e.message||"Error during @plugin call",new O(e,i,u)}return o}a={exports:{},pluginManager:l,fileInfo:r},s=H.create();try{new Function("module","require","registerPlugin","functions","tree","less","fileInfo",e)(a,this.require(u),(function(e){o=e}),s,this.less.tree,this.less,r)}catch(e){return new O(e,i,u)}if(o||(o=a.exports),(o=this.validatePlugin(o,u,h))instanceof O)return o;if(!o)return new O({message:"Not a valid plugin"},i,u);if(o.imports=i,o.filename=u,(!o.minVersion||this.compareVersion("3.0.0",o.minVersion)<0)&&(c=this.trySetOptions(o,u,h,n)))return c;if(l.addPlugin(o,r.filename,s),o.functions=s.getLocalFunctions(),c=this.trySetOptions(o,u,h,n))return c;try{o.use&&o.use.call(this.context,o)}catch(e){return e.message=e.message||"Error during @plugin call",new O(e,i,u)}return o},e.prototype.trySetOptions=function(e,t,i,n){if(n&&!e.setOptions)return new O({message:"Options have been provided but the plugin "+i+" does not support any options."});try{e.setOptions&&e.setOptions(n)}catch(e){return new O(e)}},e.prototype.validatePlugin=function(e,t,i){return e?("function"==typeof e&&(e=new e),e.minVersion&&this.compareVersion(e.minVersion,this.less.version)<0?new O({message:"Plugin "+i+" requires version "+this.versionToString(e.minVersion)}):e):null},e.prototype.compareVersion=function(e,t){"string"==typeof e&&(e=e.match(/^(\d+)\.?(\d+)?\.?(\d+)?/)).shift();for(var i=0;i<e.length;i++)if(e[i]!==t[i])return parseInt(e[i])>parseInt(t[i])?-1:1;return 0},e.prototype.versionToString=function(e){for(var t="",i=0;i<e.length;i++)t+=(t?".":"")+e[i];return t},e.prototype.printUsage=function(e){for(var t=0;t<e.length;t++){var i=e[t];i.printUsage&&i.printUsage()}},e}(),Ae={visitDeeper:!0},Me=!1;function Ee(e){return e}var Pe=function(){function e(e){this._implementation=e,this._visitInCache={},this._visitOutCache={},Me||(!function e(t,i){var n,r;for(n in t)switch(typeof(r=t[n])){case"function":r.prototype&&r.prototype.type&&(r.prototype.typeIndex=i++);break;case"object":i=e(r,i)}return i}(Ce,1),Me=!0)}return e.prototype.visit=function(e){if(!e)return e;var t=e.typeIndex;if(!t)return e.value&&e.value.typeIndex&&this.visit(e.value),e;var i,n=this._implementation,r=this._visitInCache[t],s=this._visitOutCache[t],o=Ae;if(o.visitDeeper=!0,r||(r=n[i="visit"+e.type]||Ee,s=n[i+"Out"]||Ee,this._visitInCache[t]=r,this._visitOutCache[t]=s),r!==Ee){var a=r.call(n,e,o);e&&n.isReplacing&&(e=a)}if(o.visitDeeper&&e)if(e.length)for(var l=0,u=e.length;l<u;l++)e[l].accept&&e[l].accept(this);else e.accept&&e.accept(this);return s!=Ee&&s.call(n,e),e},e.prototype.visitArray=function(e,t){if(!e)return e;var i,n=e.length;if(t||!this._implementation.isReplacing){for(i=0;i<n;i++)this.visit(e[i]);return e}var r=[];for(i=0;i<n;i++){var s=this.visit(e[i]);void 0!==s&&(s.splice?s.length&&this.flatten(s,r):r.push(s))}return r},e.prototype.flatten=function(e,t){var i,n,r,s,o,a;for(t||(t=[]),n=0,i=e.length;n<i;n++)if(void 0!==(r=e[n]))if(r.splice)for(o=0,s=r.length;o<s;o++)void 0!==(a=r[o])&&(a.splice?a.length&&this.flatten(a,t):t.push(a));else t.push(r);return t},e}(),Re=function(){function e(e){this.imports=[],this.variableImports=[],this._onSequencerEmpty=e,this._currentDepth=0}return e.prototype.addImport=function(e){var t=this,i={callback:e,args:null,isReady:!1};return this.imports.push(i),function(){i.args=Array.prototype.slice.call(arguments,0),i.isReady=!0,t.tryRun()}},e.prototype.addVariableImport=function(e){this.variableImports.push(e)},e.prototype.tryRun=function(){this._currentDepth++;try{for(;;){for(;this.imports.length>0;){var e=this.imports[0];if(!e.isReady)return;this.imports=this.imports.slice(1),e.callback.apply(null,e.args)}if(0===this.variableImports.length)break;var t=this.variableImports[0];this.variableImports=this.variableImports.slice(1),t()}}finally{this._currentDepth--}0===this._currentDepth&&this._onSequencerEmpty&&this._onSequencerEmpty()},e}(),Oe=function(e,t){this._visitor=new Pe(this),this._importer=e,this._finish=t,this.context=new q.Eval,this.importCount=0,this.onceFileDetectionMap={},this.recursionDetector={},this._sequencer=new Re(this._onSequencerEmpty.bind(this))};Oe.prototype={isReplacing:!1,run:function(e){try{this._visitor.visit(e)}catch(e){this.error=e}this.isFinished=!0,this._sequencer.tryRun()},_onSequencerEmpty:function(){this.isFinished&&this._finish(this.error)},visitImport:function(e,t){var i=e.options.inline;if(!e.css||i){var n=new q.Eval(this.context,k(this.context.frames)),r=n.frames[0];this.importCount++,e.isVariableImport()?this._sequencer.addVariableImport(this.processImportNode.bind(this,e,n,r)):this.processImportNode(e,n,r)}t.visitDeeper=!1},processImportNode:function(e,t,i){var n,r=e.options.inline;try{n=e.evalForImport(t)}catch(t){t.filename||(t.index=e.getIndex(),t.filename=e.fileInfo().filename),e.css=!0,e.error=t}if(!n||n.css&&!r)this.importCount--,this.isFinished&&this._sequencer.tryRun();else{n.options.multiple&&(t.importMultiple=!0);for(var s=void 0===n.css,o=0;o<i.rules.length;o++)if(i.rules[o]===e){i.rules[o]=n;break}var a=this.onImported.bind(this,n,t),l=this._sequencer.addImport(a);this._importer.push(n.getPath(),s,n.fileInfo(),n.options,l)}},onImported:function(e,t,i,n,r,s){i&&(i.filename||(i.index=e.getIndex(),i.filename=e.fileInfo().filename),this.error=i);var o=this,a=e.options.inline,l=e.options.isPlugin,u=e.options.optional,c=r||s in o.recursionDetector;if(t.importMultiple||(e.skip=!!c||function(){return s in o.onceFileDetectionMap||(o.onceFileDetectionMap[s]=!0,!1)}),!s&&u&&(e.skip=!0),n&&(e.root=n,e.importedFilename=s,!a&&!l&&(t.importMultiple||!c))){o.recursionDetector[s]=!0;var h=this.context;this.context=t;try{this._visitor.visit(n)}catch(i){this.error=i}this.context=h}o.importCount--,o.isFinished&&o._sequencer.tryRun()},visitDeclaration:function(e,t){"DetachedRuleset"===e.value.type?this.context.frames.unshift(e):t.visitDeeper=!1},visitDeclarationOut:function(e){"DetachedRuleset"===e.value.type&&this.context.frames.shift()},visitAtRule:function(e,t){this.context.frames.unshift(e)},visitAtRuleOut:function(e){this.context.frames.shift()},visitMixinDefinition:function(e,t){this.context.frames.unshift(e)},visitMixinDefinitionOut:function(e){this.context.frames.shift()},visitRuleset:function(e,t){this.context.frames.unshift(e)},visitRulesetOut:function(e){this.context.frames.shift()},visitMedia:function(e,t){this.context.frames.unshift(e.rules[0])},visitMediaOut:function(e){this.context.frames.shift()}};var Ve=function(){function e(e){this.visible=e}return e.prototype.run=function(e){this.visit(e)},e.prototype.visitArray=function(e){if(!e)return e;var t,i=e.length;for(t=0;t<i;t++)this.visit(e[t]);return e},e.prototype.visit=function(e){return e?e.constructor===Array?this.visitArray(e):(!e.blocksVisibility||e.blocksVisibility()||(this.visible?e.ensureVisibility():e.ensureInvisibility(),e.accept(this)),e):e},e}(),Fe=function(){function e(){this._visitor=new Pe(this),this.contexts=[],this.allExtendsStack=[[]]}return e.prototype.run=function(e){return(e=this._visitor.visit(e)).allExtends=this.allExtendsStack[0],e},e.prototype.visitDeclaration=function(e,t){t.visitDeeper=!1},e.prototype.visitMixinDefinition=function(e,t){t.visitDeeper=!1},e.prototype.visitRuleset=function(e,t){if(!e.root){var i,n,r,s,o=[],a=e.rules,l=a?a.length:0;for(i=0;i<l;i++)e.rules[i]instanceof Ce.Extend&&(o.push(a[i]),e.extendOnEveryPath=!0);var u=e.paths;for(i=0;i<u.length;i++){var c=u[i],h=c[c.length-1].extendList;for((s=h?k(h).concat(o):o)&&(s=s.map((function(e){return e.clone()}))),n=0;n<s.length;n++)this.foundExtends=!0,(r=s[n]).findSelfSelectors(c),r.ruleset=e,0===n&&(r.firstExtendOnThisSelectorPath=!0),this.allExtendsStack[this.allExtendsStack.length-1].push(r)}this.contexts.push(e.selectors)}},e.prototype.visitRulesetOut=function(e){e.root||(this.contexts.length=this.contexts.length-1)},e.prototype.visitMedia=function(e,t){e.allExtends=[],this.allExtendsStack.push(e.allExtends)},e.prototype.visitMediaOut=function(e){this.allExtendsStack.length=this.allExtendsStack.length-1},e.prototype.visitAtRule=function(e,t){e.allExtends=[],this.allExtendsStack.push(e.allExtends)},e.prototype.visitAtRuleOut=function(e){this.allExtendsStack.length=this.allExtendsStack.length-1},e}(),$e=function(){function e(){this._visitor=new Pe(this)}return e.prototype.run=function(e){var t=new Fe;if(this.extendIndices={},t.run(e),!t.foundExtends)return e;e.allExtends=e.allExtends.concat(this.doExtendChaining(e.allExtends,e.allExtends)),this.allExtendsStack=[e.allExtends];var i=this._visitor.visit(e);return this.checkExtendsForNonMatched(e.allExtends),i},e.prototype.checkExtendsForNonMatched=function(e){var t=this.extendIndices;e.filter((function(e){return!e.hasFoundMatches&&1==e.parent_ids.length})).forEach((function(e){var i="_unknown_";try{i=e.selector.toCSS({})}catch(e){}t[e.index+" "+i]||(t[e.index+" "+i]=!0,r.warn("extend '"+i+"' has no matches"))}))},e.prototype.doExtendChaining=function(e,t,i){var n,r,s,o,a,l,u,c,h=[],f=this;for(i=i||0,n=0;n<e.length;n++)for(r=0;r<t.length;r++)l=e[n],u=t[r],l.parent_ids.indexOf(u.object_id)>=0||(a=[u.selfSelectors[0]],(s=f.findMatch(l,a)).length&&(l.hasFoundMatches=!0,l.selfSelectors.forEach((function(e){var t=u.visibilityInfo();o=f.extendSelector(s,a,e,l.isVisible()),(c=new Ce.Extend(u.selector,u.option,0,u.fileInfo(),t)).selfSelectors=o,o[o.length-1].extendList=[c],h.push(c),c.ruleset=u.ruleset,c.parent_ids=c.parent_ids.concat(u.parent_ids,l.parent_ids),u.firstExtendOnThisSelectorPath&&(c.firstExtendOnThisSelectorPath=!0,u.ruleset.paths.push(o))}))));if(h.length){if(this.extendChainCount++,i>100){var p="{unable to calculate}",v="{unable to calculate}";try{p=h[0].selfSelectors[0].toCSS(),v=h[0].selector.toCSS()}catch(e){}throw{message:"extend circular reference detected. One of the circular extends is currently:"+p+":extend("+v+")"}}return h.concat(f.doExtendChaining(h,t,i+1))}return h},e.prototype.visitDeclaration=function(e,t){t.visitDeeper=!1},e.prototype.visitMixinDefinition=function(e,t){t.visitDeeper=!1},e.prototype.visitSelector=function(e,t){t.visitDeeper=!1},e.prototype.visitRuleset=function(e,t){if(!e.root){var i,n,r,s,o=this.allExtendsStack[this.allExtendsStack.length-1],a=[],l=this;for(r=0;r<o.length;r++)for(n=0;n<e.paths.length;n++)if(s=e.paths[n],!e.extendOnEveryPath){var u=s[s.length-1].extendList;u&&u.length||(i=this.findMatch(o[r],s)).length&&(o[r].hasFoundMatches=!0,o[r].selfSelectors.forEach((function(e){var t;t=l.extendSelector(i,s,e,o[r].isVisible()),a.push(t)})))}e.paths=e.paths.concat(a)}},e.prototype.findMatch=function(e,t){var i,n,r,s,o,a,l,u=e.selector.elements,c=[],h=[];for(i=0;i<t.length;i++)for(n=t[i],r=0;r<n.elements.length;r++)for(s=n.elements[r],(e.allowBefore||0===i&&0===r)&&c.push({pathIndex:i,index:r,matched:0,initialCombinator:s.combinator}),a=0;a<c.length;a++)l=c[a],""===(o=s.combinator.value)&&0===r&&(o=" "),!this.isElementValuesEqual(u[l.matched].value,s.value)||l.matched>0&&u[l.matched].combinator.value!==o?l=null:l.matched++,l&&(l.finished=l.matched===u.length,l.finished&&!e.allowAfter&&(r+1<n.elements.length||i+1<t.length)&&(l=null)),l?l.finished&&(l.length=u.length,l.endPathIndex=i,l.endPathElementIndex=r+1,c.length=0,h.push(l)):(c.splice(a,1),a--);return h},e.prototype.isElementValuesEqual=function(e,t){if("string"==typeof e||"string"==typeof t)return e===t;if(e instanceof Ce.Attribute)return e.op===t.op&&e.key===t.key&&(e.value&&t.value?(e=e.value.value||e.value)===(t=t.value.value||t.value):!e.value&&!t.value);if(e=e.value,t=t.value,e instanceof Ce.Selector){if(!(t instanceof Ce.Selector)||e.elements.length!==t.elements.length)return!1;for(var i=0;i<e.elements.length;i++){if(e.elements[i].combinator.value!==t.elements[i].combinator.value&&(0!==i||(e.elements[i].combinator.value||" ")!==(t.elements[i].combinator.value||" ")))return!1;if(!this.isElementValuesEqual(e.elements[i].value,t.elements[i].value))return!1}return!0}return!1},e.prototype.extendSelector=function(e,t,i,n){var r,s,o,a,l,u=0,c=0,h=[];for(r=0;r<e.length;r++)s=t[(a=e[r]).pathIndex],o=new Ce.Element(a.initialCombinator,i.elements[0].value,i.elements[0].isVariable,i.elements[0].getIndex(),i.elements[0].fileInfo()),a.pathIndex>u&&c>0&&(h[h.length-1].elements=h[h.length-1].elements.concat(t[u].elements.slice(c)),c=0,u++),l=s.elements.slice(c,a.index).concat([o]).concat(i.elements.slice(1)),u===a.pathIndex&&r>0?h[h.length-1].elements=h[h.length-1].elements.concat(l):(h=h.concat(t.slice(u,a.pathIndex))).push(new Ce.Selector(l)),u=a.endPathIndex,(c=a.endPathElementIndex)>=t[u].elements.length&&(c=0,u++);return u<t.length&&c>0&&(h[h.length-1].elements=h[h.length-1].elements.concat(t[u].elements.slice(c)),u++),h=(h=h.concat(t.slice(u,t.length))).map((function(e){var t=e.createDerived(e.elements);return n?t.ensureVisibility():t.ensureInvisibility(),t}))},e.prototype.visitMedia=function(e,t){var i=e.allExtends.concat(this.allExtendsStack[this.allExtendsStack.length-1]);i=i.concat(this.doExtendChaining(i,e.allExtends)),this.allExtendsStack.push(i)},e.prototype.visitMediaOut=function(e){var t=this.allExtendsStack.length-1;this.allExtendsStack.length=t},e.prototype.visitAtRule=function(e,t){var i=e.allExtends.concat(this.allExtendsStack[this.allExtendsStack.length-1]);i=i.concat(this.doExtendChaining(i,e.allExtends)),this.allExtendsStack.push(i)},e.prototype.visitAtRuleOut=function(e){var t=this.allExtendsStack.length-1;this.allExtendsStack.length=t},e}(),Le=function(){function e(){this.contexts=[[]],this._visitor=new Pe(this)}return e.prototype.run=function(e){return this._visitor.visit(e)},e.prototype.visitDeclaration=function(e,t){t.visitDeeper=!1},e.prototype.visitMixinDefinition=function(e,t){t.visitDeeper=!1},e.prototype.visitRuleset=function(e,t){var i,n=this.contexts[this.contexts.length-1],r=[];this.contexts.push(r),e.root||((i=e.selectors)&&(i=i.filter((function(e){return e.getIsOutput()})),e.selectors=i.length?i:i=null,i&&e.joinSelectors(r,n,i)),i||(e.rules=null),e.paths=r)},e.prototype.visitRulesetOut=function(e){this.contexts.length=this.contexts.length-1},e.prototype.visitMedia=function(e,t){var i=this.contexts[this.contexts.length-1];e.rules[0].root=0===i.length||i[0].multiMedia},e.prototype.visitAtRule=function(e,t){var i=this.contexts[this.contexts.length-1];e.rules&&e.rules.length&&(e.rules[0].root=e.isRooted||0===i.length||null)},e}(),je=function(){function e(e){this._visitor=new Pe(this),this._context=e}return e.prototype.containsSilentNonBlockedChild=function(e){var t;if(!e)return!1;for(var i=0;i<e.length;i++)if((t=e[i]).isSilent&&t.isSilent(this._context)&&!t.blocksVisibility())return!0;return!1},e.prototype.keepOnlyVisibleChilds=function(e){e&&e.rules&&(e.rules=e.rules.filter((function(e){return e.isVisible()})))},e.prototype.isEmpty=function(e){return!e||!e.rules||0===e.rules.length},e.prototype.hasVisibleSelector=function(e){return!(!e||!e.paths)&&e.paths.length>0},e.prototype.resolveVisibility=function(e,t){if(!e.blocksVisibility()){if(this.isEmpty(e)&&!this.containsSilentNonBlockedChild(t))return;return e}var i=e.rules[0];if(this.keepOnlyVisibleChilds(i),!this.isEmpty(i))return e.ensureVisibility(),e.removeVisibilityBlock(),e},e.prototype.isVisibleRuleset=function(e){return!!e.firstRoot||!this.isEmpty(e)&&!(!e.root&&!this.hasVisibleSelector(e))},e}(),Ne=function(e){this._visitor=new Pe(this),this._context=e,this.utils=new je(e)};Ne.prototype={isReplacing:!0,run:function(e){return this._visitor.visit(e)},visitDeclaration:function(e,t){if(!e.blocksVisibility()&&!e.variable)return e},visitMixinDefinition:function(e,t){e.frames=[]},visitExtend:function(e,t){},visitComment:function(e,t){if(!e.blocksVisibility()&&!e.isSilent(this._context))return e},visitMedia:function(e,t){var i=e.rules[0].rules;return e.accept(this._visitor),t.visitDeeper=!1,this.utils.resolveVisibility(e,i)},visitImport:function(e,t){if(!e.blocksVisibility())return e},visitAtRule:function(e,t){return e.rules&&e.rules.length?this.visitAtRuleWithBody(e,t):this.visitAtRuleWithoutBody(e,t)},visitAnonymous:function(e,t){if(!e.blocksVisibility())return e.accept(this._visitor),e},visitAtRuleWithBody:function(e,t){var i=function(e){var t=e.rules;return function(e){var t=e.rules;return 1===t.length&&(!t[0].paths||0===t[0].paths.length)}(e)?t[0].rules:t}(e);return e.accept(this._visitor),t.visitDeeper=!1,this.utils.isEmpty(e)||this._mergeRules(e.rules[0].rules),this.utils.resolveVisibility(e,i)},visitAtRuleWithoutBody:function(e,t){if(!e.blocksVisibility()){if("@charset"===e.name){if(this.charset){if(e.debugInfo){var i=new Ce.Comment("/* "+e.toCSS(this._context).replace(/\n/g,"")+" */\n");return i.debugInfo=e.debugInfo,this._visitor.visit(i)}return}this.charset=!0}return e}},checkValidNodes:function(e,t){if(e)for(var i=0;i<e.length;i++){var n=e[i];if(t&&n instanceof Ce.Declaration&&!n.variable)throw{message:"Properties must be inside selector blocks. They cannot be in the root",index:n.getIndex(),filename:n.fileInfo()&&n.fileInfo().filename};if(n instanceof Ce.Call)throw{message:"Function '"+n.name+"' did not return a root node",index:n.getIndex(),filename:n.fileInfo()&&n.fileInfo().filename};if(n.type&&!n.allowRoot)throw{message:n.type+" node returned by a function is not valid here",index:n.getIndex(),filename:n.fileInfo()&&n.fileInfo().filename}}},visitRuleset:function(e,t){var i,n=[];if(this.checkValidNodes(e.rules,e.firstRoot),e.root)e.accept(this._visitor),t.visitDeeper=!1;else{this._compileRulesetPaths(e);for(var r=e.rules,s=r?r.length:0,o=0;o<s;)(i=r[o])&&i.rules?(n.push(this._visitor.visit(i)),r.splice(o,1),s--):o++;s>0?e.accept(this._visitor):e.rules=null,t.visitDeeper=!1}return e.rules&&(this._mergeRules(e.rules),this._removeDuplicateRules(e.rules)),this.utils.isVisibleRuleset(e)&&(e.ensureVisibility(),n.splice(0,0,e)),1===n.length?n[0]:n},_compileRulesetPaths:function(e){e.paths&&(e.paths=e.paths.filter((function(e){var t;for(" "===e[0].elements[0].combinator.value&&(e[0].elements[0].combinator=new Ce.Combinator("")),t=0;t<e.length;t++)if(e[t].isVisible()&&e[t].getIsOutput())return!0;return!1})))},_removeDuplicateRules:function(e){if(e){var t,i,n,r={};for(n=e.length-1;n>=0;n--)if((i=e[n])instanceof Ce.Declaration)if(r[i.name]){(t=r[i.name])instanceof Ce.Declaration&&(t=r[i.name]=[r[i.name].toCSS(this._context)]);var s=i.toCSS(this._context);-1!==t.indexOf(s)?e.splice(n,1):t.push(s)}else r[i.name]=i}},_mergeRules:function(e){if(e){for(var t={},i=[],n=0;n<e.length;n++){var r=e[n];if(r.merge){var s=r.name;t[s]?e.splice(n--,1):i.push(t[s]=[]),t[s].push(r)}}i.forEach((function(e){if(e.length>0){var t=e[0],i=[],n=[new Ce.Expression(i)];e.forEach((function(e){"+"===e.merge&&i.length>0&&n.push(new Ce.Expression(i=[])),i.push(e.value),t.important=t.important||e.important})),t.value=new Ce.Value(n)}}))}}};var De={Visitor:Pe,ImportVisitor:Oe,MarkVisibleSelectorsVisitor:Ve,ExtendVisitor:$e,JoinSelectorVisitor:Le,ToCSSVisitor:Ne};var Be=function(){var e,t,i,n,r,s,o,a=[],l={};function u(i){for(var n,a,c,h=l.i,f=t,p=l.i-o,v=l.i+s.length-p,d=l.i+=i,m=e;l.i<v;l.i++){if(n=m.charCodeAt(l.i),l.autoCommentAbsorb&&47===n){if("/"===(a=m.charAt(l.i+1))){c={index:l.i,isLineComment:!0};var g=m.indexOf("\n",l.i+2);g<0&&(g=v),l.i=g,c.text=m.substr(c.index,l.i-c.index),l.commentStore.push(c);continue}if("*"===a){var y=m.indexOf("*/",l.i+2);if(y>=0){c={index:l.i,text:m.substr(l.i,y+2-l.i),isLineComment:!1},l.i+=c.text.length-1,l.commentStore.push(c);continue}}break}if(32!==n&&10!==n&&9!==n&&13!==n)break}if(s=s.slice(i+l.i-d+p),o=l.i,!s.length){if(t<r.length-1)return s=r[++t],u(0),!0;l.finished=!0}return h!==l.i||f!==t}return l.save=function(){o=l.i,a.push({current:s,i:l.i,j:t})},l.restore=function(e){(l.i>i||l.i===i&&e&&!n)&&(i=l.i,n=e);var r=a.pop();s=r.current,o=l.i=r.i,t=r.j},l.forget=function(){a.pop()},l.isWhitespace=function(t){var i=l.i+(t||0),n=e.charCodeAt(i);return 32===n||13===n||9===n||10===n},l.$re=function(e){l.i>o&&(s=s.slice(l.i-o),o=l.i);var t=e.exec(s);return t?(u(t[0].length),"string"==typeof t?t:1===t.length?t[0]:t):null},l.$char=function(t){return e.charAt(l.i)!==t?null:(u(1),t)},l.$str=function(t){for(var i=t.length,n=0;n<i;n++)if(e.charAt(l.i+n)!==t.charAt(n))return null;return u(i),t},l.$quoted=function(t){var i=t||l.i,n=e.charAt(i);if("'"===n||'"'===n){for(var r=e.length,s=i,o=1;o+s<r;o++){switch(e.charAt(o+s)){case"\\":o++;continue;case"\r":case"\n":break;case n:var a=e.substr(s,o+1);return t||0===t?[n,a]:(u(o+1),a)}}return null}},l.$parseUntil=function(t){var i,n="",r=null,s=!1,o=0,a=[],c=[],h=e.length,f=l.i,p=l.i,v=l.i,d=!0;i="string"==typeof t?function(e){return e===t}:function(e){return t.test(e)};do{var m=e.charAt(v);if(0===o&&i(m))(r=e.substr(p,v-p))?c.push(r):c.push(" "),r=c,u(v-f),d=!1;else{if(s){"*"===m&&"/"===e.charAt(v+1)&&(v++,o--,s=!1),v++;continue}switch(m){case"\\":v++,m=e.charAt(v),c.push(e.substr(p,v-p+1)),p=v+1;break;case"/":"*"===e.charAt(v+1)&&(v++,s=!0,o++);break;case"'":case'"':(n=l.$quoted(v))?(c.push(e.substr(p,v-p),n),p=(v+=n[1].length-1)+1):(u(v-f),r=m,d=!1);break;case"{":a.push("}"),o++;break;case"(":a.push(")"),o++;break;case"[":a.push("]"),o++;break;case"}":case")":case"]":var g=a.pop();m===g?o--:(u(v-f),r=g,d=!1)}++v>h&&(d=!1)}}while(d);return r||null},l.autoCommentAbsorb=!0,l.commentStore=[],l.finished=!1,l.peek=function(t){if("string"==typeof t){for(var i=0;i<t.length;i++)if(e.charAt(l.i+i)!==t.charAt(i))return!1;return!0}return t.test(s)},l.peekChar=function(t){return e.charAt(l.i)===t},l.currentChar=function(){return e.charAt(l.i)},l.prevChar=function(){return e.charAt(l.i-1)},l.getInput=function(){return e},l.peekNotNumeric=function(){var t=e.charCodeAt(l.i);return t>57||t<43||47===t||44===t},l.start=function(n,a,c){e=n,l.i=t=o=i=0,r=a?function(e,t){var i,n,r,s,o,a,l,u,c,h=e.length,f=0,p=0,v=[],d=0;function m(t){var i=o-d;i<512&&!t||!i||(v.push(e.slice(d,o+1)),d=o+1)}for(o=0;o<h;o++)if(!((l=e.charCodeAt(o))>=97&&l<=122||l<34))switch(l){case 40:p++,n=o;continue;case 41:if(--p<0)return t("missing opening `(`",o);continue;case 59:p||m();continue;case 123:f++,i=o;continue;case 125:if(--f<0)return t("missing opening `{`",o);f||p||m();continue;case 92:if(o<h-1){o++;continue}return t("unescaped `\\`",o);case 34:case 39:case 96:for(c=0,a=o,o+=1;o<h;o++)if(!((u=e.charCodeAt(o))>96)){if(u==l){c=1;break}if(92==u){if(o==h-1)return t("unescaped `\\`",o);o++}}if(c)continue;return t("unmatched `"+String.fromCharCode(l)+"`",a);case 47:if(p||o==h-1)continue;if(47==(u=e.charCodeAt(o+1)))for(o+=2;o<h&&(!((u=e.charCodeAt(o))<=13)||10!=u&&13!=u);o++);else if(42==u){for(r=a=o,o+=2;o<h-1&&(125==(u=e.charCodeAt(o))&&(s=o),42!=u||47!=e.charCodeAt(o+1));o++);if(o==h-1)return t("missing closing `*/`",a);o++}continue;case 42:if(o<h-1&&47==e.charCodeAt(o+1))return t("unmatched `/*`",o);continue}return 0!==f?t(r>i&&s>r?"missing closing `}` or `*/`":"missing closing `}`",i):0!==p?t("missing closing `)`",n):(m(!0),v)}(n,c):[n],s=r[0],u(0)},l.end=function(){var t,r=l.i>=e.length;return l.i<i&&(t=n,l.i=i),{isFinished:r,furthest:l.i,furthestPossibleErrorMessage:t,furthestReachedEnd:l.i>=e.length-1,furthestChar:e[l.i]}},l},Ue=function e(t,i,n){var r,s=Be();function o(e,t){throw new O({index:s.i,filename:n.filename,type:t||"Syntax",message:e},i)}function a(e,t){var i=e instanceof Function?e.call(r):s.$re(e);if(i)return i;o(t||("string"==typeof e?"expected '"+e+"' got '"+s.currentChar()+"'":"unexpected token"))}function l(e,t){if(s.$char(e))return e;o(t||"expected '"+e+"' got '"+s.currentChar()+"'")}function u(e){var t=n.filename;return{lineNumber:C(e,s.getInput()).line+1,fileName:t}}return{parserInput:s,imports:i,fileInfo:n,parseNode:function(e,t,n,o,a){var l,u=[],c=s;try{c.start(e,!1,(function(e,t){a({message:e,index:t+n})}));for(var h=0,f=void 0,p=void 0;f=t[h];h++)if(p=c.i,l=r[f]()){try{l._index=p+n,l._fileInfo=o}catch(e){}u.push(l)}else u.push(null);c.end().isFinished?a(null,u):a(!0,null)}catch(e){throw new O({index:e.index+n,message:e.message},i,o.filename)}},parse:function(r,o,a){var l,u,c,h,f=null,p="";if(u=a&&a.globalVars?e.serializeVars(a.globalVars)+"\n":"",c=a&&a.modifyVars?"\n"+e.serializeVars(a.modifyVars):"",t.pluginManager)for(var v=t.pluginManager.getPreProcessors(),d=0;d<v.length;d++)r=v[d].process(r,{context:t,imports:i,fileInfo:n});(u||a&&a.banner)&&(p=(a&&a.banner?a.banner:"")+u,(h=i.contentsIgnoredChars)[n.filename]=h[n.filename]||0,h[n.filename]+=p.length),r=p+(r=r.replace(/\r\n?/g,"\n")).replace(/^\uFEFF/,"")+c,i.contents[n.filename]=r;try{s.start(r,t.chunkInput,(function(e,t){throw new O({index:t,type:"Parse",message:e,filename:n.filename},i)})),Ce.Node.prototype.parse=this,l=new Ce.Ruleset(null,this.parsers.primary()),Ce.Node.prototype.rootNode=l,l.root=!0,l.firstRoot=!0,l.functionRegistry=H.inherit()}catch(e){return o(new O(e,i,n.filename))}var m=s.end();if(!m.isFinished){var g=m.furthestPossibleErrorMessage;g||(g="Unrecognised input","}"===m.furthestChar?g+=". Possibly missing opening '{'":")"===m.furthestChar?g+=". Possibly missing opening '('":m.furthestReachedEnd&&(g+=". Possibly missing something")),f=new O({type:"Parse",message:g,index:m.furthest,filename:n.filename},i)}var y=function(e){return(e=f||e||i.error)?(e instanceof O||(e=new O(e,i,n.filename)),o(e)):o(null,l)};if(!1===t.processImports)return y();new De.ImportVisitor(i,y).run(l)},parsers:r={primary:function(){for(var e,t=this.mixin,i=[];;){for(;e=this.comment();)i.push(e);if(s.finished)break;if(s.peek("}"))break;if(e=this.extendRule())i=i.concat(e);else if(e=t.definition()||this.declaration()||t.call(!1,!1)||this.ruleset()||this.variableCall()||this.entities.call()||this.atrule())i.push(e);else{for(var n=!1;s.$char(";");)n=!0;if(!n)break}}return i},comment:function(){if(s.commentStore.length){var e=s.commentStore.shift();return new Ce.Comment(e.text,e.isLineComment,e.index,n)}},entities:{mixinLookup:function(){return r.mixin.call(!0,!0)},quoted:function(e){var t,i=s.i,r=!1;if(s.save(),s.$char("~"))r=!0;else if(e)return void s.restore();if(t=s.$quoted())return s.forget(),new Ce.Quoted(t.charAt(0),t.substr(1,t.length-2),r,i,n);s.restore()},keyword:function(){var e=s.$char("%")||s.$re(/^\[?(?:[\w-]|\\(?:[A-Fa-f0-9]{1,6} ?|[^A-Fa-f0-9]))+\]?/);if(e)return Ce.Color.fromKeyword(e)||new Ce.Keyword(e)},call:function(){var e,t,i,r=s.i;if(!s.peek(/^url\(/i))if(s.save(),e=s.$re(/^([\w-]+|%|~|progid:[\w\.]+)\(/)){if(e=e[1],(i=this.customFuncCall(e))&&(t=i.parse())&&i.stop)return s.forget(),t;if(t=this.arguments(t),s.$char(")"))return s.forget(),new Ce.Call(e,t,r,n);s.restore("Could not parse call arguments or missing ')'")}else s.forget()},customFuncCall:function(e){return{alpha:t(r.ieAlpha,!0),boolean:t(i),if:t(i)}[e.toLowerCase()];function t(e,t){return{parse:e,stop:t}}function i(){return[a(r.condition,"expected condition")]}},arguments:function(e){var t,i,n=e||[],o=[];for(s.save();;){if(e)e=!1;else{if(!(i=r.detachedRuleset()||this.assignment()||r.expression()))break;i.value&&1==i.value.length&&(i=i.value[0]),n.push(i)}s.$char(",")||(s.$char(";")||t)&&(t=!0,i=n.length<1?n[0]:new Ce.Value(n),o.push(i),n=[])}return s.forget(),t?o:n},literal:function(){return this.dimension()||this.color()||this.quoted()||this.unicodeDescriptor()},assignment:function(){var e,t;if(s.save(),e=s.$re(/^\w+(?=\s?=)/i))if(s.$char("=")){if(t=r.entity())return s.forget(),new Ce.Assignment(e,t);s.restore()}else s.restore();else s.restore()},url:function(){var e,t=s.i;if(s.autoCommentAbsorb=!1,s.$str("url("))return e=this.quoted()||this.variable()||this.property()||s.$re(/^(?:(?:\\[\(\)'"])|[^\(\)'"])+/)||"",s.autoCommentAbsorb=!0,l(")"),new Ce.URL(null!=e.value||e instanceof Ce.Variable||e instanceof Ce.Property?e:new Ce.Anonymous(e,t),t,n);s.autoCommentAbsorb=!0},variable:function(){var e,t,i=s.i;if(s.save(),"@"===s.currentChar()&&(t=s.$re(/^@@?[\w-]+/))){if("("===(e=s.currentChar())||"["===e&&!s.prevChar().match(/^\s/)){var o=r.variableCall(t);if(o)return s.forget(),o}return s.forget(),new Ce.Variable(t,i,n)}s.restore()},variableCurly:function(){var e,t=s.i;if("@"===s.currentChar()&&(e=s.$re(/^@\{([\w-]+)\}/)))return new Ce.Variable("@"+e[1],t,n)},property:function(){var e,t=s.i;if("$"===s.currentChar()&&(e=s.$re(/^\$[\w-]+/)))return new Ce.Property(e,t,n)},propertyCurly:function(){var e,t=s.i;if("$"===s.currentChar()&&(e=s.$re(/^\$\{([\w-]+)\}/)))return new Ce.Property("$"+e[1],t,n)},color:function(){var e;if(s.save(),"#"===s.currentChar()&&(e=s.$re(/^#([A-Fa-f0-9]{8}|[A-Fa-f0-9]{6}|[A-Fa-f0-9]{3,4})([\w.#\[])?/))&&!e[2])return s.forget(),new Ce.Color(e[1],void 0,e[0]);s.restore()},colorKeyword:function(){s.save();var e=s.autoCommentAbsorb;s.autoCommentAbsorb=!1;var t=s.$re(/^[_A-Za-z-][_A-Za-z0-9-]+/);if(s.autoCommentAbsorb=e,t){s.restore();var i=Ce.Color.fromKeyword(t);return i?(s.$str(t),i):void 0}s.forget()},dimension:function(){if(!s.peekNotNumeric()){var e=s.$re(/^([+-]?\d*\.?\d+)(%|[a-z_]+)?/i);return e?new Ce.Dimension(e[1],e[2]):void 0}},unicodeDescriptor:function(){var e;if(e=s.$re(/^U\+[0-9a-fA-F?]+(\-[0-9a-fA-F?]+)?/))return new Ce.UnicodeDescriptor(e[0])},javascript:function(){var e,t=s.i;s.save();var i=s.$char("~");if(s.$char("`")){if(e=s.$re(/^[^`]*`/))return s.forget(),new Ce.JavaScript(e.substr(0,e.length-1),Boolean(i),t,n);s.restore("invalid javascript definition")}else s.restore()}},variable:function(){var e;if("@"===s.currentChar()&&(e=s.$re(/^(@[\w-]+)\s*:/)))return e[1]},variableCall:function(e){var t,i=s.i,o=!!e,a=e;if(s.save(),a||"@"===s.currentChar()&&(a=s.$re(/^(@[\w-]+)(\(\s*\))?/))){if(!(t=this.mixin.ruleLookups())&&(o&&"()"!==s.$str("()")||"()"!==a[2]))return void s.restore("Missing '[...]' lookup in variable call");o||(a=a[1]);var l=new Ce.VariableCall(a,i,n);return!o&&r.end()?(s.forget(),l):(s.forget(),new Ce.NamespaceValue(l,t,i,n))}s.restore()},extend:function(e){var t,i,r,l,u,c=s.i;if(s.$str(e?"&:extend(":":extend(")){do{for(r=null,t=null;!(r=s.$re(/^(all)(?=\s*(\)|,))/))&&(i=this.element());)t?t.push(i):t=[i];r=r&&r[1],t||o("Missing target selector for :extend()."),u=new Ce.Extend(new Ce.Selector(t),r,c,n),l?l.push(u):l=[u]}while(s.$char(","));return a(/^\)/),e&&a(/^;/),l}},extendRule:function(){return this.extend(!0)},mixin:{call:function(e,t){var i,o,a,u,c=s.currentChar(),h=!1,f=s.i;if("."===c||"#"===c){if(s.save(),o=this.elements()){if(s.$char("(")&&(a=this.args(!0).args,l(")"),u=!0),!1!==t&&(i=this.ruleLookups()),!0===t&&!i)return void s.restore();if(e&&!i&&!u)return void s.restore();if(!e&&r.important()&&(h=!0),e||r.end()){s.forget();var p=new Ce.mixin.Call(o,a,f,n,!i&&h);return i?new Ce.NamespaceValue(p,i):p}}s.restore()}},elements:function(){for(var e,t,i,r,o,a=/^[#.](?:[\w-]|\\(?:[A-Fa-f0-9]{1,6} ?|[^A-Fa-f0-9]))+/;o=s.i,t=s.$re(a);)r=new Ce.Element(i,t,!1,o,n),e?e.push(r):e=[r],i=s.$char(">");return e},args:function(e){var t,i,n,a,l,u,c,h=r.entities,f={args:null,variadic:!1},p=[],v=[],d=[],m=!0;for(s.save();;){if(e)u=r.detachedRuleset()||r.expression();else{if(s.commentStore.length=0,s.$str("...")){f.variadic=!0,s.$char(";")&&!t&&(t=!0),(t?v:d).push({variadic:!0});break}u=h.variable()||h.property()||h.literal()||h.keyword()||this.call(!0)}if(!u||!m)break;a=null,u.throwAwayComments&&u.throwAwayComments(),l=u;var g=null;if(e?u.value&&1==u.value.length&&(g=u.value[0]):g=u,g&&(g instanceof Ce.Variable||g instanceof Ce.Property))if(s.$char(":")){if(p.length>0&&(t&&o("Cannot mix ; and , as delimiter types"),i=!0),!(l=r.detachedRuleset()||r.expression())){if(!e)return s.restore(),f.args=[],f;o("could not understand value for named argument")}a=n=g.name}else if(s.$str("...")){if(!e){f.variadic=!0,s.$char(";")&&!t&&(t=!0),(t?v:d).push({name:u.name,variadic:!0});break}c=!0}else e||(n=a=g.name,l=null);l&&p.push(l),d.push({name:a,value:l,expand:c}),s.$char(",")?m=!0:((m=";"===s.$char(";"))||t)&&(i&&o("Cannot mix ; and , as delimiter types"),t=!0,p.length>1&&(l=new Ce.Value(p)),v.push({name:n,value:l,expand:c}),n=null,p=[],i=!1)}return s.forget(),f.args=t?v:d,f},definition:function(){var e,t,i,n,o=[],l=!1;if(!("."!==s.currentChar()&&"#"!==s.currentChar()||s.peek(/^[^{]*\}/)))if(s.save(),t=s.$re(/^([#.](?:[\w-]|\\(?:[A-Fa-f0-9]{1,6} ?|[^A-Fa-f0-9]))+)\s*\(/)){e=t[1];var u=this.args(!1);if(o=u.args,l=u.variadic,!s.$char(")"))return void s.restore("Missing closing ')'");if(s.commentStore.length=0,s.$str("when")&&(n=a(r.conditions,"expected condition")),i=r.block())return s.forget(),new Ce.mixin.Definition(e,o,i,n,l);s.restore()}else s.restore()},ruleLookups:function(){var e,t=[];if("["===s.currentChar()){for(;;){if(s.save(),!(e=this.lookupValue())&&""!==e){s.restore();break}t.push(e),s.forget()}return t.length>0?t:void 0}},lookupValue:function(){if(s.save(),s.$char("[")){var e=s.$re(/^(?:[@$]{0,2})[_a-zA-Z0-9-]*/);if(s.$char("]"))return e||""===e?(s.forget(),e):void s.restore();s.restore()}else s.restore()}},entity:function(){var e=this.entities;return this.comment()||e.literal()||e.variable()||e.url()||e.property()||e.call()||e.keyword()||this.mixin.call(!0)||e.javascript()},end:function(){return s.$char(";")||s.peek("}")},ieAlpha:function(){var e;if(s.$re(/^opacity=/i))return(e=s.$re(/^\d+/))||(e="@{"+(e=a(r.entities.variable,"Could not parse alpha")).name.slice(1)+"}"),l(")"),new Ce.Quoted("","alpha(opacity="+e+")")},element:function(){var e,t,i,r=s.i;if(t=this.combinator(),(e=s.$re(/^(?:\d+\.\d+|\d+)%/)||s.$re(/^(?:[.#]?|:*)(?:[\w-]|[^\x00-\x9f]|\\(?:[A-Fa-f0-9]{1,6} ?|[^A-Fa-f0-9]))+/)||s.$char("*")||s.$char("&")||this.attribute()||s.$re(/^\([^&()@]+\)/)||s.$re(/^[\.#:](?=@)/)||this.entities.variableCurly())||(s.save(),s.$char("(")?(i=this.selector(!1))&&s.$char(")")?(e=new Ce.Paren(i),s.forget()):s.restore("Missing closing ')'"):s.forget()),e)return new Ce.Element(t,e,e instanceof Ce.Variable,r,n)},combinator:function(){var e=s.currentChar();if("/"===e){s.save();var t=s.$re(/^\/[a-z]+\//i);if(t)return s.forget(),new Ce.Combinator(t);s.restore()}if(">"===e||"+"===e||"~"===e||"|"===e||"^"===e){for(s.i++,"^"===e&&"^"===s.currentChar()&&(e="^^",s.i++);s.isWhitespace();)s.i++;return new Ce.Combinator(e)}return s.isWhitespace(-1)?new Ce.Combinator(" "):new Ce.Combinator(null)},selector:function(e){var t,i,r,l,u,c,h,f=s.i;for(e=!1!==e;(e&&(i=this.extend())||e&&(c=s.$str("when"))||(l=this.element()))&&(c?h=a(this.conditions,"expected condition"):h?o("CSS guard can only be used at the end of selector"):i?u=u?u.concat(i):i:(u&&o("Extend can only be used at the end of selector"),r=s.currentChar(),t?t.push(l):t=[l],l=null),"{"!==r&&"}"!==r&&";"!==r&&","!==r&&")"!==r););if(t)return new Ce.Selector(t,u,h,f,n);u&&o("Extend must be used to extend a selector, it cannot be used on its own")},selectors:function(){for(var e,t;(e=this.selector())&&(t?t.push(e):t=[e],s.commentStore.length=0,e.condition&&t.length>1&&o("Guards are only currently allowed on a single selector."),s.$char(","));)e.condition&&o("Guards are only currently allowed on a single selector."),s.commentStore.length=0;return t},attribute:function(){if(s.$char("[")){var e,t,i,n=this.entities;return(e=n.variableCurly())||(e=a(/^(?:[_A-Za-z0-9-\*]*\|)?(?:[_A-Za-z0-9-]|\\.)+/)),(i=s.$re(/^[|~*$^]?=/))&&(t=n.quoted()||s.$re(/^[0-9]+%/)||s.$re(/^[\w-]+/)||n.variableCurly()),l("]"),new Ce.Attribute(e,i,t)}},block:function(){var e;if(s.$char("{")&&(e=this.primary())&&s.$char("}"))return e},blockRuleset:function(){var e=this.block();return e&&(e=new Ce.Ruleset(null,e)),e},detachedRuleset:function(){var e,t,i;if(s.save(),!s.$re(/^[.#]\(/)||(t=(e=this.mixin.args(!1)).args,i=e.variadic,s.$char(")"))){var n=this.blockRuleset();if(n)return s.forget(),t?new Ce.mixin.Definition(null,t,n,null,i):new Ce.DetachedRuleset(n);s.restore()}else s.restore()},ruleset:function(){var e,i,n;if(s.save(),t.dumpLineNumbers&&(n=u(s.i)),(e=this.selectors())&&(i=this.block())){s.forget();var r=new Ce.Ruleset(e,i,t.strictImports);return t.dumpLineNumbers&&(r.debugInfo=n),r}s.restore()},declaration:function(){var e,t,i,r,o,a,l=s.i,u=s.currentChar();if("."!==u&&"#"!==u&&"&"!==u&&":"!==u)if(s.save(),e=this.variable()||this.ruleProperty()){if((a="string"==typeof e)&&(t=this.detachedRuleset())&&(i=!0),s.commentStore.length=0,!t){if(o=!a&&e.length>1&&e.pop().value,t=e[0].value&&"--"===e[0].value.slice(0,2)?this.permissiveValue():this.anonymousValue())return s.forget(),new Ce.Declaration(e,t,!1,o,l,n);t||(t=this.value()),t?r=this.important():a&&(t=this.permissiveValue())}if(t&&(this.end()||i))return s.forget(),new Ce.Declaration(e,t,r,o,l,n);s.restore()}else s.restore()},anonymousValue:function(){var e=s.i,t=s.$re(/^([^.#@\$+\/'"*`(;{}-]*);/);if(t)return new Ce.Anonymous(t[1],e)},permissiveValue:function(e){var t,i,r,a,l=e||";",u=s.i,c=[];function h(){var e=s.currentChar();return"string"==typeof l?e===l:l.test(e)}if(!h()){a=[];do{((i=this.comment())||(i=this.entity()))&&a.push(i)}while(i);if(r=h(),a.length>0){if(a=new Ce.Expression(a),r)return a;c.push(a)," "===s.prevChar()&&c.push(new Ce.Anonymous(" ",u))}if(s.save(),a=s.$parseUntil(l)){if("string"==typeof a&&o("Expected '"+a+"'","Parse"),1===a.length&&" "===a[0])return s.forget(),new Ce.Anonymous("",u);var f=void 0;for(t=0;t<a.length;t++)if(f=a[t],Array.isArray(f))c.push(new Ce.Quoted(f[0],f[1],!0,u,n));else{t===a.length-1&&(f=f.trim());var p=new Ce.Quoted("'",f,!0,u,n);p.variableRegex=/@([\w-]+)/g,p.propRegex=/\$([\w-]+)/g,c.push(p)}return s.forget(),new Ce.Expression(c,!0)}s.restore()}},import:function(){var e,t,i=s.i,r=s.$re(/^@import?\s+/);if(r){var a=(r?this.importOptions():null)||{};if(e=this.entities.quoted()||this.entities.url())return t=this.mediaFeatures(),s.$char(";")||(s.i=i,o("missing semi-colon or unrecognised media features on import")),t=t&&new Ce.Value(t),new Ce.Import(e,t,a,i,n);s.i=i,o("malformed import statement")}},importOptions:function(){var e,t,i,n={};if(!s.$char("("))return null;do{if(e=this.importOption()){switch(i=!0,t=e){case"css":t="less",i=!1;break;case"once":t="multiple",i=!1}if(n[t]=i,!s.$char(","))break}}while(e);return l(")"),n},importOption:function(){var e=s.$re(/^(less|css|multiple|once|inline|reference|optional)/);if(e)return e[1]},mediaFeature:function(){var e,t,i=this.entities,r=[];s.save();do{(e=i.keyword()||i.variable()||i.mixinLookup())?r.push(e):s.$char("(")&&(t=this.property(),e=this.value(),s.$char(")")?t&&e?r.push(new Ce.Paren(new Ce.Declaration(t,e,null,null,s.i,n,!0))):e?r.push(new Ce.Paren(e)):o("badly formed media feature definition"):o("Missing closing ')'","Parse"))}while(e);if(s.forget(),r.length>0)return new Ce.Expression(r)},mediaFeatures:function(){var e,t=this.entities,i=[];do{if(e=this.mediaFeature()){if(i.push(e),!s.$char(","))break}else if((e=t.variable()||t.mixinLookup())&&(i.push(e),!s.$char(",")))break}while(e);return i.length>0?i:null},media:function(){var e,i,r,a,l=s.i;if(t.dumpLineNumbers&&(a=u(l)),s.save(),s.$str("@media"))return e=this.mediaFeatures(),(i=this.block())||o("media definitions require block statements after any features"),s.forget(),r=new Ce.Media(i,e,l,n),t.dumpLineNumbers&&(r.debugInfo=a),r;s.restore()},plugin:function(){var e,t,i,r=s.i;if(s.$re(/^@plugin?\s+/)){if(i=(t=this.pluginArgs())?{pluginArgs:t,isPlugin:!0}:{isPlugin:!0},e=this.entities.quoted()||this.entities.url())return s.$char(";")||(s.i=r,o("missing semi-colon on @plugin")),new Ce.Import(e,null,i,r,n);s.i=r,o("malformed @plugin statement")}},pluginArgs:function(){if(s.save(),!s.$char("("))return s.restore(),null;var e=s.$re(/^\s*([^\);]+)\)\s*/);return e[1]?(s.forget(),e[1].trim()):(s.restore(),null)},atrule:function(){var e,i,r,a,l,c,h,f=s.i,p=!0,v=!0;if("@"===s.currentChar()){if(i=this.import()||this.plugin()||this.media())return i;if(s.save(),e=s.$re(/^@[a-z-]+/)){switch(a=e,"-"==e.charAt(1)&&e.indexOf("-",2)>0&&(a="@"+e.slice(e.indexOf("-",2)+1)),a){case"@charset":l=!0,p=!1;break;case"@namespace":c=!0,p=!1;break;case"@keyframes":case"@counter-style":l=!0;break;case"@document":case"@supports":h=!0,v=!1;break;default:h=!0}if(s.commentStore.length=0,l?(i=this.entity())||o("expected "+e+" identifier"):c?(i=this.expression())||o("expected "+e+" expression"):h&&(i=this.permissiveValue(/^[{;]/),p="{"===s.currentChar(),i?i.value||(i=null):p||";"===s.currentChar()||o(e+" rule is missing block or ending semi-colon")),p&&(r=this.blockRuleset()),r||!p&&i&&s.$char(";"))return s.forget(),new Ce.AtRule(e,i,r,f,n,t.dumpLineNumbers?u(f):null,v);s.restore("at-rule options not recognised")}}},value:function(){var e,t=[],i=s.i;do{if((e=this.expression())&&(t.push(e),!s.$char(",")))break}while(e);if(t.length>0)return new Ce.Value(t,i)},important:function(){if("!"===s.currentChar())return s.$re(/^! *important/)},sub:function(){var e,t;if(s.save(),s.$char("("))return(e=this.addition())&&s.$char(")")?(s.forget(),(t=new Ce.Expression([e])).parens=!0,t):void s.restore("Expected ')'");s.restore()},multiplication:function(){var e,t,i,n,r;if(e=this.operand()){for(r=s.isWhitespace(-1);!s.peek(/^\/[*\/]/);){if(s.save(),!(i=s.$char("/")||s.$char("*")||s.$str("./"))){s.forget();break}if(!(t=this.operand())){s.restore();break}s.forget(),e.parensInOp=!0,t.parensInOp=!0,n=new Ce.Operation(i,[n||e,t],r),r=s.isWhitespace(-1)}return n||e}},addition:function(){var e,t,i,n,r;if(e=this.multiplication()){for(r=s.isWhitespace(-1);(i=s.$re(/^[-+]\s+/)||!r&&(s.$char("+")||s.$char("-")))&&(t=this.multiplication());)e.parensInOp=!0,t.parensInOp=!0,n=new Ce.Operation(i,[n||e,t],r),r=s.isWhitespace(-1);return n||e}},conditions:function(){var e,t,i,n=s.i;if(e=this.condition(!0)){for(;s.peek(/^,\s*(not\s*)?\(/)&&s.$char(",")&&(t=this.condition(!0));)i=new Ce.Condition("or",i||e,t,n);return i||e}},condition:function(e){var t,i,n;if(t=this.conditionAnd(e)){if(i=s.$str("or")){if(!(n=this.condition(e)))return;t=new Ce.Condition(i,t,n)}return t}},conditionAnd:function(e){var t,i,n,r,o=this;if(t=(r=o.negatedCondition(e)||o.parenthesisCondition(e))||e?r:o.atomicCondition(e)){if(i=s.$str("and")){if(!(n=this.conditionAnd(e)))return;t=new Ce.Condition(i,t,n)}return t}},negatedCondition:function(e){if(s.$str("not")){var t=this.parenthesisCondition(e);return t&&(t.negate=!t.negate),t}},parenthesisCondition:function(e){var t;if(s.save(),s.$str("(")){if(t=function(t){var i;if(s.save(),i=t.condition(e)){if(s.$char(")"))return s.forget(),i;s.restore()}else s.restore()}(this))return s.forget(),t;if(t=this.atomicCondition(e)){if(s.$char(")"))return s.forget(),t;s.restore("expected ')' got '"+s.currentChar()+"'")}else s.restore()}else s.restore()},atomicCondition:function(e){var t,i,n,r,a=this.entities,l=s.i;function u(){return this.addition()||a.keyword()||a.quoted()||a.mixinLookup()}if(t=(u=u.bind(this))())return s.$char(">")?r=s.$char("=")?">=":">":s.$char("<")?r=s.$char("=")?"<=":"<":s.$char("=")&&(r=s.$char(">")?"=>":s.$char("<")?"=<":"="),r?(i=u())?n=new Ce.Condition(r,t,i,l,!1):o("expected expression"):n=new Ce.Condition("=",t,new Ce.Keyword("true"),l,!1),n},operand:function(){var e,t=this.entities;s.peek(/^-[@\$\(]/)&&(e=s.$char("-"));var i=this.sub()||t.dimension()||t.color()||t.variable()||t.property()||t.call()||t.quoted(!0)||t.colorKeyword()||t.mixinLookup();return e&&(i.parensInOp=!0,i=new Ce.Negative(i)),i},expression:function(){var e,t,i=[],n=s.i;do{(e=this.comment())?i.push(e):((e=this.addition()||this.entity())instanceof Ce.Comment&&(e=null),e&&(i.push(e),s.peek(/^\/[\/*]/)||(t=s.$char("/"))&&i.push(new Ce.Anonymous(t,n))))}while(e);if(i.length>0)return new Ce.Expression(i)},property:function(){var e=s.$re(/^(\*?-?[_a-zA-Z0-9-]+)\s*:/);if(e)return e[1]},ruleProperty:function(){var e,t,i=[],r=[];s.save();var o=s.$re(/^([_a-zA-Z0-9-]+)\s*:/);if(o)return i=[new Ce.Keyword(o[1])],s.forget(),i;function a(e){var t=s.i,n=s.$re(e);if(n)return r.push(t),i.push(n[1])}for(a(/^(\*?)/);a(/^((?:[\w-]+)|(?:[@\$]\{[\w-]+\}))/););if(i.length>1&&a(/^((?:\+_|\+)?)\s*:/)){for(s.forget(),""===i[0]&&(i.shift(),r.shift()),t=0;t<i.length;t++)e=i[t],i[t]="@"!==e.charAt(0)&&"$"!==e.charAt(0)?new Ce.Keyword(e):"@"===e.charAt(0)?new Ce.Variable("@"+e.slice(2,-1),r[t],n):new Ce.Property("$"+e.slice(2,-1),r[t],n);return i}s.restore()}}}};function qe(e,t,i,n){return t.eval(e)?i.eval(e):n?n.eval(e):new j}function Te(e,t){try{return t.eval(e),L.True}catch(e){return L.False}}Ue.serializeVars=function(e){var t="";for(var i in e)if(Object.hasOwnProperty.call(e,i)){var n=e[i];t+=("@"===i[0]?"":"@")+i+": "+n+(";"===String(n).slice(-1)?"":";")}return t},qe.evalArgs=!1,Te.evalArgs=!1;var ze,Ge={isdefined:Te,boolean:function(e){return e?L.True:L.False},if:qe};function We(e){return Math.min(1,Math.max(0,e))}function Je(e,t){var i=ze.hsla(t.h,t.s,t.l,t.a);if(i)return e.value&&/^(rgb|hsl)/.test(e.value)?i.value=e.value:i.value="rgb",i}function He(e){if(e.toHSL)return e.toHSL();throw new Error("Argument cannot be evaluated to a color")}function Qe(e){if(e.toHSV)return e.toHSV();throw new Error("Argument cannot be evaluated to a color")}function Ke(e){if(e instanceof ee)return parseFloat(e.unit.is("%")?e.value/100:e.value);if("number"==typeof e)return e;throw{type:"Argument",message:"color functions take numbers as parameters"}}var Ze=ze={rgb:function(e,t,i){var n=1;if(e instanceof ne){var r=e.value;if(e=r[0],t=r[1],(i=r[2])instanceof ie){var s=i;i=s.operands[0],n=s.operands[1]}}var o=ze.rgba(e,t,i,n);if(o)return o.value="rgb",o},rgba:function(e,t,i,n){try{if(e instanceof c)return n=t?Ke(t):e.alpha,new c(e.rgb,n,"rgba");var r=[e,t,i].map((function(e){return i=255,(t=e)instanceof ee&&t.unit.is("%")?parseFloat(t.value*i/100):Ke(t);var t,i}));return n=Ke(n),new c(r,n,"rgba")}catch(e){}},hsl:function(e,t,i){var n=1;if(e instanceof ne){var r=e.value;if(e=r[0],t=r[1],(i=r[2])instanceof ie){var s=i;i=s.operands[0],n=s.operands[1]}}var o=ze.hsla(e,t,i,n);if(o)return o.value="hsl",o},hsla:function(e,t,i,n){try{if(e instanceof c)return n=t?Ke(t):e.alpha,new c(e.rgb,n,"hsla");var r,s;function o(e){return 6*(e=e<0?e+1:e>1?e-1:e)<1?r+(s-r)*e*6:2*e<1?s:3*e<2?r+(s-r)*(2/3-e)*6:r}e=Ke(e)%360/360,t=We(Ke(t)),i=We(Ke(i)),n=We(Ke(n)),r=2*i-(s=i<=.5?i*(t+1):i+t-i*t);var a=[255*o(e+1/3),255*o(e),255*o(e-1/3)];return n=Ke(n),new c(a,n,"hsla")}catch(e){}},hsv:function(e,t,i){return ze.hsva(e,t,i,1)},hsva:function(e,t,i,n){var r,s;e=Ke(e)%360/360*360,t=Ke(t),i=Ke(i),n=Ke(n);var o=[i,i*(1-t),i*(1-(s=e/60-(r=Math.floor(e/60%6)))*t),i*(1-(1-s)*t)],a=[[0,3,1],[2,0,1],[1,0,3],[1,2,0],[3,1,0],[0,1,2]];return ze.rgba(255*o[a[r][0]],255*o[a[r][1]],255*o[a[r][2]],n)},hue:function(e){return new ee(He(e).h)},saturation:function(e){return new ee(100*He(e).s,"%")},lightness:function(e){return new ee(100*He(e).l,"%")},hsvhue:function(e){return new ee(Qe(e).h)},hsvsaturation:function(e){return new ee(100*Qe(e).s,"%")},hsvvalue:function(e){return new ee(100*Qe(e).v,"%")},red:function(e){return new ee(e.rgb[0])},green:function(e){return new ee(e.rgb[1])},blue:function(e){return new ee(e.rgb[2])},alpha:function(e){return new ee(He(e).a)},luma:function(e){return new ee(e.luma()*e.alpha*100,"%")},luminance:function(e){var t=.2126*e.rgb[0]/255+.7152*e.rgb[1]/255+.0722*e.rgb[2]/255;return new ee(t*e.alpha*100,"%")},saturate:function(e,t,i){if(!e.rgb)return null;var n=He(e);return void 0!==i&&"relative"===i.value?n.s+=n.s*t.value/100:n.s+=t.value/100,n.s=We(n.s),Je(e,n)},desaturate:function(e,t,i){var n=He(e);return void 0!==i&&"relative"===i.value?n.s-=n.s*t.value/100:n.s-=t.value/100,n.s=We(n.s),Je(e,n)},lighten:function(e,t,i){var n=He(e);return void 0!==i&&"relative"===i.value?n.l+=n.l*t.value/100:n.l+=t.value/100,n.l=We(n.l),Je(e,n)},darken:function(e,t,i){var n=He(e);return void 0!==i&&"relative"===i.value?n.l-=n.l*t.value/100:n.l-=t.value/100,n.l=We(n.l),Je(e,n)},fadein:function(e,t,i){var n=He(e);return void 0!==i&&"relative"===i.value?n.a+=n.a*t.value/100:n.a+=t.value/100,n.a=We(n.a),Je(e,n)},fadeout:function(e,t,i){var n=He(e);return void 0!==i&&"relative"===i.value?n.a-=n.a*t.value/100:n.a-=t.value/100,n.a=We(n.a),Je(e,n)},fade:function(e,t){var i=He(e);return i.a=t.value/100,i.a=We(i.a),Je(e,i)},spin:function(e,t){var i=He(e),n=(i.h+t.value)%360;return i.h=n<0?360+n:n,Je(e,i)},mix:function(e,t,i){i||(i=new ee(50));var n=i.value/100,r=2*n-1,s=He(e).a-He(t).a,o=((r*s==-1?r:(r+s)/(1+r*s))+1)/2,a=1-o,l=[e.rgb[0]*o+t.rgb[0]*a,e.rgb[1]*o+t.rgb[1]*a,e.rgb[2]*o+t.rgb[2]*a],u=e.alpha*n+t.alpha*(1-n);return new c(l,u)},greyscale:function(e){return ze.desaturate(e,new ee(100))},contrast:function(e,t,i,n){if(!e.rgb)return null;if(void 0===i&&(i=ze.rgba(255,255,255,1)),void 0===t&&(t=ze.rgba(0,0,0,1)),t.luma()>i.luma()){var r=i;i=t,t=r}return n=void 0===n?.43:Ke(n),e.luma()<n?i:t},argb:function(e){return new j(e.toARGB())},color:function(e){if(e instanceof ue&&/^#([A-Fa-f0-9]{8}|[A-Fa-f0-9]{6}|[A-Fa-f0-9]{3,4})$/i.test(e.value)){var t=e.value.slice(1);return new c(t,void 0,"#"+t)}if(e instanceof c||(e=c.fromKeyword(e.value)))return e.value=void 0,e;throw{type:"Argument",message:"argument must be a color keyword or 3|4|6|8 digit hex e.g. #FFF"}},tint:function(e,t){return ze.mix(ze.rgb(255,255,255),e,t)},shade:function(e,t){return ze.mix(ze.rgb(0,0,0),e,t)}};function Xe(e,t,i){var n,r,s,o,a=t.alpha,l=i.alpha,u=[];s=l+a*(1-l);for(var h=0;h<3;h++)o=e(n=t.rgb[h]/255,r=i.rgb[h]/255),s&&(o=(l*r+a*(n-l*(n+r-o)))/s),u[h]=255*o;return new c(u,s)}var Ye={multiply:function(e,t){return e*t},screen:function(e,t){return e+t-e*t},overlay:function(e,t){return(e*=2)<=1?Ye.multiply(e,t):Ye.screen(e-1,t)},softlight:function(e,t){var i=1,n=e;return t>.5&&(n=1,i=e>.25?Math.sqrt(e):((16*e-12)*e+4)*e),e-(1-2*t)*n*(i-e)},hardlight:function(e,t){return Ye.overlay(t,e)},difference:function(e,t){return Math.abs(e-t)},exclusion:function(e,t){return e+t-2*e*t},average:function(e,t){return(e+t)/2},negation:function(e,t){return 1-Math.abs(e+t-1)}};for(var et in Ye)Ye.hasOwnProperty(et)&&(Xe[et]=Xe.bind(null,Ye[et]));var tt=function(e){return Array.isArray(e.value)?e.value:Array(e)},it={_SELF:function(e){return e},"~":function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return 1===e.length?e[0]:new $(e)},extract:function(e,t){return t=t.value-1,tt(e)[t]},length:function(e){return new ee(tt(e).length)},range:function(e,t,i){var n,r,s=1,o=[];t?(r=t,n=e.value,i&&(s=i.value)):(n=1,r=e);for(var a=n;a<=r.value;a+=s)o.push(new ee(a,r.unit));return new ne(o)},each:function(e,t){var i,n,r=this,s=[],o=function(e){return e instanceof u?e.eval(r.context):e};n=!e.value||e instanceof ue?e.ruleset?o(e.ruleset).rules:e.rules?e.rules.map(o):Array.isArray(e)?e.map(o):[o(e)]:Array.isArray(e.value)?e.value.map(o):[o(e.value)];var a="@value",l="@key",c="@index";t.params?(a=t.params[0]&&t.params[0].name,l=t.params[1]&&t.params[1].name,c=t.params[2]&&t.params[2].name,t=t.rules):t=t.ruleset;for(var h=0;h<n.length;h++){var f=void 0,p=void 0,v=n[h];v instanceof D?(f="string"==typeof v.name?v.name:v.name[0].value,p=v.value):(f=new ee(h+1),p=v),v instanceof U||(i=t.rules.slice(0),a&&i.push(new D(a,p,!1,!1,this.index,this.currentFileInfo)),c&&i.push(new D(c,new ee(h+1),!1,!1,this.index,this.currentFileInfo)),l&&i.push(new D(l,f,!1,!1,this.index,this.currentFileInfo)),s.push(new K([new F([new m("","&")])],i,t.strictImports,t.visibilityInfo())))}return new K([new F([new m("","&")])],s,t.strictImports,t.visibilityInfo()).eval(this.context)}},nt=function(e,t,i){if(!(i instanceof ee))throw{type:"Argument",message:"argument must be a number"};return null==t?t=i.unit:i=i.unify(),new ee(e(parseFloat(i.value)),t)},rt={ceil:null,floor:null,sqrt:null,abs:null,tan:"",sin:"",cos:"",atan:"rad",asin:"rad",acos:"rad"};for(var st in rt)rt.hasOwnProperty(st)&&(rt[st]=nt.bind(null,Math[st],rt[st]));rt.round=function(e,t){var i=void 0===t?0:t.value;return nt((function(e){return e.toFixed(i)}),null,e)};var ot=function(e,t){switch((t=Array.prototype.slice.call(t)).length){case 0:throw{type:"Argument",message:"one or more arguments required"}}var i,n,r,s,o,a,l,u,c=[],h={};for(i=0;i<t.length;i++)if((r=t[i])instanceof ee)if(l=""!==(a=""===(s=""===r.unit.toString()&&void 0!==u?new ee(r.value,u).unify():r.unify()).unit.toString()&&void 0!==l?l:s.unit.toString())&&void 0===l||""!==a&&""===c[0].unify().unit.toString()?a:l,u=""!==a&&void 0===u?r.unit.toString():u,void 0!==(n=void 0!==h[""]&&""!==a&&a===l?h[""]:h[a]))o=""===c[n].unit.toString()&&void 0!==u?new ee(c[n].value,u).unify():c[n].unify(),(e&&s.value<o.value||!e&&s.value>o.value)&&(c[n]=r);else{if(void 0!==l&&a!==l)throw{type:"Argument",message:"incompatible types"};h[a]=c.length,c.push(r)}else Array.isArray(t[i].value)&&Array.prototype.push.apply(t,Array.prototype.slice.call(t[i].value));return 1==c.length?c[0]:(t=c.map((function(e){return e.toCSS(this.context)})).join(this.context.compress?",":", "),new j((e?"min":"max")+"("+t+")"))},at={min:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];try{return ot(!0,e)}catch(e){}},max:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];try{return ot(!1,e)}catch(e){}},convert:function(e,t){return e.convertTo(t.value)},pi:function(){return new ee(Math.PI)},mod:function(e,t){return new ee(e.value%t.value,e.unit)},pow:function(e,t){if("number"==typeof e&&"number"==typeof t)e=new ee(e),t=new ee(t);else if(!(e instanceof ee&&t instanceof ee))throw{type:"Argument",message:"arguments must be numbers"};return new ee(Math.pow(e.value,t.value),e.unit)},percentage:function(e){return nt((function(e){return 100*e}),"%",e)}},lt={e:function(e){return new ue('"',e instanceof ve?e.evaluated:e.value,!0)},escape:function(e){return new j(encodeURI(e.value).replace(/=/g,"%3D").replace(/:/g,"%3A").replace(/#/g,"%23").replace(/;/g,"%3B").replace(/\(/g,"%28").replace(/\)/g,"%29"))},replace:function(e,t,i,n){var r=e.value;return i="Quoted"===i.type?i.value:i.toCSS(),r=r.replace(new RegExp(t.value,n?n.value:""),i),new ue(e.quote||"",r,e.escaped)},"%":function(e){for(var t=Array.prototype.slice.call(arguments,1),i=e.value,n=function(e){i=i.replace(/%[sda]/i,(function(i){var n="Quoted"===t[e].type&&i.match(/s/i)?t[e].value:t[e].toCSS();return i.match(/[A-Z]$/)?encodeURIComponent(n):n}))},r=0;r<t.length;r++)n(r);return i=i.replace(/%%/g,"%"),new ue(e.quote||"",i,e.escaped)}},ut=function(e,t){return e instanceof t?L.True:L.False},ct=function(e,t){if(void 0===t)throw{type:"Argument",message:"missing the required second argument to isunit."};if("string"!=typeof(t="string"==typeof t.value?t.value:t))throw{type:"Argument",message:"Second argument to isunit should be a unit or a string."};return e instanceof ee&&e.unit.is(t)?L.True:L.False},ht={isruleset:function(e){return ut(e,X)},iscolor:function(e){return ut(e,c)},isnumber:function(e){return ut(e,ee)},isstring:function(e){return ut(e,ue)},iskeyword:function(e){return ut(e,L)},isurl:function(e){return ut(e,ce)},ispixel:function(e){return ct(e,"px")},ispercentage:function(e){return ct(e,"%")},isem:function(e){return ct(e,"em")},isunit:ct,unit:function(e,t){if(!(e instanceof ee))throw{type:"Argument",message:"the first argument to unit must be a number"+(e instanceof ie?". Have you forgotten parenthesis?":"")};return t=t?t instanceof L?t.value:t.toCSS():"",new ee(e.value,t)},"get-unit":function(e){return new j(e.unit)}},ft=function(e){var t={functionRegistry:H,functionCaller:re};return H.addMultiple(Ge),H.add("default",Q.eval.bind(Q)),H.addMultiple(Ze),H.addMultiple(Xe),H.addMultiple(function(e){var t=function(e,t){return new ce(t,e.index,e.currentFileInfo).eval(e.context)};return{"data-uri":function(i,n){n||(n=i,i=null);var s=i&&i.value,o=n.value,a=this.currentFileInfo,l=a.rewriteUrls?a.currentDirectory:a.entryPath,u=o.indexOf("#"),c="";-1!==u&&(c=o.slice(u),o=o.slice(0,u));var h=_(this.context);h.rawBuffer=!0;var f=e.getFileManager(o,l,h,e,!0);if(!f)return t(this,n);var p=!1;if(i)p=/;base64$/.test(s);else{if("image/svg+xml"===(s=e.mimeLookup(o)))p=!1;else{var v=e.charsetLookup(s);p=["US-ASCII","UTF-8"].indexOf(v)<0}p&&(s+=";base64")}var d=f.loadFileSync(o,l,h,e);if(!d.contents)return r.warn("Skipped data-uri embedding of "+o+" because file not found"),t(this,n||i);var m=d.contents;if(p&&!e.encodeBase64)return t(this,n);var g="data:"+s+","+(m=p?e.encodeBase64(m):encodeURIComponent(m))+c;return new ce(new ue('"'+g+'"',g,!1,this.index,this.currentFileInfo),this.index,this.currentFileInfo)}}}(e)),H.addMultiple(it),H.addMultiple(rt),H.addMultiple(at),H.addMultiple(lt),H.addMultiple({"svg-gradient":function(e){var t,i,n,r,s,o,a,l,u="linear",h='x="0" y="0" width="1" height="1"',f={compress:!1},p=e.toCSS(f);function v(){throw{type:"Argument",message:"svg-gradient expects direction, start_color [start_position], [color position,]..., end_color [end_position] or direction, color list"}}switch(2==arguments.length?(arguments[1].value.length<2&&v(),t=arguments[1].value):arguments.length<3?v():t=Array.prototype.slice.call(arguments,1),p){case"to bottom":i='x1="0%" y1="0%" x2="0%" y2="100%"';break;case"to right":i='x1="0%" y1="0%" x2="100%" y2="0%"';break;case"to bottom right":i='x1="0%" y1="0%" x2="100%" y2="100%"';break;case"to top right":i='x1="0%" y1="100%" x2="100%" y2="0%"';break;case"ellipse":case"ellipse at center":u="radial",i='cx="50%" cy="50%" r="75%"',h='x="-50" y="-50" width="101" height="101"';break;default:throw{type:"Argument",message:"svg-gradient direction must be 'to bottom', 'to right', 'to bottom right', 'to top right' or 'ellipse at center'"}}for(n='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1 1"><'+u+'Gradient id="g" '+i+">",r=0;r<t.length;r+=1)t[r]instanceof ne?(s=t[r].value[0],o=t[r].value[1]):(s=t[r],o=void 0),s instanceof c&&((0===r||r+1===t.length)&&void 0===o||o instanceof ee)||v(),a=o?o.toCSS(f):0===r?"0%":"100%",l=s.alpha,n+='<stop offset="'+a+'" stop-color="'+s.toRGB()+'"'+(l<1?' stop-opacity="'+l+'"':"")+"/>";return n+="</"+u+"Gradient><rect "+h+' fill="url(#g)" /></svg>',n=encodeURIComponent(n),new ce(new ue("'"+(n="data:image/svg+xml,"+n)+"'",n,!1,this.index,this.currentFileInfo),this.index,this.currentFileInfo)}}),H.addMultiple(ht),t};function pt(e,t){var i,n=(t=t||{}).variables,r=new q.Eval(t);"object"!=typeof n||Array.isArray(n)||(n=Object.keys(n).map((function(e){var t=n[e];return t instanceof Ce.Value||(t instanceof Ce.Expression||(t=new Ce.Expression([t])),t=new Ce.Value([t])),new Ce.Declaration("@"+e,t,!1,null,0)})),r.frames=[new Ce.Ruleset(null,n)]);var s,o,a=[new De.JoinSelectorVisitor,new De.MarkVisibleSelectorsVisitor(!0),new De.ExtendVisitor,new De.ToCSSVisitor({compress:Boolean(t.compress)})],l=[];if(t.pluginManager){o=t.pluginManager.visitor();for(var u=0;u<2;u++)for(o.first();s=o.get();)s.isPreEvalVisitor?0!==u&&-1!==l.indexOf(s)||(l.push(s),s.run(e)):0!==u&&-1!==a.indexOf(s)||(s.isPreVisitor?a.unshift(s):a.push(s))}i=e.eval(r);for(u=0;u<a.length;u++)a[u].run(i);if(t.pluginManager)for(o.first();s=o.get();)-1===a.indexOf(s)&&-1===l.indexOf(s)&&s.run(i);return i}var vt,dt=function(){function e(e){this.less=e,this.visitors=[],this.preProcessors=[],this.postProcessors=[],this.installedPlugins=[],this.fileManagers=[],this.iterator=-1,this.pluginCache={},this.Loader=new e.PluginLoader(e)}return e.prototype.addPlugins=function(e){if(e)for(var t=0;t<e.length;t++)this.addPlugin(e[t])},e.prototype.addPlugin=function(e,t,i){this.installedPlugins.push(e),t&&(this.pluginCache[t]=e),e.install&&e.install(this.less,this,i||this.less.functions.functionRegistry)},e.prototype.get=function(e){return this.pluginCache[e]},e.prototype.addVisitor=function(e){this.visitors.push(e)},e.prototype.addPreProcessor=function(e,t){var i;for(i=0;i<this.preProcessors.length&&!(this.preProcessors[i].priority>=t);i++);this.preProcessors.splice(i,0,{preProcessor:e,priority:t})},e.prototype.addPostProcessor=function(e,t){var i;for(i=0;i<this.postProcessors.length&&!(this.postProcessors[i].priority>=t);i++);this.postProcessors.splice(i,0,{postProcessor:e,priority:t})},e.prototype.addFileManager=function(e){this.fileManagers.push(e)},e.prototype.getPreProcessors=function(){for(var e=[],t=0;t<this.preProcessors.length;t++)e.push(this.preProcessors[t].preProcessor);return e},e.prototype.getPostProcessors=function(){for(var e=[],t=0;t<this.postProcessors.length;t++)e.push(this.postProcessors[t].postProcessor);return e},e.prototype.getVisitors=function(){return this.visitors},e.prototype.visitor=function(){var e=this;return{first:function(){return e.iterator=-1,e.visitors[e.iterator]},get:function(){return e.iterator+=1,e.visitors[e.iterator]}}},e.prototype.getFileManagers=function(){return this.fileManagers},e}(),mt=function(e,t){return!t&&vt||(vt=new dt(e)),vt};var gt,yt,bt=function(e){var t=e.match(/^v(\d{1,2})\.(\d{1,2})\.(\d{1,2})(?:-([0-9A-Za-z-.]+))?(?:\+([0-9A-Za-z-.]+))?$/);if(!t)throw new Error("Unable to parse: "+e);return{major:parseInt(t[1],10),minor:parseInt(t[2],10),patch:parseInt(t[3],10),pre:t[4]||"",build:t[5]||""}};function wt(e,t){var i,n,o,a;o=function(e){return function(){function t(e,t){this.root=e,this.imports=t}return t.prototype.toCSS=function(t){var i,n,s={};try{i=pt(this.root,t)}catch(e){throw new O(e,this.imports)}try{var o=Boolean(t.compress);o&&r.warn("The compress option has been deprecated. We recommend you use a dedicated css minifier, for instance see less-plugin-clean-css.");var a={compress:o,dumpLineNumbers:t.dumpLineNumbers,strictUnits:Boolean(t.strictUnits),numPrecision:8};t.sourceMap?(n=new e(t.sourceMap),s.css=n.toCSS(i,a,this.imports)):s.css=i.toCSS(a)}catch(e){throw new O(e,this.imports)}if(t.pluginManager)for(var l=t.pluginManager.getPostProcessors(),u=0;u<l.length;u++)s.css=l[u].process(s.css,{sourceMap:n,options:t,imports:this.imports});for(var c in t.sourceMap&&(s.map=n.getExternalSourceMap()),s.imports=[],this.imports.files)this.imports.files.hasOwnProperty(c)&&c!==this.imports.rootFilename&&s.imports.push(c);return s},t}()}(n=function(e,t){return function(){function i(e){this.options=e}return i.prototype.toCSS=function(t,i,n){var r=new e({contentsIgnoredCharsMap:n.contentsIgnoredChars,rootNode:t,contentsMap:n.contents,sourceMapFilename:this.options.sourceMapFilename,sourceMapURL:this.options.sourceMapURL,outputFilename:this.options.sourceMapOutputFilename,sourceMapBasepath:this.options.sourceMapBasepath,sourceMapRootpath:this.options.sourceMapRootpath,outputSourceFiles:this.options.outputSourceFiles,sourceMapGenerator:this.options.sourceMapGenerator,sourceMapFileInline:this.options.sourceMapFileInline,disableSourcemapAnnotation:this.options.disableSourcemapAnnotation}),s=r.toCSS(i);return this.sourceMap=r.sourceMap,this.sourceMapURL=r.sourceMapURL,this.options.sourceMapInputFilename&&(this.sourceMapInputFilename=r.normalizeFilename(this.options.sourceMapInputFilename)),void 0!==this.options.sourceMapBasepath&&void 0!==this.sourceMapURL&&(this.sourceMapURL=r.removeBasepath(this.sourceMapURL)),s+this.getCSSAppendage()},i.prototype.getCSSAppendage=function(){var e=this.sourceMapURL;if(this.options.sourceMapFileInline){if(void 0===this.sourceMap)return"";e="data:application/json;base64,"+t.encodeBase64(this.sourceMap)}return this.options.disableSourcemapAnnotation?"":e?"/*# sourceMappingURL="+e+" */":""},i.prototype.getExternalSourceMap=function(){return this.sourceMap},i.prototype.setExternalSourceMap=function(e){this.sourceMap=e},i.prototype.isInline=function(){return this.options.sourceMapFileInline},i.prototype.getSourceMapURL=function(){return this.sourceMapURL},i.prototype.getOutputFilename=function(){return this.options.sourceMapOutputFilename},i.prototype.getInputFilename=function(){return this.sourceMapInputFilename},i}()}(i=function(e){return function(){function t(t){this._css=[],this._rootNode=t.rootNode,this._contentsMap=t.contentsMap,this._contentsIgnoredCharsMap=t.contentsIgnoredCharsMap,t.sourceMapFilename&&(this._sourceMapFilename=t.sourceMapFilename.replace(/\\/g,"/")),this._outputFilename=t.outputFilename,this.sourceMapURL=t.sourceMapURL,t.sourceMapBasepath&&(this._sourceMapBasepath=t.sourceMapBasepath.replace(/\\/g,"/")),t.sourceMapRootpath?(this._sourceMapRootpath=t.sourceMapRootpath.replace(/\\/g,"/"),"/"!==this._sourceMapRootpath.charAt(this._sourceMapRootpath.length-1)&&(this._sourceMapRootpath+="/")):this._sourceMapRootpath="",this._outputSourceFiles=t.outputSourceFiles,this._sourceMapGeneratorConstructor=e.getSourceMapGenerator(),this._lineNumber=0,this._column=0}return t.prototype.removeBasepath=function(e){return this._sourceMapBasepath&&0===e.indexOf(this._sourceMapBasepath)&&("\\"!==(e=e.substring(this._sourceMapBasepath.length)).charAt(0)&&"/"!==e.charAt(0)||(e=e.substring(1))),e},t.prototype.normalizeFilename=function(e){return e=e.replace(/\\/g,"/"),e=this.removeBasepath(e),(this._sourceMapRootpath||"")+e},t.prototype.add=function(e,t,i,n){if(e){var r,s,o,a,l;if(t&&t.filename){var u=this._contentsMap[t.filename];if(this._contentsIgnoredCharsMap[t.filename]&&((i-=this._contentsIgnoredCharsMap[t.filename])<0&&(i=0),u=u.slice(this._contentsIgnoredCharsMap[t.filename])),void 0===u)return void this._css.push(e);a=(s=(u=u.substring(0,i)).split("\n"))[s.length-1]}if(o=(r=e.split("\n"))[r.length-1],t&&t.filename)if(n)for(l=0;l<r.length;l++)this._sourceMapGenerator.addMapping({generated:{line:this._lineNumber+l+1,column:0===l?this._column:0},original:{line:s.length+l,column:0===l?a.length:0},source:this.normalizeFilename(t.filename)});else this._sourceMapGenerator.addMapping({generated:{line:this._lineNumber+1,column:this._column},original:{line:s.length,column:a.length},source:this.normalizeFilename(t.filename)});1===r.length?this._column+=o.length:(this._lineNumber+=r.length-1,this._column=o.length),this._css.push(e)}},t.prototype.isEmpty=function(){return 0===this._css.length},t.prototype.toCSS=function(e){if(this._sourceMapGenerator=new this._sourceMapGeneratorConstructor({file:this._outputFilename,sourceRoot:null}),this._outputSourceFiles)for(var t in this._contentsMap)if(this._contentsMap.hasOwnProperty(t)){var i=this._contentsMap[t];this._contentsIgnoredCharsMap[t]&&(i=i.slice(this._contentsIgnoredCharsMap[t])),this._sourceMapGenerator.setSourceContent(this.normalizeFilename(t),i)}if(this._rootNode.genCSS(e,this),this._css.length>0){var n=void 0,r=JSON.stringify(this._sourceMapGenerator.toJSON());this.sourceMapURL?n=this.sourceMapURL:this._sourceMapFilename&&(n=this._sourceMapFilename),this.sourceMapURL=n,this.sourceMap=r}return this._css.join("")},t}()}(e=new s(e,t)),e)),a=function(e){return function(){function t(e,t,i){this.less=e,this.rootFilename=i.filename,this.paths=t.paths||[],this.contents={},this.contentsIgnoredChars={},this.mime=t.mime,this.error=null,this.context=t,this.queue=[],this.files={}}return t.prototype.push=function(t,i,n,s,o){var a=this,l=this.context.pluginManager.Loader;this.queue.push(t);var u=function(e,i,n){a.queue.splice(a.queue.indexOf(t),1);var l=n===a.rootFilename;s.optional&&e?(o(null,{rules:[]},!1,null),r.info("The file "+n+" was skipped because it was not found and the import was marked optional.")):(a.files[n]||s.inline||(a.files[n]={root:i,options:s}),e&&!a.error&&(a.error=e),o(e,i,l,n))},c={rewriteUrls:this.context.rewriteUrls,entryPath:n.entryPath,rootpath:n.rootpath,rootFilename:n.rootFilename},h=e.getFileManager(t,n.currentDirectory,this.context,e);if(h){var f,p,v=function(e){var t,i=e.filename,r=e.contents.replace(/^\uFEFF/,"");c.currentDirectory=h.getPath(i),c.rewriteUrls&&(c.rootpath=h.join(a.context.rootpath||"",h.pathDiff(c.currentDirectory,c.entryPath)),!h.isPathAbsolute(c.rootpath)&&h.alwaysMakePathsAbsolute()&&(c.rootpath=h.join(c.entryPath,c.rootpath))),c.filename=i;var o=new q.Parse(a.context);o.processImports=!1,a.contents[i]=r,(n.reference||s.reference)&&(c.reference=!0),s.isPlugin?(t=l.evalPlugin(r,o,a,s.pluginArgs,c))instanceof O?u(t,null,i):u(null,t,i):s.inline?u(null,r,i):!a.files[i]||a.files[i].options.multiple||s.multiple?new Ue(o,a,c).parse(r,(function(e,t){u(e,t,i)})):u(null,a.files[i].root,i)},d=_(this.context);i&&(d.ext=s.isPlugin?".js":".less"),s.isPlugin?(d.mime="application/javascript",d.syncImport?f=l.loadPluginSync(t,n.currentDirectory,d,e,h):p=l.loadPlugin(t,n.currentDirectory,d,e,h)):d.syncImport?f=h.loadFileSync(t,n.currentDirectory,d,e):p=h.loadFile(t,n.currentDirectory,d,e,(function(e,t){e?u(e):v(t)})),f?f.filename?v(f):u(f):p&&p.then(v,u)}else u({message:"Could not find a file-manager for "+t})},t}()}(e);var u,c=function(e,t,i){var n=function(e,i,r){if("function"==typeof i?(r=i,i=M(this.options,{})):i=M(this.options,i||{}),!r){var s=this;return new Promise((function(t,r){n.call(s,e,i,(function(e,i){e?r(e):t(i)}))}))}this.parse(e,i,(function(e,i,n,s){if(e)return r(e);var o;try{o=new t(i,n).toCSS(s)}catch(e){return r(e)}r(null,o)}))};return n}(0,o),h=function(e,t,i){var n=function(e,t,r){if("function"==typeof t?(r=t,t=M(this.options,{})):t=M(this.options,t||{}),!r){var s=this;return new Promise((function(i,r){n.call(s,e,t,(function(e,t){e?r(e):i(t)}))}))}var o,a=void 0,l=new mt(this,!t.reUsePluginManager);if(t.pluginManager=l,o=new q.Parse(t),t.rootFileInfo)a=t.rootFileInfo;else{var u=t.filename||"input",c=u.replace(/[^\/\\]*$/,"");(a={filename:u,rewriteUrls:o.rewriteUrls,rootpath:o.rootpath||"",currentDirectory:c,entryPath:c,rootFilename:u}).rootpath&&"/"!==a.rootpath.slice(-1)&&(a.rootpath+="/")}var h=new i(this,o,a);this.importManager=h,t.plugins&&t.plugins.forEach((function(e){var t,i;if(e.fileContent){if(i=e.fileContent.replace(/^\uFEFF/,""),(t=l.Loader.evalPlugin(i,o,h,e.options,e.filename))instanceof O)return r(t)}else l.addPlugin(e)})),new Ue(o,h,a).parse(e,(function(e,i){if(e)return r(e);r(null,i,h,t)}),t)};return n}(0,0,a),f=bt("v4.1.2"),p={version:[f.major,f.minor,f.patch],data:l,tree:Ce,Environment:s,AbstractFileManager:ke,AbstractPluginLoader:_e,environment:e,visitors:De,Parser:Ue,functions:ft(e),contexts:q,SourceMapOutput:i,SourceMapBuilder:n,ParseTree:o,ImportManager:a,render:c,parse:h,LessError:O,transformTree:pt,utils:P,PluginManager:mt,logger:r},v=function(e){return function(){var t=Object.create(e.prototype);return e.apply(t,Array.prototype.slice.call(arguments,0)),t}},d=Object.create(p);for(var m in p.tree)if("function"==typeof(u=p.tree[m]))d[m.toLowerCase()]=v(u);else for(var g in d[m]=Object.create(null),u)d[m][g.toLowerCase()]=v(u[g]);return p.parse=p.parse.bind(d),p.render=p.render.bind(d),d}var xt={},St=function(){};St.prototype=Object.assign(new ke,{alwaysMakePathsAbsolute:function(){return!0},join:function(e,t){return e?this.extractUrlParts(t,e).path:t},doXHR:function(e,t,i,n){var r=new XMLHttpRequest,s=!gt.isFileProtocol||gt.fileAsync;function o(t,i,n){t.status>=200&&t.status<300?i(t.responseText,t.getResponseHeader("Last-Modified")):"function"==typeof n&&n(t.status,e)}"function"==typeof r.overrideMimeType&&r.overrideMimeType("text/css"),yt.debug("XHR: Getting '"+e+"'"),r.open("GET",e,s),r.setRequestHeader("Accept",t||"text/x-less, text/css; q=0.9, */*; q=0.5"),r.send(null),gt.isFileProtocol&&!gt.fileAsync?0===r.status||r.status>=200&&r.status<300?i(r.responseText):n(r.status,e):s?r.onreadystatechange=function(){4==r.readyState&&o(r,i,n)}:o(r,i,n)},supports:function(){return!0},clearFileCache:function(){xt={}},loadFile:function(e,t,i,n){t&&!this.isPathAbsolute(e)&&(e=t+e),e=i.ext?this.tryAppendExtension(e,i.ext):e,i=i||{};var r=this.extractUrlParts(e,window.location.href).url,s=this;return new Promise((function(e,t){if(i.useFileCache&&xt[r])try{var n=xt[r];return e({contents:n,filename:r,webInfo:{lastModified:new Date}})}catch(e){return t({filename:r,message:"Error loading file "+r+" error was "+e.message})}s.doXHR(r,i.mime,(function(t,i){xt[r]=t,e({contents:t,filename:r,webInfo:{lastModified:i}})}),(function(e,i){t({type:"File",message:"'"+i+"' wasn't found ("+e+")",href:r})}))}))}});var It=function(e,t){return gt=e,yt=t,St},Ct=function(e){this.less=e};Ct.prototype=Object.assign(new _e,{loadPlugin:function(e,t,i,n,r){return new Promise((function(s,o){r.loadFile(e,t,i,n).then(s).catch(o)}))}});var kt=function(t,n,r){return{add:function(s,o){r.errorReporting&&"html"!==r.errorReporting?"console"===r.errorReporting?function(e,t){var i=e.filename||t,s=[],o=(e.type||"Syntax")+"Error: "+(e.message||"There is an error in your .less file")+" in "+i,a=function(e,t,i){void 0!==e.extract[t]&&s.push("{line} {content}".replace(/\{line\}/,(parseInt(e.line,10)||0)+(t-1)).replace(/\{class\}/,i).replace(/\{content\}/,e.extract[t]))};e.line&&(a(e,0,""),a(e,1,"line"),a(e,2,""),o+=" on line "+e.line+", column "+(e.column+1)+":\n"+s.join("\n")),e.stack&&(e.extract||r.logLevel>=4)&&(o+="\nStack Trace\n"+e.stack),n.logger.error(o)}(s,o):"function"==typeof r.errorReporting&&r.errorReporting("add",s,o):function(n,s){var o,a,l="less-error-message:"+e(s||""),u=t.document.createElement("div"),c=[],h=n.filename||s,f=h.match(/([^\/]+(\?.*)?)$/)[1];u.id=l,u.className="less-error-message",a="<h3>"+(n.type||"Syntax")+"Error: "+(n.message||"There is an error in your .less file")+'</h3><p>in <a href="'+h+'">'+f+"</a> ";var p=function(e,t,i){void 0!==e.extract[t]&&c.push('<li><label>{line}</label><pre class="{class}">{content}</pre></li>'.replace(/\{line\}/,(parseInt(e.line,10)||0)+(t-1)).replace(/\{class\}/,i).replace(/\{content\}/,e.extract[t]))};n.line&&(p(n,0,""),p(n,1,"line"),p(n,2,""),a+="on line "+n.line+", column "+(n.column+1)+":</p><ul>"+c.join("")+"</ul>"),n.stack&&(n.extract||r.logLevel>=4)&&(a+="<br/>Stack Trace</br />"+n.stack.split("\n").slice(1).join("<br/>")),u.innerHTML=a,i(t.document,[".less-error-message ul, .less-error-message li {","list-style-type: none;","margin-right: 15px;","padding: 4px 0;","margin: 0;","}",".less-error-message label {","font-size: 12px;","margin-right: 15px;","padding: 4px 0;","color: #cc7777;","}",".less-error-message pre {","color: #dd6666;","padding: 4px 0;","margin: 0;","display: inline-block;","}",".less-error-message pre.line {","color: #ff0000;","}",".less-error-message h3 {","font-size: 20px;","font-weight: bold;","padding: 15px 0 5px 0;","margin: 0;","}",".less-error-message a {","color: #10a","}",".less-error-message .error {","color: red;","font-weight: bold;","padding-bottom: 2px;","border-bottom: 1px dashed red;","}"].join("\n"),{title:"error-message"}),u.style.cssText=["font-family: Arial, sans-serif","border: 1px solid #e00","background-color: #eee","border-radius: 5px","-webkit-border-radius: 5px","-moz-border-radius: 5px","color: #e00","padding: 15px","margin-bottom: 15px"].join(";"),"development"===r.env&&(o=setInterval((function(){var e=t.document,i=e.body;i&&(e.getElementById(l)?i.replaceChild(u,e.getElementById(l)):i.insertBefore(u,i.firstChild),clearInterval(o))}),10))}(s,o)},remove:function(i){r.errorReporting&&"html"!==r.errorReporting?"console"===r.errorReporting||"function"==typeof r.errorReporting&&r.errorReporting("remove",i):function(i){var n=t.document.getElementById("less-error-message:"+e(i));n&&n.parentNode.removeChild(n)}(i)}}},_t={javascriptEnabled:!1,depends:!1,compress:!1,lint:!1,paths:[],color:!0,strictImports:!1,insecure:!1,rootpath:"",rewriteUrls:!1,math:1,strictUnits:!1,globalVars:null,modifyVars:null,urlArgs:""};if(window.less)for(var At in window.less)window.less.hasOwnProperty(At)&&(_t[At]=window.less[At]);!function(e,i){t(i,n(e)),void 0===i.isFileProtocol&&(i.isFileProtocol=/^(file|(chrome|safari)(-extension)?|resource|qrc|app):/.test(e.location.protocol)),i.async=i.async||!1,i.fileAsync=i.fileAsync||!1,i.poll=i.poll||(i.isFileProtocol?1e3:1500),i.env=i.env||("127.0.0.1"==e.location.hostname||"0.0.0.0"==e.location.hostname||"localhost"==e.location.hostname||e.location.port&&e.location.port.length>0||i.isFileProtocol?"development":"production");var r=/!dumpLineNumbers:(comments|mediaquery|all)/.exec(e.location.hash);r&&(i.dumpLineNumbers=r[1]),void 0===i.useFileCache&&(i.useFileCache=!0),void 0===i.onReady&&(i.onReady=!0),i.relativeUrls&&(i.rewriteUrls="all")}(window,_t),_t.plugins=_t.plugins||[],window.LESS_PLUGINS&&(_t.plugins=_t.plugins.concat(window.LESS_PLUGINS));var Mt,Et,Pt,Rt=function(e,n){var r=e.document,s=wt();s.options=n;var o=s.environment,a=It(n,s.logger),l=new a;o.addFileManager(l),s.FileManager=a,s.PluginLoader=Ct,function(e,t){t.logLevel=void 0!==t.logLevel?t.logLevel:"development"===t.env?3:1,t.loggers||(t.loggers=[{debug:function(e){t.logLevel>=4&&console.log(e)},info:function(e){t.logLevel>=3&&console.log(e)},warn:function(e){t.logLevel>=2&&console.warn(e)},error:function(e){t.logLevel>=1&&console.error(e)}}]);for(var i=0;i<t.loggers.length;i++)e.logger.addListener(t.loggers[i])}(s,n);var u=kt(e,s,n),c=s.cache=n.cache||function(e,t,i){var n=null;if("development"!==t.env)try{n=void 0===e.localStorage?null:e.localStorage}catch(e){}return{setCSS:function(e,t,r,s){if(n){i.info("saving "+e+" to cache.");try{n.setItem(e,s),n.setItem(e+":timestamp",t),r&&n.setItem(e+":vars",JSON.stringify(r))}catch(t){i.error('failed to save "'+e+'" to local storage for caching.')}}},getCSS:function(e,t,i){var r=n&&n.getItem(e),s=n&&n.getItem(e+":timestamp"),o=n&&n.getItem(e+":vars");if(i=i||{},o=o||"{}",s&&t.lastModified&&new Date(t.lastModified).valueOf()===new Date(s).valueOf()&&JSON.stringify(i)===o)return r}}}(e,n,s.logger);!function(){function e(){throw{type:"Runtime",message:"Image size functions are not supported in browser version of less"}}var t={"image-size":function(t){return e(),-1},"image-width":function(t){return e(),-1},"image-height":function(t){return e(),-1}};H.addMultiple(t)}(s.environment),n.functions&&s.functions.functionRegistry.addMultiple(n.functions);var h=/^text\/(x-)?less$/;function f(e){var t={};for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);return t}function p(e,t){var i=Array.prototype.slice.call(arguments,2);return function(){var n=i.concat(Array.prototype.slice.call(arguments,0));return e.apply(t,n)}}function v(e){for(var t,i=r.getElementsByTagName("style"),o=0;o<i.length;o++)if((t=i[o]).type.match(h)){var a=f(n);a.modifyVars=e;var l=t.innerHTML||"";a.filename=r.location.href.replace(/#.*$/,""),s.render(l,a,p((function(e,t,i){t?u.add(t,"inline"):(e.type="text/css",e.styleSheet?e.styleSheet.cssText=i.css:e.innerHTML=i.css)}),null,t))}}function d(e,i,r,a,h){var p=f(n);t(p,e),p.mime=e.type,h&&(p.modifyVars=h),l.loadFile(e.href,null,p,o).then((function(t){!function(t){var n=t.contents,o=t.filename,h=t.webInfo,f={currentDirectory:l.getPath(o),filename:o,rootFilename:o,rewriteUrls:p.rewriteUrls};if(f.entryPath=f.currentDirectory,f.rootpath=p.rootpath||f.currentDirectory,h){h.remaining=a;var v=c.getCSS(o,h,p.modifyVars);if(!r&&v)return h.local=!0,void i(null,v,n,e,h,o)}u.remove(o),p.rootFileInfo=f,s.render(n,p,(function(t,r){t?(t.href=o,i(t)):(c.setCSS(e.href,h.lastModified,p.modifyVars,r.css),i(null,r.css,n,e,h,o))}))}(t)})).catch((function(e){console.log(e),i(e)}))}function m(e,t,i){for(var n=0;n<s.sheets.length;n++)d(s.sheets[n],e,t,s.sheets.length-(n+1),i)}return s.watch=function(){return s.watchMode||(s.env="development","development"===s.env&&(s.watchTimer=setInterval((function(){s.watchMode&&(l.clearFileCache(),m((function(t,n,r,s,o){t?u.add(t,t.href||s.href):n&&i(e.document,n,s)})))}),n.poll))),this.watchMode=!0,!0},s.unwatch=function(){return clearInterval(s.watchTimer),this.watchMode=!1,!1},s.registerStylesheetsImmediately=function(){var e=r.getElementsByTagName("link");s.sheets=[];for(var t=0;t<e.length;t++)("stylesheet/less"===e[t].rel||e[t].rel.match(/stylesheet/)&&e[t].type.match(h))&&s.sheets.push(e[t])},s.registerStylesheets=function(){return new Promise((function(e,t){s.registerStylesheetsImmediately(),e()}))},s.modifyVars=function(e){return s.refresh(!0,e,!1)},s.refresh=function(t,n,r){return(t||r)&&!1!==r&&l.clearFileCache(),new Promise((function(r,o){var a,l,c,h;a=l=new Date,0===(h=s.sheets.length)?(l=new Date,c=l-a,s.logger.info("Less has finished and no sheets were loaded."),r({startTime:a,endTime:l,totalMilliseconds:c,sheets:s.sheets.length})):m((function(t,n,f,p,v){if(t)return u.add(t,t.href||p.href),void o(t);v.local?s.logger.info("Loading "+p.href+" from cache."):s.logger.info("Rendered "+p.href+" successfully."),i(e.document,n,p),s.logger.info("CSS for "+p.href+" generated in "+(new Date-l)+"ms"),0===--h&&(c=new Date-a,s.logger.info("Less has finished. CSS generated in "+c+"ms"),r({startTime:a,endTime:l,totalMilliseconds:c,sheets:s.sheets.length})),l=new Date}),t,n),v(n)}))},s.refreshStyles=v,s}(window,_t);function Ot(e){e.filename&&console.warn(e),_t.async||Et.removeChild(Pt)}return window.less=Rt,_t.onReady&&(/!watch/.test(window.location.hash)&&Rt.watch(),_t.async||(Mt="body { display: none !important }",Et=document.head||document.getElementsByTagName("head")[0],(Pt=document.createElement("style")).type="text/css",Pt.styleSheet?Pt.styleSheet.cssText=Mt:Pt.appendChild(document.createTextNode(Mt)),Et.appendChild(Pt)),Rt.registerStylesheetsImmediately(),Rt.pageLoadFinished=Rt.refresh("development"===Rt.env).then(Ot,Ot)),Rt})); </script> <!-- end of custom css --> <style id="style-spaceless-init">.spaceless > * { float:left; }</style> <!-- acs --><link href="https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@700&display=swap" rel="stylesheet"> <!-- Google Tag Manager --> <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-KXQXHSC');</script> <!-- End Google Tag Manager --> <!-- Google search-console --> <meta name="google-site-verification" content="cJ3SSczdUXpwz59txtDHahlnsgsVu1tQ9hTkhO1JJKs" /> <!-- End Google search-console --> <!-- Google tag (gtag.js) --> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} window.gtag = window.gtag||function(){dataLayer.push(arguments)}; function _vpvup(ev){ // 仮想PVイベントを送信 gtag('event', 'page_view', { page_path: '/' + ev.detail.new_href.split('/').slice(3).join('/'), page_location: ev.detail.new_href, page_referrer: ev.detail.old_href, send_to: 'G-T9MZHEZ0W8' }); gtag('event', 'page_view', { page_path: '/' + ev.detail.new_href.split('/').slice(3).join('/'), page_location: ev.detail.new_href, // page_referrer: ev.detail.old_href, send_to: 'UA-204891650-1' }); } // URL変更でPVアップ : GA4の拡張計測機能を活かす場合は不要 document.addEventListener('_changehref', _vpvup); // 一覧の動的ページ追加でPVアップ document.addEventListener('_virtualpv', _vpvup); </script><!-- /acs --> </head> <body class="page-newsfeed page-index " data-hashscroll-margin="return 8 + $('#header-menu').height() + $('#header-container').height()"> <div id="for_old_ie" style="background:red;color:white;text-align:center;position:fixed;bottom:0;left:0;right:0;z-index:32767;padding:1em;"> IE11もしくはEdge,Chrome,Firefoxなど最新のモダンブラウザを利用してください </div> <div id="left-menu"> <div id="left-menu-container"> <ul class="menu vertical"> <li class="menu-item" id="left-menu-font-expander"><a class="font-expander" href="#"></a></li> <li class="divider"></li> <li id="left-menu-home" class="menu-item active"><a href="https://kodokuno-gourmet.jp"><i class="fa fa-home fa-fw"></i> ホーム</a></li> <li class="menu-item "> <a class="menu-externallink" href="/_tags/News" ><i class="fa fa-tag fa-fw"></i> News</a> </li> <li class="menu-item "> <a class="menu-externallink" href="/_ct/17474727" ><i class="fa fa-tag fa-fw"></i> 『孤独のグルメ』とは?</a> </li> <li class="menu-item "> <a class="menu-externallink" href="/_tags/%E8%AA%95%E7%94%9F%E3%83%BB%E5%88%B6%E4%BD%9C%E7%A7%98%E8%A9%B1" ><i class="fa fa-tag fa-fw"></i> 誕生・制作秘話</a> </li> <li class="menu-item "> <a class="menu-externallink" href="/_ct/17475152" ><i class="fa fa-tag fa-fw"></i> キャラクター紹介</a> </li> <li class="menu-item "> <a class="menu-externallink" href="/_ct/17474961" ><i class="fa fa-tag fa-fw"></i> 関連書籍</a> </li> <li class="menu-item "> <a class="menu-externallink" href="/_ct/17479049" ><i class="fa fa-tag fa-fw"></i> ドラマ版</a> </li> <li class="menu-item "> <a class="menu-externallink" href="/_tags/works" ><i class="fa fa-tag fa-fw"></i> Works</a> </li> <li class="menu-item "> <a class="menu-page" href="/contact"><i class="fa fa-envelope-o fa-fw"></i> お問い合わせ</a> </li> <li class="menu-item "> <a class="menu-page" href="/company"><i class="fa fa-building fa-fw"></i> 運営会社</a> </li> <li class="menu-item "> <a class="menu-page" href="/privacy"><i class="fa fa-file-text fa-fw"></i> プライバシーポリシー</a> </li> <li class="menu-item "> <a class="menu-page" href="/cookie"><i class="fa fa-square fa-fw"></i> Cookie使用について</a> </li> </ul> </div> </div> <div id="header"> <div id="header-container"> <div id="header-bgs"><div id="header-bg"></div><div id="header-menu-bg"></div></div> <div id="header-defaults" class="flex-container flex-mobile"> <h1 id="header-title" class="flex-item flex-order-1 fillchild"> <a href="https://kodokuno-gourmet.jp" class="centeringchild-v"> <img src="https://d1uzk9o9cg136f.cloudfront.net/f/portal/16777589/rc/2021/08/20/958fcc4417f69e39c61f3a4d7457c274416e47ce.png" srcset="https://d1uzk9o9cg136f.cloudfront.net/f/portal/16777589/rc/2021/08/20/958fcc4417f69e39c61f3a4d7457c274416e47ce.png 1x ,https://d1uzk9o9cg136f.cloudfront.net/f/portal/16777589/rc/2021/08/20/958fcc4417f69e39c61f3a4d7457c274416e47ce.png 2x ,https://d1uzk9o9cg136f.cloudfront.net/f/portal/16777589/rc/2021/08/20/958fcc4417f69e39c61f3a4d7457c274416e47ce.png 3x " alt="孤独のグルメ" > </a> </h1> <div id="header-menu" class="flex-item flex-order-2 flexible spaceless flex-container flex-mobile justify-content-flex-start customized"> <!-- free_box1 --><div class="nav-scroll"> <a href="/"><span>HOME</span></a> <a href="/_tags/News" data-tag="News"><span>News</span></a> <a href="/_ct/17474727"><span>『孤独のグルメ』とは</span></a> <a href="/_tags/%E8%AA%95%E7%94%9F%E3%83%BB%E5%88%B6%E4%BD%9C%E7%A7%98%E8%A9%B1" data-tag="誕生・制作秘話"><span>誕生・制作秘話</span></a> <a href="/_ct/17475152"><span>キャラクター紹介</span></a> <!-- <a href=""><span>原作者インタビュー</span></a> --> <a href="/_ct/17474961"><span> 関連書籍</span></a> <a href="/_ct/17479049"><span>ドラマ版</span></a> <a href="/_tags/works" data-tag="Works"><span>Works</span></a> </div> </div> <div id="header-right" class="flex-item flex-order-3 flex-center spaceless flex-container align-items-center wrap flex-mobile"> <a id="search-icon" href="/_fq" class="flex-item"> <i class="fa fa-search"></i> </a> <a id="user-notifies-toggle" href="#"><i class="fa fa-info-circle"></i></a> <div id="user-notifies"> <div class="user-notifies-content"> <div class="user-notifies-title"> <span class="fa fa-info-circle"></span> <span id="user-notifies-close"><i class="fa fa-times"></i></span> </div> <div class="user-notify template" data-notify-updated="2000-01-01T09:00Z"> <div class="user-notify-overview"> <span class="user-notify-date">2000-01-01</span> <span class="user-notify-message">template</span> </div> <div class="user-notify-detail"> <div class="user-notify-detail-content">template</div> </div> </div> <div class="user-notify-nothing"> <div for-lang="ja">お知らせはありません</div> <div for-lang="en">No Notification</div> </div> </div> </div> <div class="user-notify-loaded"></div> <script>(function(){var auto_clear_unread=false;var data={cookie_path:'/',notifies:[]};data.auto_clear_unread=auto_clear_unread;window._user_notifies=data;})();</script> <a id="menu-icon" href="#" class="flex-item"><i class="fa fa-bars"></i></a> </div> </div> </div> </div> <script id="script-combined-dinoportal_base_adjustheader.js"> /*** combinestatic: generated:dinoportal_base_adjustheader.js ***/ /*** combinestatic: from:dinoportal/js/common-adjustheader.js ***/ (function(){function adjustHeaders(){$(document).on('adjustheaderbg',function(){if($('#header').is('.slide-up')){return;} var $t=$('#header-title'),$r=$('#header-right:visible'),$m=$('#header-menu:visible'),$f=$('#footer:visible'),rt=$t[0].getBoundingClientRect(),rr=$r[0]&&$r[0].getBoundingClientRect()||{height:rt.height},rm=$m[0]&&$m[0].getBoundingClientRect()||{height:0},hh=(rr.top>=rt.bottom)?(rr.bottom-rt.top):(Math.max(rt.height,rr.height)),hm=(rt.top==rm.top)?0:rm.height,ft=$f[0]&&($f[0].getBoundingClientRect()||{height:0}).height;$.setStyle(['#header-bg, .spiral-header-bg { height:'+hh+'px; }','#header-menu-bg { height:100vh; }','@media (max-width:767px) {','#header.slide-up #header-container {','transform:translateY(-'+hh+'px);','}','}','@media (min-width:768px) {','body.custom-header-image-center #header.slide-up #header-container,','body.custom-header-menu-always-mobile #header.slide-up #header-container {','transform:translateY(-'+hh+'px);','}','#main { padding-top:'+(hh+(75-66)+4)+'px; }','body.custom-header-image-center #main,','body.custom-header-menu-always-mobile #main {','padding-top:'+(hh+hm+4+6)+'px;','}','}','@media (max-width:767px) {','#main { padding-top:'+(hh+hm+4)+'px; }','}','#main { min-height:calc(100vh - '+ft+'px); }',].join('\n'),'style-adjustheaderbg');});function triggerAdjustHeaderBg(){$(document).trigger('adjustheaderbg');} triggerAdjustHeaderBg();$('#header').imagesLoaded(triggerAdjustHeaderBg);var w=0;function adjustHeaderMenus(){var $h=$('#header-menu:visible'),hw=$h[0]&&$h[0].clientWidth||0;if(!$h[0]||$h.children().length==1){return;} if(w==hw){return;} w=hw;$h.addClass('adjusting').css('overflow','hidden').css('justify-content','flex-start');restoreHeaderMenus();if($h[0].clientWidth>=$h[0].scrollWidth){$h.removeClass('adjusting').css('overflow','').css('justify-content','');return;} var retry_limit=100;var $more=$('<span class="menu-more centeringchild inline"><a href="#"><span class="for-desktop">more </span><i class="fa fa-caret-down"></i></a><div class="menu-overflowed" style="display:none;"><div class="container"></div></div></span>');var $more_items=$more.find('.menu-overflowed > .container');var $prevents=$h.find('.prevent-fold');if($prevents[0]){$h.append($prevents);$more.insertBefore($prevents[0]);}else{$h.append($more);} while($h[0].clientWidth<$h[0].scrollWidth){if(!(retry_limit--)){break;} var $prev=$more.prev(':not(.prevent-fold):not(:first-child)');if(!$prev[0]){break;} $more_items.prepend($prev);} $h.removeClass('adjusting').css('overflow','').css('justify-content','');} function restoreHeaderMenus(){var $h=$('#header-menu:visible');var $more=$h.children('.menu-more'),$more_contents=$more.find('.menu-overflowed > .container').children();if($more){$more.before($more_contents).remove();}} adjustHeaderMenus();$(document).on('click touchstart','.menu-more > a',function(ev){ev.preventDefault();$(this).next('.menu-overflowed').toggle();});$(window).on('resizing.adjustheader resized.adjustheader',function(){triggerAdjustHeaderBg();adjustHeaderMenus();});$('#header').addClass('initialized');} if(window._customized===undefined){var _t=setInterval(function(){if(window._customized!==undefined){clearInterval(_t);adjustHeaders();setTimeout(adjustHeaders,1000);setTimeout(adjustHeaders,5000);}},25);}else{adjustHeaders();setTimeout(adjustHeaders,1000);setTimeout(adjustHeaders,5000);}})(); </script> <div id="main"> <div id="common-header"><!-- Google Tag Manager (noscript) --> <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-KXQXHSC" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> <!-- End Google Tag Manager (noscript) --> <!-- SP時ヘッダメニューの調整 --> <script> $(function(){ function headerMenuAdjust() { var $navCurrent = $('#header-menu > .nav-scroll > a.active'); if($navCurrent[0]) { $('#header-menu > .nav-scroll').scrollLeft($navCurrent.eq(0).offset().left - 5);} } var doHeaderMenuAdjust = false; $(window).on('load',function(){ if($(window).width() < 768) { doHeaderMenuAdjust=true; } }); $(window).on('resize', function() { if($(window).width() < 768) { doHeaderMenuAdjust=true; } }); setInterval(function() { if (doHeaderMenuAdjust) { doHeaderMenuAdjust = false; headerMenuAdjust(); } }, 1000/30); }); </script> <style> </style></div> <div id="path-custom-header" class="heading"><div class="carousel2 prevent-anim" data-carousel-anim="roll-horiz" data-carousel-duration="800" data-carousel-autoanim="3000,4000" data-carousel-nav="below-point" data-carousel-navrel="1" > <div class="carousel-contents"> <!-- ptlcache cached filter replacer S 16777589:ja:0:3:contents:carousel:tag:newest:3:%E3%82%AB%E3%83%AB%E3%83%BC%E3%82%BB%E3%83%AB --> <div class="carousel-content"><div class="carousel-container"> <div data-content="17718898" data-published-at="2024-09-02T12:18:12+09:00" data-pubdate-recent="-past" data-tags=" News カルーセル " class="wfcontent has-display-type newsfeed-display-type-imagebg-nobody image-bg "> <div class="wfcontent-imagebg image-bg-blur" style="background-image:url(https://d1uzk9o9cg136f.cloudfront.net/f/16783601/rc/2024/09/02/40d645f01cd0925d8898a3dadc1e4c8dca4299c4_xlarge.jpg);background-position:50% 50%;"></div> <div class="wfcontent-container flex-container horizontal flex-mobile" data-pubdate="2024-09-02" style="position:relative; width:100%;"> <div class="flex-item flexible"> <div class="content-body-container"> <a href="https://kodokuno-gourmet.jp/_ct/17718898?o=0&tg=%E3%82%AB%E3%83%AB%E3%83%BC%E3%82%BB%E3%83%AB&fr=cl" class="content-link " > <h2 class="content-title ptc-rev">『孤独のグルメ』映画化!「観たら腹が減りますよ」と松重豊が太鼓判。久住昌之からもコメント到着</h2> </a> <div class="content-feedlabel"><span></span></div> <div class="content-info flex-container flex-mobile"> <div class="content-author-info flex-item flex-center flexible flex-container flex-mobile vertical flex-item-left"> <div class="flex-item" data-pubdate="2024-09-02"> <span class="content-author-name">孤独のグルメ編集部</span> <span class="content-author-site-wrap"> @ <span class="content-author-site">孤独のグルメ</span> </span> </div> </div> </div> </div> </div> </div> <a href="https://kodokuno-gourmet.jp/_ct/17718898?o=0&tg=%E3%82%AB%E3%83%AB%E3%83%BC%E3%82%BB%E3%83%AB&fr=cl" class="content-link-overwrap " > </a> </div> </div><!-- .carousel-container --></div><!-- .carousel-content --> <div class="carousel-content"><div class="carousel-container"> <div data-content="17475152" data-published-at="2022-09-13T13:26:00+09:00" data-pubdate-recent="-past" data-tags=" カルーセル " class="wfcontent has-display-type newsfeed-display-type-imagebg-nobody image-bg "> <div class="wfcontent-imagebg image-bg-blur" style="background-image:url(https://d1uzk9o9cg136f.cloudfront.net/f/16783601/rc/2021/08/20/5c9fb49166454a47a27f6f9edee49442076ae22a_xlarge.jpg);background-position:50% 50%;"></div> <div class="wfcontent-container flex-container horizontal flex-mobile" data-pubdate="2022-09-13" style="position:relative; width:100%;"> <div class="flex-item flexible"> <div class="content-body-container"> <a href="https://kodokuno-gourmet.jp/_ct/17475152?o=0&tg=%E3%82%AB%E3%83%AB%E3%83%BC%E3%82%BB%E3%83%AB&fr=cl" class="content-link " > <h2 class="content-title ptc-rev">キャラクター紹介</h2> </a> <div class="content-feedlabel"><span></span></div> <div class="content-info flex-container flex-mobile"> <div class="content-author-info flex-item flex-center flexible flex-container flex-mobile vertical flex-item-left"> <div class="flex-item" data-pubdate="2022-09-13"> <span class="content-author-name">孤独のグルメ編集部</span> <span class="content-author-site-wrap"> @ <span class="content-author-site">孤独のグルメ</span> </span> </div> </div> </div> </div> </div> </div> <a href="https://kodokuno-gourmet.jp/_ct/17475152?o=0&tg=%E3%82%AB%E3%83%AB%E3%83%BC%E3%82%BB%E3%83%AB&fr=cl" class="content-link-overwrap " > </a> </div> </div><!-- .carousel-container --></div><!-- .carousel-content --> <div class="carousel-content"><div class="carousel-container"> <div data-content="17474727" data-published-at="2021-08-31T16:00:00+09:00" data-pubdate-recent="-past" data-tags=" カルーセル " class="wfcontent has-display-type newsfeed-display-type-imagebg-nobody image-bg "> <div class="wfcontent-imagebg image-bg-blur" style="background-image:url(https://d1uzk9o9cg136f.cloudfront.net/f/16783601/rc/2021/08/19/f3ae7260c4e5ff5196b6a921e1f22b57d8a17921_xlarge.jpg);background-position:50.24883270263672% 29.035770416259766%;"></div> <div class="wfcontent-container flex-container horizontal flex-mobile" data-pubdate="2021-08-31" style="position:relative; width:100%;"> <div class="flex-item flexible"> <div class="content-body-container"> <a href="https://kodokuno-gourmet.jp/_ct/17474727?o=0&tg=%E3%82%AB%E3%83%AB%E3%83%BC%E3%82%BB%E3%83%AB&fr=cl" class="content-link " > <h2 class="content-title ptc-rev">『孤独のグルメ』とは</h2> </a> <div class="content-feedlabel"><span></span></div> <div class="content-info flex-container flex-mobile"> <div class="content-author-info flex-item flex-center flexible flex-container flex-mobile vertical flex-item-left"> <div class="flex-item" data-pubdate="2021-08-31"> <span class="content-author-name">孤独のグルメ編集部</span> <span class="content-author-site-wrap"> @ <span class="content-author-site">孤独のグルメ</span> </span> </div> </div> </div> </div> </div> </div> <a href="https://kodokuno-gourmet.jp/_ct/17474727?o=0&tg=%E3%82%AB%E3%83%AB%E3%83%BC%E3%82%BB%E3%83%AB&fr=cl" class="content-link-overwrap " > </a> </div> </div><!-- .carousel-container --></div><!-- .carousel-content --> <!-- end ptlcache filter replacer --> </div> </div></div> <div id="main-contents-container"> <div class="main-contents"> <div id="path-custom-feed-heading" class="heading"><!-- path:free_box2 --> <div id="pickup-contents"></div> <script> $(function(){ var $pickupContent = $('#newsfeed .wfcontent[data-tags*="pickup"]'); if(!$pickupContent[0]){return} $pickupContent.appendTo('#pickup-contents'); }); </script> </div> <div id="newsfeed" class="newsfeed newsfeed-all-display-type-flex"> <div class="newsfeed-container spaceless"> <div data-content="17718898" data-published-at="2024-09-02T12:18:12+09:00" data-pubdate-recent="-past" data-tags=" News カルーセル " class="wfcontent not-has-display-type "> <div class="wfcontent-container flex-container horizontal flex-mobile" data-pubdate="2024-09-02" style="position:relative; width:100%;"> <div class="content-leading flex-item"> <a href="https://kodokuno-gourmet.jp/_ct/17718898?" class="img-wrap " style="background-image:url(https://d1uzk9o9cg136f.cloudfront.net/f/16783601/rc/2024/09/02/40d645f01cd0925d8898a3dadc1e4c8dca4299c4_large.jpg);background-position:50% 50%;" > <img src="https://d1uzk9o9cg136f.cloudfront.net/f/16783601/rc/2024/09/02/40d645f01cd0925d8898a3dadc1e4c8dca4299c4_large.jpg" style="visibility:hidden;width:100%;height:100%;display:block;" > </a> </div> <div class="flex-item flexible"> <div class="content-body-container"> <a href="https://kodokuno-gourmet.jp/_ct/17718898?" class="content-link " > <h2 class="content-title ptc-rev">『孤独のグルメ』映画化!「観たら腹が減りますよ」と松重豊が太鼓判。久住昌之からもコメント到着</h2> <div class="content-body">俳優・松重豊(61)がテレビ東京開局60周年記念『孤独のグルメ』プロジェクトの会見を行った。ドラマ『それぞれの孤独のグルメ』がテレビ東京系で10月4日から放送され、『劇映画 孤独のグルメ』が2025年1月10日に全国公開であることが発表された。 松重豊初の監督・脚本作品に 『孤独のグルメ』(作/久住昌之・画/谷口ジロー)は1994年~1996年にかけて雑誌『月刊PANJA』(扶桑社刊、現在休刊)誌上で連載後、2008年~2015年まで『週刊SPA!』(扶桑社刊)にて不定期連載。累計150万部を超えるロングセラーとなったひとりめし漫画の先駆け的作品だ。 『それぞれの孤独のグルメ』は、多彩な...</div> </a> <div class="content-feedlabel"><span></span></div> <div class="content-info flex-container flex-mobile"> <div class="content-author-avater flex-item"> <a href="/_users/16924426" class="content-author-image-link"> <span class="content-author-image wf-colorscheme-light"><span>孤</span></span> </a> </div> <div class="content-author-info flex-item flex-center flexible flex-container flex-mobile vertical flex-item-left"> <div class="flex-item" data-pubdate="2024-09-02"> <a href="/_users/16924426" class="content-author-name">孤独のグルメ編集部</a> <span class="content-author-site-wrap"> @ <a href="/_sites/16783601" class="content-author-site">孤独のグルメ</a> </span> </div> </div> </div> <div class="content-tags"> <a class="content-tag" data-tag="News" href="/_tags/News"><span>News</span></a> </div> </div> </div> </div> </div> <div data-content="17704195" data-published-at="2024-06-07T16:29:48+09:00" data-pubdate-recent="-past" data-tags=" News sponsored " class="wfcontent not-has-display-type "> <div class="wfcontent-container flex-container horizontal flex-mobile" data-pubdate="2024-06-07" style="position:relative; width:100%;"> <div class="content-leading flex-item"> <a href="https://kodokuno-gourmet.jp/_ct/17704195?" class="img-wrap " style="background-image:url(https://d1uzk9o9cg136f.cloudfront.net/f/16783601/rc/2024/06/07/aa7b64bc29c7b182311ee05f6613e899aaebfa36_large.jpg);background-position:50% 50%;" > <img src="https://d1uzk9o9cg136f.cloudfront.net/f/16783601/rc/2024/06/07/aa7b64bc29c7b182311ee05f6613e899aaebfa36_large.jpg" style="visibility:hidden;width:100%;height:100%;display:block;" loading="lazy"> </a> </div> <div class="flex-item flexible"> <div class="content-body-container"> <a href="https://kodokuno-gourmet.jp/_ct/17704195?" class="content-link " > <h2 class="content-title ptc-rev">久住昌之が実食! 孤独のグルメふるさと納税企画</h2> <div class="content-body">都市部に集中しがちな税金を、地方にも分散すべく生まれた制度「ふるさと納税」。出身地や思い出深い旅行先など、ゆかりのある自治体を応援できるため、年々注目度が高まっている。 現在日刊SPA!では、数あるふるさと納税の返礼品の中から『孤独のグルメ』の主人公・井之頭五郎がおすすめする商品を紹介中。原作者である久住昌之さんにも実食してもらい、その魅力を語ってもらっている。 全国12自治体の返礼品が大集結 今回の特集では日本全国12の自治体からバラエティ豊かな逸品が集結。そのラインナップは海産物、牛肉、お米にラーメン、デザートにコーヒーとまさにフルコース。 実際に試食してもらった久住さんからも 「掘...</div> </a> <div class="content-feedlabel"><span></span></div> <div class="content-info flex-container flex-mobile"> <div class="content-author-avater flex-item"> <a href="/_users/16924426" class="content-author-image-link"> <span class="content-author-image wf-colorscheme-light"><span>孤</span></span> </a> </div> <div class="content-author-info flex-item flex-center flexible flex-container flex-mobile vertical flex-item-left"> <div class="flex-item" data-pubdate="2024-06-07"> <a href="/_users/16924426" class="content-author-name">孤独のグルメ編集部</a> <span class="content-author-site-wrap"> @ <a href="/_sites/16783601" class="content-author-site">孤独のグルメ</a> </span> </div> </div> </div> <div class="content-tags"> <a class="content-tag" data-tag="News" href="/_tags/News"><span>News</span></a> </div> </div> </div> </div> </div> <div data-content="17662057" data-published-at="2023-10-19T13:13:00+09:00" data-pubdate-recent="-past" data-tags=" News sponsored " class="wfcontent not-has-display-type "> <div class="wfcontent-container flex-container horizontal flex-mobile" data-pubdate="2023-10-19" style="position:relative; width:100%;"> <div class="content-leading flex-item"> <a href="https://kodokuno-gourmet.jp/_ct/17662057?" class="img-wrap " style="background-image:url(https://d1uzk9o9cg136f.cloudfront.net/f/16783601/rc/2023/10/18/89eaa320375398e2c930966fda5d89070a436caf_large.jpg);background-position:50% 50%;" > <img src="https://d1uzk9o9cg136f.cloudfront.net/f/16783601/rc/2023/10/18/89eaa320375398e2c930966fda5d89070a436caf_large.jpg" style="visibility:hidden;width:100%;height:100%;display:block;" loading="lazy"> </a> </div> <div class="flex-item flexible"> <div class="content-body-container"> <a href="https://kodokuno-gourmet.jp/_ct/17662057?" class="content-link " > <h2 class="content-title ptc-rev">久住昌之が「ひとりめし天国」ソウルをふらっと訪問!</h2> <div class="content-body">ソウルの路地裏での食べ歩き 今回訪れた韓国・ソウルは、羽田空港からわずか2~3時間で到着できるもっとも近い外国都市のひとつだ。若い女性人気が高いイメージがあるソウルだが、実は路地裏に入ると中年男性の胃袋を鷲掴みにする食堂が数多く点在する「ひとりめし天国」だったりする。 ソウルを訪れるのは8年ぶりだという久住氏だが、そんな異国の地で今回は1泊2日の食べ歩きロケを敢行。その様子をレポートした記事が現在日刊SPA!で公開中だ。 記事はこちらから⇒ 韓国といえばサムギョプサルなどが有名だが、今回の取材では干しダラと牛骨のスープ、生ダコの踊り食い、海鮮ラーメンなど海産物を中心に堪能。そのほか市場で...</div> </a> <div class="content-feedlabel"><span></span></div> <div class="content-info flex-container flex-mobile"> <div class="content-author-avater flex-item"> <a href="/_users/16924426" class="content-author-image-link"> <span class="content-author-image wf-colorscheme-light"><span>孤</span></span> </a> </div> <div class="content-author-info flex-item flex-center flexible flex-container flex-mobile vertical flex-item-left"> <div class="flex-item" data-pubdate="2023-10-19"> <a href="/_users/16924426" class="content-author-name">孤独のグルメ編集部</a> <span class="content-author-site-wrap"> @ <a href="/_sites/16783601" class="content-author-site">孤独のグルメ</a> </span> </div> </div> </div> <div class="content-tags"> <a class="content-tag" data-tag="News" href="/_tags/News"><span>News</span></a> </div> </div> </div> </div> </div> <div data-content="17600855" data-published-at="2023-01-20T13:35:18+09:00" data-pubdate-recent="-past" class="wfcontent not-has-display-type "> <div class="wfcontent-container flex-container horizontal flex-mobile" data-pubdate="2023-01-20" style="position:relative; width:100%;"> <div class="content-leading flex-item"> <a href="https://kodokuno-gourmet.jp/_ct/17600855?" class="img-wrap " style="background-image:url(https://d1uzk9o9cg136f.cloudfront.net/f/16783601/rc/2023/01/19/fea428993c077e3a1f0ed57023fc580b6b29cc82_large.jpg);background-position:50% 50%;" > <img src="https://d1uzk9o9cg136f.cloudfront.net/f/16783601/rc/2023/01/19/fea428993c077e3a1f0ed57023fc580b6b29cc82_large.jpg" style="visibility:hidden;width:100%;height:100%;display:block;" > </a> </div> <div class="flex-item flexible"> <div class="content-body-container"> <a href="https://kodokuno-gourmet.jp/_ct/17600855?" class="content-link " > <h2 class="content-title ptc-rev">孤独のグルメ 漫画試し読み「静岡県静岡市青葉横丁の汁おでん」を無料公開!</h2> <div class="content-body">長年愛され続けた珠玉の名作、『孤独のグルメ』第2巻より「静岡県静岡市青葉横丁の汁おでん」を無料公開! 静岡県静岡市青葉横丁の汁おでん 『孤独のグルメ2』 孤独のグルメ2 (扶桑社文庫) | 久住 昌之, 谷口 ジロー |本 | 通販 | Amazon Amazonで久住 昌之, 谷口 ジローの孤独のグルメ2 (扶桑社文庫)。アマゾンならポイント還元本が多数。久住 昌之, 谷口 ジロー作品ほか、お急ぎ便対象商品は当日お届けも可能。また孤独のグルメ2 (扶桑社文庫)もアマゾン配送商品なら通常配送無料。 2009年から『週刊SPA!』で不定期連載された書下ろし13話を収録。2015年、18年ぶ...</div> </a> <div class="content-feedlabel"><span></span></div> <div class="content-info flex-container flex-mobile"> <div class="content-author-avater flex-item"> <a href="/_users/16924426" class="content-author-image-link"> <span class="content-author-image wf-colorscheme-light"><span>孤</span></span> </a> </div> <div class="content-author-info flex-item flex-center flexible flex-container flex-mobile vertical flex-item-left"> <div class="flex-item" data-pubdate="2023-01-20"> <a href="/_users/16924426" class="content-author-name">孤独のグルメ編集部</a> <span class="content-author-site-wrap"> @ <a href="/_sites/16783601" class="content-author-site">孤独のグルメ</a> </span> </div> </div> </div> </div> </div> </div> </div> <div data-content="17572045" data-published-at="2022-12-05T16:29:48+09:00" data-pubdate-recent="-past" data-tags=" News " class="wfcontent not-has-display-type "> <div class="wfcontent-container flex-container horizontal flex-mobile" data-pubdate="2022-12-05" style="position:relative; width:100%;"> <div class="content-leading flex-item"> <a href="https://kodokuno-gourmet.jp/_ct/17572045?" class="img-wrap " style="background-image:url(https://d1uzk9o9cg136f.cloudfront.net/f/16783601/rc/2022/09/21/a92b8d5bf7bf8ed4578db48abd21885b6317e8eb_large.jpg);background-position:50% 50%;" > <img src="https://d1uzk9o9cg136f.cloudfront.net/f/16783601/rc/2022/09/21/a92b8d5bf7bf8ed4578db48abd21885b6317e8eb_large.jpg" style="visibility:hidden;width:100%;height:100%;display:block;" loading="lazy"> </a> </div> <div class="flex-item flexible"> <div class="content-body-container"> <a href="https://kodokuno-gourmet.jp/_ct/17572045?" class="content-link " > <h2 class="content-title ptc-rev">久住昌之トークイベント「孤独のグルメの素」のダイジェスト動画を公開!</h2> <div class="content-body">ハードボイルド・グルメ漫画『孤独のグルメ』の公式YouTubeチャンネルがオープンした。 チャンネル開設の記念として、原作者の久住昌之氏によるトークライブ『孤独のグルメの素』のダイジェスト動画を公開中!また、ここでしか見られないコンテンツも随時配信していく予定だ。 ▼YouTubeチャンネルはこちら!▼ ダイジェスト動画の一部をご紹介! 【孤独のグルメ】松重豊が「井之頭五郎」になったワケ【孤独のグルメの素 #2】 久住昌之氏が取り出したのは、ある雑誌の見開き。いまから10年前、ドラマ『孤独のグルメ』が始まる直前の、久住昌之×松重豊氏による貴重な対談ショットだ。 果たしてなぜ、松重豊氏...</div> </a> <div class="content-feedlabel"><span></span></div> <div class="content-info flex-container flex-mobile"> <div class="content-author-avater flex-item"> <a href="/_users/16924426" class="content-author-image-link"> <span class="content-author-image wf-colorscheme-light"><span>孤</span></span> </a> </div> <div class="content-author-info flex-item flex-center flexible flex-container flex-mobile vertical flex-item-left"> <div class="flex-item" data-pubdate="2022-12-05"> <a href="/_users/16924426" class="content-author-name">孤独のグルメ編集部</a> <span class="content-author-site-wrap"> @ <a href="/_sites/16783601" class="content-author-site">孤独のグルメ</a> </span> </div> </div> </div> <div class="content-tags"> <a class="content-tag" data-tag="News" href="/_tags/News"><span>News</span></a> </div> </div> </div> </div> </div> <div data-content="17475152" data-published-at="2022-09-13T13:26:00+09:00" data-pubdate-recent="-past" data-tags=" カルーセル " class="wfcontent not-has-display-type "> <div class="wfcontent-container flex-container horizontal flex-mobile" data-pubdate="2022-09-13" style="position:relative; width:100%;"> <div class="content-leading flex-item"> <a href="https://kodokuno-gourmet.jp/_ct/17475152?" class="img-wrap " style="background-image:url(https://d1uzk9o9cg136f.cloudfront.net/f/16783601/rc/2021/08/20/5c9fb49166454a47a27f6f9edee49442076ae22a_large.jpg);background-position:50% 50%;" > <img src="https://d1uzk9o9cg136f.cloudfront.net/f/16783601/rc/2021/08/20/5c9fb49166454a47a27f6f9edee49442076ae22a_large.jpg" style="visibility:hidden;width:100%;height:100%;display:block;" loading="lazy"> </a> </div> <div class="flex-item flexible"> <div class="content-body-container"> <a href="https://kodokuno-gourmet.jp/_ct/17475152?" class="content-link " > <h2 class="content-title ptc-rev">キャラクター紹介</h2> <div class="content-body">『孤独のグルメ』の主な登場人物 井之頭五郎(いのがしらごろう) 輸入雑貨の貿易商を個人で営む。法人から個人まで多くの顧客を抱えており、商談で赴く土地の飲食店で食事することを無上の喜びとしている。好みの店には五郎なりの美学があり、下調べはせず偶然の出会いを大切にする。愛煙家である一方、居酒屋メシや酒場的な風情は嫌いでないが下戸であり、アルハラに対して敏感。束縛を嫌い、自由を好む性格で、独身を貫くが、フランスで若い日本人女優と恋に落ちたことがあり、彼女のことを思い出して感慨にふける一面も。日頃からスーツスタイルを崩さず、祖父が古武術道場の館長だった影響で屈強な肉体と相当な腕前を誇る。父親は他...</div> </a> <div class="content-feedlabel"><span></span></div> <div class="content-info flex-container flex-mobile"> <div class="content-author-avater flex-item"> <a href="/_users/16924426" class="content-author-image-link"> <span class="content-author-image wf-colorscheme-light"><span>孤</span></span> </a> </div> <div class="content-author-info flex-item flex-center flexible flex-container flex-mobile vertical flex-item-left"> <div class="flex-item" data-pubdate="2022-09-13"> <a href="/_users/16924426" class="content-author-name">孤独のグルメ編集部</a> <span class="content-author-site-wrap"> @ <a href="/_sites/16783601" class="content-author-site">孤独のグルメ</a> </span> </div> </div> </div> </div> </div> </div> </div> <div data-content="17477459" data-published-at="2022-08-19T12:39:00+09:00" data-pubdate-recent="-past" data-tags=" 誕生・制作秘話 " class="wfcontent not-has-display-type "> <div class="wfcontent-container flex-container horizontal flex-mobile" data-pubdate="2022-08-19" style="position:relative; width:100%;"> <div class="content-leading flex-item"> <a href="https://kodokuno-gourmet.jp/_ct/17477459?" class="img-wrap " style="background-image:url(https://d1uzk9o9cg136f.cloudfront.net/f/16783601/rc/2021/08/31/af29b23ea81891b570309448f84cf76a1b5881d7_large.jpg);background-position:50% 50%;" > <img src="https://d1uzk9o9cg136f.cloudfront.net/f/16783601/rc/2021/08/31/af29b23ea81891b570309448f84cf76a1b5881d7_large.jpg" style="visibility:hidden;width:100%;height:100%;display:block;" loading="lazy"> </a> </div> <div class="flex-item flexible"> <div class="content-body-container"> <a href="https://kodokuno-gourmet.jp/_ct/17477459?" class="content-link " > <h2 class="content-title ptc-rev">作画・谷口ジローが語る『孤独のグルメ』制作裏話</h2> <div class="content-body">ごく普通のお店を、エベレストを描くくらいの勢いで描いている ーー独特の世界観が魅力の『孤独のグルメ』ですが、まずはその誕生のきっかけを教えてください。 谷口:『PANJA』(『SPA!』の兄弟誌。現在は休刊)という雑誌で連載を始めたいと編集者が押しかけて来て(笑)。久住さんの原作でハードボイルドグルメをやりたいということでした。自分にはハードボイルドグルメがいったいどんなものか想像できなかったし、久住さんは泉さん(晴紀氏。久住氏と泉昌之名義でユニット)と共作して『かっこいいスキヤキ』(不条理グルメ漫画の名作)を書いていたから、「私じゃなくていいんじゃないか」と一度は断ったんですよ。 ーー...</div> </a> <div class="content-feedlabel"><span></span></div> <div class="content-info flex-container flex-mobile"> <div class="content-author-avater flex-item"> <a href="/_users/16924426" class="content-author-image-link"> <span class="content-author-image wf-colorscheme-light"><span>孤</span></span> </a> </div> <div class="content-author-info flex-item flex-center flexible flex-container flex-mobile vertical flex-item-left"> <div class="flex-item" data-pubdate="2022-08-19"> <a href="/_users/16924426" class="content-author-name">孤独のグルメ編集部</a> <span class="content-author-site-wrap"> @ <a href="/_sites/16783601" class="content-author-site">孤独のグルメ</a> </span> </div> </div> </div> <div class="content-tags"> <a class="content-tag" data-tag="誕生・制作秘話" href="/_tags/%E8%AA%95%E7%94%9F%E3%83%BB%E5%88%B6%E4%BD%9C%E7%A7%98%E8%A9%B1"><span>誕生・制作秘話</span></a> </div> </div> </div> </div> </div> <div data-content="17553464" data-published-at="2022-08-19T12:00:00+09:00" data-pubdate-recent="-past" data-tags=" works " class="wfcontent not-has-display-type "> <div class="wfcontent-container flex-container horizontal flex-mobile" data-pubdate="2022-08-19" style="position:relative; width:100%;"> <div class="content-leading flex-item"> <a href="https://kodokuno-gourmet.jp/_ct/17553464?" class="img-wrap " style="background-image:url(https://d1uzk9o9cg136f.cloudfront.net/f/16783601/rc/2022/07/04/961cec65b97422056eeb4a54d9c79b6051bccba7_large.jpg);background-position:100% 0%;" > <img src="https://d1uzk9o9cg136f.cloudfront.net/f/16783601/rc/2022/07/04/961cec65b97422056eeb4a54d9c79b6051bccba7_large.jpg" style="visibility:hidden;width:100%;height:100%;display:block;" loading="lazy"> </a> </div> <div class="flex-item flexible"> <div class="content-body-container"> <a href="https://kodokuno-gourmet.jp/_ct/17553464?" class="content-link " > <h2 class="content-title ptc-rev">コラボ(企業)</h2> <div class="content-body">アサヒビール アサヒ生ビール(マルエフ) 2021年に発売され話題を呼んだ「通称・マルエフ」とのコラボ。下戸の五郎に代わって原作者の久住昌之氏が、マルエフを提供するビールの名店を訪問、その味を堪能した。 詳細はこちら▶︎ PayPay PayPay 飲食店への還元キャンペーンを行ったPayPayが、「街のお店応援」というキーワードで孤独のグルメとコラボ。街のお店で流れていたPayPayのCMを見て五郎がアプリをダウンロードする様子を、マンガ&動画で掲載。 東急不動産 東京ポートシティ竹芝 竹芝にあるスマートビルの飲食店フロアを五郎が訪問。五郎が最新設備に驚きつつもグルメを堪能する様子を...</div> </a> <div class="content-feedlabel"><span></span></div> <div class="content-info flex-container flex-mobile"> <div class="content-author-avater flex-item"> <a href="/_users/16924426" class="content-author-image-link"> <span class="content-author-image wf-colorscheme-light"><span>孤</span></span> </a> </div> <div class="content-author-info flex-item flex-center flexible flex-container flex-mobile vertical flex-item-left"> <div class="flex-item" data-pubdate="2022-08-19"> <a href="/_users/16924426" class="content-author-name">孤独のグルメ編集部</a> <span class="content-author-site-wrap"> @ <a href="/_sites/16783601" class="content-author-site">孤独のグルメ</a> </span> </div> </div> </div> <div class="content-tags"> <a class="content-tag" data-tag="works" href="/_tags/works"><span>works</span></a> </div> </div> </div> </div> </div> <div data-content="17613355" data-published-at="2022-08-18T17:00:00+09:00" data-pubdate-recent="-past" data-tags=" sponsored " class="wfcontent not-has-display-type "> <div class="wfcontent-container flex-container horizontal flex-mobile" data-pubdate="2022-08-18" style="position:relative; width:100%;"> <div class="content-leading flex-item"> <a href="https://kodokuno-gourmet.jp/_ct/17613355?" class="img-wrap " style="background-image:url(https://d1uzk9o9cg136f.cloudfront.net/f/16783601/rc/2023/03/10/e3ae577f1d0cd5722eddcef215a869f5a3f51640_large.jpg);background-position:50% 50%;" > <img src="https://d1uzk9o9cg136f.cloudfront.net/f/16783601/rc/2023/03/10/e3ae577f1d0cd5722eddcef215a869f5a3f51640_large.jpg" style="visibility:hidden;width:100%;height:100%;display:block;" loading="lazy"> </a> </div> <div class="flex-item flexible"> <div class="content-body-container"> <a href="https://kodokuno-gourmet.jp/_ct/17613355?" class="content-link " > <h2 class="content-title ptc-rev">「五郎もぐっすり」孤独のグルメが話題の乳酸菌飲料とコラボ</h2> <div class="content-body">なんだか眠そうな五郎がお客さんに勧められたのは? 昨年から口コミで人気に火がつき、現在も爆発的な人気を誇る話題の乳酸菌飲料といえば、皆さんご存じヤクルトの「Y1000」と「Yakult(ヤクルト)1000」だ。 そんな人気商品と孤独のグルメが、日刊SPA!でコラボを果たした。 現在2本のコラボマンガが掲載中で、第1話は五郎と「Y1000」の出合いからスタート。 いつものようにお客さんのところに行って商談を終えた五郎だったが、その日はなんだかとても眠そう。そんな五郎を心配したお客さんが紹介してくれたのが「Y1000」だった。 「最近すごい話題なのに、五郎さん知らないの?」 そんなお客さんの...</div> </a> <div class="content-feedlabel"><span></span></div> <div class="content-info flex-container flex-mobile"> <div class="content-author-avater flex-item"> <a href="/_users/16924426" class="content-author-image-link"> <span class="content-author-image wf-colorscheme-light"><span>孤</span></span> </a> </div> <div class="content-author-info flex-item flex-center flexible flex-container flex-mobile vertical flex-item-left"> <div class="flex-item" data-pubdate="2022-08-18"> <a href="/_users/16924426" class="content-author-name">孤独のグルメ編集部</a> <span class="content-author-site-wrap"> @ <a href="/_sites/16783601" class="content-author-site">孤独のグルメ</a> </span> </div> </div> </div> </div> </div> </div> </div> <div data-content="17545217" data-published-at="2022-06-04T13:32:00+09:00" data-pubdate-recent="-past" data-tags=" News " class="wfcontent not-has-display-type "> <div class="wfcontent-container flex-container horizontal flex-mobile" data-pubdate="2022-06-04" style="position:relative; width:100%;"> <div class="content-leading flex-item"> <a href="https://kodokuno-gourmet.jp/_ct/17545217?" class="img-wrap " style="background-image:url(https://d1uzk9o9cg136f.cloudfront.net/f/16783601/rc/2022/06/01/3c17376f7577b896c85a2a1ad60161c6a5bea04b_large.jpg);background-position:50% 50%;" > <img src="https://d1uzk9o9cg136f.cloudfront.net/f/16783601/rc/2022/06/01/3c17376f7577b896c85a2a1ad60161c6a5bea04b_large.jpg" style="visibility:hidden;width:100%;height:100%;display:block;" > </a> </div> <div class="flex-item flexible"> <div class="content-body-container"> <a href="https://kodokuno-gourmet.jp/_ct/17545217?" class="content-link " > <h2 class="content-title ptc-rev">第2期『谷口ジローコレクション』が発売! 『孤独のグルメ』1巻収録、特別小冊子はヤマザキマリ、中島諒人の寄稿文も</h2> <div class="content-body">第2期『谷口ジローコレクション』(第6回配本) 5月30日発売! 谷口ジローの著書を発行してきた、各出版社が共同で編集する『谷口ジローコレクション』。第2期は、世界各国で数々の漫画賞を受賞している作品群を刊行してきた集英社、双葉社、扶桑社の合同企画として出版しております。第2期全10巻を、2022年9月まで隔月刊行する予定です。 扶桑社が発行する『谷口ジローコレクション』は、食漫画の金字塔として愛され、松重豊主演のドラマシリーズも大人気の『孤独のグルメ』第1巻を収録! 個人で輸入雑貨商を営む主人公・井之頭五郎が一人で食事をするシチュエーションを淡々と描くハードボイルド・グルメマンガ『孤独...</div> </a> <div class="content-feedlabel"><span></span></div> <div class="content-info flex-container flex-mobile"> <div class="content-author-avater flex-item"> <a href="/_users/16924426" class="content-author-image-link"> <span class="content-author-image wf-colorscheme-light"><span>孤</span></span> </a> </div> <div class="content-author-info flex-item flex-center flexible flex-container flex-mobile vertical flex-item-left"> <div class="flex-item" data-pubdate="2022-06-04"> <a href="/_users/16924426" class="content-author-name">孤独のグルメ編集部</a> <span class="content-author-site-wrap"> @ <a href="/_sites/16783601" class="content-author-site">孤独のグルメ</a> </span> </div> </div> </div> <div class="content-tags"> <a class="content-tag" data-tag="News" href="/_tags/News"><span>News</span></a> </div> </div> </div> </div> </div> <div data-content="17566693" data-published-at="2022-06-04T10:00:00+09:00" data-pubdate-recent="-past" data-tags=" News sponsored " class="wfcontent not-has-display-type "> <div class="wfcontent-container flex-container horizontal flex-mobile" data-pubdate="2022-06-04" style="position:relative; width:100%;"> <div class="content-leading flex-item"> <a href="https://kodokuno-gourmet.jp/_ct/17566693?" class="img-wrap " style="background-image:url(https://d1uzk9o9cg136f.cloudfront.net/f/16783601/rc/2022/09/07/e895e9873db9978131f3870f19b6a7af76b68a34_large.jpg);background-position:50% 50%;" > <img src="https://d1uzk9o9cg136f.cloudfront.net/f/16783601/rc/2022/09/07/e895e9873db9978131f3870f19b6a7af76b68a34_large.jpg" style="visibility:hidden;width:100%;height:100%;display:block;" loading="lazy"> </a> </div> <div class="flex-item flexible"> <div class="content-body-container"> <a href="https://kodokuno-gourmet.jp/_ct/17566693?" class="content-link " > <h2 class="content-title ptc-rev">孤独のグルメコラボ記念 竹芝グルメリウムで久住昌之がふらっと一杯</h2> <div class="content-body">横丁にテラス席…夜にふらりと寄りたい場所 2020年9月に開業した東京ポートシティ竹芝は、「最先端スマートビル」でありながらも、横丁などを含む魅力的な飲食店街「竹芝グルメリウム」を有する注目のスポットだ。 一昨年の開業時、そして昨年の1周年と2年連続で『孤独のグルメ』とのコラボを行ってきた竹芝グルメリウムだが、2周年の今年も特別企画を実施する。 その目玉が、『孤独のグルメ』原作者・久住昌之氏による「ふらっと一杯」のグルメ動画だ。久住氏に竹芝グルメリウムの「美味しいもの」をばっちり堪能してもらおうと敢行したロケの様子は以下の通り。 ゆりかもめ・竹芝駅から続くコンコースに現れた久住氏。竹芝グ...</div> </a> <div class="content-feedlabel"><span></span></div> <div class="content-info flex-container flex-mobile"> <div class="content-author-avater flex-item"> <a href="/_users/16924426" class="content-author-image-link"> <span class="content-author-image wf-colorscheme-light"><span>孤</span></span> </a> </div> <div class="content-author-info flex-item flex-center flexible flex-container flex-mobile vertical flex-item-left"> <div class="flex-item" data-pubdate="2022-06-04"> <a href="/_users/16924426" class="content-author-name">孤独のグルメ編集部</a> <span class="content-author-site-wrap"> @ <a href="/_sites/16783601" class="content-author-site">孤独のグルメ</a> </span> </div> </div> </div> <div class="content-tags"> <a class="content-tag" data-tag="News" href="/_tags/News"><span>News</span></a> </div> </div> </div> </div> </div> <div data-content="17512101" data-published-at="2022-01-19T11:21:11+09:00" data-pubdate-recent="-past" data-tags=" News " class="wfcontent not-has-display-type "> <div class="wfcontent-container flex-container horizontal flex-mobile" data-pubdate="2022-01-19" style="position:relative; width:100%;"> <div class="content-leading flex-item"> <a href="https://kodokuno-gourmet.jp/_ct/17512101?" class="img-wrap " style="background-image:url(https://d1uzk9o9cg136f.cloudfront.net/f/16783601/rc/2022/01/19/2d9775168ab0e3f6764b0420c0ce868a1594c9cd_large.jpg);background-position:50% 50%;" > <img src="https://d1uzk9o9cg136f.cloudfront.net/f/16783601/rc/2022/01/19/2d9775168ab0e3f6764b0420c0ce868a1594c9cd_large.jpg" style="visibility:hidden;width:100%;height:100%;display:block;" > </a> </div> <div class="flex-item flexible"> <div class="content-body-container"> <a href="https://kodokuno-gourmet.jp/_ct/17512101?" class="content-link " > <h2 class="content-title ptc-rev">『孤独のグルメ』の久住昌之が谷口ジロー展の魅力を語る!</h2> <div class="content-body">『孤独のグルメ』(原作・久住昌之)、『「坊っちゃん」の時代』(共作・関川夏央)、『歩くひと』などで知られる漫画家・谷口ジロー(1947年~2017年)の自筆原画約300点を紹介した展覧会「描くひと 谷口ジロー展」が現在世田谷文学館(東京都世田谷区)で開催中だ(2021年10月16日~2022年2月27日)。 日本国内はもちろん、フランスなど海外でも高い評価を受け、2011年にはフランス政府芸術文化勲章(シュヴァリエ)も受章している谷口氏。その画業の集大成ともいうべき今回の展示は、繊細であまりに緻密な描き込みに圧倒される感想が多く、なかには『すごすぎてわけがわからない』という声もあったほど...</div> </a> <div class="content-feedlabel"><span></span></div> <div class="content-info flex-container flex-mobile"> <div class="content-author-avater flex-item"> <a href="/_users/16924426" class="content-author-image-link"> <span class="content-author-image wf-colorscheme-light"><span>孤</span></span> </a> </div> <div class="content-author-info flex-item flex-center flexible flex-container flex-mobile vertical flex-item-left"> <div class="flex-item" data-pubdate="2022-01-19"> <a href="/_users/16924426" class="content-author-name">孤独のグルメ編集部</a> <span class="content-author-site-wrap"> @ <a href="/_sites/16783601" class="content-author-site">孤独のグルメ</a> </span> </div> </div> </div> <div class="content-tags"> <a class="content-tag" data-tag="News" href="/_tags/News"><span>News</span></a> </div> </div> </div> </div> </div> <a id="newsfeed-next" data-next-page="2" href="?p=2"><span>続きを読む</span></a> </div> </div> </div> <div class="widgets"> <!-- free_box6 --><div id="magazineInfomationSideColumn" class="widget"></div> <!-- ptlcache cached widgets_hot S 16777589:ja:0:3 --> <div class="widget widget-hot"> <h3><a href="/_hot"><span>人気記事</span></a></h3> <ul> <li class="widget-content with-author-info with-author-site flex-container flex-mobile " data-content="17718898" data-tags=" News カルーセル " data-author-name="孤独のグルメ編集部" data-author-site="孤独のグルメ"> <div class="widget-content-leading flex-item"> <a href="https://kodokuno-gourmet.jp/_ct/17718898?fr=wg&ct=hot" class="img-wrap " style="background-image:url(https://d1uzk9o9cg136f.cloudfront.net/f/16783601/rc/2024/09/02/40d645f01cd0925d8898a3dadc1e4c8dca4299c4_small.jpg)" > <img src="https://d1uzk9o9cg136f.cloudfront.net/f/16783601/rc/2024/09/02/40d645f01cd0925d8898a3dadc1e4c8dca4299c4_small.jpg" style="visibility:hidden;"> </a> </div> <div class="widget-content-text flex-item"> <a href="https://kodokuno-gourmet.jp/_ct/17718898?fr=wg&ct=hot" class="widget-content-link " > <div class="widget-content-title">『孤独のグルメ』映画化!「観たら腹が減りますよ」と松重豊が太鼓判。久住昌之からもコメント到着</div> <div class="widget-content-author">孤独のグルメ編集部 <span class="widget-content-author-site-wrap">@ 孤独のグルメ</span> </div> </a> </div> <li class="widget-content with-author-info with-author-site flex-container flex-mobile " data-content="17475152" data-tags=" カルーセル " data-author-name="孤独のグルメ編集部" data-author-site="孤独のグルメ"> <div class="widget-content-leading flex-item"> <a href="https://kodokuno-gourmet.jp/_ct/17475152?fr=wg&ct=hot" class="img-wrap " style="background-image:url(https://d1uzk9o9cg136f.cloudfront.net/f/16783601/rc/2021/08/20/5c9fb49166454a47a27f6f9edee49442076ae22a_small.jpg)" > <img src="https://d1uzk9o9cg136f.cloudfront.net/f/16783601/rc/2021/08/20/5c9fb49166454a47a27f6f9edee49442076ae22a_small.jpg" style="visibility:hidden;"> </a> </div> <div class="widget-content-text flex-item"> <a href="https://kodokuno-gourmet.jp/_ct/17475152?fr=wg&ct=hot" class="widget-content-link " > <div class="widget-content-title">キャラクター紹介</div> <div class="widget-content-author">孤独のグルメ編集部 <span class="widget-content-author-site-wrap">@ 孤独のグルメ</span> </div> </a> </div> <li class="widget-content with-author-info with-author-site flex-container flex-mobile " data-content="17704195" data-tags=" News sponsored " data-author-name="孤独のグルメ編集部" data-author-site="孤独のグルメ"> <div class="widget-content-leading flex-item"> <a href="https://kodokuno-gourmet.jp/_ct/17704195?fr=wg&ct=hot" class="img-wrap " style="background-image:url(https://d1uzk9o9cg136f.cloudfront.net/f/16783601/rc/2024/06/07/aa7b64bc29c7b182311ee05f6613e899aaebfa36_small.jpg)" > <img src="https://d1uzk9o9cg136f.cloudfront.net/f/16783601/rc/2024/06/07/aa7b64bc29c7b182311ee05f6613e899aaebfa36_small.jpg" style="visibility:hidden;"> </a> </div> <div class="widget-content-text flex-item"> <a href="https://kodokuno-gourmet.jp/_ct/17704195?fr=wg&ct=hot" class="widget-content-link " > <div class="widget-content-title">久住昌之が実食! 孤独のグルメふるさと納税企画</div> <div class="widget-content-author">孤独のグルメ編集部 <span class="widget-content-author-site-wrap">@ 孤独のグルメ</span> </div> </a> </div> <li class="widget-content with-author-info with-author-site flex-container flex-mobile " data-content="17600855" data-author-name="孤独のグルメ編集部" data-author-site="孤独のグルメ"> <div class="widget-content-leading flex-item"> <a href="https://kodokuno-gourmet.jp/_ct/17600855?fr=wg&ct=hot" class="img-wrap " style="background-image:url(https://d1uzk9o9cg136f.cloudfront.net/f/16783601/rc/2023/01/19/fea428993c077e3a1f0ed57023fc580b6b29cc82_small.jpg)" > <img src="https://d1uzk9o9cg136f.cloudfront.net/f/16783601/rc/2023/01/19/fea428993c077e3a1f0ed57023fc580b6b29cc82_small.jpg" style="visibility:hidden;"> </a> </div> <div class="widget-content-text flex-item"> <a href="https://kodokuno-gourmet.jp/_ct/17600855?fr=wg&ct=hot" class="widget-content-link " > <div class="widget-content-title">孤独のグルメ 漫画試し読み「静岡県静岡市青葉横丁の汁おでん」を無料公開!</div> <div class="widget-content-author">孤独のグルメ編集部 <span class="widget-content-author-site-wrap">@ 孤独のグルメ</span> </div> </a> </div> <li class="widget-content with-author-info with-author-site flex-container flex-mobile " data-content="17662057" data-tags=" News sponsored " data-author-name="孤独のグルメ編集部" data-author-site="孤独のグルメ"> <div class="widget-content-leading flex-item"> <a href="https://kodokuno-gourmet.jp/_ct/17662057?fr=wg&ct=hot" class="img-wrap " style="background-image:url(https://d1uzk9o9cg136f.cloudfront.net/f/16783601/rc/2023/10/18/89eaa320375398e2c930966fda5d89070a436caf_small.jpg)" > <img src="https://d1uzk9o9cg136f.cloudfront.net/f/16783601/rc/2023/10/18/89eaa320375398e2c930966fda5d89070a436caf_small.jpg" style="visibility:hidden;"> </a> </div> <div class="widget-content-text flex-item"> <a href="https://kodokuno-gourmet.jp/_ct/17662057?fr=wg&ct=hot" class="widget-content-link " > <div class="widget-content-title">久住昌之が「ひとりめし天国」ソウルをふらっと訪問!</div> <div class="widget-content-author">孤独のグルメ編集部 <span class="widget-content-author-site-wrap">@ 孤独のグルメ</span> </div> </a> </div> <li class="widget-content with-author-info with-author-site flex-container flex-mobile " data-content="17477471" data-tags=" 誕生・制作秘話 カルーセル " data-author-name="孤独のグルメ編集部" data-author-site="孤独のグルメ"> <div class="widget-content-leading flex-item"> <a href="https://kodokuno-gourmet.jp/_ct/17477471?fr=wg&ct=hot" class="img-wrap " style="background-image:url(https://d1uzk9o9cg136f.cloudfront.net/f/16783601/rc/2021/08/31/3f6d7d45d4c643195f79d273b655f43799fddc11_small.jpg)" > <img src="https://d1uzk9o9cg136f.cloudfront.net/f/16783601/rc/2021/08/31/3f6d7d45d4c643195f79d273b655f43799fddc11_small.jpg" style="visibility:hidden;"> </a> </div> <div class="widget-content-text flex-item"> <a href="https://kodokuno-gourmet.jp/_ct/17477471?fr=wg&ct=hot" class="widget-content-link " > <div class="widget-content-title">『孤独のグルメ』はどのようにして生まれたのか? 原作者・久住昌之×初代編集担当・壹岐真也 特別インタビュー</div> <div class="widget-content-author">孤独のグルメ編集部 <span class="widget-content-author-site-wrap">@ 孤独のグルメ</span> </div> </a> </div> <li class="widget-content with-author-info with-author-site flex-container flex-mobile " data-content="17474727" data-tags=" カルーセル " data-author-name="孤独のグルメ編集部" data-author-site="孤独のグルメ"> <div class="widget-content-leading flex-item"> <a href="https://kodokuno-gourmet.jp/_ct/17474727?fr=wg&ct=hot" class="img-wrap " style="background-image:url(https://d1uzk9o9cg136f.cloudfront.net/f/16783601/rc/2021/08/19/f3ae7260c4e5ff5196b6a921e1f22b57d8a17921_small.jpg)" > <img src="https://d1uzk9o9cg136f.cloudfront.net/f/16783601/rc/2021/08/19/f3ae7260c4e5ff5196b6a921e1f22b57d8a17921_small.jpg" style="visibility:hidden;"> </a> </div> <div class="widget-content-text flex-item"> <a href="https://kodokuno-gourmet.jp/_ct/17474727?fr=wg&ct=hot" class="widget-content-link " > <div class="widget-content-title">『孤独のグルメ』とは</div> <div class="widget-content-author">孤独のグルメ編集部 <span class="widget-content-author-site-wrap">@ 孤独のグルメ</span> </div> </a> </div> <li class="widget-content with-author-info with-author-site flex-container flex-mobile " data-content="17477459" data-tags=" 誕生・制作秘話 " data-author-name="孤独のグルメ編集部" data-author-site="孤独のグルメ"> <div class="widget-content-leading flex-item"> <a href="https://kodokuno-gourmet.jp/_ct/17477459?fr=wg&ct=hot" class="img-wrap " style="background-image:url(https://d1uzk9o9cg136f.cloudfront.net/f/16783601/rc/2021/08/31/af29b23ea81891b570309448f84cf76a1b5881d7_small.jpg)" > <img src="https://d1uzk9o9cg136f.cloudfront.net/f/16783601/rc/2021/08/31/af29b23ea81891b570309448f84cf76a1b5881d7_small.jpg" style="visibility:hidden;"> </a> </div> <div class="widget-content-text flex-item"> <a href="https://kodokuno-gourmet.jp/_ct/17477459?fr=wg&ct=hot" class="widget-content-link " > <div class="widget-content-title">作画・谷口ジローが語る『孤独のグルメ』制作裏話</div> <div class="widget-content-author">孤独のグルメ編集部 <span class="widget-content-author-site-wrap">@ 孤独のグルメ</span> </div> </a> </div> <li class="widget-content with-author-info with-author-site flex-container flex-mobile " data-content="17572045" data-tags=" News " data-author-name="孤独のグルメ編集部" data-author-site="孤独のグルメ"> <div class="widget-content-leading flex-item"> <a href="https://kodokuno-gourmet.jp/_ct/17572045?fr=wg&ct=hot" class="img-wrap " style="background-image:url(https://d1uzk9o9cg136f.cloudfront.net/f/16783601/rc/2022/09/21/a92b8d5bf7bf8ed4578db48abd21885b6317e8eb_small.jpg)" > <img src="https://d1uzk9o9cg136f.cloudfront.net/f/16783601/rc/2022/09/21/a92b8d5bf7bf8ed4578db48abd21885b6317e8eb_small.jpg" style="visibility:hidden;"> </a> </div> <div class="widget-content-text flex-item"> <a href="https://kodokuno-gourmet.jp/_ct/17572045?fr=wg&ct=hot" class="widget-content-link " > <div class="widget-content-title">久住昌之トークイベント「孤独のグルメの素」のダイジェスト動画を公開!</div> <div class="widget-content-author">孤独のグルメ編集部 <span class="widget-content-author-site-wrap">@ 孤独のグルメ</span> </div> </a> </div> <li class="widget-content with-author-info with-author-site flex-container flex-mobile " data-content="17566693" data-tags=" News sponsored " data-author-name="孤独のグルメ編集部" data-author-site="孤独のグルメ"> <div class="widget-content-leading flex-item"> <a href="https://kodokuno-gourmet.jp/_ct/17566693?fr=wg&ct=hot" class="img-wrap " style="background-image:url(https://d1uzk9o9cg136f.cloudfront.net/f/16783601/rc/2022/09/07/e895e9873db9978131f3870f19b6a7af76b68a34_small.jpg)" > <img src="https://d1uzk9o9cg136f.cloudfront.net/f/16783601/rc/2022/09/07/e895e9873db9978131f3870f19b6a7af76b68a34_small.jpg" style="visibility:hidden;" loading="lazy"> </a> </div> <div class="widget-content-text flex-item"> <a href="https://kodokuno-gourmet.jp/_ct/17566693?fr=wg&ct=hot" class="widget-content-link " > <div class="widget-content-title">孤独のグルメコラボ記念 竹芝グルメリウムで久住昌之がふらっと一杯</div> <div class="widget-content-author">孤独のグルメ編集部 <span class="widget-content-author-site-wrap">@ 孤独のグルメ</span> </div> </a> </div> </ul> </div> <!-- end ptlcache --> <div class="widget widget-bookmarks"><!-- placeholder --></div> <!-- free_box7 --><div class="widget side-menu"> <h3>メニュー</h3> <ul class="widget-tags-list horizontal"> <li><a href="/contact">お問い合わせ</a></li> <li><a href="/company">運営会社</a></li> <li><a href="/privacy">プライバシーポリシー</a></li> <li><a href="/cookie">cookie利用について</a></li> </ul> </div> <!--<div class="widget banners"> <a href="/company"> <img src="https://placehold.jp/750x300.png?text=banner" alt="画像のタイトル" loading="lazy"> </a> <a href="/company" class="has-border"> <img src="https://placehold.jp/ffffff/cccccc/750x300.png?text=banner" alt="画像のタイトル" loading="lazy"> </a> </div>--> <!-- /is_preview --> </div> </div> </div> <div id="footer"><div id="footer-container"> <!-- サイドカラム(PC)、メニュー(SP)雑誌情報 --> <div id="magazineInfomationWrap"> <!--h3></h3--> <div class="magazineInfomation"> <div class="magazineInfomationImg"><a href="/_ct/17474961#c17474961_h1_s3 "><img src="https://d1uzk9o9cg136f.cloudfront.net/f/portal/16777589/rc/2021/08/25/32f2b5ecdc88ffd2efc29549849239132da6ffcb_xlarge.jpg" alt="『孤独のグルメ2』"></a></div> <div class="magazineInfomationText"> 『孤独のグルメ2』 <!--p class="magazineInfomationRelease"></p> <p class="magazineInfomationPrice"></p--> </div> <div class="magazineInfomationlinkWrap"> <a class="magazineInfomationPurchase" href="https://www.amazon.co.jp/dp/B07124MCYG/ref=as_li_ss_tl?ie=UTF8&linkCode=ll1&tag=daylyspa-22&linkId=ddcd3d52733cdaecbf9752fa462f4d18&language=ja_JP" target="_blank" rel="nofollow noopener"><i class="fa fa-caret-right" aria-hidden="true"></i> Amazonで購入</a> <!--a class="magazineInfomationlink" href=""><i class="fa fa-caret-right" aria-hidden="true"></i> 内容を見る</a> <a class="magazineInfomationlink" href="" target="_blank" rel="nofollow noopener"><i class="fa fa-caret-right" aria-hidden="true"></i> 定期購読</a--> </div> </div> <div class="magazineInfomationSns"> <p class="magazineInfomationText2"></p> <!-- twitter --> <a class="sns-shares-twitter-widget" href="https://twitter.com/kodoku_fusosha" target="_blank" rel="noopener"> <i class="fa fa-twitter"></i></a> </div> </div> <style> #left-menu.opened #left-menu-container { -webkit-transform: translateY(100px); -moz-transform: translateY(100px); -ms-transform: translateY(100px); transform: translateY(100px); } @media (max-width: 767px) { #left-menu.opened #left-menu-container { padding-bottom: 100px; } } #footer #magazineInfomationWrap{ display: none; } .magazineInfomation { padding: 20px; background: #f2f2f2; } .magazineInfomationImg a { display: block; text-align: center; } .magazineInfomationText, .magazineInfomationText2 { margin: 15px 0 10px; width: 100%; } /* .magazineInfomationPrice, .magazineInfomationRelease { display: inline-block; margin: 0; } .magazineInfomationRelease { width: 3.5em; } */ .magazineInfomationPurchase, .magazineInfomationlink { display: block; width: 100%; background: #fff; margin: 5px 0 0; padding: 5px 10px 4px; font-size: 85%; -webkit-transition: opacity linear .1s; -moz-transition: opacity linear .1s; transition: opacity linear .1s; } .magazineInfomationPurchase { background: #cfba53; color: #fff !important; } .magazineInfomationlink { border: 1px solid rgba(207,186,83, .7); color: rgb(0,135,175) !important; } .magazineInfomationPurchase:hover, .magazineInfomationlink:hover { opacity: .75; text-decoration: none; } .magazineInfomationSns{ display: flex; flex-wrap: wrap; justify-content: center; clear: both; } .magazineInfomationSns a { width: 100%; text-align: center; color: #fff; opacity: .75; -webkit-transition: opacity linear .1s; -moz-transition: opacity linear .1s; transition: opacity linear .1s; font-size: 120%; margin: -5px 0 0; height: 1.7em; } .magazineInfomationSns a:hover { opacity: 1; } .magazineInfomationSns .sns-shares-facebook-widget{ background: #265a96; } .magazineInfomationSns .sns-shares-twitter-widget{ background: #00acec; } .magazineInfomationSns .sns-shares-instagram-widget{ background: #d93177; } @media (max-width: 767px) { #left-menu-container h3{ display: none; } #left-menu-container .magazineInfomation { background: #fff; border-top: 1px solid #f2f2f2; padding: 20px 20px 30px; } #left-menu-container .magazineInfomationImg{ width: 32%; float: left; } #left-menu-container .magazineInfomationText { width: 63%; margin: 0 0 10px 37%; } #left-menu-container .magazineInfomationlinkWrap { width: 63%; margin: 0 0 0 37%; } #left-menu-container .magazineInfomationSns { margin: 0 20px; } .magazineInfomationSns a { opacity: 1; } } </style> <script> $(function(){ $('#magazineInfomationWrap').appendTo('#magazineInfomationSideColumn'); $('#magazineInfomationWrap').clone(true).appendTo('#left-menu-container'); $('#left-menu-container #magazineInfomationWrap').addClass('for-mobile'); $('#header-menu a:not([href="/"])').clone().prependTo('.widget.side-menu ul').wrap('<li>'); }); </script> <div id="footer-system"> <div id="footer-copyright"> © 2021- Masayuki Qusumi,PAPIER/Jiro Taniguchi,FUSOSHA. All rights reserved. </div> <div id="footer-dnosign"> Built on <a rel="noopener" href="https://revolver.co.jp/" target="_blank">the dino platform</a>. </div> </div> </div></div> <div id="nativeadinfo" class="nativeadinfo"> <div class="nativeadinfo-container"> <p>This article is a sponsored article by <br />'<span id="id_advertiser_title"></span>'.</p> <!-- p>For more information, <br />please visit <a style="text-decoration:underline;" href="https://revolver.co.jp/" target="_blank">our native advertising policy</a>.</p --> </div> </div> <div style="display:none;"> <script> var STATIC_URL = '/static/dinoportal/'; var USE_SERVERSIDE_NATIVEAD_INFEED = false; </script> <!-- Piwik --> <script id="script-piwik-setting"> window._piwik = { 'BASE':'https://acs01.rvlvr.co/piwik/', 'trackers':{ '173':null, '763':null, }, 'pageview':null } </script> <script id="script-combined-dinoportal_piwik.js"> /*** combinestatic: generated:dinoportal_piwik.js ***/ /*** combinestatic: from:dinoportal/js/piwikutil.js ***/ (function(){Object.keys||(Object.keys=function(){"use strict";var a=Object.prototype.hasOwnProperty,b=!{toString:null}.propertyIsEnumerable("toString"),c=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],d=c.length;return function(e){if("object"!=typeof e&&("function"!=typeof e||null===e))throw new TypeError("Object.keys called on non-object");var g,h,f=[];for(g in e)a.call(e,g)&&f.push(g);if(b)for(h=0;h<d;h++)a.call(e,c[h])&&f.push(c[h]);return f}}()),Array.prototype.forEach||(Array.prototype.forEach=function(a,b){var c,d;if(null==this)throw new TypeError(" this is null or not defined");var e=Object(this),f=e.length>>>0;if("[object Function]"!={}.toString.call(a))throw new TypeError(a+" is not a function");for(b&&(c=b),d=0;d<f;){var g;d in e&&(g=e[d],a.call(c,g,d,e)),d++}}),Function.prototype.bind||(Function.prototype.bind=function(a){if("function"!=typeof this)throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");var b=Array.prototype.slice.call(arguments,1),c=this,d=function(){},e=function(){return c.apply(this instanceof d&&a?this:a,b.concat(Array.prototype.slice.call(arguments)))};return d.prototype=this.prototype,e.prototype=new d,e});function piwikInit(){try{Object.keys(window._piwik.trackers).forEach(function(idsite){var tracker=Piwik.getTracker(window._piwik.BASE+'piwik.php',idsite);this[idsite]=tracker;tracker.trackPageView();tracker.enableLinkTracking();}.bind(window._piwik.trackers));window._piwik.pageview=function(url,title,referrer){url=url||location.href;title=title||document.title;referrer=referrer||document.referrer;console.log(['_piwik.pageview:','url:'+url,'title:'+title.replace('\n','\n\t\t'),'referrer:'+referrer,].join('\n\t'));try{Object.keys(window._piwik.trackers).forEach(function(idsite){var tracker=this[idsite];tracker.setCustomUrl(url);tracker.setDocumentTitle(title);tracker.setReferrerUrl(referrer);tracker.trackPageView();}.bind(window._piwik.trackers));}catch(ex){console.error('_piwik.pageview:error:',ex);}};window._piwik.event=function(category,action,name,value){console.log(['_piwik.event:','category:'+category,'action:'+action,'name:'+name,'value:'+value].join('\n\t'));try{Object.keys(window._piwik.trackers).forEach(function(idsite){var tracker=this[idsite];tracker.trackEvent(category,action,name,value);}.bind(window._piwik.trackers));}catch(ex){console.error('_piwik.event:error:',ex);}} console.log('_piwik:initialized',window._piwik);}catch(ex){console.error('_piwik:initialize failed:',ex);Object.keys(window._piwik.trackers).forEach(function(idsite){var img=document.createElement('img');img.src=window._piwik.BASE.replace(/^https?:/,'')+'piwik.php?idsite='+idsite;img.style='border:0';img.alt='';document.body.appendChild(img);});}};window.piwikAsyncInit=!window.Piwik?piwikInit:(piwikInit(),undefined);})(); </script> <script src="https://acs01.rvlvr.co/piwik/piwik.js" async defer></script> <noscript> <img src="https://acs01.rvlvr.co/piwik/piwik.php?idsite=763&rec=1&url=https%3A//kodokuno-gourmet.jp/" style="border:0;" alt="" /> <img src="https://acs01.rvlvr.co/piwik/piwik.php?idsite=173&rec=1&url=https%3A//kodokuno-gourmet.jp/" style="border:0;" alt="" /> <img src="/_api/v1/dinoportal/acs_noscript?url=https%3A//kodokuno-gourmet.jp/" style="border:0;" alt="" /> </noscript> <!-- End Piwik Tracking Code --> <!-- /page.PIWIK_BASE_URL, /is_preview --> <script id="script-combined-dinoportal_base_bottom.js"> /*** combinestatic: generated:dinoportal_base_bottom.js ***/ /*** combinestatic: from:lib/js/modernizr-2.6.2.min.js ***/ ;window.Modernizr=(function(window,document,undefined){var version='2.6.2',Modernizr={},enableClasses=true,docElement=document.documentElement,mod='modernizr',modElem=document.createElement(mod),mStyle=modElem.style,inputElem=document.createElement('input'),smile=':)',toString={}.toString,prefixes=' -webkit- -moz- -o- -ms- '.split(' '),omPrefixes='Webkit Moz O ms',cssomPrefixes=omPrefixes.split(' '),domPrefixes=omPrefixes.toLowerCase().split(' '),ns={'svg':'http://www.w3.org/2000/svg'},tests={},inputs={},attrs={},classes=[],slice=classes.slice,featureName,injectElementWithStyles=function(rule,callback,nodes,testnames){var style,ret,node,docOverflow,div=document.createElement('div'),body=document.body,fakeBody=body||document.createElement('body');if(parseInt(nodes,10)){while(nodes--){node=document.createElement('div');node.id=testnames?testnames[nodes]:mod+(nodes+1);div.appendChild(node);}} style=['­','<style id="s',mod,'">',rule,'</style>'].join('');div.id=mod;(body?div:fakeBody).innerHTML+=style;fakeBody.appendChild(div);if(!body){fakeBody.style.background='';fakeBody.style.overflow='hidden';docOverflow=docElement.style.overflow;docElement.style.overflow='hidden';docElement.appendChild(fakeBody);} ret=callback(div,rule);if(!body){fakeBody.parentNode.removeChild(fakeBody);docElement.style.overflow=docOverflow;}else{div.parentNode.removeChild(div);} return!!ret;},testMediaQuery=function(mq){var matchMedia=window.matchMedia||window.msMatchMedia;if(matchMedia){return matchMedia(mq).matches;} var bool;injectElementWithStyles('@media '+mq+' { #'+mod+' { position: absolute; } }',function(node){bool=(window.getComputedStyle?getComputedStyle(node,null):node.currentStyle)['position']=='absolute';});return bool;},isEventSupported=(function(){var TAGNAMES={'select':'input','change':'input','submit':'form','reset':'form','error':'img','load':'img','abort':'img'};function isEventSupported(eventName,element){element=element||document.createElement(TAGNAMES[eventName]||'div');eventName='on'+eventName;var isSupported=eventName in element;if(!isSupported){if(!element.setAttribute){element=document.createElement('div');} if(element.setAttribute&&element.removeAttribute){element.setAttribute(eventName,'');isSupported=is(element[eventName],'function');if(!is(element[eventName],'undefined')){element[eventName]=undefined;} element.removeAttribute(eventName);}} element=null;return isSupported;} return isEventSupported;})(),_hasOwnProperty=({}).hasOwnProperty,hasOwnProp;if(!is(_hasOwnProperty,'undefined')&&!is(_hasOwnProperty.call,'undefined')){hasOwnProp=function(object,property){return _hasOwnProperty.call(object,property);};} else{hasOwnProp=function(object,property){return((property in object)&&is(object.constructor.prototype[property],'undefined'));};} if(!Function.prototype.bind){Function.prototype.bind=function bind(that){var target=this;if(typeof target!="function"){throw new TypeError();} var args=slice.call(arguments,1),bound=function(){if(this instanceof bound){var F=function(){};F.prototype=target.prototype;var self=new F();var result=target.apply(self,args.concat(slice.call(arguments)));if(Object(result)===result){return result;} return self;}else{return target.apply(that,args.concat(slice.call(arguments)));}};return bound;};} function setCss(str){mStyle.cssText=str;} function setCssAll(str1,str2){return setCss(prefixes.join(str1+';')+(str2||''));} function is(obj,type){return typeof obj===type;} function contains(str,substr){return!!~(''+str).indexOf(substr);} function testProps(props,prefixed){for(var i in props){var prop=props[i];if(!contains(prop,"-")&&mStyle[prop]!==undefined){return prefixed=='pfx'?prop:true;}} return false;} function testDOMProps(props,obj,elem){for(var i in props){var item=obj[props[i]];if(item!==undefined){if(elem===false)return props[i];if(is(item,'function')){return item.bind(elem||obj);} return item;}} return false;} function testPropsAll(prop,prefixed,elem){var ucProp=prop.charAt(0).toUpperCase()+prop.slice(1),props=(prop+' '+cssomPrefixes.join(ucProp+' ')+ucProp).split(' ');if(is(prefixed,"string")||is(prefixed,"undefined")){return testProps(props,prefixed);}else{props=(prop+' '+(domPrefixes).join(ucProp+' ')+ucProp).split(' ');return testDOMProps(props,prefixed,elem);}}tests['flexbox']=function(){return testPropsAll('flexWrap');};tests['canvas']=function(){var elem=document.createElement('canvas');return!!(elem.getContext&&elem.getContext('2d'));};tests['canvastext']=function(){return!!(Modernizr['canvas']&&is(document.createElement('canvas').getContext('2d').fillText,'function'));};tests['webgl']=function(){return!!window.WebGLRenderingContext;};tests['touch']=function(){var bool;if(('ontouchstart'in window)||window.DocumentTouch&&document instanceof DocumentTouch){bool=true;}else{injectElementWithStyles(['@media (',prefixes.join('touch-enabled),('),mod,')','{#modernizr{top:9px;position:absolute}}'].join(''),function(node){bool=node.offsetTop===9;});} return bool;};tests['geolocation']=function(){return'geolocation'in navigator;};tests['postmessage']=function(){return!!window.postMessage;};tests['websqldatabase']=function(){return!!window.openDatabase;};tests['indexedDB']=function(){return!!testPropsAll("indexedDB",window);};tests['hashchange']=function(){return isEventSupported('hashchange',window)&&(document.documentMode===undefined||document.documentMode>7);};tests['history']=function(){return!!(window.history&&history.pushState);};tests['draganddrop']=function(){var div=document.createElement('div');return('draggable'in div)||('ondragstart'in div&&'ondrop'in div);};tests['websockets']=function(){return'WebSocket'in window||'MozWebSocket'in window;};tests['rgba']=function(){setCss('background-color:rgba(150,255,150,.5)');return contains(mStyle.backgroundColor,'rgba');};tests['hsla']=function(){setCss('background-color:hsla(120,40%,100%,.5)');return contains(mStyle.backgroundColor,'rgba')||contains(mStyle.backgroundColor,'hsla');};tests['multiplebgs']=function(){setCss('background:url(https://),url(https://),red url(https://)');return(/(url\s*\(.*?){3}/).test(mStyle.background);};tests['backgroundsize']=function(){return testPropsAll('backgroundSize');};tests['borderimage']=function(){return testPropsAll('borderImage');};tests['borderradius']=function(){return testPropsAll('borderRadius');};tests['boxshadow']=function(){return testPropsAll('boxShadow');};tests['textshadow']=function(){return document.createElement('div').style.textShadow==='';};tests['opacity']=function(){setCssAll('opacity:.55');return(/^0.55$/).test(mStyle.opacity);};tests['cssanimations']=function(){return testPropsAll('animationName');};tests['csscolumns']=function(){return testPropsAll('columnCount');};tests['cssgradients']=function(){var str1='background-image:',str2='gradient(linear,left top,right bottom,from(#9f9),to(white));',str3='linear-gradient(left top,#9f9, white);';setCss((str1+'-webkit- '.split(' ').join(str2+str1)+ prefixes.join(str3+str1)).slice(0,-str1.length));return contains(mStyle.backgroundImage,'gradient');};tests['cssreflections']=function(){return testPropsAll('boxReflect');};tests['csstransforms']=function(){return!!testPropsAll('transform');};tests['csstransforms3d']=function(){var ret=!!testPropsAll('perspective');if(ret&&'webkitPerspective'in docElement.style){injectElementWithStyles('@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}',function(node,rule){ret=node.offsetLeft===9&&node.offsetHeight===3;});} return ret;};tests['csstransitions']=function(){return testPropsAll('transition');};tests['fontface']=function(){var bool;injectElementWithStyles('@font-face {font-family:"font";src:url("https://")}',function(node,rule){var style=document.getElementById('smodernizr'),sheet=style.sheet||style.styleSheet,cssText=sheet?(sheet.cssRules&&sheet.cssRules[0]?sheet.cssRules[0].cssText:sheet.cssText||''):'';bool=/src/i.test(cssText)&&cssText.indexOf(rule.split(' ')[0])===0;});return bool;};tests['generatedcontent']=function(){var bool;injectElementWithStyles(['#',mod,'{font:0/0 a}#',mod,':after{content:"',smile,'";visibility:hidden;font:3px/1 a}'].join(''),function(node){bool=node.offsetHeight>=3;});return bool;};tests['video']=function(){var elem=document.createElement('video'),bool=false;try{if(bool=!!elem.canPlayType){bool=new Boolean(bool);bool.ogg=elem.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,'');bool.h264=elem.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,'');bool.webm=elem.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,'');}}catch(e){} return bool;};tests['audio']=function(){var elem=document.createElement('audio'),bool=false;try{if(bool=!!elem.canPlayType){bool=new Boolean(bool);bool.ogg=elem.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,'');bool.mp3=elem.canPlayType('audio/mpeg;').replace(/^no$/,'');bool.wav=elem.canPlayType('audio/wav; codecs="1"').replace(/^no$/,'');bool.m4a=(elem.canPlayType('audio/x-m4a;')||elem.canPlayType('audio/aac;')).replace(/^no$/,'');}}catch(e){} return bool;};tests['localstorage']=function(){try{localStorage.setItem(mod,mod);localStorage.removeItem(mod);return true;}catch(e){return false;}};tests['sessionstorage']=function(){try{sessionStorage.setItem(mod,mod);sessionStorage.removeItem(mod);return true;}catch(e){return false;}};tests['webworkers']=function(){return!!window.Worker;};tests['applicationcache']=function(){return!!window.applicationCache;};tests['svg']=function(){return!!document.createElementNS&&!!document.createElementNS(ns.svg,'svg').createSVGRect;};tests['inlinesvg']=function(){var div=document.createElement('div');div.innerHTML='<svg/>';return(div.firstChild&&div.firstChild.namespaceURI)==ns.svg;};tests['smil']=function(){return!!document.createElementNS&&/SVGAnimate/.test(toString.call(document.createElementNS(ns.svg,'animate')));};tests['svgclippaths']=function(){return!!document.createElementNS&&/SVGClipPath/.test(toString.call(document.createElementNS(ns.svg,'clipPath')));};function webforms(){Modernizr['input']=(function(props){for(var i=0,len=props.length;i<len;i++){attrs[props[i]]=!!(props[i]in inputElem);} if(attrs.list){attrs.list=!!(document.createElement('datalist')&&window.HTMLDataListElement);} return attrs;})('autocomplete autofocus list placeholder max min multiple pattern required step'.split(' '));Modernizr['inputtypes']=(function(props){for(var i=0,bool,inputElemType,defaultView,len=props.length;i<len;i++){inputElem.setAttribute('type',inputElemType=props[i]);bool=inputElem.type!=='text';if(bool){inputElem.value=smile;inputElem.style.cssText='position:absolute;visibility:hidden;';if(/^range$/.test(inputElemType)&&inputElem.style.WebkitAppearance!==undefined){docElement.appendChild(inputElem);defaultView=document.defaultView;bool=defaultView.getComputedStyle&&defaultView.getComputedStyle(inputElem,null).WebkitAppearance!=='textfield'&&(inputElem.offsetHeight!==0);docElement.removeChild(inputElem);}else if(/^(search|tel)$/.test(inputElemType)){}else if(/^(url|email)$/.test(inputElemType)){bool=inputElem.checkValidity&&inputElem.checkValidity()===false;}else{bool=inputElem.value!=smile;}} inputs[props[i]]=!!bool;} return inputs;})('search tel url email datetime date month week time datetime-local number range color'.split(' '));} for(var feature in tests){if(hasOwnProp(tests,feature)){featureName=feature.toLowerCase();Modernizr[featureName]=tests[feature]();classes.push((Modernizr[featureName]?'':'no-')+featureName);}} Modernizr.input||webforms();Modernizr.addTest=function(feature,test){if(typeof feature=='object'){for(var key in feature){if(hasOwnProp(feature,key)){Modernizr.addTest(key,feature[key]);}}}else{feature=feature.toLowerCase();if(Modernizr[feature]!==undefined){return Modernizr;} test=typeof test=='function'?test():test;if(typeof enableClasses!=="undefined"&&enableClasses){docElement.className+=' '+(test?'':'no-')+feature;} Modernizr[feature]=test;} return Modernizr;};setCss('');modElem=inputElem=null;;(function(window,document){var options=window.html5||{};var reSkip=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i;var saveClones=/^(?: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;var supportsHtml5Styles;var expando='_html5shiv';var expanID=0;var expandoData={};var supportsUnknownElements;(function(){try{var a=document.createElement('a');a.innerHTML='<xyz></xyz>';supportsHtml5Styles=('hidden'in a);supportsUnknownElements=a.childNodes.length==1||(function(){(document.createElement)('a');var frag=document.createDocumentFragment();return(typeof frag.cloneNode=='undefined'||typeof frag.createDocumentFragment=='undefined'||typeof frag.createElement=='undefined');}());}catch(e){supportsHtml5Styles=true;supportsUnknownElements=true;}}());function addStyleSheet(ownerDocument,cssText){var p=ownerDocument.createElement('p'),parent=ownerDocument.getElementsByTagName('head')[0]||ownerDocument.documentElement;p.innerHTML='x<style>'+cssText+'</style>';return parent.insertBefore(p.lastChild,parent.firstChild);} function getElements(){var elements=html5.elements;return typeof elements=='string'?elements.split(' '):elements;} function getExpandoData(ownerDocument){var data=expandoData[ownerDocument[expando]];if(!data){data={};expanID++;ownerDocument[expando]=expanID;expandoData[expanID]=data;} return data;} function createElement(nodeName,ownerDocument,data){if(!ownerDocument){ownerDocument=document;} if(supportsUnknownElements){return ownerDocument.createElement(nodeName);} if(!data){data=getExpandoData(ownerDocument);} var node;if(data.cache[nodeName]){node=data.cache[nodeName].cloneNode();}else if(saveClones.test(nodeName)){node=(data.cache[nodeName]=data.createElem(nodeName)).cloneNode();}else{node=data.createElem(nodeName);} return node.canHaveChildren&&!reSkip.test(nodeName)?data.frag.appendChild(node):node;} function createDocumentFragment(ownerDocument,data){if(!ownerDocument){ownerDocument=document;} if(supportsUnknownElements){return ownerDocument.createDocumentFragment();} data=data||getExpandoData(ownerDocument);var clone=data.frag.cloneNode(),i=0,elems=getElements(),l=elems.length;for(;i<l;i++){clone.createElement(elems[i]);} return clone;} function shivMethods(ownerDocument,data){if(!data.cache){data.cache={};data.createElem=ownerDocument.createElement;data.createFrag=ownerDocument.createDocumentFragment;data.frag=data.createFrag();} ownerDocument.createElement=function(nodeName){if(!html5.shivMethods){return data.createElem(nodeName);} return createElement(nodeName,ownerDocument,data);};ownerDocument.createDocumentFragment=Function('h,f','return function(){'+'var n=f.cloneNode(),c=n.createElement;'+'h.shivMethods&&('+ getElements().join().replace(/\w+/g,function(nodeName){data.createElem(nodeName);data.frag.createElement(nodeName);return'c("'+nodeName+'")';})+');return n}')(html5,data.frag);}function shivDocument(ownerDocument){if(!ownerDocument){ownerDocument=document;} var data=getExpandoData(ownerDocument);if(html5.shivCSS&&!supportsHtml5Styles&&!data.hasCSS){data.hasCSS=!!addStyleSheet(ownerDocument,'article,aside,figcaption,figure,footer,header,hgroup,nav,section{display:block}'+'mark{background:#FF0;color:#000}');} if(!supportsUnknownElements){shivMethods(ownerDocument,data);} return ownerDocument;}var html5={'elements':options.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':(options.shivCSS!==false),'supportsUnknownElements':supportsUnknownElements,'shivMethods':(options.shivMethods!==false),'type':'default','shivDocument':shivDocument,createElement:createElement,createDocumentFragment:createDocumentFragment};window.html5=html5;shivDocument(document);}(this,document));Modernizr._version=version;Modernizr._prefixes=prefixes;Modernizr._domPrefixes=domPrefixes;Modernizr._cssomPrefixes=cssomPrefixes;Modernizr.mq=testMediaQuery;Modernizr.hasEvent=isEventSupported;Modernizr.testProp=function(prop){return testProps([prop]);};Modernizr.testAllProps=testPropsAll;Modernizr.testStyles=injectElementWithStyles;Modernizr.prefixed=function(prop,obj,elem){if(!obj){return testPropsAll(prop,'pfx');}else{return testPropsAll(prop,obj,elem);}};docElement.className=docElement.className.replace(/(^|\s)no-js(\s|$)/,'$1$2')+ (enableClasses?' js '+classes.join(' '):'');return Modernizr;})(this,this.document);(function(a,b,c){function d(a){return"[object Function]"==o.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=p.shift();q=1,a?a.t?m(function(){("c"==a.t?B.injectCss:B.injectJs)(a.s,0,a.a,a.x,a.e,1)},0):(a(),h()):q=0}function i(a,c,d,e,f,i,j){function k(b){if(!o&&g(l.readyState)&&(u.r=o=1,!q&&h(),l.onload=l.onreadystatechange=null,b)){"img"!=a&&m(function(){t.removeChild(l)},50);for(var d in y[c])y[c].hasOwnProperty(d)&&y[c][d].onload()}}var j=j||B.errorTimeout,l=b.createElement(a),o=0,r=0,u={t:d,s:c,e:f,a:i,x:j};1===y[c]&&(r=1,y[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,r)},p.splice(e,0,u),"img"!=a&&(r||2===y[c]?(t.insertBefore(l,s?null:n),m(k,j)):y[c].push(l))}function j(a,b,c,d,f){return q=0,b=b||"j",e(a)?i("c"==b?v:u,a,b,this.i++,c,d,f):(p.splice(this.i++,0,a),1==p.length&&h()),this}function k(){var a=B;return a.loader={load:j,i:0},a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in l.style,s=r&&!!b.createRange().compareNode,t=s?l:n.parentNode,l=a.opera&&"[object Opera]"==o.call(a.opera),l=!!b.attachEvent&&!l,u=r?"object":l?"script":"img",v=l?"script":u,w=Array.isArray||function(a){return"[object Array]"==o.call(a)},x=[],y={},z={timeout:function(a,b){return b.length&&(a.timeout=b[0]),a}},A,B;B=function(a){function b(a){var a=a.split("!"),b=x.length,c=a.pop(),d=a.length,c={url:c,origUrl:c,prefixes:a},e,f,g;for(f=0;f<d;f++)g=a[f].split("="),(e=z[g.shift()])&&(c=e(c,g));for(f=0;f<b;f++)c=x[f](c);return c}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):(y[i.url]?i.noexec=!0:y[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),y[i.url]=2})))}function h(a,b){function c(a,c){if(a){if(e(a))c||(j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}),g(a,j,b,0,h);else if(Object(a)===a)for(n in m=function(){var b=0,c;for(c in a)a.hasOwnProperty(c)&&b++;return b}(),a)a.hasOwnProperty(n)&&(!c&&!--m&&(d(j)?j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}:j[n]=function(a){return function(){var b=[].slice.call(arguments);a&&a.apply(this,b),l()}}(k[n])),g(a[n],j,b,n,h))}else!c&&l()}var h=!!a.test,i=a.load||a.both,j=a.callback||f,k=j,l=a.complete||f,m,n;c(h?a.yep:a.nope,!!i),i&&c(i)}var i,j,l=this.yepnope.loader;if(e(a))g(a,0,l,0);else if(w(a))for(i=0;i<a.length;i++)j=a[i],e(j)?g(j,0,l,0):w(j)?B(j):Object(j)===j&&h(j,l);else Object(a)===a&&h(a,l)},B.addPrefix=function(a,b){z[a]=b},B.addFilter=function(a){x.push(a)},B.errorTimeout=1e4,null==b.readyState&&b.addEventListener&&(b.readyState="loading",b.addEventListener("DOMContentLoaded",A=function(){b.removeEventListener("DOMContentLoaded",A,0),b.readyState="complete"},0)),a.yepnope=k(),a.yepnope.executeStack=h,a.yepnope.injectJs=function(a,c,d,e,i,j){var k=b.createElement("script"),l,o,e=e||B.errorTimeout;k.src=a;for(o in d)k.setAttribute(o,d[o]);c=j?h:c||f,k.onreadystatechange=k.onload=function(){!l&&g(k.readyState)&&(l=1,c(),k.onload=k.onreadystatechange=null)},m(function(){l||(l=1,c(1))},e),i?k.onload():n.parentNode.insertBefore(k,n)},a.yepnope.injectCss=function(a,c,d,e,g,i){var e=b.createElement("link"),j,c=i?h:c||f;e.href=a,e.rel="stylesheet",e.type="text/css";for(j in d)e.setAttribute(j,d[j]);g||(n.parentNode.insertBefore(e,n),m(c,0))}})(this,document);Modernizr.load=function(){yepnope.apply(window,[].slice.call(arguments,0));};; /*** combinestatic: from:lib/js/jquery.json-2.3.js ***/ (function($){var escapeable=/["\\\x00-\x1f\x7f-\x9f]/g,meta={'\b':'\\b','\t':'\\t','\n':'\\n','\f':'\\f','\r':'\\r','"':'\\"','\\':'\\\\'};$.toJSON=typeof JSON==='object'&&JSON.stringify?JSON.stringify:function(o){if(o===null){return'null';} var type=typeof o;if(type==='undefined'){return undefined;} if(type==='number'||type==='boolean'){return''+o;} if(type==='string'){return $.quoteString(o);} if(type==='object'){if(typeof o.toJSON==='function'){return $.toJSON(o.toJSON());} if(o.constructor===Date){var month=o.getUTCMonth()+1,day=o.getUTCDate(),year=o.getUTCFullYear(),hours=o.getUTCHours(),minutes=o.getUTCMinutes(),seconds=o.getUTCSeconds(),milli=o.getUTCMilliseconds();if(month<10){month='0'+month;} if(day<10){day='0'+day;} if(hours<10){hours='0'+hours;} if(minutes<10){minutes='0'+minutes;} if(seconds<10){seconds='0'+seconds;} if(milli<100){milli='0'+milli;} if(milli<10){milli='0'+milli;} return'"'+year+'-'+month+'-'+day+'T'+ hours+':'+minutes+':'+seconds+'.'+milli+'Z"';} if(o.constructor===Array){var ret=[];for(var i=0;i<o.length;i++){ret.push($.toJSON(o[i])||'null');} return'['+ret.join(',')+']';} var name,val,pairs=[];for(var k in o){type=typeof k;if(type==='number'){name='"'+k+'"';}else if(type==='string'){name=$.quoteString(k);}else{continue;} type=typeof o[k];if(type==='function'||type==='undefined'){continue;} val=$.toJSON(o[k]);pairs.push(name+':'+val);} return'{'+pairs.join(',')+'}';}};$.evalJSON=typeof JSON==='object'&&JSON.parse?JSON.parse:function(src){return eval('('+src+')');};$.secureEvalJSON=typeof JSON==='object'&&JSON.parse?JSON.parse:function(src){var filtered=src.replace(/\\["\\\/bfnrtu]/g,'@').replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,']').replace(/(?:^|:|,)(?:\s*\[)+/g,'');if(/^[\],:{}\s]*$/.test(filtered)){return eval('('+src+')');}else{throw new SyntaxError('Error parsing JSON, source is not valid.');}};$.quoteString=function(string){if(string.match(escapeable)){return'"'+string.replace(escapeable,function(a){var c=meta[a];if(typeof c==='string'){return c;} c=a.charCodeAt();return'\\u00'+Math.floor(c/16).toString(16)+(c%16).toString(16);})+'"';} return'"'+string+'"';};})(jQuery); /*** combinestatic: from:lib/js/jquery-form.js ***/ (function($){$(document).on('change.datamaxsize','[type="file"][data-max-size]',function(ev){var max_size=parseInt($(this).attr('data-max-size'),10),oversized=Array.from(this.files).filter(function(file){return file.size>max_size});if(oversized.length){ev.preventDefault();$(this).trigger('fileoversized',[oversized]);}});$.extend({MAIL_RX:/^([a-zA-Z0-9])+([a-zA-Z0-9\._+-])*@([a-zA-Z0-9_-])+([a-zA-Z0-9\._-]+)+$/,URL_RX:/^(https?|ftp|file):\/\/[-a-zA-Z0-9+&@#\/%?=~_|!:,.;]*[-a-zA-Z0-9+&@#\/%=~_|]$/,DATE_RX:/^(\d{4})[-\/](1[012]|0?[1-9])[-\/](3[01]|[12][0-9]|0?[1-9])$/,TIME_RX:/^(2[0-4]|[01]?[0-9]):([0-5][0-9])(?::([0-5][0-9]))?$/,DATETIME_RX:/^(\d{4})[-\/](1[012]|0?[1-9])[-\/](3[01]|[12][0-9]|0?[1-9])\s+(2[0-4]|[01]?[0-9]):([0-5][0-9])(?::([0-5][0-9]))?$/});var PLACEHOLDER_TARGET=':input[placeholder]:not([type="checkbox"],[type="radio"])';var has_placeholder='placeholder'in document.createElement('input')&&'placeholder'in document.createElement('textarea');if(has_placeholder){$.fn.setPlaceholder=function(){return this;};$.fn.cleanPlaceholder=function(){return this;};}else{(function(){var org_val=$.fn.val;$.fn.setPlaceholder=function(){this.filter(PLACEHOLDER_TARGET).filter(':not(.placeholder)').each(function(){var $this=$(this),v=org_val.call($this);if(v===undefined||v===''){if($this.attr('type')=='password'){var $dummy;if($.browser.msie&&parseInt($.browser.version)<9){var text=$this.outerHTML().replace(/type=["']?password["']?/,'type="text"');$dummy=$(text);}else{$dummy=$(this).clone().attr('type','text');} $dummy.addClass('placeholder-dummy').removeAttr('name').focus(function(){$(this).hide().prev().show().focus();$(this).remove();});$this.after($dummy.setPlaceholder()).hide();}else{org_val.call($this,$this.attr('placeholder'));} $this.addClass('placeholder');} if($this.is(':focus')){$this.trigger('focus');}});return this;};$.fn.cleanPlaceholder=function(){this.filter(PLACEHOLDER_TARGET).filter('.placeholder').removeClass('placeholder').each(function(){org_val.call($(this),'');});return this;};$.fn.val=function(v){if(!arguments.length){if(this.filter(PLACEHOLDER_TARGET).hasClass('placeholder')){return'';} return org_val.call(this);} if(this.hasClass('placeholder-dummy')){org_val.call(this.prev().cleanPlaceholder(),v).setPlaceholder();} return org_val.call(this,v).removeClass('placeholder').setPlaceholder();};})();$(document).on('submit','form',function(ev){$(ev.currentTarget).find(PLACEHOLDER_TARGET).cleanPlaceholder();}).on('reset','form',function(ev){var $targets=$(ev.currentTarget).find(PLACEHOLDER_TARGET).cleanPlaceholder();setTimeout(function(){$targets.setPlaceholder();});});$(document).on('focus keyup change',PLACEHOLDER_TARGET,function(ev){$(ev.currentTarget).cleanPlaceholder();}).on('blur',PLACEHOLDER_TARGET,function(ev){$(ev.currentTarget).setPlaceholder();});$(document).ready(function(){$(PLACEHOLDER_TARGET).setPlaceholder();});$(window).on('beforeunload',function(){$(PLACEHOLDER_TARGET).cleanPlaceholder();});} function _check_is_form(elm,funcname,throw_when_not_form){funcname=funcname===undefined?'jquery-form.js':funcname;if(!elm){console.error(funcname+': target is not found',elm);throw funcname+': target is not found';} if(elm.nodeName!='FORM'){if(throw_when_not_form){console.error(funcname+': target is not <form>',elm);throw funcname+': target is not <form>';} console.warn(funcname+': target is not <form>')}} $.fn.extend({formGet:function(){_check_is_form(this[0],'formGest');var is_locking=$(this).formIsLocking();if(is_locking){$(this).formUnlock();} if(!has_placeholder){$(this).filter(PLACEHOLDER_TARGET).cleanPlaceholder();} var ret={},data;if(!$(this).is('form')){var $org=$('<span></span>').insertBefore($(this));data=$('<form></form>').append($(this)).serializeArray();$org.replaceWith($(this));}else{data=$(this).serializeArray();} $(data).each(function(i,v){if(ret[v.name]!==undefined){if(!ret[v.name].push){ret[v.name]=[ret[v.name]];} ret[v.name].push(v.value||'');}else{ret[v.name]=v.value;}});if(!has_placeholder){$(this).filter(PLACEHOLDER_TARGET).setPlaceholder();} if(is_locking){$(this).formLock();} return ret;},formSet:function(obj,doClear,clearFields,eventName){_check_is_form(this[0],'formSet');if(doClear===undefined||doClear){this.formClear(clearFields);} var is_locking=this.formIsLocking();this.formUnlock();var form=this;var changed_inputs=[];$.each(obj,function(k,v){form.find('[data-form-name="'+k+'"]').each(function(){if($(this).is('img')){$(this).attr('src',v);}else if($(this).is('a')){$(this).attr('href',v);}else{$(this).text(v);}});form.find(':input[name="'+k+'"]').each(function(){var t=this.type,ov=null,changed=false,$this=$(this);if(t===undefined){t='text';} switch(t){case'button':case'submit':case'reset':break;case'checkbox':ov=this.checked;function check_or_uncheck($input,v){var checked=false;if($input.is('[value]')){checked=$input.attr('value')==v;}else{checked=(v==true||v=='on'||v=='true');} $input[0].checked=checked;return checked;} if(v instanceof Array){var cb=$(this).val(),i,l=v.length;this.checked=false;for(i=0;i<l;i++){if(check_or_uncheck($this,v[i])){break;}}}else{check_or_uncheck($this,v);} changed=ov!=this.checked;break;case'radio':ov=this.checked;this.checked=($this.val()==v);changed=ov!=this.checked;break;default:ov=$this.val();$this.val(v);changed=ov!=v;} if(changed){changed_inputs.push($this);}});});if(!has_placeholder){$(this).filter(PLACEHOLDER_TARGET).setPlaceholder();} if(eventName!==null){eventName=eventName||'change';$.each(changed_inputs,function(){var _this=this;setTimeout(function(){_this.trigger(eventName);},1);});} if(is_locking){this.formLock();} return this;},formClear:function(clearFields){_check_is_form(this[0],'formClear');var clearHidden=false;if(clearFields){clearHidden=true;} if($.type(clearFields)!='array'){clearFields=null;} this.find(':input').each(function(){if(clearFields&&$.inArray(this.name,clearFields)<0){return;} switch(this.type){case'button':case'submit':case'reset':break;case'checkbox':case'radio':this.checked=false;$(this).syncLabel();break;case'hidden':if(clearHidden) $(this).val('');break;default:$(this).val('');break;}});return $(this);},formErrors:function(errors,opts){_check_is_form(this[0],'formErrors');var form=this;opts=$.extend({error_class:'error_msg',alert_not_detected_errors:false},opts);form.find('.'+opts.error_class+'[data-for]').text('').removeClass('has_error').addClass('no_error').hide();var not_detected_errors=[];$.each(errors||{},function(k,v){if(!form.find('.'+opts.error_class+'[data-for="'+k+'"]').text(v).addClass('has_error').removeClass('no_error').show()[0]){not_detected_errors.push(v+' ('+key+')');};});if(not_detected_errors.length){alert(not_detected_errors.join('\n'));} return this;},formErrorsClear:function(opts){_check_is_form(this[0],'formErrorsClear');var form=this;opts=$.extend({error_class:'error_msg'},opts);form.find('.'+opts.error_class+'[data-for]').text('').css('display','none');return this;},formLock:function(maskopts){_check_is_form(this[0],'formLock');var form=this;form.mask(maskopts).data('formLocked',true);form.find((':input,a')).attr('disabled','disabled').addClass('locked');return form;},formUnlock:function(){_check_is_form(this[0],'formUnlock');var form=this;form.find((':input,a')).removeAttr('disabled').removeClass('locked');form.mask('destroy').removeData('formLocked');return form;},formIsLocking:function(){_check_is_form(this[0],'formIsLocking');var form=this;return!!form.data('formLocked');},formValidate:function(validators){validators=$.extend({},validators);var form=this;var data=form.formGet();var errors={};var required_message=validators['@required_message'];$.each(validators,function(k,v){if(k[0]!='@'){var required=v[0],validator=v[1],message=v[2];required_message=v[3]||required_message||'required';if(data[k]==''){if(required>0){errors[k]=required_message;return;}} if(required==0&&(data[k]===''||data[k]===undefined)){delete data[k];return;} if(!$.isArray(data[k])){if((validator.test&&!validator.test(data[k]))||(validator.call&&validator(data[k])===false)){errors[k]=v[2];}}else{$.each(data[k],function(i,d){if((validator.test&&!validator.test(d))||(validator.call&&validator(d)===false)){errors[k]=v[2];}});}}});if($.isEmptyObject(errors)){if(validators['@all']){errors=validators['@all'](data)||{};}} return $.isEmptyObject(errors)?data:$.extend({'_has_error':true},errors);},formPost:function(opts){_check_is_form(this[0],'formPost');var form=$(this);if(!has_placeholder){$(this).filter(PLACEHOLDER_TARGET).cleanPlaceholder();} opts=$.extend({url:$(form).attr('action'),error_class:'error_msg',alert_not_detected_errors:false,posting_class:'posting',method:'post',validators:{'@all':function(data){return true;}},clean:function(params){return params;},filter:function(res){return res;},crossDomain:false},opts);var url=opts.url;if(url===undefined){alert('params.url or form[action] is nothing.');} function afterProc(func,delay){delay=delay===undefined?250:delay;setTimeout(function(){form.removeClass(opts.posting_class);form.formUnlock();func();},delay);} return $.Deferred(function(_d){var _d2=$.Deferred();try{form.addClass(opts.posting_class);form.formErrors();var data=form.formValidate(opts.validators);if(data._has_error){form.formErrors(data,{error_class:opts.error_class,alert_not_detected_errors:opts.alert_not_detected_errors});afterProc(function(){_d.resolve({errors:data});});return;} form.formLock();data=opts.clean(data);data[new Date().getTime()]='';_d2=$.ajax({'cache':false,'url':url,'type':opts.method.toUpperCase(),'data':data,'dataType':'json','corssDomain':opts.crossDomain}).then(function(res){res=opts.filter(res);if(res.success){afterProc(function(){_d.resolve(res);});return;} if(res.systemerror){afterProc(function(){_d.reject(res);});return;} if(res.errors){form.formErrors(res.errors,{error_class:opts.error_class,alert_not_detected_errors:opts.alert_not_detected_errors});afterProc(function(){_d.reject(res);});}else{afterProc(function(){_d.reject(res);});}}).fail(function(xhr,textStatus,errorThrown){afterProc(function(){_d.reject({'ajaxerror':xhr});});});}catch(ex){afterProc(function(){_d.reject({'systemerror':ex});});setTimeout(function(){throw ex;},500);} _d.abort=function(){_d2.abort&&_d2.abort();_d.resolve('aborted');};}).promise();},formClearDirty:function(data){$(this).find('form').add($(this).filter('form')).each(function(){var $form=$(this);$form.data('dirty_org',data||$form.formGet());});return this;},formIsDirty:function(){var is_dirty=false;$(this).find('form').add($(this).filter('form')).each(function(){var $form=$(this);is_dirty=$.toJSON($form.formGet())!=$.toJSON($form.data('dirty_org'));});return is_dirty;},formSetDirty:function(){$(this).find('form').add($(this).filter('form')).each(function(){var $form=$(this);$form.removeData('dirty_org');});return this;},formCheckDirty:function(){$(this).find('form').add($(this).filter('form')).each(function(){var $form=$(this);$form.find(':input').off('change.formcheckdirty').on('change.formcheckdirty',function(ev){if($form.formIsDirty()){$form.trigger('formdirty');}});});return this;},setBusy:function(){return $(this).addClass('busy').attr('disable','disable');},unsetBusy:function(){return $(this).removeClass('busy').attr('disable','');},findLabel:function(){var label_id=$('label[for="'+this.attr('id')+'"]');return label_id[0]?label_id:this.closest('label');},syncLabel:function(options){var opts=$.extend({className:'checked'},this.data('syncLabel'),options);this.data('syncLabel',opts);var input=this;if(input.attr('type')!='radio'&&input.attr('type')!='checkbox'){return this;} switch(input.attr('type').toLowerCase()){case'checkbox':var checked=input[0].checked;input.findLabel().toggleClass(opts.className,checked).toggleClass('not'+opts.className,!checked);break;case'radio':input.closest('form').find(':input[name="'+input.attr('name')+'"]').each(function(){var checked=this.checked;$(this).findLabel().toggleClass(opts.className,checked).toggleClass('not'+opts.className,!checked);});break;} return this;},syncLabels:function(options){var opts=$.extend({className:'checked'},this.data('syncLabels'),options);this.data('syncLabels',opts);var form=this;form.find('input[type="checkbox"],input[type="radio"]').each(function(){$(this).syncLabel(opts);});return this;},formPreventAutoSubmit:function(){$(this).find('input:not([type]),input[type="text"],input[type="url"],input[type="date"]').on('keypress',function(ev){if(ev.which==13){ev.preventDefault();}});}});function _blockEvent(ev){ev.stopPropagation();ev.preventDefault();return false;};$.extend({formLocalSupported:function(){return!!(window.localStorage&&window.JSON&&window.JSON.stringify);}});if(window.localStorage&&window.JSON&&window.JSON.stringify){$.fn.extend({formLocalSave:function(key,filter_func){var ret=false;filter_func=filter_func||function(v){return v;} var v=filter_func($(this).formGet());if(v){v._saved_at=new Date().getTime();try{v=JSON.stringify(v);localStorage.setItem(key,v);ret=true;}catch(ex){console.error('loacalStorage.setItem:error',ex);}} return ret;},formLocalRestore:function(key,filter_func){filter_func=filter_func||function(v){return v;} var v=$.formLocalData(key);if(v){v=filter_func(v);if(v){delete v._saved_at;$(this).formSet(v);}} return this;},});$.extend({formLocalHasKey:function(key){return!!(localStorage.getItem(key));},formLocalData:function(key){var v=localStorage.getItem(key);if(v){v=JSON.parse(v);if(v){return v;}} return null;},formLocalDelete:function(key){localStorage.removeItem(key);return this;},formLocalExpire:function(expire_date){expire_date=expire_date||new Date(new Date()-7*24*60*60*1000);$.each(localStorage,function(i){var k=localStorage.key(i),v=localStorage.getItem(k);if(v._saved_at&&(v._saved_at<expire_date)){localStorage.removeItem(k);}});}});} $.extend({formExportImportSupported:function(){return!!(document.createElement('a').download!==undefined&&window.File&&window.FileReader&&window.FileList&&window.Blob&&window.JSON);}});if($.formExportImportSupported()){$.fn.extend({formExport:function(form,filename,opts){var $link=$(this),$form=$(form);if(!$link.is('a')){throw'this is not a.'} if(!$form.is('form')){throw'target element is not form';} opts=$.extend({filter:function(data){return data;},},opts);$link.on('click',function(){var data={'exported_from':location.href,'exported_at':$.dateformat(new Date(),'yyyy-MM-dd HH:mm'),'browser':navigator.userAgent,'formdata':$form.formGet()};data=opts.filter(data);if(!data){return;} var text=JSON.stringify(data,null,1);filename+='-'+$.dateformat(new Date(),'yyMMddHHmm')+'.json';$(this).attr({'href':'data:application/json,'+encodeURIComponent(text),'download':filename});});},formImport:function(opts){var $form=$(this);if(!$form.is('form')){throw'target element is not form';} var opts=$.extend({filter:function(data){return data;}},opts);var _d=$.Deferred();$('<input type="file" accept="application/json,.json,.txt" />').on('change',function(ev){var file=this.files&&this.files[0];var reader=new FileReader(file,'utf-8');reader.onload=(function(file,reader){return function(e){var json;try{json=JSON.parse(reader.result,function(k,v){return v;});}catch(ex){_d.reject('failed to parse json');return;} console.log(json);if(!json.formdata||!json.exported_at||!json.exported_from){_d.reject('invalid data format');return;} json=opts.filter.bind($form[0])(json);if(!json){_d.reject('aborted');return;} $form.formSet(json.formdata);_d.resolve(json);};})(file,reader);reader.onerror=function(){_d.reject('failed to read file');return;};reader.readAsText(file);}).trigger('click');return _d;}});} $(document).on('click','a.busy, :input.busy, button.busy',_blockEvent).on('keydown',':input.busy',_blockEvent).on('submit','form.busy',_blockEvent).on('dblclick','input[type="button"],input[type="submit"],input[type="reset"]',_blockEvent);$(document).on('change','form input[type="checkbox"],form input[type="radio"]',function(ev){$(ev.currentTarget).syncLabel();});if($.browser.msie){if(parseInt($.browser.version)<9){$(document).on('click','label img',function(ev){var $this=$(ev.currentTarget),$label=$this.closest('label');$('#'+$label.attr('for')).add($label.find('input')).click();});} if(parseInt($.browser.version)<7){var _cnt=0;$('label:not([for]) input[type="radio"], label:not([for]) input[type="checkbox"]').each(function(){var $input=$(this),id=$input.attr('id')||'input_cbr'+(_cnt++);$input.closest('label:not([for])').attr('for',id);});}} $(document).on('focus','input[type="text"],input[type="password"],input[type="url"],input[type="email"],input[type="date"],input[type="time"]',function(){this.select();});$(document).on('blur','input[type="url"]',function(){var v=$(this).val();if(v&&!v.match(/^(https?:)/)){$(this).val('http://'+v);}});$.setStyle('form .error_msg.no_error { display: none! important }');$(document).on('focus',':input[id]',function(){var $label=$('label[for="'+$(this).attr('id')+'"]');$label.addClass('focused');}).on('blur',':input[id]',function(){var $label=$('label[for="'+$(this).attr('id')+'"]');$label.removeClass('focused');});$(function(){var TEXT_INPUT_SELECTOR='input.clearable:not([type="checkbox"]):not([type="radio"]):not([type="number"])';$('<style id="style-input-clear"></style>').html(["#input-clear {"," position:absolute;"," z-index:99999;"," background:transparent;"," cursor:pointer;"," border-style:solid;"," border-color:transparent;"," display:none;","}","#input-clear:before {"," font-family:FontAwesome;"," font-style:normal;"," font-weight:normal;"," text-decoration:normal;"," opacity:.5;"," content:'\\f057'; /* fa-times-circle */","}",].join('\n')).appendTo('head');$('#input-clear').remove();var $clear=$('<span id="input-clear"></span>').appendTo('body');function addClearToTextInput($input){if($input.is(':not([data-style])')){$input.attr('data-style',$input.attr('style')||'');var pr=parseInt($input.css('padding-right'),0),pt=parseInt($input.css('padding-top'),0),bt=parseInt($input.css('border-top-width'),0),br=parseInt($input.css('border-right-width'),0),fs=parseInt($input.css('font-size'),0),lh=parseInt($input.css('line-height'),0),cl=$input.css('color');} var box=$input[0].getBoundingClientRect();$clear.data('$input',$input).css({'top':$(window).scrollTop()+box.top+'px','left':$(window).scrollLeft()+box.left+box.width+'px','font-size':fs+'px','line-height':lh+'px','padding-top':pt+'px','padding-right':pr+'px','padding-bottom':pt+'px','border-top-width':bt+'px','border-right-width':bt+'px','color':cl,}).toggle(true);var cw=$clear[0].getBoundingClientRect().width;$clear.css('margin-left',-cw+'px');$input.css('padding-right',cw+'px');} function removeClearToTextInput($input){$clear.toggle(false).data('$input',$());if($input.is('[data-style]')){$input.attr('style',$input.attr('data-style'));}} $(document).on('focus',TEXT_INPUT_SELECTOR,function(){addClearToTextInput($(this));}).on('blur',TEXT_INPUT_SELECTOR,function(){}).on('focus click keydown',TEXT_INPUT_SELECTOR,function(){$clear.toggle($(this).val()!='');});$clear.data('$input',$()).on('click',function(){var $input=$(this).data('$input');$input.val('').focus();});});})(jQuery); /*** combinestatic: from:lib/js/jquery-ratiobox.js ***/ (function($){function calcRatio(r){var m=(''+r).match(/^((\d+(?:\.\d+)?)[:x](\d+(?:\.\d+)?)|(\d*\.?\d+))$/);if(m){if(m[4]){r=parseFloat(m[4])*100;}else if(m[2]&&m[3]){r=parseFloat(m[3])/parseFloat(m[2])*100;}}else if(r){console.error('radiobox:invalid data-ratio:'+r);} return r;} function unwrapRatioBox($wrapper){var $ret;if(!$wrapper.is('.ratio-wrap')){$ret=$wrapper;}else{$ret=$wrapper.children('.ratio-wrapped').removeClass('ratio-wrapped').removeAttr('style');var h=$ret.attr('data-height'),w=$ret.attr('data-width'),s=$ret.attr('data-style');if(h){$ret.attr('height',h);} if(w){$ret.attr('width',w);} if(s){$ret.attr('style',s);} $ret.removeAttr('data-height').removeAttr('data-width').removeAttr('data-style');$wrapper.replaceWith($ret);$ret.trigger('ratiounwrapped');} return $ret;} $.fn.extend({ratiobox:function(force_ratio){return this.map(function(){if(force_ratio===null){return unwrapRatioBox($(this)).get();} var $elm=$(this),w,h,r,m;if($elm.parent().is('.ratio-wrap')){return;} if($elm.is('[data-ratio-ignored]')){return;} h=$elm.attr('height');w=$elm.attr('width');r=$elm.attr('data-ratio')||'';h=h&&h.match(/^\d*\.?\d+(px)?$/)&&parseFloat(h)||false;w=w&&w.match(/^\d*\.?\d+(px)?$/)&&parseFloat(w)||false;r=calcRatio(r);if(!r&&h&&w){r=h/w*100;} if(force_ratio){r=calcRatio(force_ratio);} if(!r){$elm.removeAttr('data-ratio').attr('data-ratio-ignored','1');return;} var ev=$.Event('ratiowrap');$elm.trigger(ev);if(ev.isDefaultPrevented()){console.log('ratiobox:defaultPrevented',elm[0]);$elm.removeAttr('data-ratio').attr('data-ratio-ignored','1');return;} var disp='block',vert='middle';var $spacer=$('<div class="ratio-spacer"></div>').css({'padding-top':r+'%','position':'relative','height':0});var is_inline=disp=='inline';var wrapper_css={'display':is_inline?'inline-block':disp,'vertical-align':vert,'position':'relative','max-width':'100%','width':(is_inline&&w)?(w+'px'):'auto'};var $wrapper=$('<div class="ratio-wrap"></div>').attr('data-ratio-wrapped',r/100).attr('data-ratio-src',$elm.attr('src')).css(wrapper_css).append($spacer);$elm.after($wrapper);$wrapper.append($elm);$elm.removeAttr('data-ratio').attr('data-height',$elm.attr('height')||'').attr('data-width',$elm.attr('width')||'').attr('data-style',$elm.attr('style')||'').removeAttr('height').removeAttr('width').css({'position':'absolute','top':0,'left':0,'width':'100%','height':'100%','display':'block','margin':0}).addClass('ratio-wrapped');$wrapper.addClass('ratio-wrapped');$elm.trigger('ratiowrapped');return $wrapper.get();});},ratio:function(ratio){if(ratio===undefined){return parseFloat($(this).attr('data-ratio-wrapped'));} if(ratio===null){return $(this).map(function(){return unwrapRatioBox($(this)).get();});} ratio=calcRatio(ratio);return this.each(function(){var $target=$(this);if($(this).is('.ratio-wrapped')){$target=$(this).parent('.ratio-wrap');} if(!$target.is('.ratio-wrap')){console.error('ratiowrap:this is not .ratio-wrap',$target);return;} $target.attr('data-ratio-wrapped',ratio/100).children(':first-child').css('padding-top',ratio+'%');});}});setInterval(function(){$('[data-ratio].ratio-wrap:visible').each(function(){var $wrapped=$(this);$wrapped.ratio($wrapped.attr('data-ratio')).removeAttr('data-ratio');});$('[data-ratio]:not(.ratio-wrapped):visible').ratiobox();},333);if(!$('#style-ratiobox')[0]){$('<style id="style-ratiobox"></style>').text(`.ratio-wrapped iframe,.ratio-wrapped video,.ratio-wrapped img{margin:0;}.ratio-wrapped[data-ratio-wrapped^="1."][data-ratio-src*="//www.youtube.com/embed/"]{max-width:min(100%,405px)!important;}`).appendTo(document.head||document.body);}})(jQuery); /*** combinestatic: from:lib/jquery-carousel/jquery-carousel.js ***/ (function($){if($('#carousel-loaded')[0]){console.error('jquery-carousel/jquery-carousel.js is already loaded.');return;} var css_loaded=false;$('<div id="carousel-loaded"></div>').appendTo('body').each(function(){css_loaded=window.getComputedStyle(this,':before').content});if(!css_loaded){console.log('jquery-carousel:load css');$('<link></link>').attr({rel:'stylesheet',href:'/static/lib/jquery-carousel/jquery-carousel.css'}).appendTo('head');} var $test=$('<div></div>').css({'-webkit-transform':'scale(0)','transform':'scale(0)'});var prefix=($test.css('transform')&&'')||($test.css('-webkit-transform')&&'-webkit-')||($test.css('-moz-transform')&&'-moz-')||($test.css('-ms-transform')&&'-ms-')||'';var TRANSFORM=prefix+'transform';var TRANSITION=prefix+'transition';var TRANSITIONEND='transitionend webkittransitonend moztransitionend';function Carousel($elm,opts){this.$top=$elm;this._opts=$.extend({'autoanim':$elm.hasClass('carousel-autoanim')},opts);this.$contents=$elm.children('.carousel-contents');this.$nav=$elm.children('.carousel-nav').empty();this.$radios=$();this.$styles=$();if(!this.initStructure()){this.$top.attr('data-carousel-stat','invalidstructure');this.is_invalid_structure=true;return;} this.$top.attr('data-carousel-stat','validstructure');delete this.is_invalid_structure;var _this=this;setTimeout(function(){_this.$contents.removeClass('prevent-animation');});if(this._opts.autoanim){this.autoanim();} this.$top.attr('data-carousel-stat','processed');this._animate_queue=[];} Carousel.prototype={autoanim:function(interval_ms,initial_delay_ms){if(this.is_destroyed){return;} if(this._prevent_autoanim_restart){return;} if(!this._opts.autoanim){return;} this._anim_interval_ms=(interval_ms===undefined?6000:interval_ms);initial_delay_ms=initial_delay_ms===undefined?8000:initial_delay_ms;var _this=this;function doNext(){_this.next().then(function(){clearTimeout(_this._anim_t);if(_this.is_destoryed){return;} _this._anim_t=setTimeout(doNext,_this._anim_interval_ms);});} clearTimeout(_this._anim_t);_this._anim_t=setTimeout(doNext,initial_delay_ms);},stopanim:function(prevent_autoanim_restart){var _this=this;if(_this.is_destroyed){return;} clearTimeout(_this._anim_t);_this._anim_t=null;_this._prevent_autoanim_restart=prevent_autoanim_restart;},restartanim:function(restart_delay_ms){var _this=this;if(_this.is_destroyed){return;} if(_this._prevent_autoanim_restart){return;} _this.stopanim();restart_delay_ms=(restart_delay_ms===undefined)?0:restart_delay_ms;_this.autoanim(_this._anim_inteval_ms,restart_delay_ms);},initStructure:function(){var _this=this;if(!_this.$contents[0]){return false;} _this.$top.children('input[name^=carousel-]').remove();var contents_cnt=_this.$contents.children('.carousel-content').length;_this._contents_cnt=contents_cnt;if(contents_cnt<2){return false;} _this.$contents.contents().filter(function(){if(this.nodeType==3){return/^\s*$/.test(this.textContent);} return false;});var top_id=_this.$top.assureUniqId('carousel-').attr('id');var content_percent=100/contents_cnt;var styles=['#'+top_id+'.carousel .carousel-contents {','width:'+(100*contents_cnt)+'%;','}','#'+top_id+'.carousel .carousel-content {','width:'+content_percent+'%;','width:-webkit-calc(100%/'+contents_cnt+');','width:calc(100%/'+contents_cnt+');','}'];var syncSelectors=[];_this.$contents.children('.carousel-content').each(function(i,elm){var id=top_id+'-'+(i+1);var id_prev=top_id+'-'+i;var id_next=top_id+'-'+(i+2);var $content=$(this);$content.attr({'id':id,'data-dx':i==0?'0':'-'+(100/contents_cnt*i)+'%'}).children('label:not(.carousel-more)').remove();if(i>0){$('<label class="carousel-prev"></label>').attr({'for':id_prev}).appendTo($content);} if(i<contents_cnt-1){$('<label class="carousel-next"></label>').attr({'for':id_next}).appendTo($content);} $('<input type="radio">').attr({id:id,name:top_id+'-g','checked':i==0}).css({opacity:0,position:'absolute',width:'1px',height:'1px',top:'-1px',left:'-1px',overflow:'hidden'}).insertBefore(_this.$contents);$('<label></label>').attr({'for':id}).appendTo(_this.$nav);syncSelectors.push('#'+top_id+'.carousel > input[name^=carousel-]:nth-of-type('+(i+1)+'):checked ~ .carousel-nav > label:nth-of-type('+(i+1)+')');styles.push(['#'+top_id+'.carousel > input[name^=carousel-]:nth-of-type('+(i+1)+'):checked ~ .carousel-contents {','-webkit-transform:translate3d('+(-1)*(i*content_percent)+'%,0,0);','transform:translateX('+(-1)*(i*content_percent)+'%);','}'].join('\n'));});styles.push(syncSelectors.join(',\n')+' { -moz-opacity:1; opacity:1 }');styles.push(['#'+top_id+'.carousel > input[name^='+top_id+'-]:first-of-type:checked',' ~ .carousel-contents.loop-forward > .carousel-content:first-child {','-webkit-transform:translate3d('+(contents_cnt*100)+'%,0,0);','transform:translateX('+(contents_cnt*100)+'%);','}','#'+top_id+'.carousel > input[name^='+top_id+'-]:first-of-type:checked',' ~ .carousel-contents.loop-forward {','-webkit-transform:translate3d(-100%,0,0);','transform:translateX(-100%);','}','#'+top_id+'.carousel > input[name^='+top_id+'-]:last-of-type:checked',' ~ .carousel-contents.loop-backward > .carousel-content:last-child {','-webkit-transform:translate3d('+(-1)*(contents_cnt*100)+'%,0,0);','transform:translateX('+(-1)*(contents_cnt*100)+'%);','}','#'+top_id+'.carousel > input[name^='+top_id+'-]:last-of-type:checked',' ~ .carousel-contents.loop-backward {','-webkit-transform:translate3d('+content_percent+'%,0,0);','transform:translateX('+content_percent+'%);','}',].join(''));$('#style-'+top_id).remove();_this.$styles=$('<style>'+styles.join('\n')+'</style>').attr('id','style-'+top_id).appendTo(_this.$top);this.initEvents();return true;},initEvents:function(){var _this=this,top_id=_this.$top.attr('id');var is_tap=false;_this.$top.find('label[for^='+top_id+'-]').on('touchstart.carousel',function(ev){is_tap=true;}).on('touchmove.carousel',function(ev){is_tap=false;}).on('touchend.carousel',function(ev){if(is_tap){ev.preventDefault();var $input=$('#'+$(this).attr('for'));$input.trigger('click',['from_touchend']);$input.one('click',function(ev,from){if(from=='from_touchend'){$(this).one('click',function(ev){ev.preventDefault();ev.stopPropagation();});}else{ev.preventDefault();ev.stopPropagation();}});}else{}});var _t_restart=null;_this.$top.find('label[for^='+top_id+'-]').on('touchstart.carousel_h click.carousel_h',function(ev){_this.restartanim(10000);});_this.$top.on('mouseenter',function(ev){_this.stopanim();}).on('mouseleave',function(ev){_this.restartanim(1000);});var s=null,sdx=0;var dx=0,odx=0,dt,odt;_this.$contents.find('*').on('dragstart.carousel',function(ev){ev.preventDefault();});_this.$contents.on('touchstart.carousel mousedown.carousel',function(ev){var t=ev.originalEvent.touches?ev.originalEvent.touches[0]:ev;s={sx:t.pageX,sy:t.pageY};sdx=parseInt(_this.$contents.css(TRANSFORM).split(',')[4],10);_this.$contents.addClass('touching');}).on('touchmove.carousel mousemove.carousel',function(ev){if(s){var t=ev.originalEvent.touches?ev.originalEvent.touches[0]:ev;s.dx=t.pageX-s.sx;s.dy=t.pageY-s.sy;odx=dx;odt=dt;dx=sdx+s.dx;_this.$contents.css('margin-left',s.dx+'px');if(Math.abs(s.dx)>100){_this.$contents.removeClass('touching');_this.stopanim();if(s.dx<0){_this.next();}else{_this.prev();} $(this).css('margin-left','');s=null;}}}).on('touchcancel.carousel mousecancel.carousel mouseleave.carousel',function(ev){s=null;_this.$contents.removeClass('touching touchend').css(TRANSFORM,'');}).on('touchend.carousel mouseup.carousel',function(ev){if(!s){return;} _this.$contents.css('margin-left','');_this.$contents.removeClass('touching');s=null;});this.$radios=this.$top.children('input[type=radio][name^='+top_id+'-]').on('change.carousel',function(ev){var $this=$(this);if(!($this.is(':checked'))){return;} var last_is_first=!(_this._last_$radio.prev().is('input[name^='+top_id+'-]'));var last_is_last=!(_this._last_$radio.next().is('input[name^='+top_id+'-]'));var this_is_first=!($this.prev().is('input[name^='+top_id+'-]'));var this_is_last=!($this.next().is('input[name^='+top_id+'-]'));var loop_forward=last_is_last&&this_is_first;var loop_backward=last_is_first&&this_is_last;if(_this._contents_cnt==2){loop_backward=false;loop_forward=true;} if(loop_forward||loop_backward){_this._loop(loop_backward);} _this._last_$radio=$this;});this._last_$radio=this.$radios.first().click();},removeEvents:function(){},_loop:function(loop_backward){var _this=this;clearTimeout(_this._loop_t);if(this.is_destroyed){return;} var loop_forward=!loop_backward;_this.$contents.toggleClass('loop-forward',loop_forward).toggleClass('loop-backward',loop_backward).one(TRANSITIONEND,function(ev){_this.$contents.addClass('prevent-animation').removeClass('loop-forward loop-backward');_this._loop_t=setTimeout(function(){if(_this.is_destroyed){clearTimeout(_this._loop_t);return;} _this.$contents.removeClass('prevent-animation');},1);});},next:function(){var _d=$.Deferred();if(this.is_destroyed){return _d.reject();} var _this=this,top_id=this.$top.attr('id');$target=_this.$top.children('input[name^='+top_id+'-]:checked').next('input[name^='+top_id+'-]');if(!$target[0]){$target=_this.$top.children('input[name^='+top_id+'-]').first();} _this.$contents.one(TRANSITIONEND,function(){_d.resolve();});$target.trigger('click.carousel');return _d;},prev:function(){var _d=$.Deferred();if(this.is_destroyed){return _d.reject();} var _this=this,top_id=this.$top.attr('id'),$target=_this.$top.children('input[name^='+top_id+'-]:checked').prev('input[name^='+top_id+'-]');if(!$target[0]){$target=_this.$top.children('input[name^='+top_id+'-]').last();} _this.$contents.one(TRANSITIONEND,function(){_d.resolve();});$target.trigger('click.carousel');return _d;},destroy:function(){this.is_destroyed=true;this.stopanim();this.$styles.remove();this.$radios.remove();this.$nav.empty();this.$top.find('> .carousel-content > label.carousel-next, > .carousel-content > label.carousel-prev').remove().end().find('*').off('dragstart touchstart touchmove touchend touchcancel mousedown mousemove mouseup mousecancel mouseleave change'.split(' ').join('.carousel ')+'.carousel').end().data('carousel',null).attr('data-carousel-stat','destroyed');this.$top=null;},tostatic:function(){this.stopanim();this.$top.find('*').off('dragstart touchstart touchmove touchend touchcancel mousedown mousemove mouseup mousecancel mouseleave change'.split(' ').join('.carousel ')+'.carousel').end()}};$.fn.extend({carousel:function(opts){var command,command_args;if($.type(opts)=='string'){command=opts;command_args=Array.prototype.slice.apply(arguments).splice(1,arguments.length);} return $(this).each(function(){var $target=$(this),carousel=$target.data('carousel');if(command){if(carousel){var args=Array.prototype.slice(arguments);if(carousel[command]){carousel[command].apply(carousel,command_args);}}}else if(!carousel){if($target.children('.carousel-contents')[0]){carousel=new Carousel($target,opts);$target.data('carousel',carousel);}else{$target.attr('data-carousel-stat','invalid');console.error('carousel:target does not have carousel structure (.carousel > .carousel-contents > .carousel-content',$target)}}})}});$('.carousel:not([data-carousel-stat])').carousel();setInterval(function(){$('.carousel:not([data-carousel-stat])').carousel();},250);})(jQuery); /*** combinestatic: from:lib/jquery-carousel-2/jquery-carousel.js ***/ $(function(){if($('#carousel2-loaded')[0]){console.error('juquery-carousel-2/jquery-carousel.js is already loaded.');return;} var css_loaded=false;$('<div id="carousel2-loaded"></div>').appendTo('body').each(function(){css_loaded=window.getComputedStyle(this,':before').content});if(!css_loaded){console.log('jquery-carousel2:load css');$('<link></link>').attr({rel:'stylesheet',href:'/static/lib/jquery-carousel-2/jquery-carousel.css'}).appendTo('head');} if(!$.assureUniqId){$.fn.extend({assureUniqId:function(prefix,context){prefix=prefix||'asuq-';return $(this).each(function(){var org_id=$(this).attr('id');if(org_id){var $ids=$('[id]',context).filter(function(){return this.id==org_id});if($ids.length>1){console.error('assureUniqId:duplicated id is found:'+org_id,$ids);$(this).attr('data-duplicated-id',org_id);}else{return;}} $(this).attr('id',prefix+$.generateUUID4(62));});},});$.extend({toBase:function(num,base){var chars,type=$.type(base),use_chars=false;if(type=='number'){chars='01234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ';}else if(type=='string'){chars=base;base=chars.length;use_chars=true;}else{throw new Error('invalid base (number or string):'+base);} if(base<=36&&!use_chars){return Number(num).toString(base);} var is_negative=num<0;for(var str='',num=Math.abs(num);num>0;num=Math.floor(num/base)){str=chars[num%base]+str;} return(is_negative?'-':'')+str;},generateUUID4:function(base){if(base<2||base>62){throw new Error('invalid base (2 to 62):'+base);} base=base||16;return'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g,function(c){var r=Math.random()*16|0,v=c=='x'?r:(r&0x3|0x8);return v.toString(16)}).split('-').map(function(v){return $.toBase(parseInt(v,16),base);}).join('-');},});} $(document).on('click','input[type="radio"][name]',function(ev,data){if(data&&data.nofocus){$(this).one('focus',function(ev){ev.preventDefault();});}}).on('click change','input[type="radio"][name]',function(ev,data){var $this=$(this),name=$this.attr('name'),is_click=ev.type=='click',context=$this.closest('form')[0]||document;if(!context._radio_prev||!context._radio_prev[name]){if(is_click){ev.preventDefault();ev.stopPropagation();ev.stopImmediatePropagation();context._radio_prev=context._radio_prev||{};setTimeout(function(){var $group=$('input[type="radio"]',context).filter(function(){return $(this).attr('name')==name;});context._radio_prev[name]=$group.filter(':checked');$this.one('focus',function(ev){ev.preventDefault();}).trigger('click',data);});}}else{if(!is_click){context._radio_prev[name].trigger('uncheck');context._radio_prev[name]=$this;}}});if(!$.fn.spaceless){$.fn.spaceless=function(){return $(this).contents().each(function(){if(this.nodeType==3){this.nodeValue=this.nodeValue.replace(/\s+/g,'');}})};} if(!$.fn.isInVeiw){(function(){var VH=$(window).height();$(window).on('resize',function(){VH=$(window).height();});var ST=$(window).scrollTop(),LAST_ST=ST,SCROLLING_DOWN=false,SCROLLING_UP=false;$(window).on('scroll',function(){ST=$(window).scrollTop();SCROLLING_DOWN=ST>LAST_ST;SCROLLING_UP=ST<LAST_ST;LAST_ST=ST;});var METRICS_EXPIRE_MS=100;$.fn.isInView=function(offset){offset=offset===undefined?0:offset;var $elm=$(this),metrics=$(this).data('metrics'),now=new Date().getTime();if(!metrics||metrics.expire<now){metrics={expire:now+METRICS_EXPIRE_MS,offset:$elm.offset(),height:$elm.outerHeight()};$elm.data('metrics',metrics);} if(!metrics.offset||!metrics.height){return false;} var et=metrics.offset.top,eb=et+metrics.height;var ret=et<ST+VH+offset&&eb>ST+offset&&$elm.is(':visible');if(ret){var $p=$elm.parentsUntil('body').filter(function(){return this.clientHeight!=this.scrollHeight&&$(this).css('overflow')!='visible';}).each(function(){var $c=$(this),metrics=$c.data('metrics'),now=new Date().getTime();if(!metrics||metrics.expire<now){metrics={expire:now+METRICS_EXPIRE_MS,offset:$c.offset(),height:$c.outerHeight()};$c.data('metrics',metrics);} var pt=metrics.offset.top,pb=pt+metrics.height;if(et>pb||eb<pt){ret=false;return false;}});} return ret;}})();} $(document).on('uncheck.carousel2','.carousel-valid > input[type="radio"]',function(){var name=$(this).attr('name'),$i=$(this),context=$i.closest('form')[0]||document,$is=$('input[type="radio"]',context).filter(function(){return $(this).attr('name')==name;});$is.removeClass('prev-checked');$(this).addClass('prev-checked');}).on('uncheck.carousel2','.carousel-valid > input[type="radio"]',function(ev){var $c=$(this).closest('.carousel-valid'),anim_rev;if($c.is('.prevent-anim-rev')){anim_rev=false;$c.removeClass('prevent-anim-rev')}else if($c.is('.force-anim-rev')){anim_rev=true;$c.removeClass('force-anim-rev')}else{anim_rev=!($(this).nextAll(':checked')[0]);} $c.toggleClass('anim-rev',anim_rev);}) function getNextPrevLoop($carousel){var anim_type=($carousel.attr('data-carousel-anim')||'').split('-'),anim_v=!!((anim_type[1]||'').match(/^(down|up)$/)),$inputs=$carousel.children('input[type="radio"]'),$contents=$carousel.find('> .carousel-contents').children('.carousel-content'),l=$inputs.length,cur=$inputs.index($inputs.filter(':checked')),next=(cur+l+1)%l,prev=(cur+l-1)%l,next_loop=next<cur,prev_loop=prev>cur;var ret={$carousel:$carousel,anim:{all:anim_type.join('-'),type:anim_type[0],direction:anim_type[1]||'',is_vertical:(anim_type[1]||'').match(/^(down|up)$/),},prev:{is_loop:prev_loop,$input:$($inputs[prev]),$content:$($contents[prev]),w:$($contents[prev]).width(),h:$($contents[prev]).height(),},cur:{$input:$($inputs[cur]),$content:$($contents[cur]),w:$($contents[cur]).width(),h:$($contents[cur]).height(),},next:{is_loop:next_loop,$input:$($inputs[next]),$content:$($contents[next]),w:$($contents[next]).width(),h:$($contents[next]).height(),},toNext:function(loop){this.$carousel.toggleClass('prevent-anim-rev',this.next.is_loop);var $prev_input=this.$carousel.children('input[type="radio"]').removeClass('prev-checked').filter(':checked').addClass('prev-checked');this.next.$input.prop('checked',true).trigger('change');$prev_input.trigger('uncheck.carousel2');},toPrev:function(loop){this.$carousel.toggleClass('force-anim-rev',this.prev.is_loop);var $prev_input=this.$carousel.children('input[type="radio"]').removeClass('prev-checked').filter(':checked').addClass('prev-checked');this.prev.$input.prop('checked',true).trigger('change');$prev_input.trigger('uncheck.carousel2');}};return ret;} $(document).on('click.carousel2','.carousel-valid .carousel-nav-prev, .carousel-valid .carousel-nav-next',function(ev){var $carousel=$(this).closest('.carousel2'),npl=getNextPrevLoop($carousel),to_next=$(this).is('.carousel-nav-next'),to_prev=!to_next;if(($carousel.attr('data-carousel-anim')||'').match(/^roll-down$/)){to_next=[to_prev,to_prev=to_next][0];} to_next&&npl.toNext();to_prev&&npl.toPrev();});var _t,_o,THRESHOLD=20;$(document).on('select.carousel2 selectstart.carousel2 dragstart.carousel2','.carousel-valid > .carousel-contents > .carousel-content',function(ev){ev.preventDefault();}).on('mousedown.carousel2 touchstart.carousel2','.carousel-valid > .carousel-contents',function(ev){if((ev.type=='mousedown'&&ev.which!=1)||(ev.type=='touchstart'&&ev.originalEvent.touches[1])){return;} var t=ev.originalEvent.touches?ev.originalEvent.touches[0]:ev;var point={ox:t.pageX,oy:t.pageY,$carousel:$(this).parent()};_o=point;var nextprev=getNextPrevLoop(_o.$carousel);$.extend(_o,nextprev);}).on('mousemove.carousel2 touchmove.carousel2',function(ev){if(!_o){return;} if((ev.type=='mousemove'&&ev.which!=1)||(ev.type=='touchmove'&&ev.originalEvent.touches[1])){_o=null;return;} var t=ev.originalEvent.touches?ev.originalEvent.touches[0]:ev,dx=t.pageX-_o.ox,dy=t.pageY-_o.oy;dx=Math.max(Math.min(dx,_o.cur.w),-_o.cur.w);dy=Math.max(Math.min(dy,_o.cur.h),-_o.cur.h);var d=_o.anim.is_vertical?dy:dx,to_next=d<0,to_prev=d>0;if(Math.abs(d)>THRESHOLD){if(_o.anim.direction=='down'||_o.anim.direction=='right'){to_next=[to_prev,to_prev=to_next][0];} to_next&&_o.toNext(true);to_prev&&_o.toPrev(true);_o=null;}}).on('mouseup.carousel2 touchend.carousel2',function(ev){_o=null;});$(document).on('mouseenter.carousel2 mouseleave.carousel2','.carousel2.carousel-valid',function(ev){$(this).toggleClass('hover',ev.type=='mouseenter');});function doPlayCmd($c,cmd){var stat=$c.attr('data-carousel-autoanim-stat')||'';function play(stat){$c.attr('data-carousel-autoanim-stat','playing');var intervals=($c.attr('data-carousel-autoanim')||'7000,3000').split(',');var delay=parseInt(intervals[0],10),interval=parseInt(intervals[1],10)||delay||3000,_t=$c.data('carousel-t');clearTimeout(_t);clearInterval(_t);if(stat!='pausing'){var _t=setTimeout(function(){var _t=$c.data('carousel-t');clearTimeout(_t);clearInterval(_t);if(!$c.is('.hover')&&$c.isInView()){getNextPrevLoop($c).toNext(true);} _t=setInterval(function(){if(!$c.is('.hover')&&$c.isInView()){getNextPrevLoop($c).toNext(true);}},interval);$c.data('carousel-t',_t);},delay);$c.data('carousel-t',_t);}else{_t=setInterval(function(){if(!$c.is('.hover')&&$c.isInView()){getNextPrevLoop($c).toNext(true);}},interval);$c.data('carousel-t',_t);}} function pause(stat){$c.attr('data-carousel-autoanim-stat','pausing');var _t=$c.data('carousel-t');clearTimeout(_t);clearInterval(_t);$c.removeData('carousel-t');} function stop(stat){$c.attr('data-carousel-autoanim-stat','stopped');var _t=$c.data('carousel-t');clearTimeout(_t);clearInterval(_t);$c.removeData('carousel-t');} function rewind(stat){$c.children('input[type="radio"]').removeClass('prev-checked').first().prop('checked',true).trigger('change').end().end().carousel2('reset',stat!='playing');} function noeffect(stat){} var func={'':{'play':play,'stop':stop,'pause':pause,'rewind':rewind,},'playing':{'play':noeffect,'stop':stop,'pause':pause,'rewind':rewind,},'pausing':{'play':play,'stop':stop,'pause':noeffect,'rewind':rewind,},'stopped':{'play':play,'stop':noeffect,'pause':noeffect,'rewind':rewind,}}[stat][cmd];if(func){func(stat);}else{console.error('carousel2:invalid stat and cmd:stat='+stat+':cmd='+cmd);}} $(document).on('click.carousel2','.carousel-valid [data-carousel-cmd]',function(ev){ev.preventDefault();doPlayCmd($(this).closest('.carousel-valid'),$(this).attr('data-carousel-cmd'));});var OPT={anim:'roll-horiz',autoanim:'7000,3000',duration:'500',nav:'under',navrel:true,};var ATTRS=['anim','duration','autoanim','nav','navrel'];$.fn.carousel2=function(opt,arg,args){opt=opt||{};var cmd;if($.type(opt)!='object'){cmd=opt;opt=null;} return $(this).each(function(){var $c=$(this);if(cmd){console.log('carousel2():cmd:'+cmd,$c);if(['play','stop','pause','rewind'].indexOf(cmd)>=0){doPlayCmd($c,cmd);}else if(cmd=='destroy'||cmd=='reset'){$c.carousel2('stop').removeClass('carousel-valid hover prevent-anim prevent-anim-rev anim-rev').removeAttr('data-carouse-autoanim-stat').addClass('prevent-anim').find('>input[type="radio"]').removeClass('prev-checked').first().prop('checked',true).trigger('change').end().end();if(cmd=='reset'){setTimeout(function(){$c.carousel2();if(arg&&!$c.is('[data-carousel-autoanim="none"]')){setTimeout(function(){$c.carousel2('pause');});}});}}else if(cmd=='next'){getNextPrevLoop($c).toNext();}else if(cmd=='prev'){getNextPrevLoop($c).toPrev();}else if(cmd=='settings'){if($.type(arg)=='string'){arg={arg:arg2};}}else if(cmd=='connectsettings'){if($.type(arg)=='string'){arg={arg:arg2};} console.log('carousel2():connectsettings:',$c[0]);$.each(arg,function(attr,$input){if(!ATTRS.indexOf(attr)<0){console.error('carousel2:connectsetting:'+attr+' is not in '+ATTRS.join(','));return;} if(!$input.is(':input')){console.error('carousel2:connectsetting:$input is not :input');return;} $input.data('carouselsetting',$input.data('carouselsetting')||[]);var connected=$input.data('carouselsetting');if(connected.indexOf($c[0])>=0){console.log('carousel2():connectsettings:$input is already connected to .carousel2',$input[0],$c[0]);return;} connected.push($c[0]);$input.data('caroselsetting',connected);$input.on('change.carousel2setting',function(ev){$c.attr('data-carousel-'+attr,$(this).val()).carousel2('reset');var attrs={};$.each(ATTRS,function(attr,val){attrs[attr]=val;});$c.addClass('setting-changed').trigger('changesetting',[attrs]);setTimeout(function(){$c.removeClass('setting-changed');},1000);}).on('focus blur',function(ev){var is_focus=(ev.type=='focus'),$this=$(this),target_selector={anim:'.carousel-contents',duration:'.carousel-contents',autoanim:'.carousel-contents',nav:'.carousel-nav',navrel:'.carousel-nav-rel .carousel-nav-prev, .carousel-nav-rel .carousel-nav-next',}[attr];$c.toggleClass('setting-focused',is_focus);if(target_selector){$c.find(target_selector).toggleClass('setting-focused',is_focus);}});});}else{console.error('carousel2():invalid cmd:'+cmd);}}else{if($c.is('.carousel-invalid')){return;} var _opt=$.extend({},OPT,opt);Object.keys(OPT).forEach(function(key){var opt_attr=$c.attr('data-carousel-'+key);if(opt_attr!==undefined){_opt[key]=opt_attr;}});var $contents=$c.children('.carousel-contents'),$content=$contents.children('.carousel-content'),$nav=$contents.next('.carousel-nav'),$navrel=$contents.children('.carousel-nav-rel');function hasValidStructure(){return $content.length>=2;} if(!hasValidStructure()){console.error('.carousel2 is not valid structure',$c);$c.addClass('carousel-invalid');return;} $c.addClass('carousel-valid').addClass('prevent-anim').assureUniqId('carousel-').children('.carousel-contents').spaceless();var cid=$c.attr('id');console.log('$.carousel2():init:',_opt,$c);var _waits_d=$.Deferred(),_waits_l=0,$waits=$c.find('img[src]:visible').filter(function(){var has_size=!!($(this).height());if(!has_size){_waits_l++;return true;} return false;}).on('load error',function(ev){_waits_l--;if(_waits_l==0){_waits_d.resolve('all images are loaded');}});if(!_waits_l){_waits_d.resolve('all images are already loaded');}else{$c.addClass('carousel-loading');_waits_d.then(function(){$c.removeClass('carousel-loading');});setTimeout(function(){_waits_d.resolve('timeout');},5000);} if($content.length>=min_dynamic_css_contents_num){max_dynamic_css_contents_num=$content.length;makeDynamicCssForContents(min_dynamic_css_contents_num,max_dynamic_css_contents_num);min_dynamic_css_contents_num=max_dynamic_css_contents_num+1;} $('#style-'+cid+'-duration').remove();if(parseInt(duration,10)!=500){$('<style></style>').attr('id','style-'+cid+'-duration').html('#'+cid+' > .carousel-contents > .carousel-content { animation-duration:'+_opt.duration+'ms; ').appendTo('head');} var $i=$c.children('input[type="radio"]');if(!_opt.nav){$nav.remove();}else{if(!($nav[0])){$nav=$('<div class="carousel-nav"></div>').insertAfter($contents);} if(!($nav.children('.carousel-nav-manip')[0])){$('<div class="carousel-nav-manip"><div class="carousel-nav-rewind" data-carousel-cmd="rewind"></div><div class="carousel-nav-stop" data-carousel-cmd="stop"></div><div class="carousel-nav-pause" data-carousel-cmd="pause"></div><div class="carousel-nav-play" data-carousel-cmd="play"></div></div>').appendTo($nav);}} if(!_opt.navrel){$navrel.remove();}else if(!($navrel[0])){$navrel=$('<div class="carousel-nav-rel"><div class="carousel-nav-prev"></div><div class="carousel-nav-next"></div></div>').appendTo($contents);} var checked_idx=Math.max(0,$i.index($i.filter(':checked')));$i.remove();$i=$();$nav.children('label').remove();for(var i=$contents.children('.carousel-content').length;i;i--){var rid=cid+'-radio-'+i;$i=$i.add($('<input type="radio">').attr({id:rid,name:cid+'-radio'}).css({position:'absolute',zIndex:-1,width:'1px',height:'1px',overflow:'hidden',opacity:0,}).prependTo($c));$('<label></label>').attr('for',rid).prependTo($nav);} var duration=$c.attr('data-carousel-anim-duration');if(duration){$('<style></style>').attr('id','style-duration-'+cid).html('#'+cid+' .carousel-content { animation-duration:'+duration+'ms; }').appendTo('head');}else{$('#style-duration-'+cid).remove();} $i.one('change',function(){$c.removeClass('prevent-anim');});$i[checked_idx].checked=true;if(_opt.autoanim!='none'){_waits_d.then(function(res){console.log('carousel2:auto animation start:'+res);$c.carousel2('play');});}}});};var min_dynamic_css_contents_num=13,max_dynamic_css_contents_num=20,tmpls,_template_loading_d;if(!window._jquery_carousel2_tmpls){window_jquery_carousel2_tmpls='loading';_template_loading_d=$.Deferred();$('script[src]').filter(function(){return $(this).attr('src').indexOf('/jquery-carousel.js')>=0}).each(function(){var url=$(this).attr('src').replace('/jquery-carousel.js','/jquery-carousel.css');$.ajax({type:'get',url:url,dataType:'text'}).then(function(res){if(res.substring(0,'.this-is-carousel2-stylesheet'.length)!='.this-is-carousel2-stylesheet'){return;} window._jquery_carousel2_tmpls=res.match(/\.carousel-template ([\u0000-\uffff]+?){([\u0000-\uffff]+?)}/mg).map(function(tmpl){tmpl=tmpl.match(/^\.carousel-template ([\u0000-\uffff]+?){([\u0000-\uffff]+?)}$/m);tmpl.shift();return tmpl;});_template_loading_d.resolve();});});} function makeDynamicCssForContents(min_contents_num,max_contents_num){var i,l,s,r,t,c,rules=[],rules_dict={} var min_contents_num=min_contents_num==undefined?min_dynamic_css_contents_num:min_contents_num;var max_contents_num=max_contents_num==undefined?max_dynamic_css_contents_num:max_contents_num;if(!window._jquery_carousel2_tmpls||window._jquery_carousel2_tmpls=='loading'){return _template_loading_d.then(function(){makeDynamicCssForContents(min_contents_num,max_contents_num);});} var cssText=[];window._jquery_carousel2_tmpls.forEach(function(tmpl){for(var t=[],i=min_contents_num,l=max_contents_num;i<=l;i++){cssText.push(tmpl[0].split('(1)').join('('+i+')')+'{'+tmpl[1]+'}');}});var sid='style-carousel-dynamic-'+min_contents_num+'-'+max_contents_num;$('<style></style>').attr('id',sid).html(cssText.join('\n')).appendTo('head');console.log('$.carousel():extend dynamic css:#'+sid);var _d=$.Deferred();_d.resolve();return _d;} $('.carousel2').carousel2();}); /*** combinestatic: from:lib/js/jquery-onscrolledintoview.js ***/ (function($){var DEBUG=(location.search.indexOf('_cs=0')!=-1);if($.registerOnScrolledIntoView){return;} console.log('jquery-onscrolledintoview.js loaded.');var VH=$(window).height();$(window).on('resize',function(){VH=$(window).height();});var ST=$(window).scrollTop(),LAST_ST=ST,SCROLLING_DOWN=false,SCROLLING_UP=false;$(window).on('scroll',function(){ST=$(window).scrollTop();SCROLLING_DOWN=ST>LAST_ST;SCROLLING_UP=ST<LAST_ST;LAST_ST=ST;});var METRICS_EXPIRE_MS=100;$.fn.isInView=function(offset){offset=offset===undefined?0:offset;var $elm=$(this),metrics=$(this).data('metrics'),now=new Date().getTime();if(!metrics||metrics.expire<now){metrics={expire:now+METRICS_EXPIRE_MS,offset:$elm.offset(),height:$elm.outerHeight()};$elm.data('metrics',metrics);} if(!metrics.offset||!metrics.height){return false;} var et=metrics.offset.top,eb=et+metrics.height;var ret=et<ST+VH+offset&&eb>ST+offset&&$elm.is(':visible');if(ret){var $p=$elm.parentsUntil('body').filter(function(){return this.clientHeight!=this.scrollHeight&&$(this).css('overflow')!='visible';}).each(function(){var $c=$(this),metrics=$c.data('metrics'),now=new Date().getTime();if(!metrics||metrics.expire<now){metrics={expire:now+METRICS_EXPIRE_MS,offset:$c.offset(),height:$c.outerHeight()};$c.data('metrics',metrics);} var pt=metrics.offset.top,pb=pt+metrics.height;if(et>pb||eb<pt){ret=false;return false;}});} return ret;} var WATCHING_SELECTORS=[];var WATCH_INTERVAL=1000/30;var WATCHING_SELECTOR='';var $WATCHING_ELEMENTS=$();$.registerOnScrolledIntoView=function(target){if($.type(target)=='string'){if($.inArray(target,WATCHING_SELECTORS)==-1){WATCHING_SELECTORS.push(target);WATCHING_SELECTOR=WATCHING_SELECTORS.join(',');}}else{$WATCHING_ELEMENTS.add($(target));$(target).on('remove DOMNodeRemoved',function(ev){$.unregisterOnScrolledIntoView(ev.target);});} checkInView();};$.unregisterOnScrolledIntoView=function(target){if($.type(target)=='string'){var idx=$.inArray(target,WATCHING_SELECTORS);if(idx==-1){WATCHING_SELECTORS.splice(idx,1);WATCHING_SELECTOR=WATCHING_SELECTORS.join(',');}}else{target=$(target);$WATCHING_ELEMENTS=$WATCHING_ELEMENTS.filter(function(){return!target.is(this);});} checkInView();};if(window.IntersectionObserver&&window.MutationObserver){function isTarget(node){return(WATCHING_SELECTOR&&node.matches(WATCHING_SELECTOR))||!!($WATCHING_ELEMENTS.filter(function(){return $(this).is(node)})[0]);} var intersection_observer=new IntersectionObserver(function(entries){entries.forEach(function(entry){if(entry.isIntersecting){DEBUG&&console.log('onscrolledintoview:scrolled into view',entry.target);$(entry.target).trigger('scrolledintoview');}else{DEBUG&&console.log('onscrolledintoview:scrolled outof view',entry.target);$(entry.target).trigger('scrolledoutofview');}})},{root:null,rootMargin:"0px",threshold:0,});var mutation_observer=new MutationObserver(function(mutations){mutations.forEach(function(mutation){mutation.addedNodes.forEach(function(node){if(node.nodeType==node.ELEMENT_NODE){if(isTarget(node)){DEBUG&&console.log('onscrolledintoview:io.observe',node) intersection_observer.observe(node);}else{$(node).find(WATCHING_SELECTOR).each(function(){DEBUG&&console.log('onscrolledintoview:io.observe',this) intersection_observer.observe(this);});}}});mutation.removedNodes.forEach(function(node){if(node.nodeType==node.ELEMENT_NODE){if(isTarget(node)){DEBUG&&console.log('onscrolledintoview:io.unobserve',node) intersection_observer.unobserve(node);}else{$(node).find(WATCHING_SELECTOR).each(function(){DEBUG&&console.log('onscrolledintoview:io.unobserve',this) intersection_observer.unobserve(this);});}}});})});$(function(){mutation_observer.observe(document.body,{childList:true,subtree:true,});});$.registerOnScrolledIntoView=function(target){DEBUG&&console.log('onscrolledintoview:register:'+target);if($.type(target)=='string'){if($.inArray(target,WATCHING_SELECTORS)==-1){WATCHING_SELECTORS.push(target);WATCHING_SELECTOR=WATCHING_SELECTORS.join(',');DEBUG&&console.log('onscrolledintoview:WATCHING_SELECTOR='+WATCHING_SELECTOR);} $(target).each(function(){DEBUG&&console.log('onscrolledintoview:io.observe',this) intersection_observer.observe(this);});}else{$WATCHING_ELEMENTS.add($(target));$(target).on('remove DOMNodeRemoved',function(ev){$.unregisterOnScrolledIntoView(ev.target);});$(target).each(function(){DEBUG&&console.log('onscrolledintoview:io.observe',this);intersection_observer.observe(this);})} checkInView();};$.unregisterOnScrolledIntoView=function(target){DEBUG&&console.log('onscrolledintoview:unregister:'+target);if($.type(target)=='string'){var idx=$.inArray(target,WATCHING_SELECTORS);if(idx==-1){WATCHING_SELECTORS.splice(idx,1);WATCHING_SELECTOR=WATCHING_SELECTORS.join(',');DEBUG&&console.log('onscrolledintoview:WATCHING_SELECTOR='+WATCHING_SELECTOR);} $(target).each(function(){DEBUG&&console.log('onscrolledintoview:io.unobserve',this);intersection_observer.unobserve(this);});}else{target=$(target);$WATCHING_ELEMENTS=$WATCHING_ELEMENTS.filter(function(){return!target.is(this);});$(target).each(function(){DEBUG&&console.log('onscrolledintoview:io.unobserve',this);intersection_observer.unobserve(this);});} checkInView();};return;} var ONSCROLL_MS=1000/33;var scrolling=false,_t;$(window).on('scroll resize',function(){clearTimeout(_t);scrolling=true;_t=setTimeout(function(){scrolling=false;},ONSCROLL_MS);});var REFRESH_INTERVAL=1000/4;var _REFRESH_CNT=Math.floor(REFRESH_INTERVAL/ONSCROLL_MS);var _refresh=_REFRESH_CNT;setInterval(function(){if(scrolling||_refresh==0){checkInView();} _refresh--;if(_refresh<0){_refresh=_REFRESH_CNT;}},ONSCROLL_MS);function checkInView(){var $target=$(WATCHING_SELECTOR).add($WATCHING_ELEMENTS);$target.each(function(){var $elm=$(this),in_view_old=$elm.data('in_view')||{};var in_view={above:$elm.isInView(-VH),just:$elm.isInView(),below:$elm.isInView(VH)};if(!in_view_old.just&&in_view.just){DEBUG&&console.log('scrolledintoview',$elm);$elm.trigger('scrolledintoview');}else if(in_view_old.just&&!in_view.just){DEBUG&&console.log('scrolledoutofview',$elm);$elm.trigger('scrolledoutofview');} if(SCROLLING_DOWN){if(!in_view_old.below&&in_view.below){DEBUG&&console.log('scrollingintoview:below',$elm);$elm.trigger('scrollingintoview');}}else if(SCROLLING_UP){if(!in_view_old.above&&in_view.above){DEBUG&&console.log('scrollingintoview:above',$elm);$elm.trigger('scrollingintoview');}} $elm.data('in_view',in_view);});}})(jQuery); /*** combinestatic: from:lib/js/jquery-embedhelper.js ***/ (function($){"use strict";var FB_LOCALES=['af_ZA','ar_AR','az_AZ','be_BY','bg_BG','bn_IN','bs_BA','ca_ES','cs_CZ','cy_GB','da_DK','de_DE','el_GR','en_GB','en_PI','en_UD','eo_EO','en_US','es_LA','et_EE','es_ES','eu_ES','fa_IR','fb_LT','fi_FI','fo_FO','fr_CA','fr_FR','fy_NL','ga_IE','gl_ES','he_IL','hi_IN','hr_HR','hu_HU','hy_AM','id_ID','is_IS','it_IT','ja_JP','ka_GE','km_KH','ko_KR','ku_TR','la_VA','lt_LT','lv_LV','mk_MK','ml_IN','ms_MY','nb_NO','ne_NP','nl_NL','nn_NO','pa_IN','pl_PL','ps_AF','pt_BR','pt_PT','ro_RO','ru_RU','sk_SK','sl_SI','sq_AL','sr_RS','sv_SE','sw_KE','ta_IN','te_IN','th_TH','tl_PH','tr_TR','uk_UA','vi_VN','zh_HK','zh_TW','zh_CN'];var LANG_TO_FB_LOCALE={};(function(){for(var i=0,l=FB_LOCALES.length;i<l;i++){var loc2=FB_LOCALES[i].split('_');LANG_TO_FB_LOCALE[loc2[0]]=FB_LOCALES[i];LANG_TO_FB_LOCALE['%s-%s'%(loc2[0],loc2[1])]=FB_LOCALES[i];}})();var $escdiv=$('<div></div>');function escapeAttr(text){return $escdiv.html(text).text();} if(!$('#fb-root')[0]){$('<div id="fb-root"></div>').prependTo('body');} var FB_VERSION='v3.2';var app_id=$('meta[property="fb:app_id"]').attr('content')||'';function buildAttrs(attrs){attrs=attrs||{};var ret=[];for(var k in attrs){if(attrs.hasOwnProperty(k)){ret.push(k+'="'+escapeAttr(attrs[k])+'"');}} return ret.join(' ');} console.log('embedhelper:readyState:'+document.readyState);var loadScript=function(src,attrs){var s=document.createElement('script');Object.keys(attrs).forEach(function(k){s.setAttribute(k,attrs[k])});s.src=src;document.body.appendChild(s);console.log('embedhelper:load script by DOM',s);return $(s);};var _d_fb=$.Deferred();function setupFacebookSDK(){var locale=LANG_TO_FB_LOCALE[navigator.language||navigator.userLanguage||'en'];console.log('loading FB API sdk.js:locale='+locale+':app_id='+(app_id||''));var fb_src='https://connect.facebook.net/'+locale+'/sdk.js#xfbml=1&version='+FB_VERSION+(app_id?'&app_id='+app_id:'')+'&autoLogAppEvents=1';loadScript(fb_src,{'async':'async','defer':'defer','crossorigin':'anonymous'}).on('load error',function(){_d_fb.resolve()});return _d_fb;} var _twttr_widgets_load=null,_FB_XFBML_parse=null,_instgrm_Embeds_process=null,_pinterest_build=null;var WATCH={'twitter.com':{targets:'blockquote.twitter-tweet:not([data-embed-rendering])',is_loaded:function(){_twttr_widgets_load=window.twttr&&window.twttr.widgets&&window.twttr.widgets.load;if(_twttr_widgets_load){_twttr_widgets_load=_twttr_widgets_load.bind(window.twttr.widgets);} return!!_twttr_widgets_load;},load:function(){return $.getScript('//platform.twitter.com/widgets.js');},get_targets:function(){return $('blockquote.twitter-tweet:not([data-embed-rendering])');},update:function($targets){try{$targets.attr('data-embed-rendering','1');_twttr_widgets_load();}catch(ex){console.error(ex);$targets.removeAttr('data-embed-rendering');_twttr_widgets_load=null;}}},'x.com':{targets:'blockquote.twitter-tweet:not([data-embed-rendering])',is_loaded:function(){_twttr_widgets_load=window.twttr&&window.twttr.widgets&&window.twttr.widgets.load;if(_twttr_widgets_load){_twttr_widgets_load=_twttr_widgets_load.bind(window.twttr.widgets);} return!!_twttr_widgets_load;},load:function(){return $.getScript('//platform.twitter.com/widgets.js');},get_targets:function(){return $('blockquote.twitter-tweet:not([data-embed-rendering])');},update:function($targets){try{$targets.attr('data-embed-rendering','1');_twttr_widgets_load();}catch(ex){console.error(ex);$targets.removeAttr('data-embed-rendering');_twttr_widgets_load=null;}}},'facebook.com':{targets:'.fb-post,.fb-video,.fb-comments,.fb-like,.fb-page,.fb-login-button',is_loaded:function(){_FB_XFBML_parse=window.FB&&window.FB.XFBML&&window.FB.XFBML.parse;if(_FB_XFBML_parse){_FB_XFBML_parse=_FB_XFBML_parse.bind(window.FB.XFBML);} return!!_FB_XFBML_parse;},load:function(){return setupFacebookSDK();},get_targets:function(for_resize){function FBPS(mapfunc){mapfunc=mapfunc||function(v){return v};return'.fb-post,.fb-video,.fb-comments,.fb-like,.fb-page,.fb-login-button'.split(',').map(mapfunc).join(',');} $('iframe[src*="//www.facebook.com/"][src*="/plugins/"]').filter(function(){var $ifr=$(this);if($ifr.closest(FBPS())[0]){return false;} var src=$ifr.attr('src'),loc=$('<a></a>').attr('href',src)[0];loc.protocol=loc.href.split(':')[0];var type=(loc.pathname.match(/^.*\/plugins\/(post|video|page|comment_embed)\.php$/)||['']).pop().replace(/_/g,'-'),params=loc.search.replace(/^\?/,'').split('&').reduce(function(p,c,i,a){var v=c.split('=',2);p['data-'+decodeURIComponent(v[0]).replace(/_/g,'-')]=decodeURIComponent(v[1]);return p},{});if(!type||!('data-href'in params)){return false} $(this).data({type:type,params:params});return true;}).map(function(){var $ifr=$(this),$div=$('<div></div>').attr($ifr.data('params')).addClass('fb-'+$ifr.data('type'));if($ifr.closest('.ratio-wrap')){$ifr=$ifr.closest('.ratio-wrap');} $ifr.replaceWith($div);return $div[0];});var $divs=$(FBPS()).removeAttr('data-width').removeAttr('data-height').attr('data-adapt-container-width','1');$divs.filter('.fb-post[data-href*="/videos/"]').removeClass('fb-post').addClass('fb-video');var $targets=$divs;if(for_resize){console.log('embedhelper:facebook:for_resize');$divs.removeAttr('fb-xfbml-state').removeAttr('fb-iframe-plugin-query').removeClass('fb_iframe_widget').removeClass('fb_iframe_widget_fluid_desktop');} return $targets;},update:function($targets){if(!$targets[0]){return;} var _ds=$targets.filter(function(){return!$(this).is('[data-embed-rendering]')}).map(function(){console.info('embedhelper:facebook:update',this);$(this).empty().removeClass('.fb_iframe_widget').removeClass('.fb_iframe_widget_fluid').removeAttr('fb-xfbml-state').removeAttr('fb-iframe-plugin-query');var _d=$.Deferred();return FB.XFBML.parse(this.parentNode,function(){$(this).attr('data-embed-rendering','1') _d.resolve()}.bind(this))}).toArray();$.when.apply(null,_ds).done(function(){console.info('embedhelper:facebook:FB.XFBML.parse() finished',$targets.toArray());});}},'instagram.com':{targets:'blockquote.instagram-media:not(.instagram-media-rendered):not([data-embed-rendering])',is_loaded:function(){_instgrm_Embeds_process=window.instgrm&&window.instgrm.Embeds&&window.instgrm.Embeds.process;if(_instgrm_Embeds_process){_instgrm_Embeds_process=_instgrm_Embeds_process.bind(window.instgrm.Embeds);} return!!_instgrm_Embeds_process;},load:function(){return $.getScript('//platform.instagram.com/en_US/embeds.js');},get_targets:function(){return $('blockquote.instagram-media:not(.instagram-media-rendered):not([data-embed-rendering])');},update:function($targets){try{$targets.attr('data-embed-rendering','1');window.instgrm.Embeds.process();}catch(ex){console.error(ex);$targets.removeAttr('data-embed-rendering');_instgrm_Embeds_process=null;}}},};function checkInit(k,def){if(!def.is_loaded()&&!def._is_loading){var $targets=def.get_targets().filter(function(){return $(this).isInView()});def.load().then(function(){var _t=setInterval(function(){if(def.is_loaded()){def.is_loading=false;clearInterval(_t);console.log('embedhelper:update:'+k);def.update($targets);$targets.removeClass('loading');}},100);}).always(function(){});}} $.each(WATCH,function(k,def){console.log('embedhelper:check scrolledintoview register:'+def.targets);if($(def.targets).filter(function(){return $(this).isInView()})[0]){checkInit(k,def);return;} $.registerOnScrolledIntoView(def.targets);$(document).on('scrolledintoview',def.targets,function(){console.log('embedhelper:check scrolledintoview'+k);checkInit(k,def);});});$.updateEmbeds=function(){$.each(WATCH,function(k,def){checkInit(k,def);})};})(jQuery); /*** combinestatic: from:lib/js/jquery-autoplay-onscroll.js ***/ $(function(){var DEBUG=false;var allow_autoplay=true;if($.autoplayScrolledIntoView){return;} console.log('jquery-autoplay-onscroll loaded.');if(!$.registerOnScrolledIntoView){console.error('need jquery-onscrolledintoview.js before jquery-autoplay-onscroll');return;} var youtube_iframe_api_initialized=false;var protocol=location.protocol;var bad_protocol=location.protocol=='http:'?'https:':'http:';var SELECTOR=['//www.youtube.com/embed/','//youtu.be/embed/','//w.soundcround.com/player/','//player.vimeo.com/video/'].map(function(v){return'iframe[src^="'+bad_protocol+v+'"],iframe[src^="'+v+'"]';}).join(',');var RX=new RegExp('^('+bad_protocol+')?//');function correctIframeProtocol(){$(SELECTOR).each(function(){var $e=$(this),src=$e.attr('src').replace(RX,location.protocol+'//');if(src!=$e.attr('src')){$e.attr('src',src);console.log('replaced:'+src);}});} correctIframeProtocol();var YOUTUBE_SELECTOR=['iframe[src^="//www.youtube.com/embed/"]','iframe[src^="//youtu.be/embed/"]','iframe[src^="http://www.youtube.com/embed/"]','iframe[src^="http://youtu.be/embed/"]','iframe[src^="https://www.youtube.com/embed/"]','iframe[src^="https://youtu.be/embed/"]'].join(',');var VIMEO_SELECTOR=['iframe[src^="//player.vimeo.com/video/"]','iframe[src^="http://player.vimeo.com/video/"]','iframe[src^="https://player.vimeo.com/video/"]'].join(',');var DEFAULT_TARGET_SELECTOR=[YOUTUBE_SELECTOR,VIMEO_SELECTOR,'video'].join(',');function parseQuery(qs){var r={};(qs||'').split('&').forEach(function(v,i){v=v.split('=');v[0]&&(r[v[0]]=v[1]===undefined?undefined:decodeURIComponent(v[1]))});return r} function buildQuery(params){var r=[],k,v;for(k in params){if(params.hasOwnProperty(k)){v=params[k];v=v===undefined?'':'='+encodeURIComponent(v);r.push(k+v)}};return r.join('&')} var WATCH_INTERVAL=1000/250;var WATCHING_SELECTORS=[];var $WATCHING_ELEMENTS=$();var WATCHING_SELECTOR='';$.clearAutoplayScrolledIntoView=function(){$.unregisterOnScrolledIntoView(WATCHING_SELECTOR);$WATCHING_ELEMENTS.each(function(){$.unregisterOnScrolledIntoView(this);});$WATCHING_ELEMENTS=$();WATCHING_SELECTORS=[];WATCHING_SELECTOR='';};$.autoplayScrolledIntoView=function(target){if(window._disable_autoplay_onscrolledintoview){return;} target=(target===undefined?DEFAULT_TARGET_SELECTOR:target);$.registerOnScrolledIntoView(target);$.registerAutoplayScrolledIntoView(target);};$.registerAutoplayScrolledIntoView=function(target){if($.type(target)=='string'){if($.inArray(target,WATCHING_SELECTORS)==-1){WATCHING_SELECTORS.push(target);WATCHING_SELECTOR=WATCHING_SELECTORS.join(',');}}else{$WATCHING_ELEMENTS.add($(target));$(target).on('remove DOMNodeRemoved',function(ev){$.unregisterOnScrolledIntoView(ev.target);});} checkAll();$.registerOnScrolledIntoView(target);return $(target);};$.fn.registerAutoplayScrolledIntoView=function(){$.registerAutoplayScrolledIntoView(this);return this;};$.unregisterAutoplayScrolledIntoView=function(target){if($.type(target)=='string'){var idx=$.inArray(target,WATCHING_SELECTORS);if(idx==-1){WATCHING_SELECTORS.splice(idx,1);WATCHING_SELECTOR=WATCHING_SELECTORS.join(',');}}else{target=$(target);$WATCHING_ELEMENTS=$WATCHING_ELEMENTS.filter(function(){return!target.is(this);});} $.unregisterOnScrolledIntoView(target);checkAll();return $(target);};var stop_autoplay=false;$.toggleAutoplayScrolledIntoView=function(toggle){stop_autoplay=toggle===undefined?togglek:!stop_autoplay;};$.fn.unregisterAutoplayScrolledIntoView=function(){$.unregisterAutoplayScrolledIntoView(this);return this;};function checkAll(){correctIframeProtocol();var $target=$(WATCHING_SELECTOR).add($WATCHING_ELEMENTS);$target=$target.filter(function(){return(!$(this).closest('.disable-autoplay-onscrolledintoview')[0]&&!$(this).is('.disable-autoplay-onscrolledintoview')[0])});youtube_iframe_api_initialized&&checkYouTubeIframe($target.filter(YOUTUBE_SELECTOR));checkVimeo($target.filter(VIMEO_SELECTOR));checkVideoElement($target.filter('video'));} function cssPositions($elm){var ret={};['position','top','left','width','height','bottom','margin','padding','z-index','opacity','zoom','max-width','max-height','transform','-webkit-transform','box-sizing','-webkit-box-sizing'].forEach(function(v){ret[v]=$elm.css(v);});return ret;} function makeAutoplayGif($elm,onclick){var gif=$elm.attr('data-autoplay-gif');var $gif=$elm.data('autoplaygif');if(gif&&!$gif){$gif=$('<img>').attr('src',gif).css('cursor','pointer');var offset=$elm.position();$gif.data('autoplay_target',$elm).on('click',function(ev){var $gif=$(this),$elm=$gif.data('autoplay_target');onclick($elm);setTimeout(function(){$gif.remove();$elm.show();},10);}).css(cssPositions($elm)).insertBefore($elm);$elm.hide();$elm.data('autplaygif',$gif);}} if(HTMLMediaElement){Object.defineProperty(HTMLMediaElement.prototype,'playing',{get:function(){return!!(this.currentTime>0&&!this.paused&&!this.ended&&this.readyState>2);}});HTMLMediaElement.prototype.fadeout=function(opts){var video=this;if(!video.playing){return;} var org_vol=video.volume;opts=$.extend({startVolume:org_vol,endVolume:0,duration:1000,steps:10,done:function(){},},opts);var vol=opts.startVolume;var delta_vol=(opts.startVolume-opts.endVolume)/opts.steps;var _t=setInterval(function(){if(vol>0){vol=vol-delta_vol;video.volume=vol;}else{clearInterval(_t);video.pause();video.volume=org_vol;opts.done.call(video);}},opts.duration/opts.steps);}} function checkVideoElement($target){$target.each(function(){var $video=$(this),video=$video[0],autoplay=$video.data('autoplay');if(autoplay){return;} $video.data('autoplay',{notinitialized:true});function startAutoPlay($video){if(stop_autoplay){return;} var player=$video[0],autoplay=$video.data('autoplay');if(!autoplay||autoplay.notinitialized){autoplay={muted:player.muted,controls:player.controls,loop:player.loop,canceled:false,cursor:$video.css('cursor')};$video.data('autoplay',autoplay);} if(!autoplay.canceled){player.muted=true;player.controls=false;$video.css('cursor','pointer');$video.data('autoplay',autoplay);if(allow_autoplay){player.play();}else{makeAutoplayGif($video,function($video){var autoplay=$video.data('autoplay'),video=$video[0];video.currentTime=0;video.muted=autoplay.muted;video.controls=autoplay.controls;video.play();autoplay.canceled=true;$video.data('autoplay',autoplay);});}}} function stopAutoPlay($video,cue,clear_autoplay){if(stop_autoplay){return;} var player=$video[0],autoplay=$video.data('autoplay');if(allow_autoplay){player.pause();} player.muted=autoplay.muted;if(cue){player.currentTime=0;} if(clear_autoplay){player.controls=autoplay.controls;$video.css('cursor',autoplay.cursor);player.loop=autoplay.loop;autoplay.canceled=true;$video.data('autoplay',autoplay);}} $video.on('click.autoplaying',function(ev){var $video=$(this),autoplay=$video.data('autoplay'),video=$video[0];if(autoplay&&!autoplay.canceled&&$video.isInView()){stopAutoPlay($video,true,true);video.play();}}).on('ended.autoplaying',function(ev){var $video=$(this),autoplay=$video.data('autoplay'),video=$video[0];if(autoplay.loop&&!autoplay.canceled&&$video.isInView()){video.currentTime=0;video.play();}}).on('scrolledintoview',function(ev){var $video=$(this),autoplay=$video.data('autoplay'),video=$video[0];if(!autoplay||!autoplay.canceled){startAutoPlay($video);}}).on('scrolledoutofview',function(ev){var $video=$(this),autoplay=$video.data('autoplay'),video=$video[0];if(video.playing){if(video.muted){$video[0].pause();}else{$video[0].fadeout({done:function(){}});}}});if($video.isInView()){startAutoPlay($video);}});} var YT_ST_REV={};function correctYoutubeIframeParams($target){$target.each(function(){var $ifr=$(this),src=$ifr.attr('src'),src=src.split('?'),params=parseQuery(src[1]);params.origin=location.href.match(/^https?:\/\/[^\/]+/)[0];params.playsinline=1;params.modestbranding=1;$ifr.attr('src',src[0]+'?'+buildQuery(params));})} correctYoutubeIframeParams($('iframe[src*="youtube.com/embed"]')) function checkYouTubeIframe($target){function startAutoPlay($ifr){if(stop_autoplay){return;} var autoplay=$ifr.data('autoplay');var player=$ifr.data('ytplayer');if(!autoplay){autoplay={muted:allow_autoplay&&player.isMuted(),canceled:false,qs:$ifr.data('org_qs'),params:$ifr.data('org_params'),};$ifr.data('autoplay',autoplay);} if(!autoplay.canceled){if(allow_autoplay){player.mute();player.playVideo();}else{makeAutoplayGif($ifr,function($ifr){var player=$ifr.data('ytplayer');var autoplay=$ifr.data('autoplay');autoplay.canceled=true;$ifr.data('autoplay',autoplay);if(allow_autoplay){player.seekTo(0);if(!autoplay.muted){player.unMute();} console.log('YouTube:playVideo()',$ifr);player.playVideo();}});}}} function stopAutoPlay($ifr,cue,clear_autoplay){if(stop_autoplay){return;} var autoplay=$ifr.data('autoplay');var player=$ifr.data('ytplayer');if(allow_autoplay){if(cue){player.seekTo(0);} player.pauseVideo();if(!autoplay.muted){player.unMute();}} if(clear_autoplay){autoplay.canceled=true;$ifr.data('autoplay',autoplay);}} function onReady(player,$ifr){$ifr.data('ytplayer',player).on('scrolledintoview',function(){var $ifr=$(this),autoplay=$ifr.data('autoplay');var player=$ifr.data('ytplayer');if(!autoplay||!autoplay.canceled){var s=player.getPlayerState&&player.getPlayerState();if(!allow_autoplay||s===YT.PlayerState.UNSTARTED||s===YT.PlayerState.BUFFERING||s===YT.PlayerState.CUED||s===YT.PlayerState.PAUSED){startAutoPlay($ifr);}}}).on('scrolledoutofview',function(){var $ifr=$(this),autoplay=$ifr.data('autoplay');var player=$ifr.data('ytplayer');var s=player.getPlayerState&&player.getPlayerState();if(s==YT.PlayerState.PLAYING){if(allow_autoplay){if(player.isMuted()){player.pauseVideo();}else{ytplayerFadeoutVideo(player);}}}});if($ifr.isInView()){startAutoPlay($ifr);}} $target.each(function(){var $ifr=$(this),src=$ifr.attr('src');var player=$ifr.data('ytplayer');if(player){}else{if(src.indexOf(location.protocol)!=0){console.log('checkYouTubeIframe:bad protocol. waiting:'+src);return;} console.log('checkYouTubeIframe:process:'+src);var m=src.match(/\/embed\/(.+?)(\?(.+?))?$/);var video_id=m[1],qs=m[3]||'',params;params=parseQuery(qs);if(params.loop=='1'&&!params.playlist){params.playlist=video_id;} delete params.autoplay;params.enablejsapi='1';params.origin=location.href.split('/').splice(0,3).join('/');params.playsinline=1;params.modestbranding=1;var org_params=$.extend({},params);var org_qs=buildQuery(org_params);$ifr.data('org_qs',org_qs);$ifr.data('org_params',org_params);params.loop='1';qs=buildQuery(params);src=src.replace(/^https?:/,location.protocol).replace(/\/embed\/([^\?]+)(\?.*)?$/,'/embed/$1?') +qs;console.log('checkYouTubeIframe:processed:'+src);if(!allow_autoplay){console.log('dummy YTPlayer');player={not_allow_autoplay:true,getIframe:function(){return $ifr;},};setTimeout(function(){onReady(player,$ifr);},10);}else{var cnt=0;player={initializing:true,getIframe:function(){return $ifr;},};$ifr.attr('src',src).on('load',function(){var $ifr=$(this),ifr_id=$ifr.attr('id')||('ifr-yt-'+cnt);$ifr.attr('id',ifr_id) console.log('youtube iframe',this);player=new YT.Player(ifr_id,{events:{onReady:function(ev){var player=ev.target;var $ifr=$(ev.target.getIframe());console.log('youtube Player onReady',$ifr[0]);return onReady(player,$ifr);},onStateChange:function(ev){var player=ev.target,s=ev.data,$ifr=$(player.getIframe()),autoplay=$ifr.data('autoplay');if(autoplay&&!autoplay.canceled&&$ifr.isInView()){if(s==YT.PlayerState.PAUSED){stopAutoPlay($ifr,true,true);setTimeout(function(){allow_autoplay&&player.playVideo();},10);}else if(s==YT.PlayerState.ENDED){if(autoplay.params.loop!='1'){allow_autoplay&&player.seekTo(0);}}}},onError:function(ev){console.error('YoutubeIframe:error:',ev.data);},}});$ifr.data('ytplayer',player);});} $ifr.data('ytplayer',player);} if(!player){console.error('cannot get ytplayer',$ifr[0]);return;}});} function ytplayerFadeoutVideo(player,opts){if(player.getPlayerState()!=YT.PlayerState.PLAYING){return;} var org_vol=player.getVolume();opts=$.extend({startVolume:org_vol,endVolume:0,duration:1000,steps:10,done:function(){},},opts);var vol=opts.startVolume;var delta_vol=(opts.startVolume-opts.endVolume)/opts.steps;var _t=setInterval(function(){if(vol>0){vol=vol-delta_vol;player.setVolume(vol);}else{clearInterval(_t);player.pauseVideo();player.setVolume(org_vol);opts.done.call(player);}},opts.duration/opts.steps);} function fadeoutVimeo(player,opts){var player=this;if(!player.playing){return;} player.api('getVolume',function(org_vol){opts=$.extend({startVolume:org_vol,endVolume:0,duration:1000,steps:10,done:function(){},},opts);var vol=opts.startVolume;var delta_vol=(opts.startVolume-opts.endVolume)/opts.steps;var _t=setInterval(function(){if(vol>0){vol=vol-delta_vol;player.api('setVolume',vol);}else{clearInterval(_t);player.api('pause');player.api('setVolume',org_vol);opts.done.call(player);}},opts.duration/opts.steps);});} var vimeo_cnt=0;$(document).one('scrolledintoview',VIMEO_SELECTOR,function(){if(!window.$f){$('<'+'script></'+'script>').attr({'id':'script-vimeo-api','src':'https://f.vimeocdn.com/js/froogaloop2.min.js'}).appendTo('body');console.log('vimeo js api loading');}});var $vimeo_need_replace=$();function checkVimeo($target){if(!window.$f){$vimeo_need_replace=$vimeo_need_replace.add($target);$target.data('need_replace',true);return;} $target.each(function(){var $ifr=$(this),ifr=$ifr[0],autoplay=$ifr.data('autoplay');var src=$ifr.attr('src').split('?');var q=parseQuery(src[1]);if(!q.api){var id=$ifr.attr('id')||('vimeo-'+(++vimeo_cnt));$.extend(q,{api:'1',player_id:id});var $new_ifr=$ifr.clone().attr({id:id,src:src[0]+'?'+buildQuery(q)});$ifr.replaceWith($new_ifr);console.log('vimeo iframe src replaced:'+$new_ifr.attr('src'));return;} if($ifr.data('need_replace')){$ifr.replaceWith($ifr.clone().data('need_replace',false));return;} if(autoplay){return;} var player=$f($ifr[0]);player.addEvent('ready',function(){console.info('vimeo:ready',player);$ifr.data('autoplay',{notinitialized:true,player:player});function startAutoPlay($ifr){if(stop_autoplay){return;} var autoplay=$ifr.data('autoplay');if(!autoplay||autoplay.notinitialized){var player=autoplay&&autoplay.player||$f($ifr[0]);autoplay={player:player,canceled:false,cursor:$ifr.css('cursor')};player.api('getVolume',function(vol){autoplay.muted=vol;});player.api('getLoop',function(loop){autoplay.loop=loop;});$ifr.data('autoplay',autoplay);} var player=autoplay.player;if(!autoplay.canceled){player.api('setVolume',0);$ifr.css('cursor','pointer');$ifr.data('autoplay',autoplay);if(allow_autoplay){player.api('play');}else{makeAutoplayGif($ifr,function($ifr){var autoplay=$ifr.data('autoplay'),player=autoplay.player;player.api('seekTo',0);player.api('setVolume',autoplay.muted);player.api('play');autoplay.canceled=true;$ifr.data('autoplay',autoplay);});}}} function stopAutoPlay($ifr,cue,clear_autoplay){if(stop_autoplay){return;} var autoplay=$ifr.data('autoplay'),player=autoplay.player;if(allow_autoplay){player.api('pause');} player.api('setVolume',autoplay.muted);if(cue){player.api('setCurrentTime',0);} if(clear_autoplay){$ifr.css('cursor',autoplay.cursor);player.api('setLoop',autoplay.loop);autoplay.canceled=true;$ifr.data('autoplay',autoplay);}} player.addEvent('play',function(){player.playing=true;});player.addEvent('finish',function(){player.playing=false;$ifr.trigger('ended.autoplaying');});player.addEvent('pause',function(){player.playing=false;$ifr.trigger('click.autoplaying')});$ifr.on('click.autoplaying',function(ev){var autoplay=$ifr.data('autoplay'),player=autoplay.player;if(autoplay&&!autoplay.canceled&&$ifr.isInView()){stopAutoPlay($ifr,true,true);player.api('play');}}).on('ended.autoplaying',function(ev){var $ifr=$(this),autoplay=$ifr.data('autoplay'),player=autoplay.player;player.api('seekTo',0);if(!autoplay.canceled||autoplay.loop){player.api('play');}}).on('scrolledintoview',function(ev){var $ifr=$(this),autoplay=$ifr.data('autoplay'),player=autoplay.player;if(!autoplay||!autoplay.canceled){startAutoPlay($ifr);}}).on('scrolledoutofview',function(ev){var $ifr=$(this),autoplay=$ifr.data('autoplay'),player=autoplay.player;if(player.playing){if(autoplay.muted){player.api('pause');}else{fadeoutVimeo(player);}}});if($ifr.isInView()){startAutoPlay($ifr);}});});} if(window._disable_autoplay_onscrolledintoview){return;} setInterval(function(){checkAll();},WATCH_INTERVAL);var youtube_initialized=false;function youtubeInit(){if(youtube_initialized){return;} youtube_initialized=true;console.log('youtubeInit()');var _t=setInterval(function(){if(window.YT&&window.YT.Player){console.log('youtubeInit():window.YT.Player enabled');clearInterval(_t);youtube_iframe_api_initialized=true;['ENDED','PLAYING','PAUSED','BUFFERING','CUED'].forEach(function(s){YT_ST_REV[YT.PlayerState[s]]=s;});}},100);} var _onYouTubeIframeAPIReady=window.onYouTubeIframeAPIReady;if(_onYouTubeIframeAPIReady){window.onYouTubeIframeAPIReady=function(){_onYouTubeIframeAPIReady();youtubeInit();};}else{window.onYouTubeIframeAPIReady=youtubeInit;} $(document).one('scrolledintoview',YOUTUBE_SELECTOR,function(){if(!window.YT){$('<'+'script></'+'script>').attr('src','https://www.youtube.com/iframe_api').appendTo('body');}else{youtubeInit();}});}); /*** combinestatic: from:lib/js/enquire.js ***/ ;(function(name,context,factory){var matchMedia=window.matchMedia;if(typeof module!=='undefined'&&module.exports){module.exports=factory(matchMedia);} else if(typeof define==='function'&&define.amd){define(function(){return(context[name]=factory(matchMedia));});} else{context[name]=factory(matchMedia);}}('enquire',this,function(matchMedia){'use strict';function each(collection,fn){var i=0,length=collection.length,cont;for(i;i<length;i++){cont=fn(collection[i],i);if(cont===false){break;}}} function isArray(target){return Object.prototype.toString.apply(target)==='[object Array]';} function isFunction(target){return typeof target==='function';} function QueryHandler(options){this.options=options;!options.deferSetup&&this.setup();} QueryHandler.prototype={setup:function(){if(this.options.setup){this.options.setup();} this.initialised=true;},on:function(){!this.initialised&&this.setup();this.options.match&&this.options.match();},off:function(){this.options.unmatch&&this.options.unmatch();},destroy:function(){this.options.destroy?this.options.destroy():this.off();},equals:function(target){return this.options===target||this.options.match===target;}};function MediaQuery(query,isUnconditional){this.query=query;this.isUnconditional=isUnconditional;this.handlers=[];this.mql=matchMedia(query);var self=this;this.listener=function(mql){self.mql=mql;self.assess();};this.mql.addListener(this.listener);} MediaQuery.prototype={addHandler:function(handler){var qh=new QueryHandler(handler);this.handlers.push(qh);this.matches()&&qh.on();},removeHandler:function(handler){var handlers=this.handlers;each(handlers,function(h,i){if(h.equals(handler)){h.destroy();return!handlers.splice(i,1);}});},matches:function(){return this.mql.matches||this.isUnconditional;},clear:function(){each(this.handlers,function(handler){handler.destroy();});this.mql.removeListener(this.listener);this.handlers.length=0;},assess:function(){var action=this.matches()?'on':'off';each(this.handlers,function(handler){handler[action]();});}};function MediaQueryDispatch(){if(!matchMedia){throw new Error('matchMedia not present, legacy browsers require a polyfill');} this.queries={};this.browserIsIncapable=!matchMedia('only all').matches;} MediaQueryDispatch.prototype={register:function(q,options,shouldDegrade){var queries=this.queries,isUnconditional=shouldDegrade&&this.browserIsIncapable;if(!queries[q]){queries[q]=new MediaQuery(q,isUnconditional);} if(isFunction(options)){options={match:options};} if(!isArray(options)){options=[options];} each(options,function(handler){if(isFunction(handler)){handler={match:handler};} queries[q].addHandler(handler);});return this;},unregister:function(q,handler){var query=this.queries[q];if(query){if(handler){query.removeHandler(handler);} else{query.clear();delete this.queries[q];}} return this;}};return new MediaQueryDispatch();})); /*** combinestatic: from:dinoportal/js/common.js ***/ $(function(){window._customized=window._customized||{};if(!history._replaceState){history._replaceState=history.replaceState;history.replaceState=function(){console.log('history.replaceState:',arguments);return this._replaceState.apply(this,arguments);}} var prevent_logincheck_for_preview=!!$('#style-preview-custom-indicator')[0] if(!!$('#preview-real-login-user-only')[0]){prevent_logincheck_for_preview=false;} if(window._acs_pvup_when_appended){console.info('acs:pageview up when html is appended.')}else{console.info('acs:pageview up when url is changed.')} function _dbg(msg){($('#dbg')[0]?$('#dbg'):$('<div id="dbg"></div>').css({position:'fixed',bottom:0,right:0,background:'rgba(0,0,0,.5)',color:'white',zIndex:32767,padding:'10px'}).appendTo('body')).text(msg);} var _NO_CACHE=location.search.indexOf('_no_cache=1')>=0;$.alert=(function(){$('<style id="style-commonjs-alert"></style>').html(['#commonjs-alert {','position:fixed; bottom:0; right:0;','background:rgba(255,255,255,.5); color:black;','border:1px solid #ccc;','font-size:12px; line-height:1.1;','max-width:50vw;','}','#commonjs-alert:empty { display:none; }','#commonjs-alert > div { padding:.25em .5em; display:flex; }','#commonjs-alert > div + div { border-top:1px solid #ccc; }','#commonjs-alert > div > :first-child { padding-right:.25em; }','#commonjs-alert > div > :first-child::before { font-family:FontAwesome; content:"\\f071"; margin-right:.5em; color:darkred; }','#commonjs-alert > div > :last-child { margin-left:auto; padding-left:.25em; }','#commonjs-alert > div > :last-child:not(:empty)::before { content:"(" }','#commonjs-alert > div > :last-child:not(:empty)::after { content:")" }',].join('')).appendTo('body');var $alert=$('<div id="commonjs-alert"></div>').appendTo('body');function msg(msg,timeout){timeout=timeout===undefined?5000:timeout;var $msg_hit=$alert.children().filter(function(){return $(this).data('msg')==msg;});if(!$msg_hit[0]){var $msg=$('<div></div>').append($('<span></span>').text(msg),$('<span></span>')).data('msg',msg).data('cnt',0);$alert.prepend($msg);$msg.data('_t',setTimeout(function(){this.remove()}.bind($msg),timeout));}else{clearTimeout($msg_hit.data('_t'));var cnt=$msg_hit.data('cnt');$msg_hit.data('cnt',++cnt);$msg_hit.children(':last-child').text(cnt);$msg_hit.data('_t',setTimeout(function(){this.remove()}.bind($msg_hit),timeout));}} return msg;})();$(document).on('ajaxSend',function(ev,xhr,settings){var loc=$('<a></a>').attr('href',settings.url)[0];loc.protocol=loc.href.split(':')[0];if(loc.hostname==location.hostname){xhr.setRequestHeader('X-Requested-With','XMLHttpRequest');if(settings.type=='POST'){xhr.setRequestHeader('X-CSRFToken',$.cookie('csrftoken'));} if(_NO_CACHE){if(settings.url.indexOf('_no_cache=')<0){settings.url+=(settings.url.indexOf('?')<0?'?':'&') +'_no_cache=1';}}}}).on('ajaxError',function(ev,xhr,settings,errorThrown){console.error('$.ajax():error:'+settings.url,xhr,errorThrown);if(xhr.status===0||xhr.readyState===0){return;} if(settings.ignore_ajax_errors){console.log('$.ajax():error ignored');return;} if(errorThrown instanceof SyntaxError){$.alert('Network: Parse Error');}else if(errorThrown=='timeout'){$.alert('Network: Timeout');}else if(xhr.readyState==0){$.alert('Network: Error');}else{switch(xhr.status){case 200:break;case 401:$.alert('Network: Session Timeout');location.reload();break;case 403:$.alert('Network: Forbidden');break;case 502:break;default:$.alert('Unknown Network Error:'+xhr.status);break;}}});$('#style-spaceless-init').remove();$('.spaceless, .banners-2col').spaceless();$(document).on('click','button[data-href]',function(){var $link=$('<a></a>').attr('href',$(this).attr('data-href')).attr('target',$(this).attr('data-href-target')||'').appendTo('body'),href=$link.attr('href'),target=$link.attr('target');$link.remove();if(target===''||target.toLowerCase()=='_self'){location.href=href;}else{window.open(href,target);}});$('#header-menu a[href^="/"]').removeClass('active').filter(function(){return this.pathname==location.pathname}).addClass('active');(function(){var fsbg=$.cookie('fsbg')=='1';function setFontBig(dobig){$('html').toggleClass('font-big',!!dobig);fsbg=dobig;$.cookie('fsbg',fsbg?'1':'0');} $('.font-expander').html(fsbg?'<i class="fa fa-fw fa-compress"></i> <span>文字を小さく</span>':'<i class="fa fa-fw fa-expand"></i> <span>文字を大きく</span>').on('click',function(ev){ev.preventDefault();fsbg=!fsbg;$(this).html(fsbg?'<i class="fa fa-fw fa-compress"></i> <span>文字を小さく</span>':'<i class="fa fa-fw fa-expand"></i> <span>文字を大きく</span>');if($(this).closest('#left-menu')[0]){$('#menu-icon').trigger('click');} setFontBig(fsbg);});setTimeout(function(){setFontBig(fsbg);},10);})();function toggleLeftMenus(force){$('#left-menu').toggleClass('opened',force);$('#main').toggleClass('left-menu-opened',force);$('#header').toggleClass('slide-right',force);if($('html').css('overflow-x')!='hidden'){$('html').css('overflow-x','hidden')}else{$('html').css('overflow-x','')}} $('#menu-icon').on('click touchstart',function(ev){ev.preventDefault();setTimeout(toggleLeftMenus);});$('body:not(.ptluser-logined) #signup-icon').on('click',function(){$(this).attr('href','/_psr/index?r='+encodeURIComponent(location.pathname+location.search));});$('body.ptluser-logined #signup-icon, body.ptluser-logined #signup-close').on('click touchstart',function(ev){ev.preventDefault();setTimeout(function(){$('#signup input[name="signup-select"]').each(function(){this.checked=false;}) if($('#signup').is('.opened')){$('#signup').removeClass('opened');}else{$('#signup').addClass('opened');$('#radio-signup-user').click();}});});$(document).on('click touchstart',function(ev){var $target=$(ev.target);if($('#left-menu').is('.opened')){if(!$target.closest('#left-menu')[0]||$target.is('#left-menu')){ev.stopImmediatePropagation();ev.preventDefault();setTimeout(function(){toggleLeftMenus(false);});}} if($('#signup').is('.opened')){if(!$target.closest('#signup')[0]||$target.is('#signup-icon')){ev.stopImmediatePropagation();ev.preventDefault();setTimeout(function(){$('#signup').removeClass('opened');});}} if($('#nativeadinfo').is('.opened')){if(!$target.closest('#nativeadinfo')[0]){ev.stopImmediatePropagation();ev.preventDefault();setTimeout(function(){$('#nativeadinfo').removeClass('opened');});}}});var init_fixedheader=true;var old_scrollTop=$(window).scrollTop(),reversed_scrollTop=0;var cur_scroll_dir='',cur_slideup=false;$(window).on('scroll.fixedheader',function(ev){if(init_fixedheader){init_fixedheader=false;return;} if($('#left-menu').is('.opened')){return;} var new_scrollTop=Math.max($('html').scrollTop()||$('body').scrollTop(),0);if($('#header').is('.slide-fixed')){old_scrollTop=new_scrollTop;return;} function setAdjustHeaderBg(){console.info('setAdjustHeaderBg()');var events='transitionend.adjustheaderbg webkitTransitionEnd.adjustheaderbg oTransitionEnd.adjustheaderbg mozTransitionEnd.adjustheaderbg';if($('#header-container').css('transition')){$('#header-container').off(events).one(events,function(){$(this).off(events);$(document).trigger('adjustheaderbg');});}else{setTimeout(function(){$(document).trigger('adjustheaderbg')});}} var d=new_scrollTop<old_scrollTop?'up':(new_scrollTop>old_scrollTop?'down':'nochange');if(new_scrollTop<60){if(cur_slideup){setAdjustHeaderBg();$('#header').removeClass('slide-up');} cur_slideup=false;}else{if(d!=cur_scroll_dir){cur_scroll_dir=d;reversed_scrollTop=old_scrollTop;} if(Math.abs(new_scrollTop-reversed_scrollTop)>80){var new_slideup=(d=='down');if(new_slideup!=cur_slideup){if(new_slideup==false){setAdjustHeaderBg();} $('#header').toggleClass('slide-up',new_slideup);cur_slideup=new_slideup;}}} old_scrollTop=new_scrollTop;return;}).trigger('scroll.fixedheader');function commentoutScriptElement(elm){elm.parentNode.insertBefore(document.createComment('<script> removed:'+(elm.src||elm.text)),elm);elm.parentNode.removeChild(elm);elm=null;} var is_blocks=$('body').is('.page-menufeed');var is_flex=$('#newsfeed').is('.newsfeed-all-display-type-flex');function adjustWidgets(for_mobile){var opts=$.extend({'start':is_blocks&&1||is_flex&&3||7,'step':is_blocks&&1||is_flex&&11||6},window._adjustwidgets);opts.start=Math.max(parseInt(opts.start,10),0);opts.step=Math.max(parseInt(opts.step,10),0);function moveWidgetForMobile($widget,$target,$target_parent){var $anchor=$('<div class="widget-moved-place"></div>');$widget.find('script').toArray().forEach(commentoutScriptElement);$widget.before($anchor).data('widgetanchor',$anchor).attr('data-widget-moved','1');$widget=$widget.wrap('<span class="widget-wrap"></span>').parent();if($target){$target.before($widget);}else{$target_parent.append($widget);} $(document).trigger('widgetmoved',[$widget])} function restoreWidgetsForPC(){return $('[data-widget-moved]').each(function(){var $widget=$(this).removeAttr('data-widget-moved');$widget.find('script').toArray().forEach(commentoutScriptElement);var $anchor=$widget.data('widgetanchor');$anchor.replaceWith($widget.unwrap());$widget.removeData('widgetanchor');$(document).trigger('widgetrestored',[$widget])});} var $widgets_pc=$('#main-contents-container > .widgets');var has_moved=false;if(for_mobile){$widgets_pc.hide();var $newsfeed=$('#newsfeed');if(!$widgets_pc[0]||!$newsfeed[0]){return;} var start=opts.start;var step=opts.step;var $contents=$('.newsfeed-container > .wfcontent, .newsfeed-block'),l=$contents.length;var $widgets=$widgets_pc.find('> .widget:not(:empty)'),wl=$widgets.length;var has_more=!!($("#newsfeed-next")[0]) if(!$widgets[0]){return;} for(var i=start,w=0;i<l&&w<wl;i+=step){var $target=$($contents[i]);if($target.prev().is('.widget-wrap')){continue;} moveWidgetForMobile($($widgets[w]),$target);has_moved=true;w++;} if(!has_more){var $container=$('.newsfeed-container');for(;w<wl;w++){moveWidgetForMobile($($widgets[w]),null,$container);has_moved=true;}}}else{has_moved=!!(restoreWidgetsForPC()[0]);$widgets_pc.show();} if(has_moved){$(window).trigger('resize.adjustwidgets');};} function initAdjustWidgets(){console.log('adjustWidget:start');if($(window).width()<=767){adjustWidgets(true);} enquire.register('screen and (max-width:767px)',{match:function(){adjustWidgets(true);},unmatch:function(){adjustWidgets(false);},setup:function(){adjustWidgets($(window).width()<=767);},deferSetup:true,destroy:function(){}});$(document).on('autopaged',function(){adjustWidgets($(window).width()<=767);$('.spaceless, .banners-2col').spaceless();});} $(document).on('click','a.content-sponsored',function(ev){ev.preventDefault();var ev_target=$(this);setTimeout(function(){var advertiser_title=$(".advertiser_title",ev_target.closest('.content-author-info')).text();$("#id_advertiser_title").text(advertiser_title);if($('#nativeadinfo').is('.opened')){$('#nativeadinfo').removeClass('opened');}else{$('#nativeadinfo').addClass('opened');}});});$(document).on('click','a.content-bookmarked',function(ev){ev.preventDefault();var $link=$(this);var content_id=$link.closest('[data-content]').attr('data-content');if(!content_id){return;} $link=$('[data-content="'+content_id+'"] [data-bookmarked-count] a.content-bookmarked');$.ajax({type:'post',url:'/_api/v1/dinoportal/bookmark/del',data:{content_id:content_id},dataType:'json'}).then(function(res){if(res.result=='ok'){$link.closest('.content-bookmark').addClass('init');$(document).trigger('updatebookmarks');}});}).on('click','a.content-dobookmark',function(ev){ev.preventDefault();var $link=$(this) var content_id=$link.closest('[data-content]').attr('data-content');if(!content_id){return;} $link=$('[data-content="'+content_id+'"] [data-bookmarked-count] a.content-dobookmark');$.ajax({type:'post',url:'/_api/v1/dinoportal/bookmark/add',data:{content_id:content_id},dataType:'json'}).then(function(res){if(res.result=='ok'){$link.closest('.content-bookmark').addClass('init');$(document).trigger('updatebookmarks');}});}).on('click','a.content-willbookmark',function(ev){ev.preventDefault();$('a.signup-button-facebook').attr('href','/_sns/facebook/rd?r='+encodeURIComponent(location.href));$('a.signup-button-twitter').attr('href','/_sns/twitter/rd?r='+encodeURIComponent(location.href));$('#signup-icon').click();});function hashscrollmargin(prevent_pushstate){if($('.prevent-hashscrollmargin')[0]){console.info('hashscrollmargin():prevented');return;} console.info('hashscrollmargin()');var $header=$('#header-container');if($header.css('position')!='fixed'||!$header.is(':visible')){return;} MARGIN=32;function scrollToHash(hash,prevent_pushstate){if(!hash.match(/^#[-_a-zA-Z0-9]+$/)){return;} var $target=$(hash);if(!$target[0]){return;} console.log('scrollToHash("'+hash+'")') $('#header').addClass('slide-fixed');if(!prevent_pushstate){history.pushState({},'',hash);} var old_st=$(window).scrollTop(),cnt=10;var _t=setInterval(function(){var target_top=$target.offset().top,header_bottom=$('#header-container')[0].getBoundingClientRect().bottom;$(window).scrollTop(target_top -header_bottom -MARGIN);var st=$(window).scrollTop();if(old_st!=st){old_st=st;}else if(!cnt--){$('#header').removeClass('slide-fixed') clearInterval(_t);_t=null;}},20);setTimeout(function(){if(_t){$('#header').removeClass('slide-fixed');clearInterval(_t);_t=null;}},2000);} if(location.hash){scrollToHash(location.hash,prevent_pushstate);} $(document).on('click','a[href*="#"]',function(ev){if(this.href.split('#')[0]==location.href.split('#')[0]){if(this.hash!='#'&&this.hash!=''){ev.preventDefault();ev.stopPropagation();ev.stopImmediatePropagation();scrollToHash(this.hash);}}});$(document).on('hashchange',function(ev,prevent_pushstate){scrollToHash(location.hash,prevent_pushstate);});} hashscrollmargin(true);if($('.prevent-autopaging')[0]){$('.content-next').remove();}else{(function(win,doc,$){var $w=$(win),$d=$(doc),autopaging_t=null;$d.off('startautopaging').on('startautopaging',function(ev,target){if(autopaging_t){console.log('startautopaging:already running');return;} console.log('startautopaging');function autopaging(){if(target&&$(target)&&$(target)[0]){var rest=$(target)[0].getBoundingClientRect().bottom+$w.height();}else{var rest=$d.height()-($w.scrollTop()+$w.height());} var wh=$w.height();var do_autopaging=rest<wh*3;if(do_autopaging){clearTimeout(autopaging_t);autopaging_t=null;$d.trigger('autopaging');console.log('fire:autopaging');}else{autopaging_t=setTimeout(autopaging,250);}} autopaging();});$d.off('stopautopaging').on('stopautopaging',function(){clearTimeout(autopaging_t);autopaging_t=null;});$(document).on('changehref virtualpv',function(ev,old_href,new_href,src){if(ev.originalEvent){}else{this.dispatchEvent(new CustomEvent('_'+ev.type,{detail:{old_href:old_href,new_href:new_href,src:src,}}));}});setTimeout(function(){var old_href=location.href.split('?')[0],old_hash=location.hash;setInterval(function(){var new_href=location.href.split('?')[0],new_hash=location.hash;if(new_href!=old_href){$d.trigger('changehref',[old_href,new_href,'polling']);console.log('fire:changehref:'+old_href+' -> '+new_href);old_href=new_href;}else if(new_hash!=old_hash){old_hash=new_hash;hashscrollmargin(true);}},100);},1000);})(window,document,jQuery);} (function(t,oh){function adjustSidebar(){var nh=$('.widgets').prop('scrollHeight');if(oh!=nh){$.setStyle('.main-contents { position:relative; min-height:'+nh+'px; }','styles-adjustsidebar');oh=nh;}} t=null;$(document).on('resize',function(){clearTimeout(t);t=setTimeout(adjustSidebar,100);}).trigger('resize');setInterval(adjustSidebar,1000);})();function updateSNSShareCounts(){var DEBUG_COUNT=null;function updateCount($elm,count){if(count){$elm.text(count).closest('a').addClass('has-count');}else{$elm.remove();}} var hb_api=location.protocol=='https:'?'https://b.hatena.ne.jp/entry.counts':'http://api.b.st-hatena.com/entry.counts';$('[data-sharecount-hatebu]:empty:not(.loading)').addClass('loading').map(function(){return $(this).attr('data-sharecount-hatebu');}).toArray().filter(function(x,i,self){return self.indexOf(x)===i;}).forEach(function(url){var $elm=$('[data-sharecount-hatebu="'+url+'"]');$.ajax({type:'get',url:hb_api,data:{url:url},dataType:'jsonp',jsonp:'callback',ignore_ajax_errors:true}).then((function($elm){return function(res){var count=DEBUG_COUNT||res[url];updateCount($elm,count);};})($elm)).always((function($elm){return function(){$elm.removeClass('loading');};})($elm));});} $(document).off('updatesahrecounts').on('updatesharecounts',function(ev){updateSNSShareCounts();});setTimeout(updateSNSShareCounts,1000);$.autoplayScrolledIntoView();(function(){var _t=null;window._is_scrolling=false;$(window).off('scroll.scrolled').on('scroll.scrolled',function(){if(!window._is_scrolling){$(window).trigger('scrollstart');window._is_scrolling=true;} clearTimeout(_t);_t=setTimeout(function(){$(window).trigger('scrolled');window._is_scrolling=false;_t=null;},250);});})();(function(){var page_prevent_gif=$('body').is('.page-index,.page-menufeed,.page-newsfeed,.page-tag,.page-user,.page-tenant,.page-freeq,.page-bookmarks') var _cnt=0;function loadLazyImg($img){if($img.attr('data-src-lazy')&&$img.attr('src')=='data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7'){var lazy_src=($img.attr('data-src-lazy'));if(lazy_src){console.warn('loadLazyImg(): empty src and data-src-lazy: entrust "loading"',$img[0]);lazy_src=lazy_src.split('#')[0];var org_width=$img.attr('data-org-width'),org_height=$img.attr('data-org-height');if(org_width&&org_height){console.log(`loadLazyImg():data-org-width={org_width},data-org-height={org_height}`);$img.css['aspect-ratio']=org_width+' / '+org_height;} $img.attr('src',lazy_src).attr('data-lazy-canceled','1');return;}} if($img.attr('loading')){var lazy_src=$img.attr('data-src-lazy');if(lazy_src){console.info('loadLazyImg(): data-src-lazy is prevented by loading attr',$img[0]);$img.attr('src',lazy_src).attr('data-lazy-canceled','1').removeAttr('data-src-lazy');}else{var src=$img.attr('src');src=src.split('#')[0];$img.attr('src',src);} return;} var _d=$img.data('_d_lazy');if(_d){return _d;} _d=$.Deferred();$img.data('_d_lazy',_d);var prevent_gif=page_prevent_gif||!!($img.closest('li.widget-content')[0]);if($img.is('[data-lazy-allow-gif]')){prevent_gif=false;} if(window.ALLOW_LOAD_GIF){prevent_gif=false;} var src,lazy_src,is_loading;if($img.is('img')){src=$img.attr('src');lazy_src=$img.attr('data-src-lazy');console.info('loadLazyImg(): data-src-lazy found',$img[0]);}else{src=$img.css('background-image').match(/url\(('|"|)(.*?)\1\)/)[2];lazy_src=$img.attr('data-bgimage-lazy');console.info('loadLazyImg(): data-bgimage-lazy found',$img[0]);} if(!src||!lazy_src){console.error('loadLazyImg(): invalid data-src-lazy or data-bgimage-lazy',$img);$img.attr('data-lazy-invalid','empty src or lazy_src').removeAttr('data-src-lazy').removeAttr('data-bgimage-lazy');_d.resolve();return _d;} if(prevent_gif){if(lazy_src.match(/\.gif(\?*|)$/i)){lazy_src=lazy_src.replace(/\.gif(\?*|)$/i,'_xlarge.jpg$1');$img.attr('data-lazy-prevent-gif','1');console.info('loadLazyImg(): data-src-lazy: data-lazy-prevent-gif',$img[0]);};} var src_with_lz=src;src=src.replace(/(\?lz=.*|#lz:.*)$/,'') lazy_src=lazy_src.replace(/(\?lz=.*|#lz:.*)$/,'');var m=lazy_src.match(/^(.+?)(_small|_normal|_large|_xlarge|)\.([a-z]+)$/i);if(m){var enough_img_width=$img.width()*1.5;if(m[2]){if(enough_img_width<=160){lazy_src=m[1]+'_small.jpg';}else if(enough_img_width<=320){lazy_src=m[1]+'_normal.jpg';}else if(enough_img_width<=640){lazy_src=m[1]+'_large.jpg';}else{lazy_src=m[1]+'_xlarge.jpg';}}} if(src==lazy_src){$img.attr('data-lazy-canceled','1').removeAttr('data-src-lazy').removeAttr('data-bgimage-lazy') if($img.data('lazywidth')){$img.attr('width',$img.data('lazywidth'));}else{$img.removeAttr('width');} $img.removeData('lazywidth');console.info('loadLazyImg(): data-src-lazy == src (canceled)',$img[0]);return _d.resolve('canceled');}else{console.info('loadLazyImg(): data-src-lazy loading',$img[0]);$img.attr({'data-lazy-loading':src_with_lz,'data-lazy-cnt':++_cnt}).removeAttr('data-src-lazy').removeAttr('data-bgimage-lazy');(function($img){var $new_img=$('<img>').on('load',function(){console.info('loadLazyImg(): data-src-lazy loaded',$img[0]);$img.attr('data-lazy-loaded',src_with_lz).removeAttr('data-src-lazy').removeAttr('data-bgimage-lazy').removeAttr('data-lazy-loading');if($img.is('img')){$img.attr('src',$(this).attr('src'));var lazywidth=$img.data('lazywidth');if(lazywidth){$img.attr('width',lazywidth);}else{$img.removeAttr('width');} $img.removeData('lazywidth');}else{$img.css('background-image','url('+$(this).attr('src')+')');} $(this).remove();var _d=$img.data('_d_lazy');_d&&_d.resolve();$img.removeData('_d_lazy');}).on('error',function(){console.log('loadLazyImg():load error',$new_img,'for',$img[0]);$img.attr('data-lazy-load-error',$target.attr('data-lazy-loading')).removeAttr('data-lazy-loading');$new_img.remove();var _d=$img.data('_d_lazy');_d.resolve();$img.removeData('_d_lazy');}).css({'position':'absolute','width':'1px','height':'1px','top':'-1px','left':'-1px','opacity':'0'}).attr({'src':lazy_src,'data-lazy-cnt':_cnt}).appendTo('body');})($img);} return _d;} var lastDeferred=$.Deferred();lastDeferred.resolve();$(document).on('scrolledintoview scrollingintoview','img[data-src-lazy], [data-bgimage-lazy]',function(){loadLazyImg($(this));}).on('scrolledoutofview','img[data-src-lazy],[data-bgimage-lazy]',function(){clearInterval($(this).data('scrolledintoview_t'));});$.registerOnScrolledIntoView('img[data-src-lazy],[data-bgimage-lazy]');})();$(document).on('click','a[data-impl-url][data-nativead-item-id]',function(ev){$.ajax({async:false,type:'post',url:'/_api/v1/dinoportal/nativead/click',data:{impl_url:$(this).attr('data-impl-url'),nativead_item_id:$(this).attr('data-nativead-item-id')}});});$('#do-logout').on('click',function(){$.cookie('_rvlui',null);});var _d_logincheck;if($('#signup')[0]&&(!prevent_logincheck_for_preview)){_d_logincheck=$.ajax({url:'/_psr/_api/user/status'});}else{_d_logincheck=$.Deferred();setTimeout(function(){_d_logincheck.resolve({errors:{},data:{},result:'ok',});})} _d_logincheck.then(function(res){if(res.result=='ok'){var user_key=null,ptluser=res.data.dp_ptl_user,user_read_at;if(!ptluser){$('body').removeClass('ptluser-logined');$.cookie('_rvlui',null);$('.widget-bookmarks').remove();}else{console.log('ptluser data',res.data);if(ptluser.profile_image_url){$('#signuped-user').css('background-image','url('+ptluser.profile_image_url+')').children('img').attr('src',ptluser.profile_image_url).end().children('span').remove().end();}else{var has_name=!!ptluser.name.length;$('#signuped-user').children('img').remove().end().children('span').toggleClass('noinfo',!has_name).toggleClass('byname',has_name).text(ptluser.name[0]||'');} $('#signup').replaceWith(res.data.menu_user_html);$('body').addClass('ptluser-logined');notifies_user_key='dps_'+ptluser.id;notifies_user_read_at=ptluser.notifies_read_at;$.cookie('_rvlui',ptluser.profile_image_url);} if(res.data.notifies){var user_read_at=res.data.ptluser.notifies_user_read_at $(document).trigger('addnotifies',[res.data.notifies,notifies_user_key,notifies_user_read_at]);}} initAdjustWidgets();});var lang=navigator.language||navigator.userLanguage||'en';lang=lang.toLowerCase().split(/[-_]/)[0];$(document).on('submit','#form-register-winner',function(ev){ev.preventDefault();var $form=$(this),data=$form.formGet(),$detail=$form.closest('.user-notify-detail-content');$.ajax({type:'post',url:'/_api/v1/dinoportal/wfops/register_winner_info',data:data}).then(function(res){if(res.result=='ok'){$form.replaceWith('<div id="winner-registered">' +res.data.result_html[lang]||res.data.result_html['en']||'' +'</div>');$detail.trigger('resized');}else{res.errors.forEach(function(error){$.alert('Server error occurred. Please wait.');console.log(error);});}});});function placeAdinoBanner(){$('.adino-banner-ph:not(.loading):not(.loaded)').each(function(){var $elm=$(this);$elm.addClass('loading');var impl_url=location.href;if($('body').is('page-content')){impl_url=$elm.closest('[data-href]').attr('data-href');} $.ajax({type:'get',url:'/_api/v1/dinoportal/nativead/get_banner',data:{impl_url:impl_url}}).then(function(res){if(res.result=='ok'){if(res.data&&res.data.item&&res.data.item.html){$elm.html(res.data.item.html).find('.carousel2').carousel2();}}else{console.error('get_banner:error:',res);$elm.addClass('has-error');}}).always(function(){$elm.removeClass('loading').addClass('loaded');});});} if($('body').is('.has-adino-banner')){setInterval(function(){placeAdinoBanner();},2000);} function setLimitedMeters(){var system_limited_meter_total=$('body').attr('data-limited-meter-total');$('.limited-meter-total').attr('data-count',system_limited_meter_total).html('<span>'+system_limited_meter_total+'</span>');if(prevent_logincheck_for_preview){var _d=$.Deferred();_d.resolve();return _d;} return $.ajax({url:'/_psr/_api/user/status'+(location.search||'')}).then(function(res){var user=res.data&&res.data.dp_ptl_user;if(user){$('.limited-meter-remaining').attr('data-count',user.meter_info.remaining).html('<span>'+user.meter_info.remaining+'</span>');$('.limited-meter-consumed').attr('data-count',user.meter_info.consumed).html('<span>'+user.meter_info.consumed+'</span>');$('.limited-meter-total').attr('data-count',user.meter_info.total).html('<span>'+user.meter_info.total+'</span>');}});} if($('#signup')[0]){setLimitedMeters();$(document).on('setlimitedmeters',setLimitedMeters);} function resend_rmc(_d,retry){_d=_d||$.Deferred();if(retry===0){_d.resolve('failed');return _d;} retry=retry||10;$.ajax({url:'/_psr/_api/user/resend_rmc',type:'post',dataType:'json',}).then(function(res){console.info('resend_rmc',res);if(res.result=='ok'){_d.resolve('success');}else{_d.resolve('error',res.errors);}}).fail(function(){setTimeout(function(){resend_rmc(_d,retry-1);},5000);});return _d;} $(document).on('click','a.login-with-path',function(ev){ev.preventDefault();location.href='/_psr/login'+'?r='+encodeURIComponent(location.pathname);}).on('click','a.signup-with-path',function(ev){ev.preventDefault();location.href='/_psr/signup'+'?r='+encodeURIComponent(location.pathname);}).on('click','a.register-premium-with-path',function(ev){ev.preventDefault();location.href='/_psr/premium'+'?r='+encodeURIComponent(location.pathname);}).on('click','a.logout-with-path',function(ev){ev.preventDefault();location.href='/_psr/logout'+'?r='+encodeURIComponent(location.pathname);}).on('click','a.limited-resend-rmc, a.psr-resend-rmc',function(ev){ev.preventDefault();$(this).addClass('loading');resend_rmc().then(function(res,errors){if(res=='success'){$(this).next('.message').show();}else{if(errors.limit){alert(errors.limit);}else{alert(Object.keys(errors).reduce(function(res,key){res.push(key+':'+errors[c]);return res;},[]).join('\n'));}}}.bind(this)).always(function(){$(this).removeClass('loading');}.bind(this));}).on('submit','form[method="post"][action^="/"]',function(ev){if(!$(this).find('[name="csrftoken"]')[0]){$('<input>').attr({'type':'hidden','name':'csrfmiddlewaretoken','value':$.cookie('csrftoken'),}).appendTo($(this));} if($(this).attr('action')=='/_psr/login'&&!$(this).find('[name="r"]')[0]){$('<input>').attr({'type':'hidden','name':'r','value':location.pathname+(location.search||''),}).appendTo($(this));}});}); /*** combinestatic: from:dinoportal/js/signup-tenant.js ***/ $(function(){$('.signup form input[name="email"]').on('focus',function(ev){var $p=$(this).closest('.signup');$p.find('.signup-complete').hide();$p.find('.signup-mail-notify').show();});$('.signup form').on('submit',function(ev){ev.preventDefault();var $p=$(this).closest('.signup');$(this).formPost({crossDomain:true,filter:function(res){res.success=res.result=='ok';return res;}}).then(function(res){$p.find('.signup-complete').show();$p.find('form, .signup-notify').hide();setTimeout(function(){$p.find('form, #signup-notify').show();$p.find('.signup-complete').hide();},7000);}).fail(function(res){if(res.ajaxerror){alert('connection error:'+res.ajaxerror.statusText)} if(res.systemerror){alert('serverside error:'+res.systemerror);}}).always(function(res){$p.find('.signup-mail-notify').hide();});});}); /*** combinestatic: from:lib/js/contact.js ***/ $(function(){var API_DEFAULT=window._contact_api||'/_contact';var CSRF_FIELD_NAME='csrfmiddlewaretoken';var RECAPTCHAV2_FIELD_NAME='g-recaptcha-response';function _dbg(msg){($('#dbg')[0]?$('#dbg'):$('<div id="dbg"></div>').css({position:'fixed',bottom:0,right:0,background:'rgba(0,0,0,.5)',color:'white',zIndex:32767,padding:'10px'}).appendTo('body')).text(msg);} function findFormComplete($form){if(!$form.is('[data-when-complete]')){return $();} return $($form.attr('data-when-complete'));} $('form.contact-form').each(function(){findFormComplete($(this)).hide();});$('form.contact-form').on('submit',function(ev){var $form=$(this),$when_complete=findFormComplete($form).hide();ev.preventDefault();var data=$form.formGet(),$combined=null;if(!data.source_url){if(!$form.find(':input[name="source_url"]')[0]){$form.append($('<input>').attr({'type':'hidden','name':'source_url','value':location.href}));}} var combined=!$form.find(':input[name=body]')[0];if(combined){if(!($form.find('.error_msg[data-for="body"]')[0])){var $error_msg=$('<div class="error_msg" data-for="body"></div>').css({'color':'#800','background':'#fcc','padding':'3px 6px','margin':'.25em 0'});var $submit=$form.find('[type="submit"],button:not([type])');if($submit[0]){$error_msg.insertBefore($submit);}else{$form.prepend($error_msg);}} var combined_data=[] for(var k in data){if(k!='email'&&k!=CSRF_FIELD_NAME&&k!=RECAPTCHAV2_FIELD_NAME){combined_data.push('[['+k+']]\n'+data[k]);}} if(combined_data){combined_data='---- combined ----\n'+combined_data.join('\n\n')+'\n------------------';$combined=$('<input>').attr({'name':'body','type':'hidden','data-combined':'1'}).val(combined_data).appendTo($form);}} var csrftoken=$.cookie('csrftoken');if(csrftoken&&!$form.find('[name="'+CSRF_FIELD_NAME+'"]')[0]){$form.append($('<input>').attr({type:'hidden',name:CSRF_FIELD_NAME,value:csrftoken}));} var opts={alert_not_detected_errors:true,filter:function(res){res.success=res.result=='ok';return res;}} if(!$form.attr('action')){opts.url=API_DEFAULT;opts.method='post';} $form.formPost(opts).then(function(res){var $form_complete=findFormComplete($form),hide_form=true;if($form_complete[0]){$form_complete.each(function(){if($.contains($form[0],this)){hide_form=false;return false;}});if(hide_form){$form.hide();}} findFormComplete($form.hide()).show();setTimeout(function(){findFormComplete($form).hide();$form.formClear().show();},10000);}).fail(function(res){if(res.ajaxerror){alert('connection error:'+res.ajaxerror.statusText)} if(res.systemerror){alert('serverside error:'+res.systemerror);}}).always(function(res){if($combined){$combined.remove();} if(typeof grecaptcha==="undefined"){} else{grecaptcha.reset();}});});}); /*** combinestatic: from:user-notify/user-notify.js ***/ $(function(){var data=window._user_notifies;var user_notify_css_loaded=false;$('.user-notify-loaded').first().each(function(){user_notify_css_loaded=window.getComputedStyle(this,':before').conten});if(!user_notify_css_loaded){$('<style></style>').attr({rel:'stylesheet',href:'/static/user-notify/user-notify.css'}).appendTo('head');} var lang=navigator.language||navigator.userLanguage||'en';lang=lang.toLowerCase().split(/[-_]/)[0];if(lang=='ja'){$('#user-notifies .user-notify-nothing [for-lang="en"]').remove();}else{$('#user-notifies .user-notify-nothing [for-lang="ja"]').remove();} var screen_key=data.cookie_path.replace(/\//g,"");var RSNTFY_COOKIE_NAME='rsntfy'+(screen_key||'');var cookie_name=RSNTFY_COOKIE_NAME;var user_read_at=new Date(0);function checkUserReadAt(){var user_read_at_on_cookie=$.cookie(cookie_name);if(user_read_at_on_cookie){user_read_at.setTime(parseFloat(user_read_at_on_cookie,10));if(isNaN(user_read_at)){user_read_at=new Date(0);}}else{user_read_at=new Date(0);} console.log('user read until (on cookie):'+user_read_at.toISOString());} var $toggle=$('#user-notifies-toggle'),$notifies_box=$('#user-notifies').appendTo('body'),$notifies=$notifies_box.children('.user-notifies-content'),$notifies_title=$notifies.children('.user-notifies-title'),tmpl_doc=new DOMParser().parseFromString('<html></html>','text/html'),$notify_template=$($notifies_box.find('.user-notify.template').removeClass('template').remove().outerHTML());function pz2(num){return(num<10)?'0'+num:''+num;} function addNotify(notify){$notifies_box.find('.user-notify-nothing').remove();var display_at=new Date(notify.display_at),updated_at=new Date(notify.updated_at),overviews=notify.overview_text,overview=overviews[lang]||overviews['en']||'',details=notify.detail_html;if(isNaN(display_at)){console.error('display_at is not ISO8601(yyyy-mm-ddThh:mm:ss+hh:mm):'+notify.display_at);return;} if(isNaN(updated_at)){console.error('update_at is not ISO8601(yyyy-mm-ddThh:mm:ss+hh:mm):'+notify.updated_at);return;} overview=$('<div></div>').text(overview.replace(/\n/g,'__BBRR__')).html().replace(/__BBRR__/g,'<br>\n');var display_at_str=((new Date().getFullYear()!=display_at.getFullYear())?(display_at.getFullYear()+'-'):'') +pz2(display_at.getMonth()+1) +'-' +pz2(display_at.getDate());var $notify=$notify_template.clone().toggleClass('has-detail',!!notify.detail_html).attr('data-notify-display',display_at.toISOString()).attr('data-notify-updated',updated_at.toISOString()).find('.user-notify-date').text(display_at_str).end().find('.user-notify-message').html(overview).end().insertAfter($notifies_title);if(details){var detail=$('<div></div>').html(details[lang]||details['en']||'').html(),$notify_detail=$notify.find('.user-notify-detail-content').html(detail);$notify_detail.on('resized',function(ev){$(this).parent('.user-notify-detail').css('max-height',$(this).outerHeight()+'px');}).trigger('resized');} return $notify;} function makeNotifies(notifies){notifies.forEach(function(notify){addNotify(notify);});} makeNotifies(data.notifies);sortNotifies();var _autoshow_t,_autohide_t;function sortNotifies(){var notifies=$('#user-notifies > .user-notifies-content > .user-notify').toArray();notifies.sort(function(a,b){return new Date($(a).attr('data-notify-display'))<new Date($(b).attr('data-notify-display'))?-1:1;});var notify,$notifies_box=$('#user-notifies > .user-notifies-content');while(notify=notifies.pop()){$notifies_box.append(notify);} checkUserReadAt();$notifies_box.children('.user-notify').each(function(){var $notify=$(this);var data_notify_updated_attr=$notify.attr('data-notify-updated');var notify_updated_at_dt=new Date(data_notify_updated_attr);var is_read=notify_updated_at_dt<user_read_at;$notify.toggleClass('user-read',is_read);});var unread_cnt=$notifies_box.children('.user-notify:not(.user-read)').length;$toggle.toggleClass('has-unread',unread_cnt>0);clearTimeout(_autoshow_t);if(unread_cnt>0){_autoshow_t=setTimeout(function(){_autoshow_t=null;$notifies_box.find('.user-notify:not(.user-read) .user-notify-overview').addClass('opened');showNotifies(true);},2000);}} function clearUnread(){$toggle.removeClass('has-unread');$.cookie(cookie_name,new Date().getTime(),{path:data.cookie_path,expires:'never',});} function showNotifies(is_auto){var is_shown=$notifies_box.is('.shown');if(!is_shown){var rect=$toggle[0].getBoundingClientRect();$.setStyle('#user-notifies.shown > .user-notifies-content { margin-top:'+(rect.bottom+5)+'px; }','style-notifies').appendTo('body');$notifies_box.addClass('shown');$toggle.addClass('shown');if(is_auto){$notifies_box.addClass('auto-shown');}else{$notifies_box.removeClass('auto-shown');} if(is_auto){_autohide_t=setTimeout(function(){if(data.auto_clear_unread){clearUnread();} hideNotifies();},7000);}}else{$notifies_box.removeClass('shown');$toggle.removeClass('shown');}} function hideNotifies(){$notifies_box.removeClass('shown').removeClass('auto-shown');} $toggle.on('click',function(ev){ev.preventDefault();ev.stopPropagation();showNotifies();clearTimeout(_autohide_t);setTimeout(clearUnread,100);});$notifies_box.one('mouseenter',function(ev){console.log('mouseenter notfies_box');clearTimeout(_autohide_t);if(data.auto_clear_unread){clearUnread();}}).on('click',function(ev){ev.stopPropagation();clearUnread();}).on('click','.user-notify.has-detail > .user-notify-overview',function(ev){ev.preventDefault();$(this).toggleClass('opened');});$('#user-notifies-close').on('click',function(ev){ev.preventDefault();ev.stopPropagation();$notifies_box.removeClass('shown');$toggle.removeClass('shown');clearUnread();});$(document).on('click',function(ev){$notifies_box.removeClass('shown');$toggle.removeClass('shown');});$(document).on('addnotifies',function(ev,notifies,user_key,user_read_at){console.log('addnotifies',arguments);if(user_key){cookie_name=RSNTFY_COOKIE_NAME+(user_key||'');} if(user_read_at){var user_read_dt=new Date(user_read_at);if(isNaN(user_read_dt)){console.error('addnotifies:invalid user_read_at:'+user_read_at);}else{$.cookie(cookie_name,user_read_dt.getTime());checkUserReadAt();}} notifies.forEach(function(notify){addNotify(notify);});sortNotifies();});}); </script> <script id="script-combined-dinoportal_index_bottom_js.js"> /*** combinestatic: generated:dinoportal_index_bottom_js.js ***/ /*** combinestatic: from:dinoportal/js/newsfeed.js ***/ $(function(){function _dbg(msg){($('#dbg')[0]?$('#dbg'):$('<div id="dbg"></div>').css({position:'fixed',bottom:0,right:0,background:'rgba(0,0,0,.5)',color:'white',zIndex:32767,padding:'10px'}).appendTo('body')).text(msg);} var RATIO_TARGETS=['.content-body img[height][width]:visible','.content-body img[data-ratio]:visible','.content-body iframe[height][width]','.content-body iframe[data-ratio]','.content-body video[height][width]','.content-body video[data-ratio]','.content-body-leading img[height][width]:visible','.content-body-leading img[data-ratio]:visible','.content-body-leading iframe[height][width]','.content-body-leading iframe[data-ratio]','.content-body-leading video[height][width]','.content-body-leading video[data-ratio]'].join(',');function adjustRatio(){$(RATIO_TARGETS).filter(':not(.ratio-wrapped)').ratiobox().addClass('ratio-wrapped').closest('.ratio-wrap').css('width','100%');} adjustRatio();function checkLimitedContents(){var is_logined=$('body').is('.ptluser-logined');if(!is_logined){return;} var $check_limited_contents=$('.wfcontent[data-content][data-limited="unknown"], .widget-content[data-content][data-limited="unknown"]').attr('data-limited','checking'),content_limited_ids=$check_limited_contents.map(function(){return $(this).attr('data-content');}).toArray().join(',');$.ajax({url:'/_psr/_api/content/are_readable',type:'post',data:{content_ids:content_limited_ids},dataType:'json',}).then(function(res){if(res.result!='ok'){return;} var unlocked=res.data.unlocked_content_ids.reduce(function(p,c,i,a){p[c]=true;return p},{}) $check_limited_contents.each(function(){$(this).attr('data-limited',unlocked[$(this).attr('data-content')]?'unlocked':'locked')});}).fail(function(){$check_limited_contents.attr('data-limited','failed')});} checkLimitedContents();$(document).on('autopaged',checkLimitedContents);setInterval(function(){if($('.wfcontent[data-content][data-limited="failed"]').attr('data-limited','unknown')[0]){checkLimitedContents();}},10000);var referrer=location.href;function appendNext(){console.log('appendNext()');var $place=$('a#newsfeed-next'),_d=$place.data('_d');if(_d){return _d;} if($place[0]){var href=location.pathname,do_post=!!($place.attr('data-dopost')),data=(function(s,D,r){s.replace(/([^?=&]+)(?:=([^&]*))?/g,function(a,k,v){r[D(k)]=D(v)});return r;})($place[0].search,decodeURIComponent,{});$place.addClass('loading');var ret=$.ajax({type:(do_post?'post':'get'),data:data,url:href,}).always(function(){$place.removeClass('loading');}).then(function(res){var additional;var title=document.title;window._piwik&&window._piwik.pageview&&window._piwik.pageview(href,title,referrer);var $res=$(res);if($res.children('html')[0]){console.error('invalid response html:',href,res);return;} $res=$res.filter(function(){var $content=$(this),ret=true;if($content.is('.wfcontent[data-content]')){var content_id=$content.attr('data-content');if($place.prevAll('.wfcontent[data-content="'+content_id+'"]')[0]){console.log('remove duplicated content:'+content_id);ret=false;}} return ret;});$res.first().attr('data-href',href);$place.replaceWith($res);adjustRatio();if(window._acs_pvup_when_appended){if(window._use_acs_feed_dummy){$('#ifr-dummy-acs').remove();var $ifr=$('<iframe id="ifr-dummy-acs"></iframe>').css({position:'fixed',top:'-1px',left:'-1px',width:'1px',height:'1px',opacity:0,'-moz-opacity':0,border:'none',outline:0,padding:0,margin:0}).attr({src:href.split('?')[0]+'?acs='+encodeURIComponent(referrer)+(additional?'&'+additional:'')+'&_ts='+(new Date()).getTime()}).appendTo('body');}}else{if(window.ga){try{ga('send','event','dno_old_pageview','append',href);}catch(ex){console.error(ex);}}} referrer=href;$(document).trigger('autopaged',[referrer,$res]);$(document).trigger('virtualpv',[$('<a>').attr('href',referrer).prop('href'),$('<a>').attr('href',this.url).prop('href'),'feedpaging']);}).fail(function(){$place.replaceWith('<div class="network-error"><span></span></div>');});$place.data('_d',ret);return ret;}else{var _d=$.Deferred();_d.resolve();return _d;}} $(document).on('click','#newsfeed-next',function(ev){ev.preventDefault();appendNext();});$(document).on('autopaging',function(){appendNext().then(function(){if($('#newsfeed-next')[0]){$(document).trigger('startautopaging',['#newsfeed-next']);}});}).trigger('startautopaging',['#newsfeed-next']);if($('.prevent-autopaging')[0]){$('#newsfeed > .newsfeed-container > #newsfeed-next').filter(':only-child').click();} if(!window._acs_pvup_when_appended){function iframeFakePageviewUp(referrer,additional){if(window._use_acs_feed_dummy){$('#ifr-dummy-acs').remove();var $ifr=$('<iframe id="ifr-dummy-acs"></iframe>').css({position:'fixed',top:'-1px',left:'-1px',width:'1px',height:'1px',opacity:0,'-moz-opacity':0,border:'none',outline:0,padding:0,margin:0}).attr({src:location.href.split('?')[0] +'?acs='+encodeURIComponent(referrer) +(window._is_preview_custom?'&_for_preview_custom=1':'') +(additional?'&'+additional:'') +'&_ts='+(new Date()).getTime()}).appendTo('body');}} var autopaged=0;$(document).on('autopaged',function(ev,referrer,$appended){iframeFakePageviewUp(referrer,'appended='+(autopaged++))}).on('changehref',function(ev,referrer,additional){iframeFakePageviewUp(referrer,additional);});} if($('#newsfeed').is('.newsfeed-all-display-type-card')){} function nativeAdVisible(){$('.wfcontent.is-nativead').not(':visible').each(function(){var $t=$(this);$t.prev('.wfcontent:not(.is-nativead):visible').before($t);console.log('native ad visualized');});} nativeAdVisible();$('.newsfeed-block.newsfeed-all-display-type-carousel .carousel').each(function(){$(this).find('.carousel-content').last().append($('<label class="carousel-next carousel-more"><a href="/_news"></a></label>'));});$('body.page-freeq #free_q-heading input[name="q"]').focus();(function(){if(!window._customized.newsfeed_marble){return;} var $marblebars=$('#main-contents-container > .widgets > span.marblebar[data-marblebar-insert]'),$marbles=$('#main-contents-container > .widgets > div.marble[data-marble-insert]');console.info('marbles found',$marblebars,$marbles);if(!$marblebars[0]&&!$marbles[0]){return;} var _t=setInterval(function(){$('link[href^="/static/dinoportal/css/newsfeed-flex.css"]').each(function(){$(this).attr('href',$(this).attr('href').replace('/newsfeed-flex.css','/newsfeed-flex-new.css'));clearInterval(_t);console.info('marble:newsfeed-flex.css replaced',this);});},100);var MARBLEBARS_POS_DEF={'#newsfeed.newsfeed-all-display-type-flex':[1,3,11,16,22],'body:not(.custom-feed-card-mobile-2cols) #newsfeed.newsfeed-all-display-type-photo':[3,6,9,12,15],'body:not(.custom-feed-card-mobile-2cols) #newsfeed.newsfeed-all-display-type-card':[3,6,9,12,15],'body.custom-feed-card-mobile-2cols #newsfeed.newsfeed-all-display-type-photo':[3,9,15,21,27],'body.custom-feed-card-mobile-2cols #newsfeed.newsfeed-all-display-type-card':[3,9,15,21,27],},marblebar_pos=[1,3,11,16,22];Object.keys(MARBLEBARS_POS_DEF).some(function(key){if($(key)[0]){marblebar_pos=MARBLEBARS_POS_DEF[key];console.info('marblebar:type:'+key,marblebar_pos);return true;}});function insertMarbleBars(){$('#main-contents-container > .widgets > span.marblebar[data-marblebar-insert]').sort(function(a,b){a=parseInt($(a).attr('data-marblebar-insert'),10);b=parseInt($(b).attr('data-marblebar-insert'),10);return a<b?-1:1;}).each(function(){var $contents=$('#newsfeed > .newsfeed-container > .wfcontent'),$marblebar=$(this),pos=marblebar_pos[parseInt($marblebar.attr('data-marblebar-insert'),10)-1];if($contents.length>pos){$($contents[pos]).before($marblebar.addClass('marblebar-inserted'));console.info('marblebar:inserted',$marblebar);}});} function insertMarbles(){$('#main-contents-container > .widgets > div.marble[data-marble-insert]').sort(function(a,b){a=parseInt($(a).attr('data-marble-insert'),10);b=parseInt($(b).attr('data-marble-insert'),10);return a<b?-1:1;}).each(function(){var $contents=$('#newsfeed > .newsfeed-container > .wfcontent'),$marble=$(this),pos=parseInt($marble.attr('data-marble-insert'),10);if($contents.length>pos-1){$($contents[pos-1]).before($marble.addClass('wfcontent').addClass('marble-inserted'));console.info('marble:inserted',$marble);}});} insertMarbles();insertMarbleBars();$(document).on('autopaging.marble',function(){insertMarbles();insertMarbleBars();});})();(function(){if(window.USE_SERVERSIDE_NATIVEAD_INFEED||$('body').is('.page-stags')){return;} var $nativead_first_placed=$('.wfcontent[data-content].is-nativead:visible'),has_nativead_first_placed=!!($nativead_first_placed[0]),$target_menufeed_blocks=$('.newsfeed-block').filter(function(){var block_type=$(this).attr('data-newsfeed-block-type');var $contents=$(this).find('.newsfeed-block-contents-container > .wfcontent:visible');return["contents-news","contents-tag"].indexOf(block_type)>=0&&!$(this).is('.newsfeed-all-display-type-carousel')&&!($contents.first().is('.is-nativead'))&&$contents.length>=2;}),$newsfeed=$('#newsfeed .newsfeed-container'),nativead_required_count=$target_menufeed_blocks.length||($newsfeed.children('.wfcontent:visible').length>10)?2:1;if($target_menufeed_blocks[0]){console.info('nativead:$target_menufeed_blocks',$target_menufeed_blocks.toArray());} function shuffle(array){for(var i=array.length-1;i>0;i--){var r=Math.floor(Math.random()*(i+1));array[r]=[array[i],array[i]=array[r]][0];} return array;} function insert_nativeads($target_newsfeed_contents,require_first_place){if(window.USE_SERVERSIDE_NATIVEAD_INFEED||$('body').is('.page-stags')||$('body').is('.page-freeq')){return;} if(require_first_place&&!has_nativead_first_placed){console.error('insert_nativeads: first placed not found in HTML');require_first_place=false;} var data={total_count:nativead_required_count,impl_url:location.href,};if(require_first_place){data.newsfeed_first_place=1;} if($target_menufeed_blocks[0]){data.for_menufeed=1;data.total_count=$target_menufeed_blocks.length;} if($('body').is('.page-newsfeed')){data.for_newsfeed=1;} var tag=$('body').attr('data-page-tag'),tag_id=$('body').attr('data-page-tagid');if(tag_id){data.for_tag=tag_id;} console.info('insert_nativead:require',data,$target_newsfeed_contents.toArray());$.ajax({url:'/_api/v1/dinoportal/nativead/get_contents_for_listing',type:'get',dataType:'json',data:data,}).then(function(res){console.info('insert_nativead:get',res);if(res&&res.result=='ok'){if(res.data.newsfeed_first_place_content){if(!has_nativead_first_placed){console.error('insert_nativead: nativead firstplaced not found.')}else if($nativead_first_placed.attr('data-content')!=''+res.data.newsfeed_first_place_content.id){console.error('insert_nativead: nativead firstplaced is different',$nativead_first_placed,res.data.newsfeed_first_place_content);}} if(res.data.html.contents){console.info('insert_nativead:will insert '+res.data.contents.length+' contents');var insert_contents=$(res.data.html.contents).filter('.wfcontent.is-nativead[data-content]').toArray();if(!insert_contents[0]){return;} if($target_menufeed_blocks[0]){$target_menufeed_blocks.each(function(){var $contents=$(this).find('.newsfeed-block-contents-container > .wfcontent:visible');console.info('insert_nativead:insert',insert_contents[0]);$contents.eq(0).after(insert_contents.shift());if(!insert_contents[0]){return false;}});}else{var targets=$target_newsfeed_contents.toArray();console.info('insert_nativead:targets',targets);if(!require_first_place){console.info('insert_nativead:insert at 2nd - no first placed',insert_contents[0]);$target_newsfeed_contents.eq(0).after(insert_contents.shift());targets.shift();targets.shift();$target_newsfeed_contents.eq(0).nextAll('.marblebar-inserted, .widget-wrap').each(function(){$(this).insertBefore($(this).prev());}).end().nextAll('.marble-inserted').each(function(){$(this).insertBefore($(this).prevAll('.wfcontent').eq(0));}).end();}else{targets.shift();} if(insert_contents[0]){shuffle(targets).splice(0,insert_contents.length).forEach(function(v,i){console.info('insert_nativead\n',insert_contents[0],'\nbefore',v);$(v).before(insert_contents.shift());$(v).nextAll('.marblebar-inserted, .widget-wrap').each(function(){$(this).insertBefore($(this).prev());}).end().nextAll('.marble-inserted').each(function(){$(this).insertBefore($(this).prevAll('.wfcontent').eq(0));}).end();});if(insert_contents[0]){console.error('insert_nativead:NOT INSERTED CONTENTS',insert_contents);}}} if(res.data.newsfeed_first_place_content){var content_id=res.data.newsfeed_first_place_content.id;$inserted=$('.wfcontent[data-content="'+content_id+'"].is-nativead:visible');if(!$inserted[0]){console.error('insert_nativead:NOT INSERTED!',content_id);}} if(res.data.contents){res.data.contents.forEach(function(content){var content_id=content.id,$inserted=$('.wfcontent[data-content="'+content_id+'"].is-nativead:visible');if(!$inserted[0]){console.error('insert_nativead:NOT INSERTED!',content_id);}});}}}});} var $target_newsfeed_contents=$newsfeed.children('.wfcontent[data-content]:visible');insert_nativeads($target_newsfeed_contents,has_nativead_first_placed);$(document).on('autopaged',function(ev,referrer,$appended){insert_nativeads($appended.filter('.wfcontent'),false);});})();$(document).on('autopaged',function(){$(document).trigger('updatebookmarks');});}); </script> <form style="display:none;" id="dummy-form-for-csrf"><input type="hidden" name="csrfmiddlewaretoken" value="2ul3L9fmtrXXm728hWM2d9oMKxwMrz4way8zFSE81xoYYAkMxq7gZApZIy7EOkhY"></form> </div> </body> </html>