diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index dd85842b66c042577944667586e22cf5f032240f..02d457bdbd9374ccbe0e337c419364d9e6f3e558 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -29,3 +29,4 @@ repos: rev: 22.12.0 hooks: - id: black + args: ["-t", "py310"] diff --git a/calendar_utils/parser.py b/calendar_utils/parser.py index e9220ffe14d38958c9d9ec3efdd825ecc68a9d29..504cc20c8f78d64e9d98a8c5b3a5d891f040a9b0 100644 --- a/calendar_utils/parser.py +++ b/calendar_utils/parser.py @@ -1,10 +1,10 @@ from operator import itemgetter from typing import TYPE_CHECKING +from zoneinfo import ZoneInfo import arrow import bleach from django.conf import settings -from zoneinfo import ZoneInfo if TYPE_CHECKING: from icalevnt.icalparser import Event diff --git a/district/migrations/0096_districtelectioncampaignpage_show_program_points_inline_and_more.py b/district/migrations/0096_districtelectioncampaignpage_show_program_points_inline_and_more.py index 8f3bdf38b1f686ce6b4fa85b651247bb968bdb70..6dd338c5627ea5065d0bd3cd467932df75fdda53 100644 --- a/district/migrations/0096_districtelectioncampaignpage_show_program_points_inline_and_more.py +++ b/district/migrations/0096_districtelectioncampaignpage_show_program_points_inline_and_more.py @@ -1,25 +1,99 @@ # Generated by Django 4.0.7 on 2022-08-11 16:38 -from django.db import migrations, models import wagtail.blocks import wagtail.fields +from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ - ('district', '0095_alter_districtpersonpage_options_and_more'), + ("district", "0095_alter_districtpersonpage_options_and_more"), ] operations = [ migrations.AddField( - model_name='districtelectioncampaignpage', - name='show_program_points_inline', - field=models.BooleanField(default=False, help_text='Hodí se v případě spousty krátkých bodů programu, z nichž si většina nezaslouží vlastní stránku.', verbose_name='Zobrazit obsah celého programu na jedné stránce'), + model_name="districtelectioncampaignpage", + name="show_program_points_inline", + field=models.BooleanField( + default=False, + help_text="Hodí se v případě spousty krátkých bodů programu, z nichž si většina nezaslouží vlastní stránku.", + verbose_name="Zobrazit obsah celého programu na jedné stránce", + ), ), migrations.AlterField( - model_name='districtinteractiveprogrampage', - name='content', - field=wagtail.fields.StreamField([('interactive_program_block', wagtail.blocks.StructBlock([('name', wagtail.blocks.CharBlock(label='Název části programu', required=True)), ('heading', wagtail.blocks.CharBlock(label='Nadpis', required=True)), ('description', wagtail.blocks.RichTextBlock(blank=True, label='Krátký popis, BEZ BODŮ', required=False)), ('icon', wagtail.blocks.ChoiceBlock(choices=[('verejne-sluzby', 'Veřejné služby'), ('zdravotni-pece', 'Zdravotní péče'), ('sport', 'Sport'), ('sport-plavec', 'Sport - plavec'), ('socialni-politika', 'Sociální politika'), ('aktivni-verejnost', 'Aktivní veřejnost'), ('priroda', 'Příroda'), ('vzdelavani', 'Vzdělávání'), ('kultura', 'Kultura'), ('otevrena-radnice', 'Otevřená radnice'), ('cestovni-ruch', 'Cestovní ruch'), ('doprava', 'Doprava'), ('bydleni', 'Bydlení')], label='Ikona')), ('program_items', wagtail.blocks.ListBlock(wagtail.blocks.StructBlock([('content', wagtail.blocks.RichTextBlock(label='Obsah', required=True))]), label='Seznam bodů', required=True))]))], use_json_field=None, verbose_name='Části programu'), + model_name="districtinteractiveprogrampage", + name="content", + field=wagtail.fields.StreamField( + [ + ( + "interactive_program_block", + wagtail.blocks.StructBlock( + [ + ( + "name", + wagtail.blocks.CharBlock( + label="Název části programu", required=True + ), + ), + ( + "heading", + wagtail.blocks.CharBlock( + label="Nadpis", required=True + ), + ), + ( + "description", + wagtail.blocks.RichTextBlock( + blank=True, + label="Krátký popis, BEZ BODŮ", + required=False, + ), + ), + ( + "icon", + wagtail.blocks.ChoiceBlock( + choices=[ + ("verejne-sluzby", "Veřejné služby"), + ("zdravotni-pece", "Zdravotní péče"), + ("sport", "Sport"), + ("sport-plavec", "Sport - plavec"), + ("socialni-politika", "Sociální politika"), + ("aktivni-verejnost", "Aktivní veřejnost"), + ("priroda", "Příroda"), + ("vzdelavani", "Vzdělávání"), + ("kultura", "Kultura"), + ("otevrena-radnice", "Otevřená radnice"), + ("cestovni-ruch", "Cestovní ruch"), + ("doprava", "Doprava"), + ("bydleni", "Bydlení"), + ], + label="Ikona", + ), + ), + ( + "program_items", + wagtail.blocks.ListBlock( + wagtail.blocks.StructBlock( + [ + ( + "content", + wagtail.blocks.RichTextBlock( + label="Obsah", required=True + ), + ) + ] + ), + label="Seznam bodů", + required=True, + ), + ), + ] + ), + ) + ], + use_json_field=None, + verbose_name="Části programu", + ), ), ] diff --git a/district/migrations/0097_alter_districtelectioncampaignpage_show_program_points_inline.py b/district/migrations/0097_alter_districtelectioncampaignpage_show_program_points_inline.py index 972978cd045635b7e459948ec1e4c73ff3cfaee3..94162db0420067dfd426b48b1b95810562f74756 100644 --- a/district/migrations/0097_alter_districtelectioncampaignpage_show_program_points_inline.py +++ b/district/migrations/0097_alter_districtelectioncampaignpage_show_program_points_inline.py @@ -6,13 +6,20 @@ from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ - ('district', '0096_districtelectioncampaignpage_show_program_points_inline_and_more'), + ( + "district", + "0096_districtelectioncampaignpage_show_program_points_inline_and_more", + ), ] operations = [ migrations.AlterField( - model_name='districtelectioncampaignpage', - name='show_program_points_inline', - field=models.BooleanField(default=False, help_text='Hodí se v případě spousty krátkých bodů programu, z nichž si většina nezaslouží vlastní stránku.', verbose_name='Zobrazit obsah programu na jedné stránce'), + model_name="districtelectioncampaignpage", + name="show_program_points_inline", + field=models.BooleanField( + default=False, + help_text="Hodí se v případě spousty krátkých bodů programu, z nichž si většina nezaslouží vlastní stránku.", + verbose_name="Zobrazit obsah programu na jedné stránce", + ), ), ] diff --git a/district/migrations/0098_alter_districtelectionprogrampage_guarantor.py b/district/migrations/0098_alter_districtelectionprogrampage_guarantor.py index f154e65e9da7b707a095afa6d5cb71000a5b9bce..1da7556a232e0c1d1a45b0503e0553bf07da774e 100644 --- a/district/migrations/0098_alter_districtelectionprogrampage_guarantor.py +++ b/district/migrations/0098_alter_districtelectionprogrampage_guarantor.py @@ -1,19 +1,27 @@ # Generated by Django 4.0.7 on 2022-08-11 19:26 -from django.db import migrations, models import django.db.models.deletion +from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ - ('district', '0097_alter_districtelectioncampaignpage_show_program_points_inline'), + ( + "district", + "0097_alter_districtelectioncampaignpage_show_program_points_inline", + ), ] operations = [ migrations.AlterField( - model_name='districtelectionprogrampage', - name='guarantor', - field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.PROTECT, to='district.districtpersonpage', verbose_name='Garant'), + model_name="districtelectionprogrampage", + name="guarantor", + field=models.ForeignKey( + null=True, + on_delete=django.db.models.deletion.PROTECT, + to="district.districtpersonpage", + verbose_name="Garant", + ), ), ] diff --git a/district/migrations/0099_alter_districtelectionprogrampage_guarantor.py b/district/migrations/0099_alter_districtelectionprogrampage_guarantor.py index 8e544f7b66370d01bd00bd000815b56681c91b2f..efa783cff3fc1cbe9d1abf7552db098b4d7555d6 100644 --- a/district/migrations/0099_alter_districtelectionprogrampage_guarantor.py +++ b/district/migrations/0099_alter_districtelectionprogrampage_guarantor.py @@ -1,19 +1,25 @@ # Generated by Django 4.0.7 on 2022-08-11 19:27 -from django.db import migrations, models import django.db.models.deletion +from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ - ('district', '0098_alter_districtelectionprogrampage_guarantor'), + ("district", "0098_alter_districtelectionprogrampage_guarantor"), ] operations = [ migrations.AlterField( - model_name='districtelectionprogrampage', - name='guarantor', - field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, to='district.districtpersonpage', verbose_name='Garant'), + model_name="districtelectionprogrampage", + name="guarantor", + field=models.ForeignKey( + blank=True, + null=True, + on_delete=django.db.models.deletion.PROTECT, + to="district.districtpersonpage", + verbose_name="Garant", + ), ), ] diff --git a/district/migrations/0100_districtarticlepage_thumb_image.py b/district/migrations/0100_districtarticlepage_thumb_image.py index 12c954948ef149462e6bbd748de5b92d51840a31..b42a55c3c501660431051f6d845d3404d7b02f84 100644 --- a/district/migrations/0100_districtarticlepage_thumb_image.py +++ b/district/migrations/0100_districtarticlepage_thumb_image.py @@ -1,20 +1,27 @@ # Generated by Django 4.0.7 on 2022-09-05 12:16 -from django.db import migrations, models import django.db.models.deletion +from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ - ('wagtailimages', '0024_index_image_file_hash'), - ('district', '0099_alter_districtelectionprogrampage_guarantor'), + ("wagtailimages", "0024_index_image_file_hash"), + ("district", "0099_alter_districtelectionprogrampage_guarantor"), ] operations = [ migrations.AddField( - model_name='districtarticlepage', - name='thumb_image', - field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, related_name='thumb_image', to='wagtailimages.image', verbose_name='náhledový obrázek'), + model_name="districtarticlepage", + name="thumb_image", + field=models.ForeignKey( + blank=True, + null=True, + on_delete=django.db.models.deletion.PROTECT, + related_name="thumb_image", + to="wagtailimages.image", + verbose_name="náhledový obrázek", + ), ), ] diff --git a/district/static/district/css/custom.css b/district/static/district/css/custom.css index f45c4d4ea0abdbf863d3341d27dfc1ff8d237560..303385ff23b7ad0b7b5c672f695cc065192cbc57 100644 --- a/district/static/district/css/custom.css +++ b/district/static/district/css/custom.css @@ -138,7 +138,7 @@ /* Special button images */ #button-odebirej-novinky::before, -#button-pridej-se-k-nam::before, +#button-pridej-se-k-nam::before, #button-prihod-do-truhly::before { background-size: cover; position: absolute; @@ -233,22 +233,22 @@ background-size: 80%; padding-top: 18%; } - + .content-wrapper { flex-direction: column; justify-content: center; } - + .topic-wrapper { align-items: stretch; width: 100%; flex-basis: 100%; } - + .topic { flex-basis: calc(33.3% - 5px); } - + .topic-content-wrapper { height: 463px; flex-basis: 463px; diff --git a/district/static/district/fonts/bebas-neue/style.css b/district/static/district/fonts/bebas-neue/style.css index 272aab602245003026693882c7d16115dd0c302e..381c6aed38edffedf3356513bd8358ed44808d3d 100644 --- a/district/static/district/fonts/bebas-neue/style.css +++ b/district/static/district/fonts/bebas-neue/style.css @@ -4,7 +4,7 @@ font-weight: normal; src: local('Bebas Neue'), url('BebasNeue.woff') format('woff'); } - + @font-face { font-family: 'Bebas Neue'; font-style: normal; diff --git a/district/static/district/js/jquery-3.1.0.min.js b/district/static/district/js/jquery-3.1.0.min.js index 0880130266c7a8b61d8bbf6d727823fe476fb9a6..42560d4c4147617a90b41206668acd58ee68903e 100644 --- a/district/static/district/js/jquery-3.1.0.min.js +++ b/district/static/district/js/jquery-3.1.0.min.js @@ -1,4 +1,4 @@ /*! jQuery v3.1.0 | (c) jQuery Foundation | jquery.org/license */ !function(a,b){"use strict";"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){"use strict";var c=[],d=a.document,e=Object.getPrototypeOf,f=c.slice,g=c.concat,h=c.push,i=c.indexOf,j={},k=j.toString,l=j.hasOwnProperty,m=l.toString,n=m.call(Object),o={};function p(a,b){b=b||d;var c=b.createElement("script");c.text=a,b.head.appendChild(c).parentNode.removeChild(c)}var q="3.1.0",r=function(a,b){return new r.fn.init(a,b)},s=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,t=/^-ms-/,u=/-([a-z])/g,v=function(a,b){return b.toUpperCase()};r.fn=r.prototype={jquery:q,constructor:r,length:0,toArray:function(){return f.call(this)},get:function(a){return null!=a?a<0?this[a+this.length]:this[a]:f.call(this)},pushStack:function(a){var b=r.merge(this.constructor(),a);return b.prevObject=this,b},each:function(a){return r.each(this,a)},map:function(a){return this.pushStack(r.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(f.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length,c=+a+(a<0?b:0);return this.pushStack(c>=0&&c<b?[this[c]]:[])},end:function(){return this.prevObject||this.constructor()},push:h,sort:c.sort,splice:c.splice},r.extend=r.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||r.isFunction(g)||(g={}),h===i&&(g=this,h--);h<i;h++)if(null!=(a=arguments[h]))for(b in a)c=g[b],d=a[b],g!==d&&(j&&d&&(r.isPlainObject(d)||(e=r.isArray(d)))?(e?(e=!1,f=c&&r.isArray(c)?c:[]):f=c&&r.isPlainObject(c)?c:{},g[b]=r.extend(j,f,d)):void 0!==d&&(g[b]=d));return g},r.extend({expando:"jQuery"+(q+Math.random()).replace(/\D/g,""),isReady:!0,error:function(a){throw new Error(a)},noop:function(){},isFunction:function(a){return"function"===r.type(a)},isArray:Array.isArray,isWindow:function(a){return null!=a&&a===a.window},isNumeric:function(a){var b=r.type(a);return("number"===b||"string"===b)&&!isNaN(a-parseFloat(a))},isPlainObject:function(a){var b,c;return!(!a||"[object Object]"!==k.call(a))&&(!(b=e(a))||(c=l.call(b,"constructor")&&b.constructor,"function"==typeof c&&m.call(c)===n))},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},type:function(a){return null==a?a+"":"object"==typeof a||"function"==typeof a?j[k.call(a)]||"object":typeof a},globalEval:function(a){p(a)},camelCase:function(a){return a.replace(t,"ms-").replace(u,v)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(a,b){var c,d=0;if(w(a)){for(c=a.length;d<c;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(s,"")},makeArray:function(a,b){var c=b||[];return null!=a&&(w(Object(a))?r.merge(c,"string"==typeof a?[a]:a):h.call(c,a)),c},inArray:function(a,b,c){return null==b?-1:i.call(b,a,c)},merge:function(a,b){for(var c=+b.length,d=0,e=a.length;d<c;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;f<g;f++)d=!b(a[f],f),d!==h&&e.push(a[f]);return e},map:function(a,b,c){var d,e,f=0,h=[];if(w(a))for(d=a.length;f<d;f++)e=b(a[f],f,c),null!=e&&h.push(e);else for(f in a)e=b(a[f],f,c),null!=e&&h.push(e);return g.apply([],h)},guid:1,proxy:function(a,b){var c,d,e;if("string"==typeof b&&(c=a[b],b=a,a=c),r.isFunction(a))return d=f.call(arguments,2),e=function(){return a.apply(b||this,d.concat(f.call(arguments)))},e.guid=a.guid=a.guid||r.guid++,e},now:Date.now,support:o}),"function"==typeof Symbol&&(r.fn[Symbol.iterator]=c[Symbol.iterator]),r.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(a,b){j["[object "+b+"]"]=b.toLowerCase()});function w(a){var b=!!a&&"length"in a&&a.length,c=r.type(a);return"function"!==c&&!r.isWindow(a)&&("array"===c||0===b||"number"==typeof b&&b>0&&b-1 in a)}var x=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=ha(),z=ha(),A=ha(),B=function(a,b){return a===b&&(l=!0),0},C={}.hasOwnProperty,D=[],E=D.pop,F=D.push,G=D.push,H=D.slice,I=function(a,b){for(var c=0,d=a.length;c<d;c++)if(a[c]===b)return c;return-1},J="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",K="[\\x20\\t\\r\\n\\f]",L="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",M="\\["+K+"*("+L+")(?:"+K+"*([*^$|!~]?=)"+K+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+L+"))|)"+K+"*\\]",N=":("+L+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+M+")*)|.*)\\)|)",O=new RegExp(K+"+","g"),P=new RegExp("^"+K+"+|((?:^|[^\\\\])(?:\\\\.)*)"+K+"+$","g"),Q=new RegExp("^"+K+"*,"+K+"*"),R=new RegExp("^"+K+"*([>+~]|"+K+")"+K+"*"),S=new RegExp("="+K+"*([^\\]'\"]*?)"+K+"*\\]","g"),T=new RegExp(N),U=new RegExp("^"+L+"$"),V={ID:new RegExp("^#("+L+")"),CLASS:new RegExp("^\\.("+L+")"),TAG:new RegExp("^("+L+"|[*])"),ATTR:new RegExp("^"+M),PSEUDO:new RegExp("^"+N),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+K+"*(even|odd|(([+-]|)(\\d*)n|)"+K+"*(?:([+-]|)"+K+"*(\\d+)|))"+K+"*\\)|)","i"),bool:new RegExp("^(?:"+J+")$","i"),needsContext:new RegExp("^"+K+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+K+"*((?:-\\d)?\\d*)"+K+"*\\)|)(?=[^-]|$)","i")},W=/^(?:input|select|textarea|button)$/i,X=/^h\d$/i,Y=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,$=/[+~]/,_=new RegExp("\\\\([\\da-f]{1,6}"+K+"?|("+K+")|.)","ig"),aa=function(a,b,c){var d="0x"+b-65536;return d!==d||c?b:d<0?String.fromCharCode(d+65536):String.fromCharCode(d>>10|55296,1023&d|56320)},ba=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,ca=function(a,b){return b?"\0"===a?"\ufffd":a.slice(0,-1)+"\\"+a.charCodeAt(a.length-1).toString(16)+" ":"\\"+a},da=function(){m()},ea=ta(function(a){return a.disabled===!0},{dir:"parentNode",next:"legend"});try{G.apply(D=H.call(v.childNodes),v.childNodes),D[v.childNodes.length].nodeType}catch(fa){G={apply:D.length?function(a,b){F.apply(a,H.call(b))}:function(a,b){var c=a.length,d=0;while(a[c++]=b[d++]);a.length=c-1}}}function ga(a,b,d,e){var f,h,j,k,l,o,r,s=b&&b.ownerDocument,w=b?b.nodeType:9;if(d=d||[],"string"!=typeof a||!a||1!==w&&9!==w&&11!==w)return d;if(!e&&((b?b.ownerDocument||b:v)!==n&&m(b),b=b||n,p)){if(11!==w&&(l=Z.exec(a)))if(f=l[1]){if(9===w){if(!(j=b.getElementById(f)))return d;if(j.id===f)return d.push(j),d}else if(s&&(j=s.getElementById(f))&&t(b,j)&&j.id===f)return d.push(j),d}else{if(l[2])return G.apply(d,b.getElementsByTagName(a)),d;if((f=l[3])&&c.getElementsByClassName&&b.getElementsByClassName)return G.apply(d,b.getElementsByClassName(f)),d}if(c.qsa&&!A[a+" "]&&(!q||!q.test(a))){if(1!==w)s=b,r=a;else if("object"!==b.nodeName.toLowerCase()){(k=b.getAttribute("id"))?k=k.replace(ba,ca):b.setAttribute("id",k=u),o=g(a),h=o.length;while(h--)o[h]="#"+k+" "+sa(o[h]);r=o.join(","),s=$.test(a)&&qa(b.parentNode)||b}if(r)try{return G.apply(d,s.querySelectorAll(r)),d}catch(x){}finally{k===u&&b.removeAttribute("id")}}}return i(a.replace(P,"$1"),b,d,e)}function ha(){var a=[];function b(c,e){return a.push(c+" ")>d.cacheLength&&delete b[a.shift()],b[c+" "]=e}return b}function ia(a){return a[u]=!0,a}function ja(a){var b=n.createElement("fieldset");try{return!!a(b)}catch(c){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function ka(a,b){var c=a.split("|"),e=c.length;while(e--)d.attrHandle[c[e]]=b}function la(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&a.sourceIndex-b.sourceIndex;if(d)return d;if(c)while(c=c.nextSibling)if(c===b)return-1;return a?1:-1}function ma(a){return function(b){var c=b.nodeName.toLowerCase();return"input"===c&&b.type===a}}function na(a){return function(b){var c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function oa(a){return function(b){return"label"in b&&b.disabled===a||"form"in b&&b.disabled===a||"form"in b&&b.disabled===!1&&(b.isDisabled===a||b.isDisabled!==!a&&("label"in b||!ea(b))!==a)}}function pa(a){return ia(function(b){return b=+b,ia(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 qa(a){return a&&"undefined"!=typeof a.getElementsByTagName&&a}c=ga.support={},f=ga.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return!!b&&"HTML"!==b.nodeName},m=ga.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),v!==n&&(e=n.defaultView)&&e.top!==e&&(e.addEventListener?e.addEventListener("unload",da,!1):e.attachEvent&&e.attachEvent("onunload",da)),c.attributes=ja(function(a){return a.className="i",!a.getAttribute("className")}),c.getElementsByTagName=ja(function(a){return a.appendChild(n.createComment("")),!a.getElementsByTagName("*").length}),c.getElementsByClassName=Y.test(n.getElementsByClassName),c.getById=ja(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(_,aa);return function(a){return a.getAttribute("id")===b}}):(delete d.find.ID,d.filter.ID=function(a){var b=a.replace(_,aa);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){if("undefined"!=typeof b.getElementsByClassName&&p)return b.getElementsByClassName(a)},r=[],q=[],(c.qsa=Y.test(n.querySelectorAll))&&(ja(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("[*^$]="+K+"*(?:''|\"\")"),a.querySelectorAll("[selected]").length||q.push("\\["+K+"*(?:value|"+J+")"),a.querySelectorAll("[id~="+u+"-]").length||q.push("~="),a.querySelectorAll(":checked").length||q.push(":checked"),a.querySelectorAll("a#"+u+"+*").length||q.push(".#.+[+~]")}),ja(function(a){a.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var b=n.createElement("input");b.setAttribute("type","hidden"),a.appendChild(b).setAttribute("name","D"),a.querySelectorAll("[name=d]").length&&q.push("name"+K+"*[*^$|!~]?="),2!==a.querySelectorAll(":enabled").length&&q.push(":enabled",":disabled"),o.appendChild(a).disabled=!0,2!==a.querySelectorAll(":disabled").length&&q.push(":enabled",":disabled"),a.querySelectorAll("*,:x"),q.push(",.*:")})),(c.matchesSelector=Y.test(s=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&ja(function(a){c.disconnectedMatch=s.call(a,"*"),s.call(a,"[s!='']:x"),r.push("!=",N)}),q=q.length&&new RegExp(q.join("|")),r=r.length&&new RegExp(r.join("|")),b=Y.test(o.compareDocumentPosition),t=b||Y.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?I(k,a)-I(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?I(k,a)-I(k,b):0;if(e===f)return la(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?la(g[d],h[d]):g[d]===v?-1:h[d]===v?1:0},n):n},ga.matches=function(a,b){return ga(a,null,null,b)},ga.matchesSelector=function(a,b){if((a.ownerDocument||a)!==n&&m(a),b=b.replace(S,"='$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 ga(b,n,null,[a]).length>0},ga.contains=function(a,b){return(a.ownerDocument||a)!==n&&m(a),t(a,b)},ga.attr=function(a,b){(a.ownerDocument||a)!==n&&m(a);var e=d.attrHandle[b.toLowerCase()],f=e&&C.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},ga.escape=function(a){return(a+"").replace(ba,ca)},ga.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)},ga.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=ga.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=ga.selectors={cacheLength:50,createPseudo:ia,match:V,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(_,aa),a[3]=(a[3]||a[4]||a[5]||"").replace(_,aa),"~="===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]||ga.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]&&ga.error(a[0]),a},PSEUDO:function(a){var b,c=!a[6]&&a[2];return V.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||"":c&&T.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(_,aa).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("(^|"+K+")"+a+"("+K+"|$)"))&&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=ga.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(O," ")+" ").indexOf(c)>-1:"|="===b&&(e===c||e.slice(0,c.length+1)===c+"-"))}},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()]||ga.error("unsupported pseudo: "+a);return e[u]?e(b):e.length>1?(c=[a,a,"",b],d.setFilters.hasOwnProperty(a.toLowerCase())?ia(function(a,c){var d,f=e(a,b),g=f.length;while(g--)d=I(a,f[g]),a[d]=!(c[d]=f[g])}):function(a){return e(a,0,c)}):e}},pseudos:{not:ia(function(a){var b=[],c=[],d=h(a.replace(P,"$1"));return d[u]?ia(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:ia(function(a){return function(b){return ga(a,b).length>0}}),contains:ia(function(a){return a=a.replace(_,aa),function(b){return(b.textContent||b.innerText||e(b)).indexOf(a)>-1}}),lang:ia(function(a){return U.test(a||"")||ga.error("unsupported lang: "+a),a=a.replace(_,aa).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:oa(!1),disabled:oa(!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 X.test(a.nodeName)},input:function(a){return W.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:pa(function(){return[0]}),last:pa(function(a,b){return[b-1]}),eq:pa(function(a,b,c){return[c<0?c+b:c]}),even:pa(function(a,b){for(var c=0;c<b;c+=2)a.push(c);return a}),odd:pa(function(a,b){for(var c=1;c<b;c+=2)a.push(c);return a}),lt:pa(function(a,b,c){for(var d=c<0?c+b:c;--d>=0;)a.push(d);return a}),gt:pa(function(a,b,c){for(var d=c<0?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]=ma(b);for(b in{submit:!0,reset:!0})d.pseudos[b]=na(b);function ra(){}ra.prototype=d.filters=d.pseudos,d.setFilters=new ra,g=ga.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=Q.exec(h))||(e&&(h=h.slice(e[0].length)||h),i.push(f=[])),c=!1,(e=R.exec(h))&&(c=e.shift(),f.push({value:c,type:e[0].replace(P," ")}),h=h.slice(c.length));for(g in d.filter)!(e=V[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?ga.error(a):z(a,i).slice(0)};function sa(a){for(var b=0,c=a.length,d="";b<c;b++)d+=a[b].value;return d}function ta(a,b,c){var d=b.dir,e=b.next,f=e||d,g=c&&"parentNode"===f,h=x++;return b.first?function(b,c,e){while(b=b[d])if(1===b.nodeType||g)return a(b,c,e)}:function(b,c,i){var j,k,l,m=[w,h];if(i){while(b=b[d])if((1===b.nodeType||g)&&a(b,c,i))return!0}else while(b=b[d])if(1===b.nodeType||g)if(l=b[u]||(b[u]={}),k=l[b.uniqueID]||(l[b.uniqueID]={}),e&&e===b.nodeName.toLowerCase())b=b[d]||b;else{if((j=k[f])&&j[0]===w&&j[1]===h)return m[2]=j[2];if(k[f]=m,m[2]=a(b,c,i))return!0}}}function ua(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 va(a,b,c){for(var d=0,e=b.length;d<e;d++)ga(a,b[d],c);return c}function wa(a,b,c,d,e){for(var f,g=[],h=0,i=a.length,j=null!=b;h<i;h++)(f=a[h])&&(c&&!c(f,d,e)||(g.push(f),j&&b.push(h)));return g}function xa(a,b,c,d,e,f){return d&&!d[u]&&(d=xa(d)),e&&!e[u]&&(e=xa(e,f)),ia(function(f,g,h,i){var j,k,l,m=[],n=[],o=g.length,p=f||va(b||"*",h.nodeType?[h]:h,[]),q=!a||!f&&b?p:wa(p,m,a,h,i),r=c?e||(f?a:o||d)?[]:g:q;if(c&&c(q,r,h,i),d){j=wa(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?I(f,l):m[k])>-1&&(f[j]=!(g[j]=l))}}else r=wa(r===g?r.splice(o,r.length):r),e?e(null,g,r,i):G.apply(g,r)})}function ya(a){for(var b,c,e,f=a.length,g=d.relative[a[0].type],h=g||d.relative[" "],i=g?1:0,k=ta(function(a){return a===b},h,!0),l=ta(function(a){return I(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}];i<f;i++)if(c=d.relative[a[i].type])m=[ta(ua(m),c)];else{if(c=d.filter[a[i].type].apply(null,a[i].matches),c[u]){for(e=++i;e<f;e++)if(d.relative[a[e].type])break;return xa(i>1&&ua(m),i>1&&sa(a.slice(0,i-1).concat({value:" "===a[i-2].type?"*":""})).replace(P,"$1"),c,i<e&&ya(a.slice(i,e)),e<f&&ya(a=a.slice(e)),e<f&&sa(a))}m.push(c)}return ua(m)}function za(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]=E.call(i));u=wa(u)}G.apply(i,u),k&&!f&&u.length>0&&r+b.length>1&&ga.uniqueSort(i)}return k&&(w=y,j=v),t};return c?ia(f):f}return h=ga.compile=function(a,b){var c,d=[],e=[],f=A[a+" "];if(!f){b||(b=g(a)),c=b.length;while(c--)f=ya(b[c]),f[u]?d.push(f):e.push(f);f=A(a,za(e,d)),f.selector=a}return f},i=ga.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(_,aa),b)||[])[0],!b)return e;n&&(b=b.parentNode),a=a.slice(j.shift().value.length)}i=V.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(_,aa),$.test(j[0].type)&&qa(b.parentNode)||b))){if(j.splice(i,1),a=f.length&&sa(j),!a)return G.apply(e,f),e;break}}}return(n||h(a,o))(f,b,!p,e,!b||$.test(a)&&qa(b.parentNode)||b),e},c.sortStable=u.split("").sort(B).join("")===u,c.detectDuplicates=!!l,m(),c.sortDetached=ja(function(a){return 1&a.compareDocumentPosition(n.createElement("fieldset"))}),ja(function(a){return a.innerHTML="<a href='#'></a>","#"===a.firstChild.getAttribute("href")})||ka("type|href|height|width",function(a,b,c){if(!c)return a.getAttribute(b,"type"===b.toLowerCase()?1:2)}),c.attributes&&ja(function(a){return a.innerHTML="<input/>",a.firstChild.setAttribute("value",""),""===a.firstChild.getAttribute("value")})||ka("value",function(a,b,c){if(!c&&"input"===a.nodeName.toLowerCase())return a.defaultValue}),ja(function(a){return null==a.getAttribute("disabled")})||ka(J,function(a,b,c){var d;if(!c)return a[b]===!0?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.value:null}),ga}(a);r.find=x,r.expr=x.selectors,r.expr[":"]=r.expr.pseudos,r.uniqueSort=r.unique=x.uniqueSort,r.text=x.getText,r.isXMLDoc=x.isXML,r.contains=x.contains,r.escapeSelector=x.escape;var y=function(a,b,c){var d=[],e=void 0!==c;while((a=a[b])&&9!==a.nodeType)if(1===a.nodeType){if(e&&r(a).is(c))break;d.push(a)}return d},z=function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c},A=r.expr.match.needsContext,B=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i,C=/^.[^:#\[\.,]*$/;function D(a,b,c){if(r.isFunction(b))return r.grep(a,function(a,d){return!!b.call(a,d,a)!==c});if(b.nodeType)return r.grep(a,function(a){return a===b!==c});if("string"==typeof b){if(C.test(b))return r.filter(b,a,c);b=r.filter(b,a)}return r.grep(a,function(a){return i.call(b,a)>-1!==c&&1===a.nodeType})}r.filter=function(a,b,c){var d=b[0];return c&&(a=":not("+a+")"),1===b.length&&1===d.nodeType?r.find.matchesSelector(d,a)?[d]:[]:r.find.matches(a,r.grep(b,function(a){return 1===a.nodeType}))},r.fn.extend({find:function(a){var b,c,d=this.length,e=this;if("string"!=typeof a)return this.pushStack(r(a).filter(function(){for(b=0;b<d;b++)if(r.contains(e[b],this))return!0}));for(c=this.pushStack([]),b=0;b<d;b++)r.find(a,e[b],c);return d>1?r.uniqueSort(c):c},filter:function(a){return this.pushStack(D(this,a||[],!1))},not:function(a){return this.pushStack(D(this,a||[],!0))},is:function(a){return!!D(this,"string"==typeof a&&A.test(a)?r(a):a||[],!1).length}});var E,F=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,G=r.fn.init=function(a,b,c){var e,f;if(!a)return this;if(c=c||E,"string"==typeof a){if(e="<"===a[0]&&">"===a[a.length-1]&&a.length>=3?[null,a,null]:F.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 r?b[0]:b,r.merge(this,r.parseHTML(e[1],b&&b.nodeType?b.ownerDocument||b:d,!0)),B.test(e[1])&&r.isPlainObject(b))for(e in b)r.isFunction(this[e])?this[e](b[e]):this.attr(e,b[e]);return this}return f=d.getElementById(e[2]),f&&(this[0]=f,this.length=1),this}return a.nodeType?(this[0]=a,this.length=1,this):r.isFunction(a)?void 0!==c.ready?c.ready(a):a(r):r.makeArray(a,this)};G.prototype=r.fn,E=r(d);var H=/^(?:parents|prev(?:Until|All))/,I={children:!0,contents:!0,next:!0,prev:!0};r.fn.extend({has:function(a){var b=r(a,this),c=b.length;return this.filter(function(){for(var a=0;a<c;a++)if(r.contains(this,b[a]))return!0})},closest:function(a,b){var c,d=0,e=this.length,f=[],g="string"!=typeof a&&r(a);if(!A.test(a))for(;d<e;d++)for(c=this[d];c&&c!==b;c=c.parentNode)if(c.nodeType<11&&(g?g.index(c)>-1:1===c.nodeType&&r.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(f.length>1?r.uniqueSort(f):f)},index:function(a){return a?"string"==typeof a?i.call(r(a),this[0]):i.call(this,a.jquery?a[0]:a):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(r.uniqueSort(r.merge(this.get(),r(a,b))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}});function J(a,b){while((a=a[b])&&1!==a.nodeType);return a}r.each({parent:function(a){var b=a.parentNode;return b&&11!==b.nodeType?b:null},parents:function(a){return y(a,"parentNode")},parentsUntil:function(a,b,c){return y(a,"parentNode",c)},next:function(a){return J(a,"nextSibling")},prev:function(a){return J(a,"previousSibling")},nextAll:function(a){return y(a,"nextSibling")},prevAll:function(a){return y(a,"previousSibling")},nextUntil:function(a,b,c){return y(a,"nextSibling",c)},prevUntil:function(a,b,c){return y(a,"previousSibling",c)},siblings:function(a){return z((a.parentNode||{}).firstChild,a)},children:function(a){return z(a.firstChild)},contents:function(a){return a.contentDocument||r.merge([],a.childNodes)}},function(a,b){r.fn[a]=function(c,d){var e=r.map(this,b,c);return"Until"!==a.slice(-5)&&(d=c),d&&"string"==typeof d&&(e=r.filter(d,e)),this.length>1&&(I[a]||r.uniqueSort(e),H.test(a)&&e.reverse()),this.pushStack(e)}});var K=/\S+/g;function L(a){var b={};return r.each(a.match(K)||[],function(a,c){b[c]=!0}),b}r.Callbacks=function(a){a="string"==typeof a?L(a):r.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){r.each(b,function(b,c){r.isFunction(c)?a.unique&&j.has(c)||f.push(c):c&&c.length&&"string"!==r.type(c)&&d(c)})}(arguments),c&&!b&&i()),this},remove:function(){return r.each(arguments,function(a,b){var c;while((c=r.inArray(b,f,c))>-1)f.splice(c,1),c<=h&&h--}),this},has:function(a){return a?r.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=g=[],c||b||(f=c=""),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};function M(a){return a}function N(a){throw a}function O(a,b,c){var d;try{a&&r.isFunction(d=a.promise)?d.call(a).done(b).fail(c):a&&r.isFunction(d=a.then)?d.call(a,b,c):b.call(void 0,a)}catch(a){c.call(void 0,a)}}r.extend({Deferred:function(b){var c=[["notify","progress",r.Callbacks("memory"),r.Callbacks("memory"),2],["resolve","done",r.Callbacks("once memory"),r.Callbacks("once memory"),0,"resolved"],["reject","fail",r.Callbacks("once memory"),r.Callbacks("once memory"),1,"rejected"]],d="pending",e={state:function(){return d},always:function(){return f.done(arguments).fail(arguments),this},"catch":function(a){return e.then(null,a)},pipe:function(){var a=arguments;return r.Deferred(function(b){r.each(c,function(c,d){var e=r.isFunction(a[d[4]])&&a[d[4]];f[d[1]](function(){var a=e&&e.apply(this,arguments);a&&r.isFunction(a.promise)?a.promise().progress(b.notify).done(b.resolve).fail(b.reject):b[d[0]+"With"](this,e?[a]:arguments)})}),a=null}).promise()},then:function(b,d,e){var f=0;function g(b,c,d,e){return function(){var h=this,i=arguments,j=function(){var a,j;if(!(b<f)){if(a=d.apply(h,i),a===c.promise())throw new TypeError("Thenable self-resolution");j=a&&("object"==typeof a||"function"==typeof a)&&a.then,r.isFunction(j)?e?j.call(a,g(f,c,M,e),g(f,c,N,e)):(f++,j.call(a,g(f,c,M,e),g(f,c,N,e),g(f,c,M,c.notifyWith))):(d!==M&&(h=void 0,i=[a]),(e||c.resolveWith)(h,i))}},k=e?j:function(){try{j()}catch(a){r.Deferred.exceptionHook&&r.Deferred.exceptionHook(a,k.stackTrace),b+1>=f&&(d!==N&&(h=void 0,i=[a]),c.rejectWith(h,i))}};b?k():(r.Deferred.getStackHook&&(k.stackTrace=r.Deferred.getStackHook()),a.setTimeout(k))}}return r.Deferred(function(a){c[0][3].add(g(0,a,r.isFunction(e)?e:M,a.notifyWith)),c[1][3].add(g(0,a,r.isFunction(b)?b:M)),c[2][3].add(g(0,a,r.isFunction(d)?d:N))}).promise()},promise:function(a){return null!=a?r.extend(a,e):e}},f={};return r.each(c,function(a,b){var g=b[2],h=b[5];e[b[1]]=g.add,h&&g.add(function(){d=h},c[3-a][2].disable,c[0][2].lock),g.add(b[3].fire),f[b[0]]=function(){return f[b[0]+"With"](this===f?void 0:this,arguments),this},f[b[0]+"With"]=g.fireWith}),e.promise(f),b&&b.call(f,f),f},when:function(a){var b=arguments.length,c=b,d=Array(c),e=f.call(arguments),g=r.Deferred(),h=function(a){return function(c){d[a]=this,e[a]=arguments.length>1?f.call(arguments):c,--b||g.resolveWith(d,e)}};if(b<=1&&(O(a,g.done(h(c)).resolve,g.reject),"pending"===g.state()||r.isFunction(e[c]&&e[c].then)))return g.then();while(c--)O(e[c],h(c),g.reject);return g.promise()}});var P=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;r.Deferred.exceptionHook=function(b,c){a.console&&a.console.warn&&b&&P.test(b.name)&&a.console.warn("jQuery.Deferred exception: "+b.message,b.stack,c)},r.readyException=function(b){a.setTimeout(function(){throw b})};var Q=r.Deferred();r.fn.ready=function(a){return Q.then(a)["catch"](function(a){r.readyException(a)}),this},r.extend({isReady:!1,readyWait:1,holdReady:function(a){a?r.readyWait++:r.ready(!0)},ready:function(a){(a===!0?--r.readyWait:r.isReady)||(r.isReady=!0,a!==!0&&--r.readyWait>0||Q.resolveWith(d,[r]))}}),r.ready.then=Q.then;function R(){d.removeEventListener("DOMContentLoaded",R),a.removeEventListener("load",R),r.ready()}"complete"===d.readyState||"loading"!==d.readyState&&!d.documentElement.doScroll?a.setTimeout(r.ready):(d.addEventListener("DOMContentLoaded",R),a.addEventListener("load",R));var S=function(a,b,c,d,e,f,g){var h=0,i=a.length,j=null==c;if("object"===r.type(c)){e=!0;for(h in c)S(a,b,h,c[h],!0,f,g)}else if(void 0!==d&&(e=!0, r.isFunction(d)||(g=!0),j&&(g?(b.call(a,d),b=null):(j=b,b=function(a,b,c){return j.call(r(a),c)})),b))for(;h<i;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},T=function(a){return 1===a.nodeType||9===a.nodeType||!+a.nodeType};function U(){this.expando=r.expando+U.uid++}U.uid=1,U.prototype={cache:function(a){var b=a[this.expando];return b||(b={},T(a)&&(a.nodeType?a[this.expando]=b:Object.defineProperty(a,this.expando,{value:b,configurable:!0}))),b},set:function(a,b,c){var d,e=this.cache(a);if("string"==typeof b)e[r.camelCase(b)]=c;else for(d in b)e[r.camelCase(d)]=b[d];return e},get:function(a,b){return void 0===b?this.cache(a):a[this.expando]&&a[this.expando][r.camelCase(b)]},access:function(a,b,c){return void 0===b||b&&"string"==typeof b&&void 0===c?this.get(a,b):(this.set(a,b,c),void 0!==c?c:b)},remove:function(a,b){var c,d=a[this.expando];if(void 0!==d){if(void 0!==b){r.isArray(b)?b=b.map(r.camelCase):(b=r.camelCase(b),b=b in d?[b]:b.match(K)||[]),c=b.length;while(c--)delete d[b[c]]}(void 0===b||r.isEmptyObject(d))&&(a.nodeType?a[this.expando]=void 0:delete a[this.expando])}},hasData:function(a){var b=a[this.expando];return void 0!==b&&!r.isEmptyObject(b)}};var V=new U,W=new U,X=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Y=/[A-Z]/g;function Z(a,b,c){var d;if(void 0===c&&1===a.nodeType)if(d="data-"+b.replace(Y,"-$&").toLowerCase(),c=a.getAttribute(d),"string"==typeof c){try{c="true"===c||"false"!==c&&("null"===c?null:+c+""===c?+c:X.test(c)?JSON.parse(c):c)}catch(e){}W.set(a,b,c)}else c=void 0;return c}r.extend({hasData:function(a){return W.hasData(a)||V.hasData(a)},data:function(a,b,c){return W.access(a,b,c)},removeData:function(a,b){W.remove(a,b)},_data:function(a,b,c){return V.access(a,b,c)},_removeData:function(a,b){V.remove(a,b)}}),r.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=W.get(f),1===f.nodeType&&!V.get(f,"hasDataAttrs"))){c=g.length;while(c--)g[c]&&(d=g[c].name,0===d.indexOf("data-")&&(d=r.camelCase(d.slice(5)),Z(f,d,e[d])));V.set(f,"hasDataAttrs",!0)}return e}return"object"==typeof a?this.each(function(){W.set(this,a)}):S(this,function(b){var c;if(f&&void 0===b){if(c=W.get(f,a),void 0!==c)return c;if(c=Z(f,a),void 0!==c)return c}else this.each(function(){W.set(this,a,b)})},null,b,arguments.length>1,null,!0)},removeData:function(a){return this.each(function(){W.remove(this,a)})}}),r.extend({queue:function(a,b,c){var d;if(a)return b=(b||"fx")+"queue",d=V.get(a,b),c&&(!d||r.isArray(c)?d=V.access(a,b,r.makeArray(c)):d.push(c)),d||[]},dequeue:function(a,b){b=b||"fx";var c=r.queue(a,b),d=c.length,e=c.shift(),f=r._queueHooks(a,b),g=function(){r.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 V.get(a,c)||V.access(a,c,{empty:r.Callbacks("once memory").add(function(){V.remove(a,[b+"queue",c])})})}}),r.fn.extend({queue:function(a,b){var c=2;return"string"!=typeof a&&(b=a,a="fx",c--),arguments.length<c?r.queue(this[0],a):void 0===b?this:this.each(function(){var c=r.queue(this,a,b);r._queueHooks(this,a),"fx"===a&&"inprogress"!==c[0]&&r.dequeue(this,a)})},dequeue:function(a){return this.each(function(){r.dequeue(this,a)})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a,b){var c,d=1,e=r.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=V.get(f[g],a+"queueHooks"),c&&c.empty&&(d++,c.empty.add(h));return h(),e.promise(b)}});var $=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,_=new RegExp("^(?:([+-])=|)("+$+")([a-z%]*)$","i"),aa=["Top","Right","Bottom","Left"],ba=function(a,b){return a=b||a,"none"===a.style.display||""===a.style.display&&r.contains(a.ownerDocument,a)&&"none"===r.css(a,"display")},ca=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};function da(a,b,c,d){var e,f=1,g=20,h=d?function(){return d.cur()}:function(){return r.css(a,b,"")},i=h(),j=c&&c[3]||(r.cssNumber[b]?"":"px"),k=(r.cssNumber[b]||"px"!==j&&+i)&&_.exec(r.css(a,b));if(k&&k[3]!==j){j=j||k[3],c=c||[],k=+i||1;do f=f||".5",k/=f,r.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 ea={};function fa(a){var b,c=a.ownerDocument,d=a.nodeName,e=ea[d];return e?e:(b=c.body.appendChild(c.createElement(d)),e=r.css(b,"display"),b.parentNode.removeChild(b),"none"===e&&(e="block"),ea[d]=e,e)}function ga(a,b){for(var c,d,e=[],f=0,g=a.length;f<g;f++)d=a[f],d.style&&(c=d.style.display,b?("none"===c&&(e[f]=V.get(d,"display")||null,e[f]||(d.style.display="")),""===d.style.display&&ba(d)&&(e[f]=fa(d))):"none"!==c&&(e[f]="none",V.set(d,"display",c)));for(f=0;f<g;f++)null!=e[f]&&(a[f].style.display=e[f]);return a}r.fn.extend({show:function(){return ga(this,!0)},hide:function(){return ga(this)},toggle:function(a){return"boolean"==typeof a?a?this.show():this.hide():this.each(function(){ba(this)?r(this).show():r(this).hide()})}});var ha=/^(?:checkbox|radio)$/i,ia=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i,ja=/^$|\/(?:java|ecma)script/i,ka={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};ka.optgroup=ka.option,ka.tbody=ka.tfoot=ka.colgroup=ka.caption=ka.thead,ka.th=ka.td;function la(a,b){var c="undefined"!=typeof a.getElementsByTagName?a.getElementsByTagName(b||"*"):"undefined"!=typeof a.querySelectorAll?a.querySelectorAll(b||"*"):[];return void 0===b||b&&r.nodeName(a,b)?r.merge([a],c):c}function ma(a,b){for(var c=0,d=a.length;c<d;c++)V.set(a[c],"globalEval",!b||V.get(b[c],"globalEval"))}var na=/<|&#?\w+;/;function oa(a,b,c,d,e){for(var f,g,h,i,j,k,l=b.createDocumentFragment(),m=[],n=0,o=a.length;n<o;n++)if(f=a[n],f||0===f)if("object"===r.type(f))r.merge(m,f.nodeType?[f]:f);else if(na.test(f)){g=g||l.appendChild(b.createElement("div")),h=(ia.exec(f)||["",""])[1].toLowerCase(),i=ka[h]||ka._default,g.innerHTML=i[1]+r.htmlPrefilter(f)+i[2],k=i[0];while(k--)g=g.lastChild;r.merge(m,g.childNodes),g=l.firstChild,g.textContent=""}else m.push(b.createTextNode(f));l.textContent="",n=0;while(f=m[n++])if(d&&r.inArray(f,d)>-1)e&&e.push(f);else if(j=r.contains(f.ownerDocument,f),g=la(l.appendChild(f),"script"),j&&ma(g),c){k=0;while(f=g[k++])ja.test(f.type||"")&&c.push(f)}return l}!function(){var a=d.createDocumentFragment(),b=a.appendChild(d.createElement("div")),c=d.createElement("input");c.setAttribute("type","radio"),c.setAttribute("checked","checked"),c.setAttribute("name","t"),b.appendChild(c),o.checkClone=b.cloneNode(!0).cloneNode(!0).lastChild.checked,b.innerHTML="<textarea>x</textarea>",o.noCloneChecked=!!b.cloneNode(!0).lastChild.defaultValue}();var pa=d.documentElement,qa=/^key/,ra=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,sa=/^([^.]*)(?:\.(.+)|)/;function ta(){return!0}function ua(){return!1}function va(){try{return d.activeElement}catch(a){}}function wa(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)wa(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=ua;else if(!e)return a;return 1===f&&(g=e,e=function(a){return r().off(a),g.apply(this,arguments)},e.guid=g.guid||(g.guid=r.guid++)),a.each(function(){r.event.add(this,b,e,d,c)})}r.event={global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,n,o,p,q=V.get(a);if(q){c.handler&&(f=c,c=f.handler,e=f.selector),e&&r.find.matchesSelector(pa,e),c.guid||(c.guid=r.guid++),(i=q.events)||(i=q.events={}),(g=q.handle)||(g=q.handle=function(b){return"undefined"!=typeof r&&r.event.triggered!==b.type?r.event.dispatch.apply(a,arguments):void 0}),b=(b||"").match(K)||[""],j=b.length;while(j--)h=sa.exec(b[j])||[],n=p=h[1],o=(h[2]||"").split(".").sort(),n&&(l=r.event.special[n]||{},n=(e?l.delegateType:l.bindType)||n,l=r.event.special[n]||{},k=r.extend({type:n,origType:p,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&r.expr.match.needsContext.test(e),namespace:o.join(".")},f),(m=i[n])||(m=i[n]=[],m.delegateCount=0,l.setup&&l.setup.call(a,d,o,g)!==!1||a.addEventListener&&a.addEventListener(n,g)),l.add&&(l.add.call(a,k),k.handler.guid||(k.handler.guid=c.guid)),e?m.splice(m.delegateCount++,0,k):m.push(k),r.event.global[n]=!0)}},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,n,o,p,q=V.hasData(a)&&V.get(a);if(q&&(i=q.events)){b=(b||"").match(K)||[""],j=b.length;while(j--)if(h=sa.exec(b[j])||[],n=p=h[1],o=(h[2]||"").split(".").sort(),n){l=r.event.special[n]||{},n=(d?l.delegateType:l.bindType)||n,m=i[n]||[],h=h[2]&&new RegExp("(^|\\.)"+o.join("\\.(?:.*\\.|)")+"(\\.|$)"),g=f=m.length;while(f--)k=m[f],!e&&p!==k.origType||c&&c.guid!==k.guid||h&&!h.test(k.namespace)||d&&d!==k.selector&&("**"!==d||!k.selector)||(m.splice(f,1),k.selector&&m.delegateCount--,l.remove&&l.remove.call(a,k));g&&!m.length&&(l.teardown&&l.teardown.call(a,o,q.handle)!==!1||r.removeEvent(a,n,q.handle),delete i[n])}else for(n in i)r.event.remove(a,n+b[j],c,d,!0);r.isEmptyObject(i)&&V.remove(a,"handle events")}},dispatch:function(a){var b=r.event.fix(a),c,d,e,f,g,h,i=new Array(arguments.length),j=(V.get(this,"events")||{})[b.type]||[],k=r.event.special[b.type]||{};for(i[0]=b,c=1;c<arguments.length;c++)i[c]=arguments[c];if(b.delegateTarget=this,!k.preDispatch||k.preDispatch.call(this,b)!==!1){h=r.event.handlers.call(this,b,j),c=0;while((f=h[c++])&&!b.isPropagationStopped()){b.currentTarget=f.elem,d=0;while((g=f.handlers[d++])&&!b.isImmediatePropagationStopped())b.rnamespace&&!b.rnamespace.test(g.namespace)||(b.handleObj=g,b.data=g.data,e=((r.event.special[g.origType]||{}).handle||g.handler).apply(f.elem,i),void 0!==e&&(b.result=e)===!1&&(b.preventDefault(),b.stopPropagation()))}return k.postDispatch&&k.postDispatch.call(this,b),b.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;c<h;c++)f=b[c],e=f.selector+" ",void 0===d[e]&&(d[e]=f.needsContext?r(e,this).index(i)>-1:r.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},addProp:function(a,b){Object.defineProperty(r.Event.prototype,a,{enumerable:!0,configurable:!0,get:r.isFunction(b)?function(){if(this.originalEvent)return b(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[a]},set:function(b){Object.defineProperty(this,a,{enumerable:!0,configurable:!0,writable:!0,value:b})}})},fix:function(a){return a[r.expando]?a:new r.Event(a)},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==va()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===va()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&r.nodeName(this,"input"))return this.click(),!1},_default:function(a){return r.nodeName(a.target,"a")}},beforeunload:{postDispatch:function(a){void 0!==a.result&&a.originalEvent&&(a.originalEvent.returnValue=a.result)}}}},r.removeEvent=function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c)},r.Event=function(a,b){return this instanceof r.Event?(a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||void 0===a.defaultPrevented&&a.returnValue===!1?ta:ua,this.target=a.target&&3===a.target.nodeType?a.target.parentNode:a.target,this.currentTarget=a.currentTarget,this.relatedTarget=a.relatedTarget):this.type=a,b&&r.extend(this,b),this.timeStamp=a&&a.timeStamp||r.now(),void(this[r.expando]=!0)):new r.Event(a,b)},r.Event.prototype={constructor:r.Event,isDefaultPrevented:ua,isPropagationStopped:ua,isImmediatePropagationStopped:ua,isSimulated:!1,preventDefault:function(){var a=this.originalEvent;this.isDefaultPrevented=ta,a&&!this.isSimulated&&a.preventDefault()},stopPropagation:function(){var a=this.originalEvent;this.isPropagationStopped=ta,a&&!this.isSimulated&&a.stopPropagation()},stopImmediatePropagation:function(){var a=this.originalEvent;this.isImmediatePropagationStopped=ta,a&&!this.isSimulated&&a.stopImmediatePropagation(),this.stopPropagation()}},r.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,"char":!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(a){var b=a.button;return null==a.which&&qa.test(a.type)?null!=a.charCode?a.charCode:a.keyCode:!a.which&&void 0!==b&&ra.test(a.type)?1&b?1:2&b?3:4&b?2:0:a.which}},r.event.addProp),r.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(a,b){r.event.special[a]={delegateType:b,bindType:b,handle:function(a){var c,d=this,e=a.relatedTarget,f=a.handleObj;return e&&(e===d||r.contains(d,e))||(a.type=f.origType,c=f.handler.apply(this,arguments),a.type=b),c}}}),r.fn.extend({on:function(a,b,c,d){return wa(this,a,b,c,d)},one:function(a,b,c,d){return wa(this,a,b,c,d,1)},off:function(a,b,c){var d,e;if(a&&a.preventDefault&&a.handleObj)return d=a.handleObj,r(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=ua),this.each(function(){r.event.remove(this,a,c,b)})}});var xa=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,ya=/<script|<style|<link/i,za=/checked\s*(?:[^=]|=\s*.checked.)/i,Aa=/^true\/(.*)/,Ba=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Ca(a,b){return r.nodeName(a,"table")&&r.nodeName(11!==b.nodeType?b:b.firstChild,"tr")?a.getElementsByTagName("tbody")[0]||a:a}function Da(a){return a.type=(null!==a.getAttribute("type"))+"/"+a.type,a}function Ea(a){var b=Aa.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function Fa(a,b){var c,d,e,f,g,h,i,j;if(1===b.nodeType){if(V.hasData(a)&&(f=V.access(a),g=V.set(b,f),j=f.events)){delete g.handle,g.events={};for(e in j)for(c=0,d=j[e].length;c<d;c++)r.event.add(b,e,j[e][c])}W.hasData(a)&&(h=W.access(a),i=r.extend({},h),W.set(b,i))}}function Ga(a,b){var c=b.nodeName.toLowerCase();"input"===c&&ha.test(a.type)?b.checked=a.checked:"input"!==c&&"textarea"!==c||(b.defaultValue=a.defaultValue)}function Ha(a,b,c,d){b=g.apply([],b);var e,f,h,i,j,k,l=0,m=a.length,n=m-1,q=b[0],s=r.isFunction(q);if(s||m>1&&"string"==typeof q&&!o.checkClone&&za.test(q))return a.each(function(e){var f=a.eq(e);s&&(b[0]=q.call(this,e,f.html())),Ha(f,b,c,d)});if(m&&(e=oa(b,a[0].ownerDocument,!1,a,d),f=e.firstChild,1===e.childNodes.length&&(e=f),f||d)){for(h=r.map(la(e,"script"),Da),i=h.length;l<m;l++)j=e,l!==n&&(j=r.clone(j,!0,!0),i&&r.merge(h,la(j,"script"))),c.call(a[l],j,l);if(i)for(k=h[h.length-1].ownerDocument,r.map(h,Ea),l=0;l<i;l++)j=h[l],ja.test(j.type||"")&&!V.access(j,"globalEval")&&r.contains(k,j)&&(j.src?r._evalUrl&&r._evalUrl(j.src):p(j.textContent.replace(Ba,""),k))}return a}function Ia(a,b,c){for(var d,e=b?r.filter(b,a):a,f=0;null!=(d=e[f]);f++)c||1!==d.nodeType||r.cleanData(la(d)),d.parentNode&&(c&&r.contains(d.ownerDocument,d)&&ma(la(d,"script")),d.parentNode.removeChild(d));return a}r.extend({htmlPrefilter:function(a){return a.replace(xa,"<$1></$2>")},clone:function(a,b,c){var d,e,f,g,h=a.cloneNode(!0),i=r.contains(a.ownerDocument,a);if(!(o.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||r.isXMLDoc(a)))for(g=la(h),f=la(a),d=0,e=f.length;d<e;d++)Ga(f[d],g[d]);if(b)if(c)for(f=f||la(a),g=g||la(h),d=0,e=f.length;d<e;d++)Fa(f[d],g[d]);else Fa(a,h);return g=la(h,"script"),g.length>0&&ma(g,!i&&la(a,"script")),h},cleanData:function(a){for(var b,c,d,e=r.event.special,f=0;void 0!==(c=a[f]);f++)if(T(c)){if(b=c[V.expando]){if(b.events)for(d in b.events)e[d]?r.event.remove(c,d):r.removeEvent(c,d,b.handle);c[V.expando]=void 0}c[W.expando]&&(c[W.expando]=void 0)}}}),r.fn.extend({detach:function(a){return Ia(this,a,!0)},remove:function(a){return Ia(this,a)},text:function(a){return S(this,function(a){return void 0===a?r.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=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&&(r.cleanData(la(a,!1)),a.textContent="");return this},clone:function(a,b){return a=null!=a&&a,b=null==b?a:b,this.map(function(){return r.clone(this,a,b)})},html:function(a){return S(this,function(a){var b=this[0]||{},c=0,d=this.length;if(void 0===a&&1===b.nodeType)return b.innerHTML;if("string"==typeof a&&!ya.test(a)&&!ka[(ia.exec(a)||["",""])[1].toLowerCase()]){a=r.htmlPrefilter(a);try{for(;c<d;c++)b=this[c]||{},1===b.nodeType&&(r.cleanData(la(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;r.inArray(this,a)<0&&(r.cleanData(la(this)),c&&c.replaceChild(b,this))},a)}}),r.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){r.fn[a]=function(a){for(var c,d=[],e=r(a),f=e.length-1,g=0;g<=f;g++)c=g===f?this:this.clone(!0),r(e[g])[b](c),h.apply(d,c.get());return this.pushStack(d)}});var Ja=/^margin/,Ka=new RegExp("^("+$+")(?!px)[a-z%]+$","i"),La=function(b){var c=b.ownerDocument.defaultView;return c&&c.opener||(c=a),c.getComputedStyle(b)};!function(){function b(){if(i){i.style.cssText="box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",i.innerHTML="",pa.appendChild(h);var b=a.getComputedStyle(i);c="1%"!==b.top,g="2px"===b.marginLeft,e="4px"===b.width,i.style.marginRight="50%",f="4px"===b.marginRight,pa.removeChild(h),i=null}}var c,e,f,g,h=d.createElement("div"),i=d.createElement("div");i.style&&(i.style.backgroundClip="content-box",i.cloneNode(!0).style.backgroundClip="",o.clearCloneStyle="content-box"===i.style.backgroundClip,h.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",h.appendChild(i),r.extend(o,{pixelPosition:function(){return b(),c},boxSizingReliable:function(){return b(),e},pixelMarginRight:function(){return b(),f},reliableMarginLeft:function(){return b(),g}}))}();function Ma(a,b,c){var d,e,f,g,h=a.style;return c=c||La(a),c&&(g=c.getPropertyValue(b)||c[b],""!==g||r.contains(a.ownerDocument,a)||(g=r.style(a,b)),!o.pixelMarginRight()&&Ka.test(g)&&Ja.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}function Na(a,b){return{get:function(){return a()?void delete this.get:(this.get=b).apply(this,arguments)}}}var Oa=/^(none|table(?!-c[ea]).+)/,Pa={position:"absolute",visibility:"hidden",display:"block"},Qa={letterSpacing:"0",fontWeight:"400"},Ra=["Webkit","Moz","ms"],Sa=d.createElement("div").style;function Ta(a){if(a in Sa)return a;var b=a[0].toUpperCase()+a.slice(1),c=Ra.length;while(c--)if(a=Ra[c]+b,a in Sa)return a}function Ua(a,b,c){var d=_.exec(b);return d?Math.max(0,d[2]-(c||0))+(d[3]||"px"):b}function Va(a,b,c,d,e){for(var f=c===(d?"border":"content")?4:"width"===b?1:0,g=0;f<4;f+=2)"margin"===c&&(g+=r.css(a,c+aa[f],!0,e)),d?("content"===c&&(g-=r.css(a,"padding"+aa[f],!0,e)),"margin"!==c&&(g-=r.css(a,"border"+aa[f]+"Width",!0,e))):(g+=r.css(a,"padding"+aa[f],!0,e),"padding"!==c&&(g+=r.css(a,"border"+aa[f]+"Width",!0,e)));return g}function Wa(a,b,c){var d,e=!0,f=La(a),g="border-box"===r.css(a,"boxSizing",!1,f);if(a.getClientRects().length&&(d=a.getBoundingClientRect()[b]),d<=0||null==d){if(d=Ma(a,b,f),(d<0||null==d)&&(d=a.style[b]),Ka.test(d))return d;e=g&&(o.boxSizingReliable()||d===a.style[b]),d=parseFloat(d)||0}return d+Va(a,b,c||(g?"border":"content"),e,f)+"px"}r.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=Ma(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":"cssFloat"},style:function(a,b,c,d){if(a&&3!==a.nodeType&&8!==a.nodeType&&a.style){var e,f,g,h=r.camelCase(b),i=a.style;return b=r.cssProps[h]||(r.cssProps[h]=Ta(h)||h),g=r.cssHooks[b]||r.cssHooks[h],void 0===c?g&&"get"in g&&void 0!==(e=g.get(a,!1,d))?e:i[b]:(f=typeof c,"string"===f&&(e=_.exec(c))&&e[1]&&(c=da(a,b,e),f="number"),null!=c&&c===c&&("number"===f&&(c+=e&&e[3]||(r.cssNumber[h]?"":"px")),o.clearCloneStyle||""!==c||0!==b.indexOf("background")||(i[b]="inherit"),g&&"set"in g&&void 0===(c=g.set(a,c,d))||(i[b]=c)),void 0)}},css:function(a,b,c,d){var e,f,g,h=r.camelCase(b);return b=r.cssProps[h]||(r.cssProps[h]=Ta(h)||h),g=r.cssHooks[b]||r.cssHooks[h],g&&"get"in g&&(e=g.get(a,!0,c)),void 0===e&&(e=Ma(a,b,d)),"normal"===e&&b in Qa&&(e=Qa[b]),""===c||c?(f=parseFloat(e),c===!0||isFinite(f)?f||0:e):e}}),r.each(["height","width"],function(a,b){r.cssHooks[b]={get:function(a,c,d){if(c)return!Oa.test(r.css(a,"display"))||a.getClientRects().length&&a.getBoundingClientRect().width?Wa(a,b,d):ca(a,Pa,function(){return Wa(a,b,d)})},set:function(a,c,d){var e,f=d&&La(a),g=d&&Va(a,b,d,"border-box"===r.css(a,"boxSizing",!1,f),f);return g&&(e=_.exec(c))&&"px"!==(e[3]||"px")&&(a.style[b]=c,c=r.css(a,b)),Ua(a,c,g)}}}),r.cssHooks.marginLeft=Na(o.reliableMarginLeft,function(a,b){if(b)return(parseFloat(Ma(a,"marginLeft"))||a.getBoundingClientRect().left-ca(a,{marginLeft:0},function(){return a.getBoundingClientRect().left}))+"px"}),r.each({margin:"",padding:"",border:"Width"},function(a,b){r.cssHooks[a+b]={expand:function(c){for(var d=0,e={},f="string"==typeof c?c.split(" "):[c];d<4;d++)e[a+aa[d]+b]=f[d]||f[d-2]||f[0];return e}},Ja.test(a)||(r.cssHooks[a+b].set=Ua)}),r.fn.extend({css:function(a,b){return S(this,function(a,b,c){var d,e,f={},g=0;if(r.isArray(b)){for(d=La(a),e=b.length;g<e;g++)f[b[g]]=r.css(a,b[g],!1,d);return f}return void 0!==c?r.style(a,b,c):r.css(a,b)},a,b,arguments.length>1)}});function Xa(a,b,c,d,e){return new Xa.prototype.init(a,b,c,d,e)}r.Tween=Xa,Xa.prototype={constructor:Xa,init:function(a,b,c,d,e,f){this.elem=a,this.prop=c,this.easing=e||r.easing._default,this.options=b,this.start=this.now=this.cur(),this.end=d,this.unit=f||(r.cssNumber[c]?"":"px")},cur:function(){var a=Xa.propHooks[this.prop];return a&&a.get?a.get(this):Xa.propHooks._default.get(this)},run:function(a){var b,c=Xa.propHooks[this.prop];return this.options.duration?this.pos=b=r.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):Xa.propHooks._default.set(this),this}},Xa.prototype.init.prototype=Xa.prototype,Xa.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=r.css(a.elem,a.prop,""),b&&"auto"!==b?b:0)},set:function(a){r.fx.step[a.prop]?r.fx.step[a.prop](a):1!==a.elem.nodeType||null==a.elem.style[r.cssProps[a.prop]]&&!r.cssHooks[a.prop]?a.elem[a.prop]=a.now:r.style(a.elem,a.prop,a.now+a.unit)}}},Xa.propHooks.scrollTop=Xa.propHooks.scrollLeft={set:function(a){a.elem.nodeType&&a.elem.parentNode&&(a.elem[a.prop]=a.now)}},r.easing={linear:function(a){return a},swing:function(a){return.5-Math.cos(a*Math.PI)/2},_default:"swing"},r.fx=Xa.prototype.init,r.fx.step={};var Ya,Za,$a=/^(?:toggle|show|hide)$/,_a=/queueHooks$/;function ab(){Za&&(a.requestAnimationFrame(ab),r.fx.tick())}function bb(){return a.setTimeout(function(){Ya=void 0}),Ya=r.now()}function cb(a,b){var c,d=0,e={height:a};for(b=b?1:0;d<4;d+=2-b)c=aa[d],e["margin"+c]=e["padding"+c]=a;return b&&(e.opacity=e.width=a),e}function db(a,b,c){for(var d,e=(gb.tweeners[b]||[]).concat(gb.tweeners["*"]),f=0,g=e.length;f<g;f++)if(d=e[f].call(c,b,a))return d}function eb(a,b,c){var d,e,f,g,h,i,j,k,l="width"in b||"height"in b,m=this,n={},o=a.style,p=a.nodeType&&ba(a),q=V.get(a,"fxshow");c.queue||(g=r._queueHooks(a,"fx"),null==g.unqueued&&(g.unqueued=0,h=g.empty.fire,g.empty.fire=function(){g.unqueued||h()}),g.unqueued++,m.always(function(){m.always(function(){g.unqueued--,r.queue(a,"fx").length||g.empty.fire()})}));for(d in b)if(e=b[d],$a.test(e)){if(delete b[d],f=f||"toggle"===e,e===(p?"hide":"show")){if("show"!==e||!q||void 0===q[d])continue;p=!0}n[d]=q&&q[d]||r.style(a,d)}if(i=!r.isEmptyObject(b),i||!r.isEmptyObject(n)){l&&1===a.nodeType&&(c.overflow=[o.overflow,o.overflowX,o.overflowY],j=q&&q.display,null==j&&(j=V.get(a,"display")),k=r.css(a,"display"),"none"===k&&(j?k=j:(ga([a],!0),j=a.style.display||j,k=r.css(a,"display"),ga([a]))),("inline"===k||"inline-block"===k&&null!=j)&&"none"===r.css(a,"float")&&(i||(m.done(function(){o.display=j}),null==j&&(k=o.display,j="none"===k?"":k)),o.display="inline-block")),c.overflow&&(o.overflow="hidden",m.always(function(){o.overflow=c.overflow[0],o.overflowX=c.overflow[1],o.overflowY=c.overflow[2]})),i=!1;for(d in n)i||(q?"hidden"in q&&(p=q.hidden):q=V.access(a,"fxshow",{display:j}),f&&(q.hidden=!p),p&&ga([a],!0),m.done(function(){p||ga([a]),V.remove(a,"fxshow");for(d in n)r.style(a,d,n[d])})),i=db(p?q[d]:0,d,m),d in q||(q[d]=i.start,p&&(i.end=i.start,i.start=0))}}function fb(a,b){var c,d,e,f,g;for(c in a)if(d=r.camelCase(c),e=b[d],f=a[c],r.isArray(f)&&(e=f[1],f=a[c]=f[0]),c!==d&&(a[d]=f,delete a[c]),g=r.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 gb(a,b,c){var d,e,f=0,g=gb.prefilters.length,h=r.Deferred().always(function(){delete i.elem}),i=function(){if(e)return!1;for(var b=Ya||bb(),c=Math.max(0,j.startTime+j.duration-b),d=c/j.duration||0,f=1-d,g=0,i=j.tweens.length;g<i;g++)j.tweens[g].run(f);return h.notifyWith(a,[j,f,c]),f<1&&i?c:(h.resolveWith(a,[j]),!1)},j=h.promise({elem:a,props:r.extend({},b),opts:r.extend(!0,{specialEasing:{},easing:r.easing._default},c),originalProperties:b,originalOptions:c,startTime:Ya||bb(),duration:c.duration,tweens:[],createTween:function(b,c){var d=r.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;c<d;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(fb(k,j.opts.specialEasing);f<g;f++)if(d=gb.prefilters[f].call(j,a,k,j.opts))return r.isFunction(d.stop)&&(r._queueHooks(j.elem,j.opts.queue).stop=r.proxy(d.stop,d)),d;return r.map(k,db,j),r.isFunction(j.opts.start)&&j.opts.start.call(a,j),r.fx.timer(r.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)}r.Animation=r.extend(gb,{tweeners:{"*":[function(a,b){var c=this.createTween(a,b);return da(c.elem,a,_.exec(b),c),c}]},tweener:function(a,b){r.isFunction(a)?(b=a,a=["*"]):a=a.match(K);for(var c,d=0,e=a.length;d<e;d++)c=a[d],gb.tweeners[c]=gb.tweeners[c]||[],gb.tweeners[c].unshift(b)},prefilters:[eb],prefilter:function(a,b){b?gb.prefilters.unshift(a):gb.prefilters.push(a)}}),r.speed=function(a,b,c){var e=a&&"object"==typeof a?r.extend({},a):{complete:c||!c&&b||r.isFunction(a)&&a,duration:a,easing:c&&b||b&&!r.isFunction(b)&&b};return r.fx.off||d.hidden?e.duration=0:e.duration="number"==typeof e.duration?e.duration:e.duration in r.fx.speeds?r.fx.speeds[e.duration]:r.fx.speeds._default,null!=e.queue&&e.queue!==!0||(e.queue="fx"),e.old=e.complete,e.complete=function(){r.isFunction(e.old)&&e.old.call(this),e.queue&&r.dequeue(this,e.queue)},e},r.fn.extend({fadeTo:function(a,b,c,d){return this.filter(ba).css("opacity",0).show().end().animate({opacity:b},a,c,d)},animate:function(a,b,c,d){var e=r.isEmptyObject(a),f=r.speed(b,c,d),g=function(){var b=gb(this,r.extend({},a),f);(e||V.get(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=r.timers,g=V.get(this);if(e)g[e]&&g[e].stop&&d(g[e]);else for(e in g)g[e]&&g[e].stop&&_a.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||r.dequeue(this,a)})},finish:function(a){return a!==!1&&(a=a||"fx"),this.each(function(){var b,c=V.get(this),d=c[a+"queue"],e=c[a+"queueHooks"],f=r.timers,g=d?d.length:0;for(c.finish=!0,r.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;b<g;b++)d[b]&&d[b].finish&&d[b].finish.call(this);delete c.finish})}}),r.each(["toggle","show","hide"],function(a,b){var c=r.fn[b];r.fn[b]=function(a,d,e){return null==a||"boolean"==typeof a?c.apply(this,arguments):this.animate(cb(b,!0),a,d,e)}}),r.each({slideDown:cb("show"),slideUp:cb("hide"),slideToggle:cb("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){r.fn[a]=function(a,c,d){return this.animate(b,a,c,d)}}),r.timers=[],r.fx.tick=function(){var a,b=0,c=r.timers;for(Ya=r.now();b<c.length;b++)a=c[b],a()||c[b]!==a||c.splice(b--,1);c.length||r.fx.stop(),Ya=void 0},r.fx.timer=function(a){r.timers.push(a),a()?r.fx.start():r.timers.pop()},r.fx.interval=13,r.fx.start=function(){Za||(Za=a.requestAnimationFrame?a.requestAnimationFrame(ab):a.setInterval(r.fx.tick,r.fx.interval))},r.fx.stop=function(){a.cancelAnimationFrame?a.cancelAnimationFrame(Za):a.clearInterval(Za),Za=null},r.fx.speeds={slow:600,fast:200,_default:400},r.fn.delay=function(b,c){return b=r.fx?r.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=d.createElement("input"),b=d.createElement("select"),c=b.appendChild(d.createElement("option"));a.type="checkbox",o.checkOn=""!==a.value,o.optSelected=c.selected,a=d.createElement("input"),a.value="t",a.type="radio",o.radioValue="t"===a.value}();var hb,ib=r.expr.attrHandle;r.fn.extend({attr:function(a,b){return S(this,r.attr,a,b,arguments.length>1)},removeAttr:function(a){return this.each(function(){r.removeAttr(this,a)})}}),r.extend({attr:function(a,b,c){var d,e,f=a.nodeType;if(3!==f&&8!==f&&2!==f)return"undefined"==typeof a.getAttribute?r.prop(a,b,c):(1===f&&r.isXMLDoc(a)||(e=r.attrHooks[b.toLowerCase()]||(r.expr.match.bool.test(b)?hb:void 0)),void 0!==c?null===c?void r.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=r.find.attr(a,b),null==d?void 0:d))},attrHooks:{type:{set:function(a,b){if(!o.radioValue&&"radio"===b&&r.nodeName(a,"input")){var c=a.value;return a.setAttribute("type",b),c&&(a.value=c),b}}}},removeAttr:function(a,b){var c,d=0,e=b&&b.match(K); - if(e&&1===a.nodeType)while(c=e[d++])a.removeAttribute(c)}}),hb={set:function(a,b,c){return b===!1?r.removeAttr(a,c):a.setAttribute(c,c),c}},r.each(r.expr.match.bool.source.match(/\w+/g),function(a,b){var c=ib[b]||r.find.attr;ib[b]=function(a,b,d){var e,f,g=b.toLowerCase();return d||(f=ib[g],ib[g]=e,e=null!=c(a,b,d)?g:null,ib[g]=f),e}});var jb=/^(?:input|select|textarea|button)$/i,kb=/^(?:a|area)$/i;r.fn.extend({prop:function(a,b){return S(this,r.prop,a,b,arguments.length>1)},removeProp:function(a){return this.each(function(){delete this[r.propFix[a]||a]})}}),r.extend({prop:function(a,b,c){var d,e,f=a.nodeType;if(3!==f&&8!==f&&2!==f)return 1===f&&r.isXMLDoc(a)||(b=r.propFix[b]||b,e=r.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=r.find.attr(a,"tabindex");return b?parseInt(b,10):jb.test(a.nodeName)||kb.test(a.nodeName)&&a.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),o.optSelected||(r.propHooks.selected={get:function(a){var b=a.parentNode;return b&&b.parentNode&&b.parentNode.selectedIndex,null},set:function(a){var b=a.parentNode;b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex)}}),r.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){r.propFix[this.toLowerCase()]=this});var lb=/[\t\r\n\f]/g;function mb(a){return a.getAttribute&&a.getAttribute("class")||""}r.fn.extend({addClass:function(a){var b,c,d,e,f,g,h,i=0;if(r.isFunction(a))return this.each(function(b){r(this).addClass(a.call(this,b,mb(this)))});if("string"==typeof a&&a){b=a.match(K)||[];while(c=this[i++])if(e=mb(c),d=1===c.nodeType&&(" "+e+" ").replace(lb," ")){g=0;while(f=b[g++])d.indexOf(" "+f+" ")<0&&(d+=f+" ");h=r.trim(d),e!==h&&c.setAttribute("class",h)}}return this},removeClass:function(a){var b,c,d,e,f,g,h,i=0;if(r.isFunction(a))return this.each(function(b){r(this).removeClass(a.call(this,b,mb(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof a&&a){b=a.match(K)||[];while(c=this[i++])if(e=mb(c),d=1===c.nodeType&&(" "+e+" ").replace(lb," ")){g=0;while(f=b[g++])while(d.indexOf(" "+f+" ")>-1)d=d.replace(" "+f+" "," ");h=r.trim(d),e!==h&&c.setAttribute("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):r.isFunction(a)?this.each(function(c){r(this).toggleClass(a.call(this,c,mb(this),b),b)}):this.each(function(){var b,d,e,f;if("string"===c){d=0,e=r(this),f=a.match(K)||[];while(b=f[d++])e.hasClass(b)?e.removeClass(b):e.addClass(b)}else void 0!==a&&"boolean"!==c||(b=mb(this),b&&V.set(this,"__className__",b),this.setAttribute&&this.setAttribute("class",b||a===!1?"":V.get(this,"__className__")||""))})},hasClass:function(a){var b,c,d=0;b=" "+a+" ";while(c=this[d++])if(1===c.nodeType&&(" "+mb(c)+" ").replace(lb," ").indexOf(b)>-1)return!0;return!1}});var nb=/\r/g,ob=/[\x20\t\r\n\f]+/g;r.fn.extend({val:function(a){var b,c,d,e=this[0];{if(arguments.length)return d=r.isFunction(a),this.each(function(c){var e;1===this.nodeType&&(e=d?a.call(this,c,r(this).val()):a,null==e?e="":"number"==typeof e?e+="":r.isArray(e)&&(e=r.map(e,function(a){return null==a?"":a+""})),b=r.valHooks[this.type]||r.valHooks[this.nodeName.toLowerCase()],b&&"set"in b&&void 0!==b.set(this,e,"value")||(this.value=e))});if(e)return b=r.valHooks[e.type]||r.valHooks[e.nodeName.toLowerCase()],b&&"get"in b&&void 0!==(c=b.get(e,"value"))?c:(c=e.value,"string"==typeof c?c.replace(nb,""):null==c?"":c)}}}),r.extend({valHooks:{option:{get:function(a){var b=r.find.attr(a,"value");return null!=b?b:r.trim(r.text(a)).replace(ob," ")}},select:{get:function(a){for(var b,c,d=a.options,e=a.selectedIndex,f="select-one"===a.type,g=f?null:[],h=f?e+1:d.length,i=e<0?h:f?e:0;i<h;i++)if(c=d[i],(c.selected||i===e)&&!c.disabled&&(!c.parentNode.disabled||!r.nodeName(c.parentNode,"optgroup"))){if(b=r(c).val(),f)return b;g.push(b)}return g},set:function(a,b){var c,d,e=a.options,f=r.makeArray(b),g=e.length;while(g--)d=e[g],(d.selected=r.inArray(r.valHooks.option.get(d),f)>-1)&&(c=!0);return c||(a.selectedIndex=-1),f}}}}),r.each(["radio","checkbox"],function(){r.valHooks[this]={set:function(a,b){if(r.isArray(b))return a.checked=r.inArray(r(a).val(),b)>-1}},o.checkOn||(r.valHooks[this].get=function(a){return null===a.getAttribute("value")?"on":a.value})});var pb=/^(?:focusinfocus|focusoutblur)$/;r.extend(r.event,{trigger:function(b,c,e,f){var g,h,i,j,k,m,n,o=[e||d],p=l.call(b,"type")?b.type:b,q=l.call(b,"namespace")?b.namespace.split("."):[];if(h=i=e=e||d,3!==e.nodeType&&8!==e.nodeType&&!pb.test(p+r.event.triggered)&&(p.indexOf(".")>-1&&(q=p.split("."),p=q.shift(),q.sort()),k=p.indexOf(":")<0&&"on"+p,b=b[r.expando]?b:new r.Event(p,"object"==typeof b&&b),b.isTrigger=f?2:3,b.namespace=q.join("."),b.rnamespace=b.namespace?new RegExp("(^|\\.)"+q.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,b.result=void 0,b.target||(b.target=e),c=null==c?[b]:r.makeArray(c,[b]),n=r.event.special[p]||{},f||!n.trigger||n.trigger.apply(e,c)!==!1)){if(!f&&!n.noBubble&&!r.isWindow(e)){for(j=n.delegateType||p,pb.test(j+p)||(h=h.parentNode);h;h=h.parentNode)o.push(h),i=h;i===(e.ownerDocument||d)&&o.push(i.defaultView||i.parentWindow||a)}g=0;while((h=o[g++])&&!b.isPropagationStopped())b.type=g>1?j:n.bindType||p,m=(V.get(h,"events")||{})[b.type]&&V.get(h,"handle"),m&&m.apply(h,c),m=k&&h[k],m&&m.apply&&T(h)&&(b.result=m.apply(h,c),b.result===!1&&b.preventDefault());return b.type=p,f||b.isDefaultPrevented()||n._default&&n._default.apply(o.pop(),c)!==!1||!T(e)||k&&r.isFunction(e[p])&&!r.isWindow(e)&&(i=e[k],i&&(e[k]=null),r.event.triggered=p,e[p](),r.event.triggered=void 0,i&&(e[k]=i)),b.result}},simulate:function(a,b,c){var d=r.extend(new r.Event,c,{type:a,isSimulated:!0});r.event.trigger(d,null,b)}}),r.fn.extend({trigger:function(a,b){return this.each(function(){r.event.trigger(a,b,this)})},triggerHandler:function(a,b){var c=this[0];if(c)return r.event.trigger(a,b,c,!0)}}),r.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(a,b){r.fn[b]=function(a,c){return arguments.length>0?this.on(b,null,a,c):this.trigger(b)}}),r.fn.extend({hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}}),o.focusin="onfocusin"in a,o.focusin||r.each({focus:"focusin",blur:"focusout"},function(a,b){var c=function(a){r.event.simulate(b,a.target,r.event.fix(a))};r.event.special[b]={setup:function(){var d=this.ownerDocument||this,e=V.access(d,b);e||d.addEventListener(a,c,!0),V.access(d,b,(e||0)+1)},teardown:function(){var d=this.ownerDocument||this,e=V.access(d,b)-1;e?V.access(d,b,e):(d.removeEventListener(a,c,!0),V.remove(d,b))}}});var qb=a.location,rb=r.now(),sb=/\?/;r.parseXML=function(b){var c;if(!b||"string"!=typeof b)return null;try{c=(new a.DOMParser).parseFromString(b,"text/xml")}catch(d){c=void 0}return c&&!c.getElementsByTagName("parsererror").length||r.error("Invalid XML: "+b),c};var tb=/\[\]$/,ub=/\r?\n/g,vb=/^(?:submit|button|image|reset|file)$/i,wb=/^(?:input|select|textarea|keygen)/i;function xb(a,b,c,d){var e;if(r.isArray(b))r.each(b,function(b,e){c||tb.test(a)?d(a,e):xb(a+"["+("object"==typeof e&&null!=e?b:"")+"]",e,c,d)});else if(c||"object"!==r.type(b))d(a,b);else for(e in b)xb(a+"["+e+"]",b[e],c,d)}r.param=function(a,b){var c,d=[],e=function(a,b){var c=r.isFunction(b)?b():b;d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(null==c?"":c)};if(r.isArray(a)||a.jquery&&!r.isPlainObject(a))r.each(a,function(){e(this.name,this.value)});else for(c in a)xb(c,a[c],b,e);return d.join("&")},r.fn.extend({serialize:function(){return r.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var a=r.prop(this,"elements");return a?r.makeArray(a):this}).filter(function(){var a=this.type;return this.name&&!r(this).is(":disabled")&&wb.test(this.nodeName)&&!vb.test(a)&&(this.checked||!ha.test(a))}).map(function(a,b){var c=r(this).val();return null==c?null:r.isArray(c)?r.map(c,function(a){return{name:b.name,value:a.replace(ub,"\r\n")}}):{name:b.name,value:c.replace(ub,"\r\n")}}).get()}});var yb=/%20/g,zb=/#.*$/,Ab=/([?&])_=[^&]*/,Bb=/^(.*?):[ \t]*([^\r\n]*)$/gm,Cb=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Db=/^(?:GET|HEAD)$/,Eb=/^\/\//,Fb={},Gb={},Hb="*/".concat("*"),Ib=d.createElement("a");Ib.href=qb.href;function Jb(a){return function(b,c){"string"!=typeof b&&(c=b,b="*");var d,e=0,f=b.toLowerCase().match(K)||[];if(r.isFunction(c))while(d=f[e++])"+"===d[0]?(d=d.slice(1)||"*",(a[d]=a[d]||[]).unshift(c)):(a[d]=a[d]||[]).push(c)}}function Kb(a,b,c,d){var e={},f=a===Gb;function g(h){var i;return e[h]=!0,r.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 Lb(a,b){var c,d,e=r.ajaxSettings.flatOptions||{};for(c in b)void 0!==b[c]&&((e[c]?a:d||(d={}))[c]=b[c]);return d&&r.extend(!0,a,d),a}function Mb(a,b,c){var d,e,f,g,h=a.contents,i=a.dataTypes;while("*"===i[0])i.shift(),void 0===d&&(d=a.mimeType||b.getResponseHeader("Content-Type"));if(d)for(e in h)if(h[e]&&h[e].test(d)){i.unshift(e);break}if(i[0]in c)f=i[0];else{for(e in c){if(!i[0]||a.converters[e+" "+i[0]]){f=e;break}g||(g=e)}f=f||g}if(f)return f!==i[0]&&i.unshift(f),c[f]}function Nb(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}}r.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:qb.href,type:"GET",isLocal:Cb.test(qb.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Hb,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":JSON.parse,"text xml":r.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(a,b){return b?Lb(Lb(a,r.ajaxSettings),b):Lb(r.ajaxSettings,a)},ajaxPrefilter:Jb(Fb),ajaxTransport:Jb(Gb),ajax:function(b,c){"object"==typeof b&&(c=b,b=void 0),c=c||{};var e,f,g,h,i,j,k,l,m,n,o=r.ajaxSetup({},c),p=o.context||o,q=o.context&&(p.nodeType||p.jquery)?r(p):r.event,s=r.Deferred(),t=r.Callbacks("once memory"),u=o.statusCode||{},v={},w={},x="canceled",y={readyState:0,getResponseHeader:function(a){var b;if(k){if(!h){h={};while(b=Bb.exec(g))h[b[1].toLowerCase()]=b[2]}b=h[a.toLowerCase()]}return null==b?null:b},getAllResponseHeaders:function(){return k?g:null},setRequestHeader:function(a,b){return null==k&&(a=w[a.toLowerCase()]=w[a.toLowerCase()]||a,v[a]=b),this},overrideMimeType:function(a){return null==k&&(o.mimeType=a),this},statusCode:function(a){var b;if(a)if(k)y.always(a[y.status]);else for(b in a)u[b]=[u[b],a[b]];return this},abort:function(a){var b=a||x;return e&&e.abort(b),A(0,b),this}};if(s.promise(y),o.url=((b||o.url||qb.href)+"").replace(Eb,qb.protocol+"//"),o.type=c.method||c.type||o.method||o.type,o.dataTypes=(o.dataType||"*").toLowerCase().match(K)||[""],null==o.crossDomain){j=d.createElement("a");try{j.href=o.url,j.href=j.href,o.crossDomain=Ib.protocol+"//"+Ib.host!=j.protocol+"//"+j.host}catch(z){o.crossDomain=!0}}if(o.data&&o.processData&&"string"!=typeof o.data&&(o.data=r.param(o.data,o.traditional)),Kb(Fb,o,c,y),k)return y;l=r.event&&o.global,l&&0===r.active++&&r.event.trigger("ajaxStart"),o.type=o.type.toUpperCase(),o.hasContent=!Db.test(o.type),f=o.url.replace(zb,""),o.hasContent?o.data&&o.processData&&0===(o.contentType||"").indexOf("application/x-www-form-urlencoded")&&(o.data=o.data.replace(yb,"+")):(n=o.url.slice(f.length),o.data&&(f+=(sb.test(f)?"&":"?")+o.data,delete o.data),o.cache===!1&&(f=f.replace(Ab,""),n=(sb.test(f)?"&":"?")+"_="+rb++ +n),o.url=f+n),o.ifModified&&(r.lastModified[f]&&y.setRequestHeader("If-Modified-Since",r.lastModified[f]),r.etag[f]&&y.setRequestHeader("If-None-Match",r.etag[f])),(o.data&&o.hasContent&&o.contentType!==!1||c.contentType)&&y.setRequestHeader("Content-Type",o.contentType),y.setRequestHeader("Accept",o.dataTypes[0]&&o.accepts[o.dataTypes[0]]?o.accepts[o.dataTypes[0]]+("*"!==o.dataTypes[0]?", "+Hb+"; q=0.01":""):o.accepts["*"]);for(m in o.headers)y.setRequestHeader(m,o.headers[m]);if(o.beforeSend&&(o.beforeSend.call(p,y,o)===!1||k))return y.abort();if(x="abort",t.add(o.complete),y.done(o.success),y.fail(o.error),e=Kb(Gb,o,c,y)){if(y.readyState=1,l&&q.trigger("ajaxSend",[y,o]),k)return y;o.async&&o.timeout>0&&(i=a.setTimeout(function(){y.abort("timeout")},o.timeout));try{k=!1,e.send(v,A)}catch(z){if(k)throw z;A(-1,z)}}else A(-1,"No Transport");function A(b,c,d,h){var j,m,n,v,w,x=c;k||(k=!0,i&&a.clearTimeout(i),e=void 0,g=h||"",y.readyState=b>0?4:0,j=b>=200&&b<300||304===b,d&&(v=Mb(o,y,d)),v=Nb(o,v,y,j),j?(o.ifModified&&(w=y.getResponseHeader("Last-Modified"),w&&(r.lastModified[f]=w),w=y.getResponseHeader("etag"),w&&(r.etag[f]=w)),204===b||"HEAD"===o.type?x="nocontent":304===b?x="notmodified":(x=v.state,m=v.data,n=v.error,j=!n)):(n=x,!b&&x||(x="error",b<0&&(b=0))),y.status=b,y.statusText=(c||x)+"",j?s.resolveWith(p,[m,x,y]):s.rejectWith(p,[y,x,n]),y.statusCode(u),u=void 0,l&&q.trigger(j?"ajaxSuccess":"ajaxError",[y,o,j?m:n]),t.fireWith(p,[y,x]),l&&(q.trigger("ajaxComplete",[y,o]),--r.active||r.event.trigger("ajaxStop")))}return y},getJSON:function(a,b,c){return r.get(a,b,c,"json")},getScript:function(a,b){return r.get(a,void 0,b,"script")}}),r.each(["get","post"],function(a,b){r[b]=function(a,c,d,e){return r.isFunction(c)&&(e=e||d,d=c,c=void 0),r.ajax(r.extend({url:a,type:b,dataType:e,data:c,success:d},r.isPlainObject(a)&&a))}}),r._evalUrl=function(a){return r.ajax({url:a,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,"throws":!0})},r.fn.extend({wrapAll:function(a){var b;return this[0]&&(r.isFunction(a)&&(a=a.call(this[0])),b=r(a,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstElementChild)a=a.firstElementChild;return a}).append(this)),this},wrapInner:function(a){return r.isFunction(a)?this.each(function(b){r(this).wrapInner(a.call(this,b))}):this.each(function(){var b=r(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=r.isFunction(a);return this.each(function(c){r(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(a){return this.parent(a).not("body").each(function(){r(this).replaceWith(this.childNodes)}),this}}),r.expr.pseudos.hidden=function(a){return!r.expr.pseudos.visible(a)},r.expr.pseudos.visible=function(a){return!!(a.offsetWidth||a.offsetHeight||a.getClientRects().length)},r.ajaxSettings.xhr=function(){try{return new a.XMLHttpRequest}catch(b){}};var Ob={0:200,1223:204},Pb=r.ajaxSettings.xhr();o.cors=!!Pb&&"withCredentials"in Pb,o.ajax=Pb=!!Pb,r.ajaxTransport(function(b){var c,d;if(o.cors||Pb&&!b.crossDomain)return{send:function(e,f){var g,h=b.xhr();if(h.open(b.type,b.url,b.async,b.username,b.password),b.xhrFields)for(g in b.xhrFields)h[g]=b.xhrFields[g];b.mimeType&&h.overrideMimeType&&h.overrideMimeType(b.mimeType),b.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest");for(g in e)h.setRequestHeader(g,e[g]);c=function(a){return function(){c&&(c=d=h.onload=h.onerror=h.onabort=h.onreadystatechange=null,"abort"===a?h.abort():"error"===a?"number"!=typeof h.status?f(0,"error"):f(h.status,h.statusText):f(Ob[h.status]||h.status,h.statusText,"text"!==(h.responseType||"text")||"string"!=typeof h.responseText?{binary:h.response}:{text:h.responseText},h.getAllResponseHeaders()))}},h.onload=c(),d=h.onerror=c("error"),void 0!==h.onabort?h.onabort=d:h.onreadystatechange=function(){4===h.readyState&&a.setTimeout(function(){c&&d()})},c=c("abort");try{h.send(b.hasContent&&b.data||null)}catch(i){if(c)throw i}},abort:function(){c&&c()}}}),r.ajaxPrefilter(function(a){a.crossDomain&&(a.contents.script=!1)}),r.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 r.globalEval(a),a}}}),r.ajaxPrefilter("script",function(a){void 0===a.cache&&(a.cache=!1),a.crossDomain&&(a.type="GET")}),r.ajaxTransport("script",function(a){if(a.crossDomain){var b,c;return{send:function(e,f){b=r("<script>").prop({charset:a.scriptCharset,src:a.url}).on("load error",c=function(a){b.remove(),c=null,a&&f("error"===a.type?404:200,a.type)}),d.head.appendChild(b[0])},abort:function(){c&&c()}}}});var Qb=[],Rb=/(=)\?(?=&|$)|\?\?/;r.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var a=Qb.pop()||r.expando+"_"+rb++;return this[a]=!0,a}}),r.ajaxPrefilter("json jsonp",function(b,c,d){var e,f,g,h=b.jsonp!==!1&&(Rb.test(b.url)?"url":"string"==typeof b.data&&0===(b.contentType||"").indexOf("application/x-www-form-urlencoded")&&Rb.test(b.data)&&"data");if(h||"jsonp"===b.dataTypes[0])return e=b.jsonpCallback=r.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,h?b[h]=b[h].replace(Rb,"$1"+e):b.jsonp!==!1&&(b.url+=(sb.test(b.url)?"&":"?")+b.jsonp+"="+e),b.converters["script json"]=function(){return g||r.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?r(a).removeProp(e):a[e]=f,b[e]&&(b.jsonpCallback=c.jsonpCallback,Qb.push(e)),g&&r.isFunction(f)&&f(g[0]),g=f=void 0}),"script"}),o.createHTMLDocument=function(){var a=d.implementation.createHTMLDocument("").body;return a.innerHTML="<form></form><form></form>",2===a.childNodes.length}(),r.parseHTML=function(a,b,c){if("string"!=typeof a)return[];"boolean"==typeof b&&(c=b,b=!1);var e,f,g;return b||(o.createHTMLDocument?(b=d.implementation.createHTMLDocument(""),e=b.createElement("base"),e.href=d.location.href,b.head.appendChild(e)):b=d),f=B.exec(a),g=!c&&[],f?[b.createElement(f[1])]:(f=oa([a],b,g),g&&g.length&&r(g).remove(),r.merge([],f.childNodes))},r.fn.load=function(a,b,c){var d,e,f,g=this,h=a.indexOf(" ");return h>-1&&(d=r.trim(a.slice(h)),a=a.slice(0,h)),r.isFunction(b)?(c=b,b=void 0):b&&"object"==typeof b&&(e="POST"),g.length>0&&r.ajax({url:a,type:e||"GET",dataType:"html",data:b}).done(function(a){f=arguments,g.html(d?r("<div>").append(r.parseHTML(a)).find(d):a)}).always(c&&function(a,b){g.each(function(){c.apply(this,f||[a.responseText,b,a])})}),this},r.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(a,b){r.fn[b]=function(a){return this.on(b,a)}}),r.expr.pseudos.animated=function(a){return r.grep(r.timers,function(b){return a===b.elem}).length};function Sb(a){return r.isWindow(a)?a:9===a.nodeType&&a.defaultView}r.offset={setOffset:function(a,b,c){var d,e,f,g,h,i,j,k=r.css(a,"position"),l=r(a),m={};"static"===k&&(a.style.position="relative"),h=l.offset(),f=r.css(a,"top"),i=r.css(a,"left"),j=("absolute"===k||"fixed"===k)&&(f+i).indexOf("auto")>-1,j?(d=l.position(),g=d.top,e=d.left):(g=parseFloat(f)||0,e=parseFloat(i)||0),r.isFunction(b)&&(b=b.call(a,c,r.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)}},r.fn.extend({offset:function(a){if(arguments.length)return void 0===a?this:this.each(function(b){r.offset.setOffset(this,a,b)});var b,c,d,e,f=this[0];if(f)return f.getClientRects().length?(d=f.getBoundingClientRect(),d.width||d.height?(e=f.ownerDocument,c=Sb(e),b=e.documentElement,{top:d.top+c.pageYOffset-b.clientTop,left:d.left+c.pageXOffset-b.clientLeft}):d):{top:0,left:0}},position:function(){if(this[0]){var a,b,c=this[0],d={top:0,left:0};return"fixed"===r.css(c,"position")?b=c.getBoundingClientRect():(a=this.offsetParent(),b=this.offset(),r.nodeName(a[0],"html")||(d=a.offset()),d={top:d.top+r.css(a[0],"borderTopWidth",!0),left:d.left+r.css(a[0],"borderLeftWidth",!0)}),{top:b.top-d.top-r.css(c,"marginTop",!0),left:b.left-d.left-r.css(c,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var a=this.offsetParent;while(a&&"static"===r.css(a,"position"))a=a.offsetParent;return a||pa})}}),r.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(a,b){var c="pageYOffset"===b;r.fn[a]=function(d){return S(this,function(a,d,e){var f=Sb(a);return void 0===e?f?f[b]:a[d]:void(f?f.scrollTo(c?f.pageXOffset:e,c?e:f.pageYOffset):a[d]=e)},a,d,arguments.length)}}),r.each(["top","left"],function(a,b){r.cssHooks[b]=Na(o.pixelPosition,function(a,c){if(c)return c=Ma(a,b),Ka.test(c)?r(a).position()[b]+"px":c})}),r.each({Height:"height",Width:"width"},function(a,b){r.each({padding:"inner"+a,content:b,"":"outer"+a},function(c,d){r.fn[d]=function(e,f){var g=arguments.length&&(c||"boolean"!=typeof e),h=c||(e===!0||f===!0?"margin":"border");return S(this,function(b,c,e){var f;return r.isWindow(b)?0===d.indexOf("outer")?b["inner"+a]:b.document.documentElement["client"+a]:9===b.nodeType?(f=b.documentElement,Math.max(b.body["scroll"+a],f["scroll"+a],b.body["offset"+a],f["offset"+a],f["client"+a])):void 0===e?r.css(b,c,h):r.style(b,c,e,h)},b,g?e:void 0,g)}})}),r.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)}}),r.parseJSON=JSON.parse,"function"==typeof define&&define.amd&&define("jquery",[],function(){return r});var Tb=a.jQuery,Ub=a.$;return r.noConflict=function(b){return a.$===r&&(a.$=Ub),b&&a.jQuery===r&&(a.jQuery=Tb),r},b||(a.jQuery=a.$=r),r}); \ No newline at end of file + if(e&&1===a.nodeType)while(c=e[d++])a.removeAttribute(c)}}),hb={set:function(a,b,c){return b===!1?r.removeAttr(a,c):a.setAttribute(c,c),c}},r.each(r.expr.match.bool.source.match(/\w+/g),function(a,b){var c=ib[b]||r.find.attr;ib[b]=function(a,b,d){var e,f,g=b.toLowerCase();return d||(f=ib[g],ib[g]=e,e=null!=c(a,b,d)?g:null,ib[g]=f),e}});var jb=/^(?:input|select|textarea|button)$/i,kb=/^(?:a|area)$/i;r.fn.extend({prop:function(a,b){return S(this,r.prop,a,b,arguments.length>1)},removeProp:function(a){return this.each(function(){delete this[r.propFix[a]||a]})}}),r.extend({prop:function(a,b,c){var d,e,f=a.nodeType;if(3!==f&&8!==f&&2!==f)return 1===f&&r.isXMLDoc(a)||(b=r.propFix[b]||b,e=r.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=r.find.attr(a,"tabindex");return b?parseInt(b,10):jb.test(a.nodeName)||kb.test(a.nodeName)&&a.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),o.optSelected||(r.propHooks.selected={get:function(a){var b=a.parentNode;return b&&b.parentNode&&b.parentNode.selectedIndex,null},set:function(a){var b=a.parentNode;b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex)}}),r.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){r.propFix[this.toLowerCase()]=this});var lb=/[\t\r\n\f]/g;function mb(a){return a.getAttribute&&a.getAttribute("class")||""}r.fn.extend({addClass:function(a){var b,c,d,e,f,g,h,i=0;if(r.isFunction(a))return this.each(function(b){r(this).addClass(a.call(this,b,mb(this)))});if("string"==typeof a&&a){b=a.match(K)||[];while(c=this[i++])if(e=mb(c),d=1===c.nodeType&&(" "+e+" ").replace(lb," ")){g=0;while(f=b[g++])d.indexOf(" "+f+" ")<0&&(d+=f+" ");h=r.trim(d),e!==h&&c.setAttribute("class",h)}}return this},removeClass:function(a){var b,c,d,e,f,g,h,i=0;if(r.isFunction(a))return this.each(function(b){r(this).removeClass(a.call(this,b,mb(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof a&&a){b=a.match(K)||[];while(c=this[i++])if(e=mb(c),d=1===c.nodeType&&(" "+e+" ").replace(lb," ")){g=0;while(f=b[g++])while(d.indexOf(" "+f+" ")>-1)d=d.replace(" "+f+" "," ");h=r.trim(d),e!==h&&c.setAttribute("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):r.isFunction(a)?this.each(function(c){r(this).toggleClass(a.call(this,c,mb(this),b),b)}):this.each(function(){var b,d,e,f;if("string"===c){d=0,e=r(this),f=a.match(K)||[];while(b=f[d++])e.hasClass(b)?e.removeClass(b):e.addClass(b)}else void 0!==a&&"boolean"!==c||(b=mb(this),b&&V.set(this,"__className__",b),this.setAttribute&&this.setAttribute("class",b||a===!1?"":V.get(this,"__className__")||""))})},hasClass:function(a){var b,c,d=0;b=" "+a+" ";while(c=this[d++])if(1===c.nodeType&&(" "+mb(c)+" ").replace(lb," ").indexOf(b)>-1)return!0;return!1}});var nb=/\r/g,ob=/[\x20\t\r\n\f]+/g;r.fn.extend({val:function(a){var b,c,d,e=this[0];{if(arguments.length)return d=r.isFunction(a),this.each(function(c){var e;1===this.nodeType&&(e=d?a.call(this,c,r(this).val()):a,null==e?e="":"number"==typeof e?e+="":r.isArray(e)&&(e=r.map(e,function(a){return null==a?"":a+""})),b=r.valHooks[this.type]||r.valHooks[this.nodeName.toLowerCase()],b&&"set"in b&&void 0!==b.set(this,e,"value")||(this.value=e))});if(e)return b=r.valHooks[e.type]||r.valHooks[e.nodeName.toLowerCase()],b&&"get"in b&&void 0!==(c=b.get(e,"value"))?c:(c=e.value,"string"==typeof c?c.replace(nb,""):null==c?"":c)}}}),r.extend({valHooks:{option:{get:function(a){var b=r.find.attr(a,"value");return null!=b?b:r.trim(r.text(a)).replace(ob," ")}},select:{get:function(a){for(var b,c,d=a.options,e=a.selectedIndex,f="select-one"===a.type,g=f?null:[],h=f?e+1:d.length,i=e<0?h:f?e:0;i<h;i++)if(c=d[i],(c.selected||i===e)&&!c.disabled&&(!c.parentNode.disabled||!r.nodeName(c.parentNode,"optgroup"))){if(b=r(c).val(),f)return b;g.push(b)}return g},set:function(a,b){var c,d,e=a.options,f=r.makeArray(b),g=e.length;while(g--)d=e[g],(d.selected=r.inArray(r.valHooks.option.get(d),f)>-1)&&(c=!0);return c||(a.selectedIndex=-1),f}}}}),r.each(["radio","checkbox"],function(){r.valHooks[this]={set:function(a,b){if(r.isArray(b))return a.checked=r.inArray(r(a).val(),b)>-1}},o.checkOn||(r.valHooks[this].get=function(a){return null===a.getAttribute("value")?"on":a.value})});var pb=/^(?:focusinfocus|focusoutblur)$/;r.extend(r.event,{trigger:function(b,c,e,f){var g,h,i,j,k,m,n,o=[e||d],p=l.call(b,"type")?b.type:b,q=l.call(b,"namespace")?b.namespace.split("."):[];if(h=i=e=e||d,3!==e.nodeType&&8!==e.nodeType&&!pb.test(p+r.event.triggered)&&(p.indexOf(".")>-1&&(q=p.split("."),p=q.shift(),q.sort()),k=p.indexOf(":")<0&&"on"+p,b=b[r.expando]?b:new r.Event(p,"object"==typeof b&&b),b.isTrigger=f?2:3,b.namespace=q.join("."),b.rnamespace=b.namespace?new RegExp("(^|\\.)"+q.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,b.result=void 0,b.target||(b.target=e),c=null==c?[b]:r.makeArray(c,[b]),n=r.event.special[p]||{},f||!n.trigger||n.trigger.apply(e,c)!==!1)){if(!f&&!n.noBubble&&!r.isWindow(e)){for(j=n.delegateType||p,pb.test(j+p)||(h=h.parentNode);h;h=h.parentNode)o.push(h),i=h;i===(e.ownerDocument||d)&&o.push(i.defaultView||i.parentWindow||a)}g=0;while((h=o[g++])&&!b.isPropagationStopped())b.type=g>1?j:n.bindType||p,m=(V.get(h,"events")||{})[b.type]&&V.get(h,"handle"),m&&m.apply(h,c),m=k&&h[k],m&&m.apply&&T(h)&&(b.result=m.apply(h,c),b.result===!1&&b.preventDefault());return b.type=p,f||b.isDefaultPrevented()||n._default&&n._default.apply(o.pop(),c)!==!1||!T(e)||k&&r.isFunction(e[p])&&!r.isWindow(e)&&(i=e[k],i&&(e[k]=null),r.event.triggered=p,e[p](),r.event.triggered=void 0,i&&(e[k]=i)),b.result}},simulate:function(a,b,c){var d=r.extend(new r.Event,c,{type:a,isSimulated:!0});r.event.trigger(d,null,b)}}),r.fn.extend({trigger:function(a,b){return this.each(function(){r.event.trigger(a,b,this)})},triggerHandler:function(a,b){var c=this[0];if(c)return r.event.trigger(a,b,c,!0)}}),r.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(a,b){r.fn[b]=function(a,c){return arguments.length>0?this.on(b,null,a,c):this.trigger(b)}}),r.fn.extend({hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}}),o.focusin="onfocusin"in a,o.focusin||r.each({focus:"focusin",blur:"focusout"},function(a,b){var c=function(a){r.event.simulate(b,a.target,r.event.fix(a))};r.event.special[b]={setup:function(){var d=this.ownerDocument||this,e=V.access(d,b);e||d.addEventListener(a,c,!0),V.access(d,b,(e||0)+1)},teardown:function(){var d=this.ownerDocument||this,e=V.access(d,b)-1;e?V.access(d,b,e):(d.removeEventListener(a,c,!0),V.remove(d,b))}}});var qb=a.location,rb=r.now(),sb=/\?/;r.parseXML=function(b){var c;if(!b||"string"!=typeof b)return null;try{c=(new a.DOMParser).parseFromString(b,"text/xml")}catch(d){c=void 0}return c&&!c.getElementsByTagName("parsererror").length||r.error("Invalid XML: "+b),c};var tb=/\[\]$/,ub=/\r?\n/g,vb=/^(?:submit|button|image|reset|file)$/i,wb=/^(?:input|select|textarea|keygen)/i;function xb(a,b,c,d){var e;if(r.isArray(b))r.each(b,function(b,e){c||tb.test(a)?d(a,e):xb(a+"["+("object"==typeof e&&null!=e?b:"")+"]",e,c,d)});else if(c||"object"!==r.type(b))d(a,b);else for(e in b)xb(a+"["+e+"]",b[e],c,d)}r.param=function(a,b){var c,d=[],e=function(a,b){var c=r.isFunction(b)?b():b;d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(null==c?"":c)};if(r.isArray(a)||a.jquery&&!r.isPlainObject(a))r.each(a,function(){e(this.name,this.value)});else for(c in a)xb(c,a[c],b,e);return d.join("&")},r.fn.extend({serialize:function(){return r.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var a=r.prop(this,"elements");return a?r.makeArray(a):this}).filter(function(){var a=this.type;return this.name&&!r(this).is(":disabled")&&wb.test(this.nodeName)&&!vb.test(a)&&(this.checked||!ha.test(a))}).map(function(a,b){var c=r(this).val();return null==c?null:r.isArray(c)?r.map(c,function(a){return{name:b.name,value:a.replace(ub,"\r\n")}}):{name:b.name,value:c.replace(ub,"\r\n")}}).get()}});var yb=/%20/g,zb=/#.*$/,Ab=/([?&])_=[^&]*/,Bb=/^(.*?):[ \t]*([^\r\n]*)$/gm,Cb=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Db=/^(?:GET|HEAD)$/,Eb=/^\/\//,Fb={},Gb={},Hb="*/".concat("*"),Ib=d.createElement("a");Ib.href=qb.href;function Jb(a){return function(b,c){"string"!=typeof b&&(c=b,b="*");var d,e=0,f=b.toLowerCase().match(K)||[];if(r.isFunction(c))while(d=f[e++])"+"===d[0]?(d=d.slice(1)||"*",(a[d]=a[d]||[]).unshift(c)):(a[d]=a[d]||[]).push(c)}}function Kb(a,b,c,d){var e={},f=a===Gb;function g(h){var i;return e[h]=!0,r.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 Lb(a,b){var c,d,e=r.ajaxSettings.flatOptions||{};for(c in b)void 0!==b[c]&&((e[c]?a:d||(d={}))[c]=b[c]);return d&&r.extend(!0,a,d),a}function Mb(a,b,c){var d,e,f,g,h=a.contents,i=a.dataTypes;while("*"===i[0])i.shift(),void 0===d&&(d=a.mimeType||b.getResponseHeader("Content-Type"));if(d)for(e in h)if(h[e]&&h[e].test(d)){i.unshift(e);break}if(i[0]in c)f=i[0];else{for(e in c){if(!i[0]||a.converters[e+" "+i[0]]){f=e;break}g||(g=e)}f=f||g}if(f)return f!==i[0]&&i.unshift(f),c[f]}function Nb(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}}r.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:qb.href,type:"GET",isLocal:Cb.test(qb.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Hb,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":JSON.parse,"text xml":r.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(a,b){return b?Lb(Lb(a,r.ajaxSettings),b):Lb(r.ajaxSettings,a)},ajaxPrefilter:Jb(Fb),ajaxTransport:Jb(Gb),ajax:function(b,c){"object"==typeof b&&(c=b,b=void 0),c=c||{};var e,f,g,h,i,j,k,l,m,n,o=r.ajaxSetup({},c),p=o.context||o,q=o.context&&(p.nodeType||p.jquery)?r(p):r.event,s=r.Deferred(),t=r.Callbacks("once memory"),u=o.statusCode||{},v={},w={},x="canceled",y={readyState:0,getResponseHeader:function(a){var b;if(k){if(!h){h={};while(b=Bb.exec(g))h[b[1].toLowerCase()]=b[2]}b=h[a.toLowerCase()]}return null==b?null:b},getAllResponseHeaders:function(){return k?g:null},setRequestHeader:function(a,b){return null==k&&(a=w[a.toLowerCase()]=w[a.toLowerCase()]||a,v[a]=b),this},overrideMimeType:function(a){return null==k&&(o.mimeType=a),this},statusCode:function(a){var b;if(a)if(k)y.always(a[y.status]);else for(b in a)u[b]=[u[b],a[b]];return this},abort:function(a){var b=a||x;return e&&e.abort(b),A(0,b),this}};if(s.promise(y),o.url=((b||o.url||qb.href)+"").replace(Eb,qb.protocol+"//"),o.type=c.method||c.type||o.method||o.type,o.dataTypes=(o.dataType||"*").toLowerCase().match(K)||[""],null==o.crossDomain){j=d.createElement("a");try{j.href=o.url,j.href=j.href,o.crossDomain=Ib.protocol+"//"+Ib.host!=j.protocol+"//"+j.host}catch(z){o.crossDomain=!0}}if(o.data&&o.processData&&"string"!=typeof o.data&&(o.data=r.param(o.data,o.traditional)),Kb(Fb,o,c,y),k)return y;l=r.event&&o.global,l&&0===r.active++&&r.event.trigger("ajaxStart"),o.type=o.type.toUpperCase(),o.hasContent=!Db.test(o.type),f=o.url.replace(zb,""),o.hasContent?o.data&&o.processData&&0===(o.contentType||"").indexOf("application/x-www-form-urlencoded")&&(o.data=o.data.replace(yb,"+")):(n=o.url.slice(f.length),o.data&&(f+=(sb.test(f)?"&":"?")+o.data,delete o.data),o.cache===!1&&(f=f.replace(Ab,""),n=(sb.test(f)?"&":"?")+"_="+rb++ +n),o.url=f+n),o.ifModified&&(r.lastModified[f]&&y.setRequestHeader("If-Modified-Since",r.lastModified[f]),r.etag[f]&&y.setRequestHeader("If-None-Match",r.etag[f])),(o.data&&o.hasContent&&o.contentType!==!1||c.contentType)&&y.setRequestHeader("Content-Type",o.contentType),y.setRequestHeader("Accept",o.dataTypes[0]&&o.accepts[o.dataTypes[0]]?o.accepts[o.dataTypes[0]]+("*"!==o.dataTypes[0]?", "+Hb+"; q=0.01":""):o.accepts["*"]);for(m in o.headers)y.setRequestHeader(m,o.headers[m]);if(o.beforeSend&&(o.beforeSend.call(p,y,o)===!1||k))return y.abort();if(x="abort",t.add(o.complete),y.done(o.success),y.fail(o.error),e=Kb(Gb,o,c,y)){if(y.readyState=1,l&&q.trigger("ajaxSend",[y,o]),k)return y;o.async&&o.timeout>0&&(i=a.setTimeout(function(){y.abort("timeout")},o.timeout));try{k=!1,e.send(v,A)}catch(z){if(k)throw z;A(-1,z)}}else A(-1,"No Transport");function A(b,c,d,h){var j,m,n,v,w,x=c;k||(k=!0,i&&a.clearTimeout(i),e=void 0,g=h||"",y.readyState=b>0?4:0,j=b>=200&&b<300||304===b,d&&(v=Mb(o,y,d)),v=Nb(o,v,y,j),j?(o.ifModified&&(w=y.getResponseHeader("Last-Modified"),w&&(r.lastModified[f]=w),w=y.getResponseHeader("etag"),w&&(r.etag[f]=w)),204===b||"HEAD"===o.type?x="nocontent":304===b?x="notmodified":(x=v.state,m=v.data,n=v.error,j=!n)):(n=x,!b&&x||(x="error",b<0&&(b=0))),y.status=b,y.statusText=(c||x)+"",j?s.resolveWith(p,[m,x,y]):s.rejectWith(p,[y,x,n]),y.statusCode(u),u=void 0,l&&q.trigger(j?"ajaxSuccess":"ajaxError",[y,o,j?m:n]),t.fireWith(p,[y,x]),l&&(q.trigger("ajaxComplete",[y,o]),--r.active||r.event.trigger("ajaxStop")))}return y},getJSON:function(a,b,c){return r.get(a,b,c,"json")},getScript:function(a,b){return r.get(a,void 0,b,"script")}}),r.each(["get","post"],function(a,b){r[b]=function(a,c,d,e){return r.isFunction(c)&&(e=e||d,d=c,c=void 0),r.ajax(r.extend({url:a,type:b,dataType:e,data:c,success:d},r.isPlainObject(a)&&a))}}),r._evalUrl=function(a){return r.ajax({url:a,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,"throws":!0})},r.fn.extend({wrapAll:function(a){var b;return this[0]&&(r.isFunction(a)&&(a=a.call(this[0])),b=r(a,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstElementChild)a=a.firstElementChild;return a}).append(this)),this},wrapInner:function(a){return r.isFunction(a)?this.each(function(b){r(this).wrapInner(a.call(this,b))}):this.each(function(){var b=r(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=r.isFunction(a);return this.each(function(c){r(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(a){return this.parent(a).not("body").each(function(){r(this).replaceWith(this.childNodes)}),this}}),r.expr.pseudos.hidden=function(a){return!r.expr.pseudos.visible(a)},r.expr.pseudos.visible=function(a){return!!(a.offsetWidth||a.offsetHeight||a.getClientRects().length)},r.ajaxSettings.xhr=function(){try{return new a.XMLHttpRequest}catch(b){}};var Ob={0:200,1223:204},Pb=r.ajaxSettings.xhr();o.cors=!!Pb&&"withCredentials"in Pb,o.ajax=Pb=!!Pb,r.ajaxTransport(function(b){var c,d;if(o.cors||Pb&&!b.crossDomain)return{send:function(e,f){var g,h=b.xhr();if(h.open(b.type,b.url,b.async,b.username,b.password),b.xhrFields)for(g in b.xhrFields)h[g]=b.xhrFields[g];b.mimeType&&h.overrideMimeType&&h.overrideMimeType(b.mimeType),b.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest");for(g in e)h.setRequestHeader(g,e[g]);c=function(a){return function(){c&&(c=d=h.onload=h.onerror=h.onabort=h.onreadystatechange=null,"abort"===a?h.abort():"error"===a?"number"!=typeof h.status?f(0,"error"):f(h.status,h.statusText):f(Ob[h.status]||h.status,h.statusText,"text"!==(h.responseType||"text")||"string"!=typeof h.responseText?{binary:h.response}:{text:h.responseText},h.getAllResponseHeaders()))}},h.onload=c(),d=h.onerror=c("error"),void 0!==h.onabort?h.onabort=d:h.onreadystatechange=function(){4===h.readyState&&a.setTimeout(function(){c&&d()})},c=c("abort");try{h.send(b.hasContent&&b.data||null)}catch(i){if(c)throw i}},abort:function(){c&&c()}}}),r.ajaxPrefilter(function(a){a.crossDomain&&(a.contents.script=!1)}),r.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 r.globalEval(a),a}}}),r.ajaxPrefilter("script",function(a){void 0===a.cache&&(a.cache=!1),a.crossDomain&&(a.type="GET")}),r.ajaxTransport("script",function(a){if(a.crossDomain){var b,c;return{send:function(e,f){b=r("<script>").prop({charset:a.scriptCharset,src:a.url}).on("load error",c=function(a){b.remove(),c=null,a&&f("error"===a.type?404:200,a.type)}),d.head.appendChild(b[0])},abort:function(){c&&c()}}}});var Qb=[],Rb=/(=)\?(?=&|$)|\?\?/;r.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var a=Qb.pop()||r.expando+"_"+rb++;return this[a]=!0,a}}),r.ajaxPrefilter("json jsonp",function(b,c,d){var e,f,g,h=b.jsonp!==!1&&(Rb.test(b.url)?"url":"string"==typeof b.data&&0===(b.contentType||"").indexOf("application/x-www-form-urlencoded")&&Rb.test(b.data)&&"data");if(h||"jsonp"===b.dataTypes[0])return e=b.jsonpCallback=r.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,h?b[h]=b[h].replace(Rb,"$1"+e):b.jsonp!==!1&&(b.url+=(sb.test(b.url)?"&":"?")+b.jsonp+"="+e),b.converters["script json"]=function(){return g||r.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?r(a).removeProp(e):a[e]=f,b[e]&&(b.jsonpCallback=c.jsonpCallback,Qb.push(e)),g&&r.isFunction(f)&&f(g[0]),g=f=void 0}),"script"}),o.createHTMLDocument=function(){var a=d.implementation.createHTMLDocument("").body;return a.innerHTML="<form></form><form></form>",2===a.childNodes.length}(),r.parseHTML=function(a,b,c){if("string"!=typeof a)return[];"boolean"==typeof b&&(c=b,b=!1);var e,f,g;return b||(o.createHTMLDocument?(b=d.implementation.createHTMLDocument(""),e=b.createElement("base"),e.href=d.location.href,b.head.appendChild(e)):b=d),f=B.exec(a),g=!c&&[],f?[b.createElement(f[1])]:(f=oa([a],b,g),g&&g.length&&r(g).remove(),r.merge([],f.childNodes))},r.fn.load=function(a,b,c){var d,e,f,g=this,h=a.indexOf(" ");return h>-1&&(d=r.trim(a.slice(h)),a=a.slice(0,h)),r.isFunction(b)?(c=b,b=void 0):b&&"object"==typeof b&&(e="POST"),g.length>0&&r.ajax({url:a,type:e||"GET",dataType:"html",data:b}).done(function(a){f=arguments,g.html(d?r("<div>").append(r.parseHTML(a)).find(d):a)}).always(c&&function(a,b){g.each(function(){c.apply(this,f||[a.responseText,b,a])})}),this},r.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(a,b){r.fn[b]=function(a){return this.on(b,a)}}),r.expr.pseudos.animated=function(a){return r.grep(r.timers,function(b){return a===b.elem}).length};function Sb(a){return r.isWindow(a)?a:9===a.nodeType&&a.defaultView}r.offset={setOffset:function(a,b,c){var d,e,f,g,h,i,j,k=r.css(a,"position"),l=r(a),m={};"static"===k&&(a.style.position="relative"),h=l.offset(),f=r.css(a,"top"),i=r.css(a,"left"),j=("absolute"===k||"fixed"===k)&&(f+i).indexOf("auto")>-1,j?(d=l.position(),g=d.top,e=d.left):(g=parseFloat(f)||0,e=parseFloat(i)||0),r.isFunction(b)&&(b=b.call(a,c,r.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)}},r.fn.extend({offset:function(a){if(arguments.length)return void 0===a?this:this.each(function(b){r.offset.setOffset(this,a,b)});var b,c,d,e,f=this[0];if(f)return f.getClientRects().length?(d=f.getBoundingClientRect(),d.width||d.height?(e=f.ownerDocument,c=Sb(e),b=e.documentElement,{top:d.top+c.pageYOffset-b.clientTop,left:d.left+c.pageXOffset-b.clientLeft}):d):{top:0,left:0}},position:function(){if(this[0]){var a,b,c=this[0],d={top:0,left:0};return"fixed"===r.css(c,"position")?b=c.getBoundingClientRect():(a=this.offsetParent(),b=this.offset(),r.nodeName(a[0],"html")||(d=a.offset()),d={top:d.top+r.css(a[0],"borderTopWidth",!0),left:d.left+r.css(a[0],"borderLeftWidth",!0)}),{top:b.top-d.top-r.css(c,"marginTop",!0),left:b.left-d.left-r.css(c,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var a=this.offsetParent;while(a&&"static"===r.css(a,"position"))a=a.offsetParent;return a||pa})}}),r.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(a,b){var c="pageYOffset"===b;r.fn[a]=function(d){return S(this,function(a,d,e){var f=Sb(a);return void 0===e?f?f[b]:a[d]:void(f?f.scrollTo(c?f.pageXOffset:e,c?e:f.pageYOffset):a[d]=e)},a,d,arguments.length)}}),r.each(["top","left"],function(a,b){r.cssHooks[b]=Na(o.pixelPosition,function(a,c){if(c)return c=Ma(a,b),Ka.test(c)?r(a).position()[b]+"px":c})}),r.each({Height:"height",Width:"width"},function(a,b){r.each({padding:"inner"+a,content:b,"":"outer"+a},function(c,d){r.fn[d]=function(e,f){var g=arguments.length&&(c||"boolean"!=typeof e),h=c||(e===!0||f===!0?"margin":"border");return S(this,function(b,c,e){var f;return r.isWindow(b)?0===d.indexOf("outer")?b["inner"+a]:b.document.documentElement["client"+a]:9===b.nodeType?(f=b.documentElement,Math.max(b.body["scroll"+a],f["scroll"+a],b.body["offset"+a],f["offset"+a],f["client"+a])):void 0===e?r.css(b,c,h):r.style(b,c,e,h)},b,g?e:void 0,g)}})}),r.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)}}),r.parseJSON=JSON.parse,"function"==typeof define&&define.amd&&define("jquery",[],function(){return r});var Tb=a.jQuery,Ub=a.$;return r.noConflict=function(b){return a.$===r&&(a.$=Ub),b&&a.jQuery===r&&(a.jQuery=Tb),r},b||(a.jQuery=a.$=r),r}); diff --git a/district/static/district/js/ui.js b/district/static/district/js/ui.js index a3f7ec60a41cc3193c4415875aaa86fb8eb3e598..2de82758d0078401d9ec9b0df247d862b9de689a 100644 --- a/district/static/district/js/ui.js +++ b/district/static/district/js/ui.js @@ -3,34 +3,34 @@ $(window).ready( const modalScript = document.createElement("script"); modalScript.src = "/static/district/js/jquery.modal.js"; document.head.append(modalScript); - + $(".topic-content-wrapper").css( "max-height", `${Math.ceil($(".topic").length / 3) * 115.75}px` ) - + $(".topic").on( "click", function(event) { $(".topic").removeClass("topic-selected"); $(".topic-content").css("display", "none"); - + const element = $(event.currentTarget); - + if (element.hasClass("topic-selected")) { element.removeClass("topic-selected"); } else { element.addClass("topic-selected"); - + $(".topic-content-wrapper").html(element.children(".block-topic-content").html()); - + $(".program-point-share").on( "click", function(event) { $("#share-form").modal(); - + const topicParent = event.currentTarget.parentNode.parentNode; - + const shareTextElement = $("#share-text"); const renderedSharedText = ( "„" @@ -39,10 +39,10 @@ $(window).ready( + "“\n\n" + window.location.href ); - + shareTextElement.html(renderedSharedText); shareTextElement.select(); - + $("#share-diaspora")[0].onclick = function(event) { window.open( ( @@ -55,12 +55,12 @@ $(window).ready( "location=no,links=no,scrollbars=no,toolbar=no,width=620,height=550" ); } - + $("#share-twitter").attr( "href", `https://twitter.com/share?text=${encodeURIComponent(renderedSharedText)}` ); - + $("#share-facebook").attr( "href", `https://facebook.com/sharer/sharer.php?u=${encodeURIComponent(window.location.href)}` @@ -70,9 +70,9 @@ $(window).ready( } } ); - + $(".topic")[0].click(); - + $("#js-program").css("display", "block"); } ); diff --git a/district/templates/district/blocks/interactive_program_block.html b/district/templates/district/blocks/interactive_program_block.html index 9b1209ab2c776ebff5d0be1d2b2fb88b101877c6..5396d7b87d885934b5149ff75323f477b6342504 100644 --- a/district/templates/district/blocks/interactive_program_block.html +++ b/district/templates/district/blocks/interactive_program_block.html @@ -2,23 +2,23 @@ <section class="topic"> <label>{{ self.name }}</label> - + <svg> <use xlink:href="{% static 'district/svg/theme-icons/' %}{{ self.icon }}.svg#icon"></use> </svg> - + <div style="display:none" aria-hidden="true" class="block-topic-content"> <div class="program-header-wrapper"> <h2>{{ self.heading }}</h2> {{ self.description }} </div> - + {% for item in self.program_items %} <div class="program-point-wrapper"> <div class="program-point-content-wrapper"> {{ item.content }} </div> - + <div class="program-point-button-wrapper"> <svg class="program-point-share" title="Sdílet"> <use xlink:href="{% static 'district/svg/share.svg#icon' %}"></use> diff --git a/district/templates/district/district_interactive_program_page.html b/district/templates/district/district_interactive_program_page.html index 648e25664630ec0c983f3f40a52451aa54a4db3e..065b10f2d1c1536ead789d52b0f604170842a1b9 100644 --- a/district/templates/district/district_interactive_program_page.html +++ b/district/templates/district/district_interactive_program_page.html @@ -51,18 +51,18 @@ <br> <small>I bez JavaScriptu máme program! :)</small> <br> - + {% for block in page.content %} <h2>{{ block.value.name }}</h2> <p>{{ block.value.description }}</p> - + {% for item in block.value.program_items %} {{ item.content }} {% endfor %} {% endfor %} </section> </noscript> - + <section class="main-wrapper" id="js-program" style="display:none"> <div class="content-wrapper"> <section class="topic-wrapper"> @@ -70,24 +70,24 @@ {% include_block block %} {% endfor %} </section> - + <section class="topic-content-wrapper"></section> </div> </section> - + <section class="buttons-wrapper"> <a class="bottom-button" id="button-odebirej-novinky" href="https://nalodeni.pirati.cz/news/all/" >Odebírej<br>Novinky</a> - + <a class="bottom-button" id="button-pridej-se-k-nam" href="https://nalodeni.pirati.cz/" >Přidej se<br>k nám!</a> - + <a class="bottom-button" id="button-prihod-do-truhly" @@ -96,10 +96,10 @@ </section> </section> </div> - + <section id="share-form" class="modal"> <h2>Sdílení je aktem lásky.</h2> - + <textarea id="share-text" rows="5"></textarea> <section class="share-icon-wrapper"> @@ -119,7 +119,7 @@ > </label> </div> - + <a id="share-diaspora" class="share-icon" @@ -131,7 +131,7 @@ height="40" width="40" ></a> - + <a id="share-twitter" class="share-icon" @@ -143,7 +143,7 @@ height="40" width="40" ></a> - + <a id="share-facebook" class="share-icon" @@ -157,7 +157,7 @@ ></a> </section> </section> - + <script type="text/javascript" src="{% static 'district/js/ui.js' %}" diff --git a/elections2021/static/elections2021/css/styleguide.min.css b/elections2021/static/elections2021/css/styleguide.min.css index 5e49e33e3816038422d544a183921d7699508e03..8d26b5033f933de2e921ef054dc59a8a5e78acf3 100644 --- a/elections2021/static/elections2021/css/styleguide.min.css +++ b/elections2021/static/elections2021/css/styleguide.min.css @@ -1 +1 @@ -@charset "UTF-8";*{-webkit-box-sizing:border-box;box-sizing:border-box}.is-vishidden{position:absolute!important;overflow:hidden;width:1px;height:1px;padding:0;border:0;clip:rect(1px,1px,1px,1px)}#patternlab-body,#patternlab-html{margin:0;padding:0;background:#ddd;-webkit-text-size-adjust:100%}.sg-header{background:#000;color:#fff;font-family:HelveticaNeue,Helvetica,Arial,sans-serif;text-transform:uppercase;position:fixed;top:0;left:0;z-index:4;width:100%}.sg-header ul{padding:0;margin:0;list-style:none}.sg-header a{font-size:70%;color:grey;text-decoration:none;line-height:1;padding:1em .7em;-webkit-transition:color .1s ease-out;transition:color .1s ease-out}.sg-header a.active,.sg-header a:focus,.sg-header a:hover{color:#fff;background:#222}.sg-nav-toggle{display:inline-block;position:relative;text-transform:uppercase;z-index:2}@media all and (min-width:42em){.sg-nav-toggle{display:none}}@media all and (max-width:42em){.sg-nav-container{overflow:hidden;max-height:0;-webkit-transition:max-height .1s ease-out;transition:max-height .1s ease-out}.sg-nav-container.active{max-height:50em}}.sg-nav{z-index:1;margin:0;padding:0;list-style:none}.sg-nav>li{cursor:pointer}@media all and (min-width:42em){.sg-nav>li{border-bottom:0;float:left;position:relative}.sg-nav>li>ol{position:absolute;top:2em;left:0}}.sg-nav a{display:block}.sg-acc-handle:after{content:'▼';color:rgba(255,255,255,.25);display:inline-block;font-size:7px;position:relative;top:-1px;right:-2px;-webkit-transition:all .1s ease-out;transition:all .1s ease-out}@media all and (min-width:42em){.sg-acc-handle:after{float:none}}.sg-acc-handle:focus:after,.sg-acc-handle:hover:after{color:grey}.sg-acc-handle.active{color:#fff;background:#222}.sg-acc-handle.active:after{top:-2px;color:grey;-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.sg-acc-panel{overflow:hidden;max-height:0;margin:0;padding:0;list-style:none;min-width:10em;-webkit-transition:max-height .1s ease-out;transition:max-height .1s ease-out}.sg-acc-panel li{background:#222}.sg-acc-panel li:last-child,.sg-acc-panel li:last-child a{border-bottom-left-radius:6px;border-bottom-right-radius:6px}.sg-acc-panel a{display:block}.sg-acc-panel.active{max-height:120em;overflow:auto}.sg-acc-panel.sg-right{position:absolute;left:auto;right:0}.sg-sub-nav{list-style:none}.sg-sub-nav a{text-transform:none;padding-left:1rem}.sg-controls{border:0;position:absolute;top:0;right:0;z-index:2}.sg-control>li{float:left}.sg-size{width:135px}@media all and (min-width:42em){.sg-size{width:auto}}.sg-current-size{font-size:70%;color:grey;padding:.85em .7em}@media all and (min-width:53em){.sg-current-size{float:left}}#sg-form{margin:0;border:0;padding:0}.sg-input{margin:-2px 0 0;padding:.1em;border:0;border-radius:3px;background:#000;color:grey;width:25px;text-align:right;-webkit-transition:all .1s ease-out;transition:all .1s ease-out}.sg-input:hover{color:#fff;background:#222}.sg-input:active,.sg-input:focus{outline:0;background:grey;color:#fff}@media all and (min-width:42em){.sg-input{width:35px}.sg-input.sg-size-px{width:30px}}.sg-size-options{display:none}.sg-size-options a{display:block}@media all and (min-width:53em){.sg-size-options{display:block;float:left;position:static}.sg-size-options>li{float:left}}.sg-tools-toggle{font-size:70%;background:#000;color:grey;text-decoration:none;line-height:1;border:0;cursor:pointer;padding:.9em .7em .6em}.sg-tools-toggle:after{display:none;content:""}.sg-find{position:relative}.twitter-typeahead{width:100%}.typeahead{border:0;background:#222;color:grey;width:100%;right:0;padding:.8em;text-transform:lowercase}.typeahead:focus{background:grey;color:#fff}.tt-input{background:grey;color:#fff;text-transform:uppercase}.tt-input:focus{text-transform:lowercase}.tt-hint{text-transform:lowercase;border-bottom-right-radius:6px;border-bottom-left-radius:6px}.tt-dropdown-menu{text-transform:lowercase;background-color:grey;width:100%;border-bottom-right-radius:6px;border-bottom-left-radius:6px}.tt-suggestion{color:#eee;font-size:75%;padding:.8em}.tt-suggestion.tt-cursor{color:#fff;background:rgba(255,255,255,.25)}.tt-suggestion p{margin:0}.sg-pattern-state{text-transform:none!important}.sg-pattern-state:before{content:"\2022";margin-right:4px;font-size:18px;vertical-align:bottom;display:inline-block;text-decoration:none}.sg-pattern-lineage .sg-pattern-state:before{font-size:12px}#sg-patterns .sg-pattern-state:before{font-size:14px}#sg-patterns .sg-pattern-state{color:#666}.sg-nav .sg-pattern-state:before{margin-top:-4px;margin-bottom:0;margin-left:-4px;height:20px;display:block;float:left}.inprogress:before{color:#FF4136!important}.inreview:before{color:#FC0!important}.complete:before{color:#2ECC40!important}#sg-vp-wrap{text-align:center;width:100%;position:fixed;top:2em;bottom:0;left:0;right:0;z-index:0}#sg-cover{width:100%;height:100%;display:none;position:absolute;z-index:20;cursor:col-resize}#sg-gen-container{height:100%;position:relative;text-align:center;margin:0 auto;-webkit-overflow-scrolling:touch;overflow-y:auto;overflow-x:hidden}#sg-gen-container.hay-mode{-webkit-transition:all 40s linear;transition:all 40s linear}#sg-viewport{position:absolute;height:100%;width:100%;border:0;padding:0;margin:0;top:0;bottom:0;left:0;right:0;background-color:#fff}#sg-viewport.hay-mode{-webkit-transition:all 40s linear;transition:all 40s linear}#sg-rightpull-container{width:14px;float:right;margin:0;height:100%;cursor:col-resize}#sg-rightpull{margin:0;width:100%;height:100%;background:#c2c2c2;-webkit-transition:background .1s ease-out;transition:background .1s ease-out}#sg-rightpull:hover{background:grey}#sg-rightpull:active{cursor:col-resize;background:#666}.vp-animate{-webkit-transition:width .8s ease-out;transition:width .8s ease-out}.sg-pattern{margin-bottom:2em;position:relative;clear:both}.sg-pattern-head{position:relative;padding:.5rem 0 0;line-height:1.3;font-size:90%;color:grey}.sg-pattern-head:empty{padding:0}.sg-pattern-title{font-family:HelveticaNeue,Helvetica,Arial,sans-serif!important;font-size:.85rem!important;line-height:1!important;font-weight:700!important;margin:0!important;padding:0!important;text-transform:capitalize!important}.sg-pattern-title a{display:inline-block;padding:1em 0 .3rem;color:grey!important;text-decoration:none;cursor:pointer;font-weight:700}.sg-pattern-title a:focus,.sg-pattern-title a:hover{color:#000!important}.sg-pattern-title .sg-pattern-state{font-size:80%;font-weight:400;color:#ccc}.sg-pattern-extra-toggle{font-size:9px;position:absolute;bottom:-1px;right:0;z-index:1;padding:.65em;line-height:1;color:grey;font-weight:400;border:1px solid #ddd;border-top-left-radius:6px;border-top-right-radius:6px;-webkit-transition:background .1s ease-out;transition:background .1s ease-out}.sg-pattern-extra-toggle span{display:inline-block}.sg-pattern-extra-toggle.active,.sg-pattern-extra-toggle:focus,.sg-pattern-extra-toggle:hover{background:#eee;color:#000}.sg-pattern-extra-toggle.active{border-bottom-color:#eee}.sg-pattern-extra-toggle.active span{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.sg-pattern-extra{background:#eee;border-top:1px solid #ddd;margin-bottom:1em;overflow:hidden;max-height:1px;-webkit-transition:all .1s ease-out;transition:all .1s ease-out}.sg-pattern-extra a{text-decoration:underline;color:#222}.sg-pattern-extra a:focus,.sg-pattern-extra a:hover{color:grey}.sg-pattern-extra.active{border:1px solid #ddd;border-radius:6px 0 6px 6px;max-height:50em}@media all and (min-width:42em){.sg-pattern-extra-inner{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:stretch;-webkit-align-items:stretch;-ms-flex-align:stretch;align-items:stretch;width:100%;-webkit-box-flex:1;-webkit-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto}}.sg-pattern-extra-info{padding:.5rem .5rem 0;line-height:1.4;font-size:90%;color:grey;overflow:auto;-webkit-overflow-scrolling:touch}.sg-pattern-extra-info:empty{padding:0}@media all and (min-width:42em){.sg-pattern-extra-info{padding:1em;width:40%}}.sg-pattern-desc{margin-bottom:.5rem;padding-bottom:.5rem;border-bottom:1px solid #ccc}.sg-pattern-desc p:last-child{margin:0}.sg-pattern-lineage{font-size:90%;font-style:italic}.sg-pattern-extra-code{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;font-size:90%;padding:.5rem;-webkit-box-flex:1;-webkit-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto}.sg-pattern-extra-code pre{overflow:scroll!important;-webkit-overflow-scrolling:touch;padding:0 .5rem .5rem!important;margin:0!important;line-height:1!important;-webkit-box-flex:1;-webkit-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto;border-radius:0 6px 6px!important;position:absolute;top:0;bottom:0;left:0;right:0}.sg-pattern-extra-code code{display:block;-moz-tab-size:2!important;-o-tab-size:2!important;tab-size:2!important}@media all and (min-width:42em){.sg-pattern-extra-code{width:60%;padding:1em}}.sg-pattern-category{margin-top:6rem;font:HelveticaNeue,Helvetica,Arial,sans-serif!important}.sg-pattern-category:first-of-type{margin-top:2rem}.sg-pattern-category-title{font-size:1.4rem!important;color:#222!important;margin:0 0 .2rem;text-transform:capitalize}.sg-pattern-category-title a{-webkit-transition:color .1s ease-out;transition:color .1s ease-out}.sg-pattern-category-body{font-size:80%;line-height:1.3}.sg-pattern-category-body:empty{display:none}.language-markup code[class*=language-],.language-markup pre[class*=language-]{white-space:pre-wrap}@media all and (min-width:42em){.language-markup code[class*=language-],.language-markup pre[class*=language-]{white-space:pre}}.sg-tabs{-webkit-box-flex:1;-webkit-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto;width:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;font:HelveticaNeue,Helvetica,Arial,sans-serif!important}.sg-tabs-list{overflow:hidden;position:relative;bottom:-1px;list-style:none;margin:0;padding:0}.sg-tabs-list li{float:left;margin-right:3px}.sg-tabs-list a{display:block;font-size:90%;font-weight:700;line-height:1;padding:.5em 1em;background:#eee;border:1px solid #ccc;border-bottom:0;color:grey;border-top-right-radius:6px;border-top-left-radius:6px;text-decoration:none;text-transform:capitalize}.sg-tabs-list a:hover{color:#222}.sg-tab-title-active a{background:#f5f2f0;color:#222}.sg-tab-title-active a:focus,.sg-tab-title-active a:hover{color:#222}.sg-tabs-content{-webkit-box-flex:1;-webkit-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;border:1px solid #ccc;border-radius:0 6px 6px;overflow:hidden}.sg-tabs-panel{display:none;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-flex:1;-webkit-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto;position:relative;min-height:12em}@media all and (min-width:42em){.sg-tabs-panel{min-height:7em}}.sg-modal{font-family:HelveticaNeue,Helvetica,Arial,sans-serif;line-height:1.4;font-size:90%;background:#000;color:#ccc;position:fixed;top:auto;bottom:0;left:0;z-index:2;width:100%;height:50%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.sg-modal.anim-ready{-webkit-transition:bottom .3s ease-out;transition:bottom .3s ease-out}.sg-modal .sg-pattern-breadcrumb{font-size:70%;color:grey;margin-bottom:.5rem}.sg-modal .sg-pattern-head{margin-bottom:.5rem}.sg-modal .sg-pattern-title{font-size:1.4rem!important;color:#eee}.sg-modal .sg-pattern-extra{-webkit-box-flex:1;-webkit-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto;max-height:none;padding:0}.sg-modal .sg-pattern-extra.active{max-height:none}.sg-modal .sg-pattern-extra-info a{color:#ccc}.sg-modal .sg-pattern-extra-info a:focus,.sg-modal .sg-pattern-extra-info a:hover{color:#eee}.sg-modal .sg-pattern-desc{border-bottom-color:grey}.sg-modal .sg-annotations{border-top-color:grey}.sg-modal .sg-tabs-content{border:0}.sg-modal-close-btn{font-size:70%;background:#000;color:grey;border:0;border-radius:6px 6px 0 0;display:inline-block;padding:.9em .7em .1em;text-transform:uppercase;text-decoration:none;cursor:pointer;position:absolute;right:0;top:1rem;-webkit-transition:all .1s ease-out;transition:all .1s ease-out}.sg-modal.active .sg-modal-close-btn{top:-1.5rem}.sg-modal-close-btn:focus,.sg-modal-close-btn:hover{background:#222;color:#eee}.sg-modal-content{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-webkit-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;overflow-y:auto;overflow-x:hidden}.sg-modal-content-inner{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-webkit-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.has-annotation{cursor:help!important;-webkit-box-shadow:0 0 10px grey;box-shadow:0 0 10px grey}.has-annotation a,.has-annotation input{cursor:help!important}.has-annotation:hover{-webkit-box-shadow:0 0 10px #000;box-shadow:0 0 10px #000}.has-annotation.active{-webkit-box-shadow:inset 0 0 20px grey;box-shadow:inset 0 0 20px grey}.annotation-tip{display:block;position:absolute;margin-top:-10px!important;margin-left:-10px!important;width:25px!important;height:25px!important;border-radius:13px!important;text-align:center!important;background:#444!important;color:#fff!important;font-weight:700!important;font-size:16px!important;z-index:100}.sg-annotations{margin:1rem 0;border-top:1px solid #ddd;padding-top:.5rem}.sg-annotations-title{font-size:1rem!important;margin:0 0 .5rem}.sg-annotations-list{padding:0;margin:0;list-style:none;counter-reset:the-count}.sg-annotations-list>li{position:relative;padding-left:1.5rem;margin-bottom:1rem;border-radius:6px;-webkit-transition:background .1s ease;transition:background .1s ease}.sg-annotations-list>li:before{content:counter(the-count);counter-increment:the-count;font-size:85%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;width:14px;height:14px;border-radius:50%;padding:2px;text-align:center;background:#ccc;color:#222;position:absolute;top:1px;left:0}.sg-annotations-list>li.active{background:rgba(255,255,255,.15)}.sg-annotations-list-title{display:inline;font-size:100%}.sg-annotations-list-title:after{content:"—"}#sg-comments-container{max-width:60em;margin:0 auto}.sg-comment-container{padding-bottom:2em;margin-bottom:1em;border-bottom:1px solid rgba(255,255,255,.25)}.sg-comment-container p:last-child{margin-bottom:0}.sg-comment-container h2{margin-bottom:.25em} \ No newline at end of file +@charset "UTF-8";*{-webkit-box-sizing:border-box;box-sizing:border-box}.is-vishidden{position:absolute!important;overflow:hidden;width:1px;height:1px;padding:0;border:0;clip:rect(1px,1px,1px,1px)}#patternlab-body,#patternlab-html{margin:0;padding:0;background:#ddd;-webkit-text-size-adjust:100%}.sg-header{background:#000;color:#fff;font-family:HelveticaNeue,Helvetica,Arial,sans-serif;text-transform:uppercase;position:fixed;top:0;left:0;z-index:4;width:100%}.sg-header ul{padding:0;margin:0;list-style:none}.sg-header a{font-size:70%;color:grey;text-decoration:none;line-height:1;padding:1em .7em;-webkit-transition:color .1s ease-out;transition:color .1s ease-out}.sg-header a.active,.sg-header a:focus,.sg-header a:hover{color:#fff;background:#222}.sg-nav-toggle{display:inline-block;position:relative;text-transform:uppercase;z-index:2}@media all and (min-width:42em){.sg-nav-toggle{display:none}}@media all and (max-width:42em){.sg-nav-container{overflow:hidden;max-height:0;-webkit-transition:max-height .1s ease-out;transition:max-height .1s ease-out}.sg-nav-container.active{max-height:50em}}.sg-nav{z-index:1;margin:0;padding:0;list-style:none}.sg-nav>li{cursor:pointer}@media all and (min-width:42em){.sg-nav>li{border-bottom:0;float:left;position:relative}.sg-nav>li>ol{position:absolute;top:2em;left:0}}.sg-nav a{display:block}.sg-acc-handle:after{content:'▼';color:rgba(255,255,255,.25);display:inline-block;font-size:7px;position:relative;top:-1px;right:-2px;-webkit-transition:all .1s ease-out;transition:all .1s ease-out}@media all and (min-width:42em){.sg-acc-handle:after{float:none}}.sg-acc-handle:focus:after,.sg-acc-handle:hover:after{color:grey}.sg-acc-handle.active{color:#fff;background:#222}.sg-acc-handle.active:after{top:-2px;color:grey;-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.sg-acc-panel{overflow:hidden;max-height:0;margin:0;padding:0;list-style:none;min-width:10em;-webkit-transition:max-height .1s ease-out;transition:max-height .1s ease-out}.sg-acc-panel li{background:#222}.sg-acc-panel li:last-child,.sg-acc-panel li:last-child a{border-bottom-left-radius:6px;border-bottom-right-radius:6px}.sg-acc-panel a{display:block}.sg-acc-panel.active{max-height:120em;overflow:auto}.sg-acc-panel.sg-right{position:absolute;left:auto;right:0}.sg-sub-nav{list-style:none}.sg-sub-nav a{text-transform:none;padding-left:1rem}.sg-controls{border:0;position:absolute;top:0;right:0;z-index:2}.sg-control>li{float:left}.sg-size{width:135px}@media all and (min-width:42em){.sg-size{width:auto}}.sg-current-size{font-size:70%;color:grey;padding:.85em .7em}@media all and (min-width:53em){.sg-current-size{float:left}}#sg-form{margin:0;border:0;padding:0}.sg-input{margin:-2px 0 0;padding:.1em;border:0;border-radius:3px;background:#000;color:grey;width:25px;text-align:right;-webkit-transition:all .1s ease-out;transition:all .1s ease-out}.sg-input:hover{color:#fff;background:#222}.sg-input:active,.sg-input:focus{outline:0;background:grey;color:#fff}@media all and (min-width:42em){.sg-input{width:35px}.sg-input.sg-size-px{width:30px}}.sg-size-options{display:none}.sg-size-options a{display:block}@media all and (min-width:53em){.sg-size-options{display:block;float:left;position:static}.sg-size-options>li{float:left}}.sg-tools-toggle{font-size:70%;background:#000;color:grey;text-decoration:none;line-height:1;border:0;cursor:pointer;padding:.9em .7em .6em}.sg-tools-toggle:after{display:none;content:""}.sg-find{position:relative}.twitter-typeahead{width:100%}.typeahead{border:0;background:#222;color:grey;width:100%;right:0;padding:.8em;text-transform:lowercase}.typeahead:focus{background:grey;color:#fff}.tt-input{background:grey;color:#fff;text-transform:uppercase}.tt-input:focus{text-transform:lowercase}.tt-hint{text-transform:lowercase;border-bottom-right-radius:6px;border-bottom-left-radius:6px}.tt-dropdown-menu{text-transform:lowercase;background-color:grey;width:100%;border-bottom-right-radius:6px;border-bottom-left-radius:6px}.tt-suggestion{color:#eee;font-size:75%;padding:.8em}.tt-suggestion.tt-cursor{color:#fff;background:rgba(255,255,255,.25)}.tt-suggestion p{margin:0}.sg-pattern-state{text-transform:none!important}.sg-pattern-state:before{content:"\2022";margin-right:4px;font-size:18px;vertical-align:bottom;display:inline-block;text-decoration:none}.sg-pattern-lineage .sg-pattern-state:before{font-size:12px}#sg-patterns .sg-pattern-state:before{font-size:14px}#sg-patterns .sg-pattern-state{color:#666}.sg-nav .sg-pattern-state:before{margin-top:-4px;margin-bottom:0;margin-left:-4px;height:20px;display:block;float:left}.inprogress:before{color:#FF4136!important}.inreview:before{color:#FC0!important}.complete:before{color:#2ECC40!important}#sg-vp-wrap{text-align:center;width:100%;position:fixed;top:2em;bottom:0;left:0;right:0;z-index:0}#sg-cover{width:100%;height:100%;display:none;position:absolute;z-index:20;cursor:col-resize}#sg-gen-container{height:100%;position:relative;text-align:center;margin:0 auto;-webkit-overflow-scrolling:touch;overflow-y:auto;overflow-x:hidden}#sg-gen-container.hay-mode{-webkit-transition:all 40s linear;transition:all 40s linear}#sg-viewport{position:absolute;height:100%;width:100%;border:0;padding:0;margin:0;top:0;bottom:0;left:0;right:0;background-color:#fff}#sg-viewport.hay-mode{-webkit-transition:all 40s linear;transition:all 40s linear}#sg-rightpull-container{width:14px;float:right;margin:0;height:100%;cursor:col-resize}#sg-rightpull{margin:0;width:100%;height:100%;background:#c2c2c2;-webkit-transition:background .1s ease-out;transition:background .1s ease-out}#sg-rightpull:hover{background:grey}#sg-rightpull:active{cursor:col-resize;background:#666}.vp-animate{-webkit-transition:width .8s ease-out;transition:width .8s ease-out}.sg-pattern{margin-bottom:2em;position:relative;clear:both}.sg-pattern-head{position:relative;padding:.5rem 0 0;line-height:1.3;font-size:90%;color:grey}.sg-pattern-head:empty{padding:0}.sg-pattern-title{font-family:HelveticaNeue,Helvetica,Arial,sans-serif!important;font-size:.85rem!important;line-height:1!important;font-weight:700!important;margin:0!important;padding:0!important;text-transform:capitalize!important}.sg-pattern-title a{display:inline-block;padding:1em 0 .3rem;color:grey!important;text-decoration:none;cursor:pointer;font-weight:700}.sg-pattern-title a:focus,.sg-pattern-title a:hover{color:#000!important}.sg-pattern-title .sg-pattern-state{font-size:80%;font-weight:400;color:#ccc}.sg-pattern-extra-toggle{font-size:9px;position:absolute;bottom:-1px;right:0;z-index:1;padding:.65em;line-height:1;color:grey;font-weight:400;border:1px solid #ddd;border-top-left-radius:6px;border-top-right-radius:6px;-webkit-transition:background .1s ease-out;transition:background .1s ease-out}.sg-pattern-extra-toggle span{display:inline-block}.sg-pattern-extra-toggle.active,.sg-pattern-extra-toggle:focus,.sg-pattern-extra-toggle:hover{background:#eee;color:#000}.sg-pattern-extra-toggle.active{border-bottom-color:#eee}.sg-pattern-extra-toggle.active span{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.sg-pattern-extra{background:#eee;border-top:1px solid #ddd;margin-bottom:1em;overflow:hidden;max-height:1px;-webkit-transition:all .1s ease-out;transition:all .1s ease-out}.sg-pattern-extra a{text-decoration:underline;color:#222}.sg-pattern-extra a:focus,.sg-pattern-extra a:hover{color:grey}.sg-pattern-extra.active{border:1px solid #ddd;border-radius:6px 0 6px 6px;max-height:50em}@media all and (min-width:42em){.sg-pattern-extra-inner{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:stretch;-webkit-align-items:stretch;-ms-flex-align:stretch;align-items:stretch;width:100%;-webkit-box-flex:1;-webkit-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto}}.sg-pattern-extra-info{padding:.5rem .5rem 0;line-height:1.4;font-size:90%;color:grey;overflow:auto;-webkit-overflow-scrolling:touch}.sg-pattern-extra-info:empty{padding:0}@media all and (min-width:42em){.sg-pattern-extra-info{padding:1em;width:40%}}.sg-pattern-desc{margin-bottom:.5rem;padding-bottom:.5rem;border-bottom:1px solid #ccc}.sg-pattern-desc p:last-child{margin:0}.sg-pattern-lineage{font-size:90%;font-style:italic}.sg-pattern-extra-code{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;font-size:90%;padding:.5rem;-webkit-box-flex:1;-webkit-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto}.sg-pattern-extra-code pre{overflow:scroll!important;-webkit-overflow-scrolling:touch;padding:0 .5rem .5rem!important;margin:0!important;line-height:1!important;-webkit-box-flex:1;-webkit-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto;border-radius:0 6px 6px!important;position:absolute;top:0;bottom:0;left:0;right:0}.sg-pattern-extra-code code{display:block;-moz-tab-size:2!important;-o-tab-size:2!important;tab-size:2!important}@media all and (min-width:42em){.sg-pattern-extra-code{width:60%;padding:1em}}.sg-pattern-category{margin-top:6rem;font:HelveticaNeue,Helvetica,Arial,sans-serif!important}.sg-pattern-category:first-of-type{margin-top:2rem}.sg-pattern-category-title{font-size:1.4rem!important;color:#222!important;margin:0 0 .2rem;text-transform:capitalize}.sg-pattern-category-title a{-webkit-transition:color .1s ease-out;transition:color .1s ease-out}.sg-pattern-category-body{font-size:80%;line-height:1.3}.sg-pattern-category-body:empty{display:none}.language-markup code[class*=language-],.language-markup pre[class*=language-]{white-space:pre-wrap}@media all and (min-width:42em){.language-markup code[class*=language-],.language-markup pre[class*=language-]{white-space:pre}}.sg-tabs{-webkit-box-flex:1;-webkit-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto;width:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;font:HelveticaNeue,Helvetica,Arial,sans-serif!important}.sg-tabs-list{overflow:hidden;position:relative;bottom:-1px;list-style:none;margin:0;padding:0}.sg-tabs-list li{float:left;margin-right:3px}.sg-tabs-list a{display:block;font-size:90%;font-weight:700;line-height:1;padding:.5em 1em;background:#eee;border:1px solid #ccc;border-bottom:0;color:grey;border-top-right-radius:6px;border-top-left-radius:6px;text-decoration:none;text-transform:capitalize}.sg-tabs-list a:hover{color:#222}.sg-tab-title-active a{background:#f5f2f0;color:#222}.sg-tab-title-active a:focus,.sg-tab-title-active a:hover{color:#222}.sg-tabs-content{-webkit-box-flex:1;-webkit-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;border:1px solid #ccc;border-radius:0 6px 6px;overflow:hidden}.sg-tabs-panel{display:none;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-flex:1;-webkit-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto;position:relative;min-height:12em}@media all and (min-width:42em){.sg-tabs-panel{min-height:7em}}.sg-modal{font-family:HelveticaNeue,Helvetica,Arial,sans-serif;line-height:1.4;font-size:90%;background:#000;color:#ccc;position:fixed;top:auto;bottom:0;left:0;z-index:2;width:100%;height:50%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.sg-modal.anim-ready{-webkit-transition:bottom .3s ease-out;transition:bottom .3s ease-out}.sg-modal .sg-pattern-breadcrumb{font-size:70%;color:grey;margin-bottom:.5rem}.sg-modal .sg-pattern-head{margin-bottom:.5rem}.sg-modal .sg-pattern-title{font-size:1.4rem!important;color:#eee}.sg-modal .sg-pattern-extra{-webkit-box-flex:1;-webkit-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto;max-height:none;padding:0}.sg-modal .sg-pattern-extra.active{max-height:none}.sg-modal .sg-pattern-extra-info a{color:#ccc}.sg-modal .sg-pattern-extra-info a:focus,.sg-modal .sg-pattern-extra-info a:hover{color:#eee}.sg-modal .sg-pattern-desc{border-bottom-color:grey}.sg-modal .sg-annotations{border-top-color:grey}.sg-modal .sg-tabs-content{border:0}.sg-modal-close-btn{font-size:70%;background:#000;color:grey;border:0;border-radius:6px 6px 0 0;display:inline-block;padding:.9em .7em .1em;text-transform:uppercase;text-decoration:none;cursor:pointer;position:absolute;right:0;top:1rem;-webkit-transition:all .1s ease-out;transition:all .1s ease-out}.sg-modal.active .sg-modal-close-btn{top:-1.5rem}.sg-modal-close-btn:focus,.sg-modal-close-btn:hover{background:#222;color:#eee}.sg-modal-content{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-webkit-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;overflow-y:auto;overflow-x:hidden}.sg-modal-content-inner{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-webkit-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.has-annotation{cursor:help!important;-webkit-box-shadow:0 0 10px grey;box-shadow:0 0 10px grey}.has-annotation a,.has-annotation input{cursor:help!important}.has-annotation:hover{-webkit-box-shadow:0 0 10px #000;box-shadow:0 0 10px #000}.has-annotation.active{-webkit-box-shadow:inset 0 0 20px grey;box-shadow:inset 0 0 20px grey}.annotation-tip{display:block;position:absolute;margin-top:-10px!important;margin-left:-10px!important;width:25px!important;height:25px!important;border-radius:13px!important;text-align:center!important;background:#444!important;color:#fff!important;font-weight:700!important;font-size:16px!important;z-index:100}.sg-annotations{margin:1rem 0;border-top:1px solid #ddd;padding-top:.5rem}.sg-annotations-title{font-size:1rem!important;margin:0 0 .5rem}.sg-annotations-list{padding:0;margin:0;list-style:none;counter-reset:the-count}.sg-annotations-list>li{position:relative;padding-left:1.5rem;margin-bottom:1rem;border-radius:6px;-webkit-transition:background .1s ease;transition:background .1s ease}.sg-annotations-list>li:before{content:counter(the-count);counter-increment:the-count;font-size:85%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;width:14px;height:14px;border-radius:50%;padding:2px;text-align:center;background:#ccc;color:#222;position:absolute;top:1px;left:0}.sg-annotations-list>li.active{background:rgba(255,255,255,.15)}.sg-annotations-list-title{display:inline;font-size:100%}.sg-annotations-list-title:after{content:"—"}#sg-comments-container{max-width:60em;margin:0 auto}.sg-comment-container{padding-bottom:2em;margin-bottom:1em;border-bottom:1px solid rgba(255,255,255,.25)}.sg-comment-container p:last-child{margin-bottom:0}.sg-comment-container h2{margin-bottom:.25em} diff --git a/main/blocks.py b/main/blocks.py index 5c4e6890601322cde0a7c6c58f4411ea5c180d6a..c6fcd64f76d201fb9893c6a2b026e4e25bb0fb7e 100644 --- a/main/blocks.py +++ b/main/blocks.py @@ -11,10 +11,7 @@ from wagtail.core.blocks import ( from wagtail.documents.blocks import DocumentChooserBlock from wagtail.images.blocks import ImageChooserBlock -from shared.blocks import ( - CardLinkBlockMixin, - CardLinkWithHeadlineBlockMixin, -) +from shared.blocks import CardLinkBlockMixin, CardLinkWithHeadlineBlockMixin class CTAMixin(StructBlock): diff --git a/main/feeds.py b/main/feeds.py index 9d8986a761e1546637e9b1492002797708e72fe1..67060a049c060208c054828cd95a92c8d2cc953b 100644 --- a/main/feeds.py +++ b/main/feeds.py @@ -6,75 +6,44 @@ from django.contrib.syndication.views import Feed from django.template.loader import render_to_string from django.urls import reverse -from .models import MainArticlesPage, MainArticlePage +from .models import MainArticlePage, MainArticlesPage class LatestArticlesFeed(Feed): - def get_object( - self, - request, - id: int - ) -> MainArticlesPage: + def get_object(self, request, id: int) -> MainArticlesPage: return MainArticlesPage.objects.get(id=id) - def title( - self, - obj: MainArticlesPage - ) -> str: + def title(self, obj: MainArticlesPage) -> str: return obj.title - def link( - self, - obj: MainArticlesPage - ) -> str: + def link(self, obj: MainArticlesPage) -> str: return obj.get_full_url() - def description( - self, - obj: MainArticlesPage - ) -> str: + def description(self, obj: MainArticlesPage) -> str: return obj.perex - def items( - self, - obj: MainArticlesPage - ) -> list: - return ( - MainArticlePage - .objects.live() - .child_of(obj) - .order_by("-date") - [:32] - ) + def items(self, obj: MainArticlesPage) -> list: + return MainArticlePage.objects.live().child_of(obj).order_by("-date")[:32] - def item_title( - self, - item: MainArticlePage - ) -> str: + def item_title(self, item: MainArticlePage) -> str: return item.title - def item_description( - self, - item: MainArticlePage - ) -> str: + def item_description(self, item: MainArticlePage) -> str: return render_to_string( "main/feed_item_description.html", {"item": item}, ) - def item_pubdate( - self, - item: MainArticlePage - ) -> datetime: + def item_pubdate(self, item: MainArticlePage) -> datetime: return datetime( - item.date.year, item.date.month, item.date.day, - 12, 0, + item.date.year, + item.date.month, + item.date.day, + 12, + 0, ) - def item_author_name( - self, - item: MainArticlePage - ) -> str: + def item_author_name(self, item: MainArticlePage) -> str: if item.author: return item.author @@ -83,16 +52,10 @@ class LatestArticlesFeed(Feed): return "" - def item_categories( - self, - item: MainArticlePage - ) -> list: + def item_categories(self, item: MainArticlePage) -> list: return item.tags.all() - def item_link( - self, - item: MainArticlePage - ) -> str: + def item_link(self, item: MainArticlePage) -> str: return item.get_full_url() def item_enclosure_url( diff --git a/main/migrations/0004_alter_maincontactpage_contact_boxes_and_more.py b/main/migrations/0004_alter_maincontactpage_contact_boxes_and_more.py index 2e70b011e26b58a0772290f43616186bb0a21cbe..10c611a90f44564e0c7385498302fa6a50b15316 100644 --- a/main/migrations/0004_alter_maincontactpage_contact_boxes_and_more.py +++ b/main/migrations/0004_alter_maincontactpage_contact_boxes_and_more.py @@ -1,62 +1,299 @@ # Generated by Django 4.0.7 on 2022-08-22 13:33 -from django.db import migrations -import main.blocks import wagtail.blocks import wagtail.fields import wagtail.images.blocks +from django.db import migrations + +import main.blocks class Migration(migrations.Migration): dependencies = [ - ('main', '0003_mainhomepage_twitter_usernames_and_more'), + ("main", "0003_mainhomepage_twitter_usernames_and_more"), ] operations = [ migrations.AlterField( - model_name='maincontactpage', - name='contact_boxes', - field=wagtail.fields.StreamField([('item', wagtail.blocks.StructBlock([('position', wagtail.blocks.CharBlock(label='Název pozice', required=False)), ('person', wagtail.blocks.PageChooserBlock(label='Osoba', page_type=['main.MainPersonPage']))]))], blank=True, use_json_field=None, verbose_name='Kontaktní boxy'), + model_name="maincontactpage", + name="contact_boxes", + field=wagtail.fields.StreamField( + [ + ( + "item", + wagtail.blocks.StructBlock( + [ + ( + "position", + wagtail.blocks.CharBlock( + label="Název pozice", required=False + ), + ), + ( + "person", + wagtail.blocks.PageChooserBlock( + label="Osoba", page_type=["main.MainPersonPage"] + ), + ), + ] + ), + ) + ], + blank=True, + use_json_field=None, + verbose_name="Kontaktní boxy", + ), ), migrations.AlterField( - model_name='maincontactpage', - name='contact_people', - field=wagtail.fields.StreamField([('item', wagtail.blocks.StructBlock([('position', wagtail.blocks.CharBlock(label='Název pozice', required=False)), ('person', wagtail.blocks.PageChooserBlock(label='Osoba', page_type=['main.MainPersonPage']))]))], blank=True, use_json_field=None, verbose_name='Kontaktní osoby'), + model_name="maincontactpage", + name="contact_people", + field=wagtail.fields.StreamField( + [ + ( + "item", + wagtail.blocks.StructBlock( + [ + ( + "position", + wagtail.blocks.CharBlock( + label="Název pozice", required=False + ), + ), + ( + "person", + wagtail.blocks.PageChooserBlock( + label="Osoba", page_type=["main.MainPersonPage"] + ), + ), + ] + ), + ) + ], + blank=True, + use_json_field=None, + verbose_name="Kontaktní osoby", + ), ), migrations.AlterField( - model_name='mainhomepage', - name='content', - field=wagtail.fields.StreamField([('carousel', wagtail.blocks.StructBlock([('slides', wagtail.blocks.ListBlock(main.blocks.HomePageCarouseSlideBlock, label='Obrázky s nadpisy - carouselu'))])), ('boxes', wagtail.blocks.StructBlock([('title', wagtail.blocks.CharBlock(label='Nadpis')), ('list', wagtail.blocks.ListBlock(main.blocks.BoxBlock, label='Boxíky'))]))], blank=True, use_json_field=None, verbose_name='Hlavní obsah'), + model_name="mainhomepage", + name="content", + field=wagtail.fields.StreamField( + [ + ( + "carousel", + wagtail.blocks.StructBlock( + [ + ( + "slides", + wagtail.blocks.ListBlock( + main.blocks.HomePageCarouseSlideBlock, + label="Obrázky s nadpisy - carouselu", + ), + ) + ] + ), + ), + ( + "boxes", + wagtail.blocks.StructBlock( + [ + ("title", wagtail.blocks.CharBlock(label="Nadpis")), + ( + "list", + wagtail.blocks.ListBlock( + main.blocks.BoxBlock, label="Boxíky" + ), + ), + ] + ), + ), + ], + blank=True, + use_json_field=None, + verbose_name="Hlavní obsah", + ), ), migrations.AlterField( - model_name='mainhomepage', - name='footer_other_links', - field=wagtail.fields.StreamField([('other_links', wagtail.blocks.StructBlock([('title', wagtail.blocks.CharBlock(label='Titulek')), ('list', wagtail.blocks.ListBlock(main.blocks.LinkBlock, label='Seznam odkazů s titulkem'))]))], blank=True, use_json_field=None, verbose_name='Bloky dalších odkazů v zápatí webu'), + model_name="mainhomepage", + name="footer_other_links", + field=wagtail.fields.StreamField( + [ + ( + "other_links", + wagtail.blocks.StructBlock( + [ + ("title", wagtail.blocks.CharBlock(label="Titulek")), + ( + "list", + wagtail.blocks.ListBlock( + main.blocks.LinkBlock, + label="Seznam odkazů s titulkem", + ), + ), + ] + ), + ) + ], + blank=True, + use_json_field=None, + verbose_name="Bloky dalších odkazů v zápatí webu", + ), ), migrations.AlterField( - model_name='mainhomepage', - name='footer_person_list', - field=wagtail.fields.StreamField([('person', wagtail.blocks.StructBlock([('position', wagtail.blocks.CharBlock(label='Název pozice', required=False)), ('person', wagtail.blocks.PageChooserBlock(label='Osoba', page_type=['main.MainPersonPage']))]))], blank=True, use_json_field=None, verbose_name='Osoby v zápatí webu'), + model_name="mainhomepage", + name="footer_person_list", + field=wagtail.fields.StreamField( + [ + ( + "person", + wagtail.blocks.StructBlock( + [ + ( + "position", + wagtail.blocks.CharBlock( + label="Název pozice", required=False + ), + ), + ( + "person", + wagtail.blocks.PageChooserBlock( + label="Osoba", page_type=["main.MainPersonPage"] + ), + ), + ] + ), + ) + ], + blank=True, + use_json_field=None, + verbose_name="Osoby v zápatí webu", + ), ), migrations.AlterField( - model_name='mainhomepage', - name='footer_social_links', - field=wagtail.fields.StreamField([('social_links', wagtail.blocks.StructBlock([('text', wagtail.blocks.CharBlock(label='Titulkek odkazu (text, který se zobrazí místo dlouhého odkazu)')), ('link', wagtail.blocks.URLBlock(label='Odkaz')), ('icon', wagtail.blocks.CharBlock(label='Ikona'))]))], blank=True, use_json_field=None, verbose_name='Odkazy na sociální sítě v zápatí webu'), + model_name="mainhomepage", + name="footer_social_links", + field=wagtail.fields.StreamField( + [ + ( + "social_links", + wagtail.blocks.StructBlock( + [ + ( + "text", + wagtail.blocks.CharBlock( + label="Titulkek odkazu (text, který se zobrazí místo dlouhého odkazu)" + ), + ), + ("link", wagtail.blocks.URLBlock(label="Odkaz")), + ("icon", wagtail.blocks.CharBlock(label="Ikona")), + ] + ), + ) + ], + blank=True, + use_json_field=None, + verbose_name="Odkazy na sociální sítě v zápatí webu", + ), ), migrations.AlterField( - model_name='mainpeoplepage', - name='people', - field=wagtail.fields.StreamField([('people_group', wagtail.blocks.StructBlock([('title', wagtail.blocks.CharBlock(label='Titulek')), ('person_list', wagtail.blocks.ListBlock(wagtail.blocks.PageChooserBlock(label='Detail osoby', page_type=['main.MainPersonPage']), label='Seznam osob'))], label='Seznam osob'))], blank=True, use_json_field=None, verbose_name='Lidé'), + model_name="mainpeoplepage", + name="people", + field=wagtail.fields.StreamField( + [ + ( + "people_group", + wagtail.blocks.StructBlock( + [ + ("title", wagtail.blocks.CharBlock(label="Titulek")), + ( + "person_list", + wagtail.blocks.ListBlock( + wagtail.blocks.PageChooserBlock( + label="Detail osoby", + page_type=["main.MainPersonPage"], + ), + label="Seznam osob", + ), + ), + ], + label="Seznam osob", + ), + ) + ], + blank=True, + use_json_field=None, + verbose_name="Lidé", + ), ), migrations.AlterField( - model_name='mainprogrampage', - name='program', - field=wagtail.fields.StreamField([('program_group', wagtail.blocks.StructBlock([('title', wagtail.blocks.CharBlock(label='Titulek části programu')), ('point_list', wagtail.blocks.ListBlock(wagtail.blocks.StructBlock([('icon', wagtail.images.blocks.ImageChooserBlock(label='Ikona')), ('title', wagtail.blocks.CharBlock(label='Titulek článku programu')), ('text', wagtail.blocks.TextBlock(label='Obsah'))]), label='Jednotlivé články programu'))], label='Část programu'))], blank=True, use_json_field=None, verbose_name='Program'), + model_name="mainprogrampage", + name="program", + field=wagtail.fields.StreamField( + [ + ( + "program_group", + wagtail.blocks.StructBlock( + [ + ( + "title", + wagtail.blocks.CharBlock( + label="Titulek části programu" + ), + ), + ( + "point_list", + wagtail.blocks.ListBlock( + wagtail.blocks.StructBlock( + [ + ( + "icon", + wagtail.images.blocks.ImageChooserBlock( + label="Ikona" + ), + ), + ( + "title", + wagtail.blocks.CharBlock( + label="Titulek článku programu" + ), + ), + ( + "text", + wagtail.blocks.TextBlock( + label="Obsah" + ), + ), + ] + ), + label="Jednotlivé články programu", + ), + ), + ], + label="Část programu", + ), + ) + ], + blank=True, + use_json_field=None, + verbose_name="Program", + ), ), migrations.AlterField( - model_name='mainworkpage', - name='timeline', - field=wagtail.fields.StreamField([('article_list', wagtail.blocks.PageChooserBlock(label='Vybrat aktualitu', page_type=['main.MainArticlePage']))], blank=True, use_json_field=None, verbose_name='Timeline'), + model_name="mainworkpage", + name="timeline", + field=wagtail.fields.StreamField( + [ + ( + "article_list", + wagtail.blocks.PageChooserBlock( + label="Vybrat aktualitu", page_type=["main.MainArticlePage"] + ), + ) + ], + blank=True, + use_json_field=None, + verbose_name="Timeline", + ), ), ] diff --git a/main/migrations/0005_mainpersonpage_twitter_username_and_more.py b/main/migrations/0005_mainpersonpage_twitter_username_and_more.py index e515a90e264cab52f1e3927c50211b7b690d70e8..4f5a4c98ec4585319b2166fb21b2a0b1555ba413 100644 --- a/main/migrations/0005_mainpersonpage_twitter_username_and_more.py +++ b/main/migrations/0005_mainpersonpage_twitter_username_and_more.py @@ -1,25 +1,40 @@ # Generated by Django 4.0.7 on 2022-08-23 05:52 -from django.db import migrations, models import wagtail.blocks import wagtail.fields +from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ - ('main', '0004_alter_maincontactpage_contact_boxes_and_more'), + ("main", "0004_alter_maincontactpage_contact_boxes_and_more"), ] operations = [ migrations.AddField( - model_name='mainpersonpage', - name='twitter_username', - field=models.CharField(blank=True, max_length=32, null=True, verbose_name='Uživatelské jméno twitter'), + model_name="mainpersonpage", + name="twitter_username", + field=models.CharField( + blank=True, + max_length=32, + null=True, + verbose_name="Uživatelské jméno twitter", + ), ), migrations.AlterField( - model_name='mainhomepage', - name='twitter_usernames', - field=wagtail.fields.StreamField([('username', wagtail.blocks.CharBlock(label='Twitter uživatelské jméno'))], blank=True, use_json_field=None, verbose_name='Uživatelská jména pro synchronizované twitter účty'), + model_name="mainhomepage", + name="twitter_usernames", + field=wagtail.fields.StreamField( + [ + ( + "username", + wagtail.blocks.CharBlock(label="Twitter uživatelské jméno"), + ) + ], + blank=True, + use_json_field=None, + verbose_name="Uživatelská jména pro synchronizované twitter účty", + ), ), ] diff --git a/main/migrations/0006_mainpersonpage_after_name_mainpersonpage_before_name_and_more.py b/main/migrations/0006_mainpersonpage_after_name_mainpersonpage_before_name_and_more.py index 2b4dfb1976e7bd7c78aa51aac24d214e7ec55f91..b3bd1e210a6907ccd84c54d5e7303692263f771c 100644 --- a/main/migrations/0006_mainpersonpage_after_name_mainpersonpage_before_name_and_more.py +++ b/main/migrations/0006_mainpersonpage_after_name_mainpersonpage_before_name_and_more.py @@ -6,53 +6,74 @@ from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ - ('main', '0005_mainpersonpage_twitter_username_and_more'), + ("main", "0005_mainpersonpage_twitter_username_and_more"), ] operations = [ migrations.AddField( - model_name='mainpersonpage', - name='after_name', - field=models.CharField(blank=True, max_length=16, null=True, verbose_name='Tituly za jménem'), + model_name="mainpersonpage", + name="after_name", + field=models.CharField( + blank=True, max_length=16, null=True, verbose_name="Tituly za jménem" + ), ), migrations.AddField( - model_name='mainpersonpage', - name='before_name', - field=models.CharField(blank=True, max_length=16, null=True, verbose_name='Tituly před jménem'), + model_name="mainpersonpage", + name="before_name", + field=models.CharField( + blank=True, max_length=16, null=True, verbose_name="Tituly před jménem" + ), ), migrations.AddField( - model_name='mainpersonpage', - name='email', - field=models.CharField(blank=True, max_length=128, null=True, verbose_name='E-mail'), + model_name="mainpersonpage", + name="email", + field=models.CharField( + blank=True, max_length=128, null=True, verbose_name="E-mail" + ), ), migrations.AddField( - model_name='mainpersonpage', - name='facebook', - field=models.URLField(blank=True, null=True, verbose_name='Odkaz na Facebook'), + model_name="mainpersonpage", + name="facebook", + field=models.URLField( + blank=True, null=True, verbose_name="Odkaz na Facebook" + ), ), migrations.AddField( - model_name='mainpersonpage', - name='instagram', - field=models.URLField(blank=True, null=True, verbose_name='Odkaz na Instagram'), + model_name="mainpersonpage", + name="instagram", + field=models.URLField( + blank=True, null=True, verbose_name="Odkaz na Instagram" + ), ), migrations.AddField( - model_name='mainpersonpage', - name='phone', - field=models.CharField(blank=True, max_length=16, null=True, verbose_name='Telefonní kontakt'), + model_name="mainpersonpage", + name="phone", + field=models.CharField( + blank=True, max_length=16, null=True, verbose_name="Telefonní kontakt" + ), ), migrations.AddField( - model_name='mainpersonpage', - name='position', - field=models.CharField(blank=True, max_length=128, null=True, verbose_name='Pozice/povolání'), + model_name="mainpersonpage", + name="position", + field=models.CharField( + blank=True, max_length=128, null=True, verbose_name="Pozice/povolání" + ), ), migrations.AddField( - model_name='mainpersonpage', - name='twitter', - field=models.URLField(blank=True, null=True, verbose_name='Odkaz na Twitter'), + model_name="mainpersonpage", + name="twitter", + field=models.URLField( + blank=True, null=True, verbose_name="Odkaz na Twitter" + ), ), migrations.AlterField( - model_name='mainpersonpage', - name='twitter_username', - field=models.CharField(blank=True, max_length=32, null=True, verbose_name='Uživatelské jméno twitter pro získání příspěvků'), + model_name="mainpersonpage", + name="twitter_username", + field=models.CharField( + blank=True, + max_length=32, + null=True, + verbose_name="Uživatelské jméno twitter pro získání příspěvků", + ), ), ] diff --git a/main/migrations/0010_alter_mainarticlepage_content.py b/main/migrations/0010_alter_mainarticlepage_content.py index 0e3b901e6eb153a2ab6b21211c9ba9243f9b04d2..e6486c843665be748f0275cc7df4133f5189de34 100644 --- a/main/migrations/0010_alter_mainarticlepage_content.py +++ b/main/migrations/0010_alter_mainarticlepage_content.py @@ -1,22 +1,72 @@ # Generated by Django 4.0.7 on 2022-08-23 20:29 -from django.db import migrations import wagtail.blocks import wagtail.documents.blocks import wagtail.fields import wagtail.images.blocks +from django.db import migrations class Migration(migrations.Migration): dependencies = [ - ('main', '0009_rename_footer_social_links_mainhomepage_social_links'), + ("main", "0009_rename_footer_social_links_mainhomepage_social_links"), ] operations = [ migrations.AlterField( - model_name='mainarticlepage', - name='content', - field=wagtail.fields.StreamField([('text', wagtail.blocks.RichTextBlock()), ('quote', wagtail.blocks.StructBlock([('quote', wagtail.blocks.CharBlock(label='Citace')), ('autor_name', wagtail.blocks.CharBlock(label='Jméno autora'))])), ('download', wagtail.blocks.StructBlock([('file', wagtail.documents.blocks.DocumentChooserBlock(label='Stáhnutelný soubor'))])), ('image', wagtail.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock(label='Obrázek')), ('href', wagtail.blocks.URLBlock(label='Odkaz k textu')), ('text', wagtail.blocks.CharBlock(label='Text'))]))], blank=True, use_json_field=None, verbose_name='Článek'), + model_name="mainarticlepage", + name="content", + field=wagtail.fields.StreamField( + [ + ("text", wagtail.blocks.RichTextBlock()), + ( + "quote", + wagtail.blocks.StructBlock( + [ + ("quote", wagtail.blocks.CharBlock(label="Citace")), + ( + "autor_name", + wagtail.blocks.CharBlock(label="Jméno autora"), + ), + ] + ), + ), + ( + "download", + wagtail.blocks.StructBlock( + [ + ( + "file", + wagtail.documents.blocks.DocumentChooserBlock( + label="Stáhnutelný soubor" + ), + ) + ] + ), + ), + ( + "image", + wagtail.blocks.StructBlock( + [ + ( + "image", + wagtail.images.blocks.ImageChooserBlock( + label="Obrázek" + ), + ), + ( + "href", + wagtail.blocks.URLBlock(label="Odkaz k textu"), + ), + ("text", wagtail.blocks.CharBlock(label="Text")), + ] + ), + ), + ], + blank=True, + use_json_field=None, + verbose_name="Článek", + ), ), ] diff --git a/main/migrations/0018_alter_maincontactpage_contact_boxes.py b/main/migrations/0018_alter_maincontactpage_contact_boxes.py index 9abe6570081bc48a124eb0a6c8d0fee814603b1e..ab6ebf170a0d7615ac3ee55e983988d959965706 100644 --- a/main/migrations/0018_alter_maincontactpage_contact_boxes.py +++ b/main/migrations/0018_alter_maincontactpage_contact_boxes.py @@ -1,20 +1,46 @@ # Generated by Django 4.0.7 on 2022-08-24 19:58 -from django.db import migrations import wagtail.blocks import wagtail.fields +from django.db import migrations class Migration(migrations.Migration): dependencies = [ - ('main', '0017_remove_mainarticlespage_timeline'), + ("main", "0017_remove_mainarticlespage_timeline"), ] operations = [ migrations.AlterField( - model_name='maincontactpage', - name='contact_boxes', - field=wagtail.fields.StreamField([('item', wagtail.blocks.StructBlock([('button_link', wagtail.blocks.URLBlock(label='Odkaz tlačítka')), ('button_text', wagtail.blocks.CharBlock(label='Text tlačítka')), ('title', wagtail.blocks.CharBlock(label='Titulek')), ('subtitle', wagtail.blocks.CharBlock(label='Podtitulek'))]))], blank=True, use_json_field=None, verbose_name='Kontaktní boxy'), + model_name="maincontactpage", + name="contact_boxes", + field=wagtail.fields.StreamField( + [ + ( + "item", + wagtail.blocks.StructBlock( + [ + ( + "button_link", + wagtail.blocks.URLBlock(label="Odkaz tlačítka"), + ), + ( + "button_text", + wagtail.blocks.CharBlock(label="Text tlačítka"), + ), + ("title", wagtail.blocks.CharBlock(label="Titulek")), + ( + "subtitle", + wagtail.blocks.CharBlock(label="Podtitulek"), + ), + ] + ), + ) + ], + blank=True, + use_json_field=None, + verbose_name="Kontaktní boxy", + ), ), ] diff --git a/main/migrations/0019_alter_maincontactpage_text.py b/main/migrations/0019_alter_maincontactpage_text.py index 954778a55f667fac8a961cc9be5a23c840ea408a..aa613ee8ff2e80f40f16dd55e924f356ed2712f0 100644 --- a/main/migrations/0019_alter_maincontactpage_text.py +++ b/main/migrations/0019_alter_maincontactpage_text.py @@ -1,20 +1,45 @@ # Generated by Django 4.0.7 on 2022-08-24 20:25 -from django.db import migrations import wagtail.blocks import wagtail.fields +from django.db import migrations class Migration(migrations.Migration): dependencies = [ - ('main', '0018_alter_maincontactpage_contact_boxes'), + ("main", "0018_alter_maincontactpage_contact_boxes"), ] operations = [ migrations.AlterField( - model_name='maincontactpage', - name='text', - field=wagtail.fields.StreamField([('two_columns_text', wagtail.blocks.StructBlock([('text_column_1', wagtail.blocks.RichTextBlock(label='První sloupec textu')), ('text_column_2', wagtail.blocks.RichTextBlock(label='Druhý sloupec textu'))]))], blank=True, use_json_field=None, verbose_name='Kontaktní informace'), + model_name="maincontactpage", + name="text", + field=wagtail.fields.StreamField( + [ + ( + "two_columns_text", + wagtail.blocks.StructBlock( + [ + ( + "text_column_1", + wagtail.blocks.RichTextBlock( + label="První sloupec textu" + ), + ), + ( + "text_column_2", + wagtail.blocks.RichTextBlock( + label="Druhý sloupec textu" + ), + ), + ] + ), + ) + ], + blank=True, + use_json_field=None, + verbose_name="Kontaktní informace", + ), ), ] diff --git a/main/migrations/0020_alter_mainhomepage_content.py b/main/migrations/0020_alter_mainhomepage_content.py index 5c3ffe1d1b90fb715c32a24ed412c65b28e0174b..2d1156faa0c1b953adad05e2b79554b8b65c6c26 100644 --- a/main/migrations/0020_alter_mainhomepage_content.py +++ b/main/migrations/0020_alter_mainhomepage_content.py @@ -1,21 +1,115 @@ # Generated by Django 4.0.7 on 2022-08-25 04:46 -from django.db import migrations -import main.blocks import wagtail.blocks import wagtail.fields +from django.db import migrations + +import main.blocks class Migration(migrations.Migration): dependencies = [ - ('main', '0019_alter_maincontactpage_text'), + ("main", "0019_alter_maincontactpage_text"), ] operations = [ migrations.AlterField( - model_name='mainhomepage', - name='content', - field=wagtail.fields.StreamField([('carousel', wagtail.blocks.StructBlock([('slides', wagtail.blocks.ListBlock(main.blocks.HomePageCarouseSlideBlock, label='Obrázky s nadpisy - carouselu'))])), ('news', wagtail.blocks.StructBlock([('title', wagtail.blocks.CharBlock(help_text='Nejnovější články se načtou automaticky', label='Titulek'))])), ('people', wagtail.blocks.StructBlock([('title', wagtail.blocks.CharBlock(label='Hlavní titulek')), ('list', wagtail.blocks.ListBlock(main.blocks.BoxBlock, label='Boxíky'))])), ('regions', wagtail.blocks.StructBlock([('title', wagtail.blocks.CharBlock(help_text='Články pro regiony se načtou automaticky', label='Titulek'))])), ('tweets', wagtail.blocks.StructBlock([('title', wagtail.blocks.CharBlock(help_text='Tweety budou načteny pro všchny profily uvedené v nastavení webu automaticky', label='Titulek'))])), ('boxes', wagtail.blocks.StructBlock([('title', wagtail.blocks.CharBlock(label='Nadpis')), ('list', wagtail.blocks.ListBlock(main.blocks.BoxBlock, label='Boxíky'))]))], blank=True, use_json_field=None, verbose_name='Hlavní obsah'), + model_name="mainhomepage", + name="content", + field=wagtail.fields.StreamField( + [ + ( + "carousel", + wagtail.blocks.StructBlock( + [ + ( + "slides", + wagtail.blocks.ListBlock( + main.blocks.HomePageCarouseSlideBlock, + label="Obrázky s nadpisy - carouselu", + ), + ) + ] + ), + ), + ( + "news", + wagtail.blocks.StructBlock( + [ + ( + "title", + wagtail.blocks.CharBlock( + help_text="Nejnovější články se načtou automaticky", + label="Titulek", + ), + ) + ] + ), + ), + ( + "people", + wagtail.blocks.StructBlock( + [ + ( + "title", + wagtail.blocks.CharBlock(label="Hlavní titulek"), + ), + ( + "list", + wagtail.blocks.ListBlock( + main.blocks.BoxBlock, label="Boxíky" + ), + ), + ] + ), + ), + ( + "regions", + wagtail.blocks.StructBlock( + [ + ( + "title", + wagtail.blocks.CharBlock( + help_text="Články pro regiony se načtou automaticky", + label="Titulek", + ), + ) + ] + ), + ), + ( + "tweets", + wagtail.blocks.StructBlock( + [ + ( + "title", + wagtail.blocks.CharBlock( + help_text="Tweety budou načteny pro všchny profily uvedené v nastavení webu automaticky", + label="Titulek", + ), + ) + ] + ), + ), + ( + "boxes", + wagtail.blocks.StructBlock( + [ + ("title", wagtail.blocks.CharBlock(label="Nadpis")), + ( + "list", + wagtail.blocks.ListBlock( + main.blocks.BoxBlock, label="Boxíky" + ), + ), + ] + ), + ), + ], + blank=True, + use_json_field=None, + verbose_name="Hlavní obsah", + ), ), ] diff --git a/main/migrations/0021_alter_maincontactpage_contact_boxes.py b/main/migrations/0021_alter_maincontactpage_contact_boxes.py index 507300a1173e67d0404eac2b819d39d1ae73600a..78e02c2a50a36ceaf75f795dd2897a0737f11239 100644 --- a/main/migrations/0021_alter_maincontactpage_contact_boxes.py +++ b/main/migrations/0021_alter_maincontactpage_contact_boxes.py @@ -1,21 +1,53 @@ # Generated by Django 4.0.7 on 2022-08-25 05:55 -from django.db import migrations import wagtail.blocks import wagtail.fields import wagtail.images.blocks +from django.db import migrations class Migration(migrations.Migration): dependencies = [ - ('main', '0020_alter_mainhomepage_content'), + ("main", "0020_alter_mainhomepage_content"), ] operations = [ migrations.AlterField( - model_name='maincontactpage', - name='contact_boxes', - field=wagtail.fields.StreamField([('item', wagtail.blocks.StructBlock([('button_link', wagtail.blocks.URLBlock(label='Odkaz tlačítka')), ('button_text', wagtail.blocks.CharBlock(label='Text tlačítka')), ('title', wagtail.blocks.CharBlock(label='Titulek')), ('image', wagtail.images.blocks.ImageChooserBlock(label='Ikona')), ('subtitle', wagtail.blocks.CharBlock(label='Podtitulek'))]))], blank=True, use_json_field=None, verbose_name='Kontaktní boxy'), + model_name="maincontactpage", + name="contact_boxes", + field=wagtail.fields.StreamField( + [ + ( + "item", + wagtail.blocks.StructBlock( + [ + ( + "button_link", + wagtail.blocks.URLBlock(label="Odkaz tlačítka"), + ), + ( + "button_text", + wagtail.blocks.CharBlock(label="Text tlačítka"), + ), + ("title", wagtail.blocks.CharBlock(label="Titulek")), + ( + "image", + wagtail.images.blocks.ImageChooserBlock( + label="Ikona" + ), + ), + ( + "subtitle", + wagtail.blocks.CharBlock(label="Podtitulek"), + ), + ] + ), + ) + ], + blank=True, + use_json_field=None, + verbose_name="Kontaktní boxy", + ), ), ] diff --git a/main/migrations/0022_alter_mainarticlepage_region.py b/main/migrations/0022_alter_mainarticlepage_region.py index 592ac0605abfb5c8afde29b46826c2b8be26ab60..24bfb4c2a4f20018fe90f55fbe5d69cfbbc6182b 100644 --- a/main/migrations/0022_alter_mainarticlepage_region.py +++ b/main/migrations/0022_alter_mainarticlepage_region.py @@ -6,13 +6,35 @@ from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ - ('main', '0021_alter_maincontactpage_contact_boxes'), + ("main", "0021_alter_maincontactpage_contact_boxes"), ] operations = [ migrations.AlterField( - model_name='mainarticlepage', - name='region', - field=models.CharField(blank=True, choices=[('PHA', 'Hlavní město Praha'), ('JHC', 'Jihočeský kraj'), ('JHM', 'Jihomoravský kraj'), ('KVK', 'Karlovarský kraj'), ('VYS', 'Kraj Vysočina'), ('KHK', 'Královéhradecký kraj'), ('LBK', 'Liberecký kraj'), ('MSK', 'Moravskoslezský kraj'), ('OLK', 'Olomoucký kraj'), ('PAK', 'Pardubický kraj'), ('PLK', 'Plzeňský kraj'), ('STC', 'Středočeský kraj'), ('ULK', 'Ústecký kraj'), ('ZLK', 'Zlínský kraj')], help_text='Kraj, ke kterému se článek vztahuje', max_length=3, null=True, verbose_name='Kraj'), + model_name="mainarticlepage", + name="region", + field=models.CharField( + blank=True, + choices=[ + ("PHA", "Hlavní město Praha"), + ("JHC", "Jihočeský kraj"), + ("JHM", "Jihomoravský kraj"), + ("KVK", "Karlovarský kraj"), + ("VYS", "Kraj Vysočina"), + ("KHK", "Královéhradecký kraj"), + ("LBK", "Liberecký kraj"), + ("MSK", "Moravskoslezský kraj"), + ("OLK", "Olomoucký kraj"), + ("PAK", "Pardubický kraj"), + ("PLK", "Plzeňský kraj"), + ("STC", "Středočeský kraj"), + ("ULK", "Ústecký kraj"), + ("ZLK", "Zlínský kraj"), + ], + help_text="Kraj, ke kterému se článek vztahuje", + max_length=3, + null=True, + verbose_name="Kraj", + ), ), ] diff --git a/main/migrations/0023_alter_mainprogrampage_program.py b/main/migrations/0023_alter_mainprogrampage_program.py index a8aa7b1cdc4af01093fe4f1fd9071e046c017f6e..1618e894b1207e5c5d5e05c71bb87c80df7ef8a1 100644 --- a/main/migrations/0023_alter_mainprogrampage_program.py +++ b/main/migrations/0023_alter_mainprogrampage_program.py @@ -1,21 +1,77 @@ # Generated by Django 4.0.7 on 2022-08-25 09:18 -from django.db import migrations import wagtail.blocks import wagtail.fields import wagtail.images.blocks +from django.db import migrations class Migration(migrations.Migration): dependencies = [ - ('main', '0022_alter_mainarticlepage_region'), + ("main", "0022_alter_mainarticlepage_region"), ] operations = [ migrations.AlterField( - model_name='mainprogrampage', - name='program', - field=wagtail.fields.StreamField([('program_group', wagtail.blocks.StructBlock([('title', wagtail.blocks.CharBlock(label='Titulek části programu')), ('slug', wagtail.blocks.CharBlock(help_text='Není třeba vyplňovat, bude automaticky vyplněno', label='Slug části programu', required=False)), ('point_list', wagtail.blocks.ListBlock(wagtail.blocks.StructBlock([('icon', wagtail.images.blocks.ImageChooserBlock(label='Ikona')), ('title', wagtail.blocks.CharBlock(label='Titulek článku programu')), ('text', wagtail.blocks.TextBlock(label='Obsah'))]), label='Jednotlivé články programu'))], label='Část programu'))], blank=True, use_json_field=None, verbose_name='Program'), + model_name="mainprogrampage", + name="program", + field=wagtail.fields.StreamField( + [ + ( + "program_group", + wagtail.blocks.StructBlock( + [ + ( + "title", + wagtail.blocks.CharBlock( + label="Titulek části programu" + ), + ), + ( + "slug", + wagtail.blocks.CharBlock( + help_text="Není třeba vyplňovat, bude automaticky vyplněno", + label="Slug části programu", + required=False, + ), + ), + ( + "point_list", + wagtail.blocks.ListBlock( + wagtail.blocks.StructBlock( + [ + ( + "icon", + wagtail.images.blocks.ImageChooserBlock( + label="Ikona" + ), + ), + ( + "title", + wagtail.blocks.CharBlock( + label="Titulek článku programu" + ), + ), + ( + "text", + wagtail.blocks.TextBlock( + label="Obsah" + ), + ), + ] + ), + label="Jednotlivé články programu", + ), + ), + ], + label="Část programu", + ), + ) + ], + blank=True, + use_json_field=None, + verbose_name="Program", + ), ), ] diff --git a/main/migrations/0024_mainhomepage_max_items_alter_mainhomepage_content_and_more.py b/main/migrations/0024_mainhomepage_max_items_alter_mainhomepage_content_and_more.py index 7c08c2e516f299ded327499a55fab8b11bf67fe2..310eb5495efe5616c70310adfe3fdb930b24b1de 100644 --- a/main/migrations/0024_mainhomepage_max_items_alter_mainhomepage_content_and_more.py +++ b/main/migrations/0024_mainhomepage_max_items_alter_mainhomepage_content_and_more.py @@ -1,36 +1,186 @@ # Generated by Django 4.0.7 on 2022-08-26 10:16 -from django.db import migrations, models -import main.blocks import wagtail.blocks import wagtail.fields +from django.db import migrations, models + +import main.blocks class Migration(migrations.Migration): dependencies = [ - ('main', '0023_alter_mainprogrampage_program'), + ("main", "0023_alter_mainprogrampage_program"), ] operations = [ migrations.AddField( - model_name='mainhomepage', - name='max_items', - field=models.IntegerField(default=4, verbose_name='Počet tweetů na stránce'), + model_name="mainhomepage", + name="max_items", + field=models.IntegerField( + default=4, verbose_name="Počet tweetů na stránce" + ), ), migrations.AlterField( - model_name='mainhomepage', - name='content', - field=wagtail.fields.StreamField([('carousel', wagtail.blocks.StructBlock([('slides', wagtail.blocks.ListBlock(main.blocks.HomePageCarouseSlideBlock, label='Obrázky s nadpisy - carouselu'))])), ('news', wagtail.blocks.StructBlock([('title', wagtail.blocks.CharBlock(help_text='Nejnovější články se načtou automaticky', label='Titulek'))])), ('people', wagtail.blocks.StructBlock([('title', wagtail.blocks.CharBlock(label='Hlavní titulek')), ('list', wagtail.blocks.ListBlock(main.blocks.BoxBlock, label='Boxíky'))])), ('regions', wagtail.blocks.StructBlock([('title', wagtail.blocks.CharBlock(help_text='Články pro regiony se načtou automaticky', label='Titulek'))])), ('tweets', wagtail.blocks.StructBlock([('title', wagtail.blocks.CharBlock(help_text='Tweety budou načteny pro všechny profily uvedené v nastavení webu automaticky', label='Titulek'))])), ('boxes', wagtail.blocks.StructBlock([('title', wagtail.blocks.CharBlock(label='Nadpis')), ('list', wagtail.blocks.ListBlock(main.blocks.BoxBlock, label='Boxíky'))]))], blank=True, use_json_field=None, verbose_name='Hlavní obsah'), + model_name="mainhomepage", + name="content", + field=wagtail.fields.StreamField( + [ + ( + "carousel", + wagtail.blocks.StructBlock( + [ + ( + "slides", + wagtail.blocks.ListBlock( + main.blocks.HomePageCarouseSlideBlock, + label="Obrázky s nadpisy - carouselu", + ), + ) + ] + ), + ), + ( + "news", + wagtail.blocks.StructBlock( + [ + ( + "title", + wagtail.blocks.CharBlock( + help_text="Nejnovější články se načtou automaticky", + label="Titulek", + ), + ) + ] + ), + ), + ( + "people", + wagtail.blocks.StructBlock( + [ + ( + "title", + wagtail.blocks.CharBlock(label="Hlavní titulek"), + ), + ( + "list", + wagtail.blocks.ListBlock( + main.blocks.BoxBlock, label="Boxíky" + ), + ), + ] + ), + ), + ( + "regions", + wagtail.blocks.StructBlock( + [ + ( + "title", + wagtail.blocks.CharBlock( + help_text="Články pro regiony se načtou automaticky", + label="Titulek", + ), + ) + ] + ), + ), + ( + "tweets", + wagtail.blocks.StructBlock( + [ + ( + "title", + wagtail.blocks.CharBlock( + help_text="Tweety budou načteny pro všechny profily uvedené v nastavení webu automaticky", + label="Titulek", + ), + ) + ] + ), + ), + ( + "boxes", + wagtail.blocks.StructBlock( + [ + ("title", wagtail.blocks.CharBlock(label="Nadpis")), + ( + "list", + wagtail.blocks.ListBlock( + main.blocks.BoxBlock, label="Boxíky" + ), + ), + ] + ), + ), + ], + blank=True, + use_json_field=None, + verbose_name="Hlavní obsah", + ), ), migrations.AlterField( - model_name='mainhomepage', - name='social_links', - field=wagtail.fields.StreamField([('social_links', wagtail.blocks.StructBlock([('text', wagtail.blocks.CharBlock(label='Titulek odkazu (text, který se zobrazí místo dlouhého odkazu)')), ('link', wagtail.blocks.URLBlock(label='Odkaz')), ('icon', wagtail.blocks.CharBlock(help_text='Seznam ikon - https://styleguide.pirati.cz/latest/?p=viewall-atoms-icons', label='Ikona'))]))], blank=True, use_json_field=None, verbose_name='Odkazy na sociální sítě v zápatí webu'), + model_name="mainhomepage", + name="social_links", + field=wagtail.fields.StreamField( + [ + ( + "social_links", + wagtail.blocks.StructBlock( + [ + ( + "text", + wagtail.blocks.CharBlock( + label="Titulek odkazu (text, který se zobrazí místo dlouhého odkazu)" + ), + ), + ("link", wagtail.blocks.URLBlock(label="Odkaz")), + ( + "icon", + wagtail.blocks.CharBlock( + help_text="Seznam ikon - https://styleguide.pirati.cz/latest/?p=viewall-atoms-icons", + label="Ikona", + ), + ), + ] + ), + ) + ], + blank=True, + use_json_field=None, + verbose_name="Odkazy na sociální sítě v zápatí webu", + ), ), migrations.AlterField( - model_name='mainpersonpage', - name='social_links', - field=wagtail.fields.StreamField([('social_links', wagtail.blocks.StructBlock([('text', wagtail.blocks.CharBlock(label='Titulek odkazu (text, který se zobrazí místo dlouhého odkazu)')), ('link', wagtail.blocks.URLBlock(label='Odkaz')), ('icon', wagtail.blocks.CharBlock(help_text='Seznam ikon - https://styleguide.pirati.cz/latest/?p=viewall-atoms-icons', label='Ikona'))]))], blank=True, use_json_field=None, verbose_name='Odkazy na sociální sítě'), + model_name="mainpersonpage", + name="social_links", + field=wagtail.fields.StreamField( + [ + ( + "social_links", + wagtail.blocks.StructBlock( + [ + ( + "text", + wagtail.blocks.CharBlock( + label="Titulek odkazu (text, který se zobrazí místo dlouhého odkazu)" + ), + ), + ("link", wagtail.blocks.URLBlock(label="Odkaz")), + ( + "icon", + wagtail.blocks.CharBlock( + help_text="Seznam ikon - https://styleguide.pirati.cz/latest/?p=viewall-atoms-icons", + label="Ikona", + ), + ), + ] + ), + ) + ], + blank=True, + use_json_field=None, + verbose_name="Odkazy na sociální sítě", + ), ), ] diff --git a/main/migrations/0025_alter_mainhomepage_social_links_and_more.py b/main/migrations/0025_alter_mainhomepage_social_links_and_more.py index deaf8d37ad8595cfcfdb8f730b056a2cfee4f372..3ea4b65efb1e19c643cc51828845cbeab133f46c 100644 --- a/main/migrations/0025_alter_mainhomepage_social_links_and_more.py +++ b/main/migrations/0025_alter_mainhomepage_social_links_and_more.py @@ -1,35 +1,97 @@ # Generated by Django 4.0.7 on 2022-08-26 13:17 -from django.db import migrations, models import wagtail.blocks import wagtail.fields +from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ - ('main', '0024_mainhomepage_max_items_alter_mainhomepage_content_and_more'), + ("main", "0024_mainhomepage_max_items_alter_mainhomepage_content_and_more"), ] operations = [ migrations.AlterField( - model_name='mainhomepage', - name='social_links', - field=wagtail.fields.StreamField([('social_links', wagtail.blocks.StructBlock([('text', wagtail.blocks.CharBlock(label='Titulek odkazu (text, který se zobrazí místo dlouhého odkazu)')), ('link', wagtail.blocks.URLBlock(label='Odkaz')), ('icon', wagtail.blocks.CharBlock(help_text='Seznam ikon - https://styleguide.pirati.cz/latest/?p=viewall-atoms-icons <br/>Název ikony zadejte bez tečky na začátku', label='Ikona'))]))], blank=True, use_json_field=None, verbose_name='Odkazy na sociální sítě v zápatí webu'), + model_name="mainhomepage", + name="social_links", + field=wagtail.fields.StreamField( + [ + ( + "social_links", + wagtail.blocks.StructBlock( + [ + ( + "text", + wagtail.blocks.CharBlock( + label="Titulek odkazu (text, který se zobrazí místo dlouhého odkazu)" + ), + ), + ("link", wagtail.blocks.URLBlock(label="Odkaz")), + ( + "icon", + wagtail.blocks.CharBlock( + help_text="Seznam ikon - https://styleguide.pirati.cz/latest/?p=viewall-atoms-icons <br/>Název ikony zadejte bez tečky na začátku", + label="Ikona", + ), + ), + ] + ), + ) + ], + blank=True, + use_json_field=None, + verbose_name="Odkazy na sociální sítě v zápatí webu", + ), ), migrations.AlterField( - model_name='mainpersonpage', - name='before_name', - field=models.CharField(blank=True, max_length=32, null=True, verbose_name='Tituly před jménem'), + model_name="mainpersonpage", + name="before_name", + field=models.CharField( + blank=True, max_length=32, null=True, verbose_name="Tituly před jménem" + ), ), migrations.AlterField( - model_name='mainpersonpage', - name='social_links', - field=wagtail.fields.StreamField([('social_links', wagtail.blocks.StructBlock([('text', wagtail.blocks.CharBlock(label='Titulek odkazu (text, který se zobrazí místo dlouhého odkazu)')), ('link', wagtail.blocks.URLBlock(label='Odkaz')), ('icon', wagtail.blocks.CharBlock(help_text='Seznam ikon - https://styleguide.pirati.cz/latest/?p=viewall-atoms-icons <br/>Název ikony zadejte bez tečky na začátku', label='Ikona'))]))], blank=True, use_json_field=None, verbose_name='Odkazy na sociální sítě'), + model_name="mainpersonpage", + name="social_links", + field=wagtail.fields.StreamField( + [ + ( + "social_links", + wagtail.blocks.StructBlock( + [ + ( + "text", + wagtail.blocks.CharBlock( + label="Titulek odkazu (text, který se zobrazí místo dlouhého odkazu)" + ), + ), + ("link", wagtail.blocks.URLBlock(label="Odkaz")), + ( + "icon", + wagtail.blocks.CharBlock( + help_text="Seznam ikon - https://styleguide.pirati.cz/latest/?p=viewall-atoms-icons <br/>Název ikony zadejte bez tečky na začátku", + label="Ikona", + ), + ), + ] + ), + ) + ], + blank=True, + use_json_field=None, + verbose_name="Odkazy na sociální sítě", + ), ), migrations.AlterField( - model_name='mainpersonpage', - name='twitter_username', - field=models.CharField(blank=True, help_text='Uživatelské jméno zadejte bez @ na začátku', max_length=32, null=True, verbose_name='Uživatelské jméno twitter pro získání příspěvků'), + model_name="mainpersonpage", + name="twitter_username", + field=models.CharField( + blank=True, + help_text="Uživatelské jméno zadejte bez @ na začátku", + max_length=32, + null=True, + verbose_name="Uživatelské jméno twitter pro získání příspěvků", + ), ), ] diff --git a/main/migrations/0031_alter_mainprogrampage_perex.py b/main/migrations/0031_alter_mainprogrampage_perex.py index 87364e7b6b298fadf67209a3721fcfa0f36a653d..407b69b83a9a4aee6274efed5eccb7413641d137 100644 --- a/main/migrations/0031_alter_mainprogrampage_perex.py +++ b/main/migrations/0031_alter_mainprogrampage_perex.py @@ -1,19 +1,19 @@ # Generated by Django 4.0.7 on 2022-09-06 11:42 -from django.db import migrations import wagtail.fields +from django.db import migrations class Migration(migrations.Migration): dependencies = [ - ('main', '0030_mainarticlepage_is_black'), + ("main", "0030_mainarticlepage_is_black"), ] operations = [ migrations.AlterField( - model_name='mainprogrampage', - name='perex', + model_name="mainprogrampage", + name="perex", field=wagtail.fields.RichTextField(), ), ] diff --git a/main/migrations/0032_alter_mainprogrampage_program.py b/main/migrations/0032_alter_mainprogrampage_program.py index 9748a819d64b1ebe364afdd788d97e564420c7ba..72857cf850302b89fa8c4fff28978031127ae6c6 100644 --- a/main/migrations/0032_alter_mainprogrampage_program.py +++ b/main/migrations/0032_alter_mainprogrampage_program.py @@ -1,21 +1,77 @@ # Generated by Django 4.0.7 on 2022-12-05 11:57 -from django.db import migrations import wagtail.blocks import wagtail.fields import wagtail.images.blocks +from django.db import migrations class Migration(migrations.Migration): dependencies = [ - ('main', '0031_alter_mainprogrampage_perex'), + ("main", "0031_alter_mainprogrampage_perex"), ] operations = [ migrations.AlterField( - model_name='mainprogrampage', - name='program', - field=wagtail.fields.StreamField([('program_group', wagtail.blocks.StructBlock([('title', wagtail.blocks.CharBlock(label='Titulek části programu')), ('slug', wagtail.blocks.CharBlock(help_text='Není třeba vyplňovat, bude automaticky vyplněno', label='Slug části programu', required=False)), ('point_list', wagtail.blocks.ListBlock(wagtail.blocks.StructBlock([('icon', wagtail.images.blocks.ImageChooserBlock(label='Ikona')), ('title', wagtail.blocks.CharBlock(label='Titulek článku programu')), ('text', wagtail.blocks.RichTextBlock(label='Obsah'))]), label='Jednotlivé články programu'))], label='Část programu'))], blank=True, use_json_field=None, verbose_name='Program'), + model_name="mainprogrampage", + name="program", + field=wagtail.fields.StreamField( + [ + ( + "program_group", + wagtail.blocks.StructBlock( + [ + ( + "title", + wagtail.blocks.CharBlock( + label="Titulek části programu" + ), + ), + ( + "slug", + wagtail.blocks.CharBlock( + help_text="Není třeba vyplňovat, bude automaticky vyplněno", + label="Slug části programu", + required=False, + ), + ), + ( + "point_list", + wagtail.blocks.ListBlock( + wagtail.blocks.StructBlock( + [ + ( + "icon", + wagtail.images.blocks.ImageChooserBlock( + label="Ikona" + ), + ), + ( + "title", + wagtail.blocks.CharBlock( + label="Titulek článku programu" + ), + ), + ( + "text", + wagtail.blocks.RichTextBlock( + label="Obsah" + ), + ), + ] + ), + label="Jednotlivé články programu", + ), + ), + ], + label="Část programu", + ), + ) + ], + blank=True, + use_json_field=None, + verbose_name="Program", + ), ), ] diff --git a/main/migrations/0033_alter_mainpersonpage_position.py b/main/migrations/0033_alter_mainpersonpage_position.py index 9d5f8f84eb32f849a601d206d8e10a98bee250ca..31080aa9a1749f8d69c87e4e07a5669009d8bb8f 100644 --- a/main/migrations/0033_alter_mainpersonpage_position.py +++ b/main/migrations/0033_alter_mainpersonpage_position.py @@ -6,13 +6,15 @@ from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ - ('main', '0032_alter_mainprogrampage_program'), + ("main", "0032_alter_mainprogrampage_program"), ] operations = [ migrations.AlterField( - model_name='mainpersonpage', - name='position', - field=models.CharField(blank=True, max_length=200, null=True, verbose_name='Pozice/povolání'), + model_name="mainpersonpage", + name="position", + field=models.CharField( + blank=True, max_length=200, null=True, verbose_name="Pozice/povolání" + ), ), ] diff --git a/main/migrations/0034_alter_mainpeoplepage_perex.py b/main/migrations/0034_alter_mainpeoplepage_perex.py index 711e4e98970655211e29b67ecc4bdd1de1283364..85598bc0ce60db55f39cfc40b0e880154b3faa4a 100644 --- a/main/migrations/0034_alter_mainpeoplepage_perex.py +++ b/main/migrations/0034_alter_mainpeoplepage_perex.py @@ -1,19 +1,19 @@ # Generated by Django 4.0.7 on 2022-12-07 09:59 -from django.db import migrations import wagtail.fields +from django.db import migrations class Migration(migrations.Migration): dependencies = [ - ('main', '0033_alter_mainpersonpage_position'), + ("main", "0033_alter_mainpersonpage_position"), ] operations = [ migrations.AlterField( - model_name='mainpeoplepage', - name='perex', + model_name="mainpeoplepage", + name="perex", field=wagtail.fields.RichTextField(), ), ] diff --git a/main/migrations/0035_rename_contact_newcomers_mainhomepage_contact_newcomers_link_and_more.py b/main/migrations/0035_rename_contact_newcomers_mainhomepage_contact_newcomers_link_and_more.py index b9af282ca3d65e8455f7ad136f35efa5475712d0..96c526306dd8e64e39aaed8c490b733f456c555f 100644 --- a/main/migrations/0035_rename_contact_newcomers_mainhomepage_contact_newcomers_link_and_more.py +++ b/main/migrations/0035_rename_contact_newcomers_mainhomepage_contact_newcomers_link_and_more.py @@ -6,28 +6,38 @@ from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ - ('main', '0034_alter_mainpeoplepage_perex'), + ("main", "0034_alter_mainpeoplepage_perex"), ] operations = [ migrations.RenameField( - model_name='mainhomepage', - old_name='contact_newcomers', - new_name='contact_newcomers_link', + model_name="mainhomepage", + old_name="contact_newcomers", + new_name="contact_newcomers_link", ), migrations.RenameField( - model_name='mainhomepage', - old_name='donation_page', - new_name='donation_page_link', + model_name="mainhomepage", + old_name="donation_page", + new_name="donation_page_link", ), migrations.AddField( - model_name='mainhomepage', - name='contact_newcomers_text', - field=models.TextField(blank=True, default='Nalodit se', null=True, verbose_name='Text na tlačítku pro zájemce o členství'), + model_name="mainhomepage", + name="contact_newcomers_text", + field=models.TextField( + blank=True, + default="Nalodit se", + null=True, + verbose_name="Text na tlačítku pro zájemce o členství", + ), ), migrations.AddField( - model_name='mainhomepage', - name='donation_page_text', - field=models.TextField(blank=True, default='Darovat', null=True, verbose_name='Text na tlačítku pro příjem darů'), + model_name="mainhomepage", + name="donation_page_text", + field=models.TextField( + blank=True, + default="Darovat", + null=True, + verbose_name="Text na tlačítku pro příjem darů", + ), ), ] diff --git a/main/migrations/0036_maincrossroadpage.py b/main/migrations/0036_maincrossroadpage.py index f575ce3c1e02f1c8dd1268a05987ce3c35217561..3c852a743e1e2c4fff8a732fc9b25a8536031a3e 100644 --- a/main/migrations/0036_maincrossroadpage.py +++ b/main/migrations/0036_maincrossroadpage.py @@ -1,34 +1,195 @@ # Generated by Django 4.0.7 on 2022-12-18 18:48 -from django.db import migrations, models import django.db.models.deletion -import shared.models import wagtail.blocks import wagtail.fields import wagtail.images.blocks import wagtailmetadata.models +from django.db import migrations, models + +import shared.models class Migration(migrations.Migration): dependencies = [ - ('wagtailcore', '0069_log_entry_jsonfield'), - ('wagtailimages', '0024_index_image_file_hash'), - ('main', '0035_rename_contact_newcomers_mainhomepage_contact_newcomers_link_and_more'), + ("wagtailcore", "0069_log_entry_jsonfield"), + ("wagtailimages", "0024_index_image_file_hash"), + ( + "main", + "0035_rename_contact_newcomers_mainhomepage_contact_newcomers_link_and_more", + ), ] operations = [ migrations.CreateModel( - name='MainCrossroadPage', + name="MainCrossroadPage", fields=[ - ('page_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='wagtailcore.page')), - ('headlined_cards_content', wagtail.fields.StreamField([('headlined_cards', wagtail.blocks.StructBlock([('headline', wagtail.blocks.CharBlock(label='Titulek bloku', required=False)), ('card_items', wagtail.blocks.ListBlock(wagtail.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock(label='Obrázek')), ('title', wagtail.blocks.CharBlock(label='Titulek', required=True)), ('text', wagtail.blocks.RichTextBlock(label='Krátký text pod nadpisem', required=False)), ('page', wagtail.blocks.PageChooserBlock(label='Stránka', page_type=['main.MainArticlesPage', 'main.MainProgramPage', 'main.MainPeoplePage', 'main.MainPersonPage', 'main.MainSimplePage', 'main.MainContactPage', 'main.MainCrossroadPage'], required=False)), ('link', wagtail.blocks.URLBlock(label='Odkaz', required=False))]), label='Karty odkazu'))]))], blank=True, use_json_field=None, verbose_name='Karty rozcestníku s nadpisem')), - ('cards_content', wagtail.fields.StreamField([('cards', wagtail.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock(label='Obrázek')), ('title', wagtail.blocks.CharBlock(label='Titulek', required=True)), ('text', wagtail.blocks.RichTextBlock(label='Krátký text pod nadpisem', required=False)), ('page', wagtail.blocks.PageChooserBlock(label='Stránka', page_type=['main.MainArticlesPage', 'main.MainProgramPage', 'main.MainPeoplePage', 'main.MainPersonPage', 'main.MainSimplePage', 'main.MainContactPage', 'main.MainCrossroadPage'], required=False)), ('link', wagtail.blocks.URLBlock(label='Odkaz', required=False))]))], blank=True, use_json_field=None, verbose_name='Karty rozcestníku')), - ('search_image', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='wagtailimages.image', verbose_name='Search image')), + ( + "page_ptr", + models.OneToOneField( + auto_created=True, + on_delete=django.db.models.deletion.CASCADE, + parent_link=True, + primary_key=True, + serialize=False, + to="wagtailcore.page", + ), + ), + ( + "headlined_cards_content", + wagtail.fields.StreamField( + [ + ( + "headlined_cards", + wagtail.blocks.StructBlock( + [ + ( + "headline", + wagtail.blocks.CharBlock( + label="Titulek bloku", required=False + ), + ), + ( + "card_items", + wagtail.blocks.ListBlock( + wagtail.blocks.StructBlock( + [ + ( + "image", + wagtail.images.blocks.ImageChooserBlock( + label="Obrázek" + ), + ), + ( + "title", + wagtail.blocks.CharBlock( + label="Titulek", + required=True, + ), + ), + ( + "text", + wagtail.blocks.RichTextBlock( + label="Krátký text pod nadpisem", + required=False, + ), + ), + ( + "page", + wagtail.blocks.PageChooserBlock( + label="Stránka", + page_type=[ + "main.MainArticlesPage", + "main.MainProgramPage", + "main.MainPeoplePage", + "main.MainPersonPage", + "main.MainSimplePage", + "main.MainContactPage", + "main.MainCrossroadPage", + ], + required=False, + ), + ), + ( + "link", + wagtail.blocks.URLBlock( + label="Odkaz", + required=False, + ), + ), + ] + ), + label="Karty odkazu", + ), + ), + ] + ), + ) + ], + blank=True, + use_json_field=None, + verbose_name="Karty rozcestníku s nadpisem", + ), + ), + ( + "cards_content", + wagtail.fields.StreamField( + [ + ( + "cards", + wagtail.blocks.StructBlock( + [ + ( + "image", + wagtail.images.blocks.ImageChooserBlock( + label="Obrázek" + ), + ), + ( + "title", + wagtail.blocks.CharBlock( + label="Titulek", required=True + ), + ), + ( + "text", + wagtail.blocks.RichTextBlock( + label="Krátký text pod nadpisem", + required=False, + ), + ), + ( + "page", + wagtail.blocks.PageChooserBlock( + label="Stránka", + page_type=[ + "main.MainArticlesPage", + "main.MainProgramPage", + "main.MainPeoplePage", + "main.MainPersonPage", + "main.MainSimplePage", + "main.MainContactPage", + "main.MainCrossroadPage", + ], + required=False, + ), + ), + ( + "link", + wagtail.blocks.URLBlock( + label="Odkaz", required=False + ), + ), + ] + ), + ) + ], + blank=True, + use_json_field=None, + verbose_name="Karty rozcestníku", + ), + ), + ( + "search_image", + models.ForeignKey( + blank=True, + null=True, + on_delete=django.db.models.deletion.SET_NULL, + related_name="+", + to="wagtailimages.image", + verbose_name="Search image", + ), + ), ], options={ - 'verbose_name': 'Rozcestník s kartami', + "verbose_name": "Rozcestník s kartami", }, - bases=(shared.models.SubpageMixin, wagtailmetadata.models.WagtailImageMetadataMixin, 'wagtailcore.page', models.Model), + bases=( + shared.models.SubpageMixin, + wagtailmetadata.models.WagtailImageMetadataMixin, + "wagtailcore.page", + models.Model, + ), ), ] diff --git a/main/migrations/0037_alter_mainprogrampage_program.py b/main/migrations/0037_alter_mainprogrampage_program.py index c1e2ca2f6b402fb3b2165700223302eaf225c237..1ce6edae61f275e309124d0ed64238dc3694ff44 100644 --- a/main/migrations/0037_alter_mainprogrampage_program.py +++ b/main/migrations/0037_alter_mainprogrampage_program.py @@ -1,21 +1,83 @@ # Generated by Django 4.0.7 on 2022-12-19 21:29 -from django.db import migrations import wagtail.blocks import wagtail.fields import wagtail.images.blocks +from django.db import migrations class Migration(migrations.Migration): dependencies = [ - ('main', '0036_maincrossroadpage'), + ("main", "0036_maincrossroadpage"), ] operations = [ migrations.AlterField( - model_name='mainprogrampage', - name='program', - field=wagtail.fields.StreamField([('program_group', wagtail.blocks.StructBlock([('title', wagtail.blocks.CharBlock(label='Titulek části programu')), ('slug', wagtail.blocks.CharBlock(help_text='Není třeba vyplňovat, bude automaticky vyplněno', label='Slug části programu', required=False)), ('point_list', wagtail.blocks.ListBlock(wagtail.blocks.StructBlock([('url', wagtail.blocks.URLBlock(label='Odkaz pokrývající celou tuto část')), ('icon', wagtail.images.blocks.ImageChooserBlock(label='Ikona')), ('title', wagtail.blocks.CharBlock(label='Titulek článku programu')), ('text', wagtail.blocks.RichTextBlock(label='Obsah'))]), label='Jednotlivé články programu'))], label='Část programu'))], blank=True, use_json_field=None, verbose_name='Program'), + model_name="mainprogrampage", + name="program", + field=wagtail.fields.StreamField( + [ + ( + "program_group", + wagtail.blocks.StructBlock( + [ + ( + "title", + wagtail.blocks.CharBlock( + label="Titulek části programu" + ), + ), + ( + "slug", + wagtail.blocks.CharBlock( + help_text="Není třeba vyplňovat, bude automaticky vyplněno", + label="Slug části programu", + required=False, + ), + ), + ( + "point_list", + wagtail.blocks.ListBlock( + wagtail.blocks.StructBlock( + [ + ( + "url", + wagtail.blocks.URLBlock( + label="Odkaz pokrývající celou tuto část" + ), + ), + ( + "icon", + wagtail.images.blocks.ImageChooserBlock( + label="Ikona" + ), + ), + ( + "title", + wagtail.blocks.CharBlock( + label="Titulek článku programu" + ), + ), + ( + "text", + wagtail.blocks.RichTextBlock( + label="Obsah" + ), + ), + ] + ), + label="Jednotlivé články programu", + ), + ), + ], + label="Část programu", + ), + ) + ], + blank=True, + use_json_field=None, + verbose_name="Program", + ), ), ] diff --git a/main/migrations/0038_alter_maincrossroadpage_cards_content_and_more.py b/main/migrations/0038_alter_maincrossroadpage_cards_content_and_more.py index 7446b2d1213ffea630066fa580e4e8b4ee51772f..cf2ac45e9e04a939cd2d2ffd1bcd54ad138f410e 100644 --- a/main/migrations/0038_alter_maincrossroadpage_cards_content_and_more.py +++ b/main/migrations/0038_alter_maincrossroadpage_cards_content_and_more.py @@ -1,31 +1,219 @@ # Generated by Django 4.0.7 on 2022-12-29 16:36 -from django.db import migrations import wagtail.blocks import wagtail.fields import wagtail.images.blocks +from django.db import migrations class Migration(migrations.Migration): dependencies = [ - ('main', '0037_alter_mainprogrampage_program'), + ("main", "0037_alter_mainprogrampage_program"), ] operations = [ migrations.AlterField( - model_name='maincrossroadpage', - name='cards_content', - field=wagtail.fields.StreamField([('cards', wagtail.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock(label='Obrázek')), ('title', wagtail.blocks.CharBlock(label='Titulek', required=True)), ('text', wagtail.blocks.RichTextBlock(label='Krátký text pod nadpisem', required=False)), ('page', wagtail.blocks.PageChooserBlock(label='Stránka', page_type=['main.MainArticlesPage', 'main.MainArticlePage', 'main.MainProgramPage', 'main.MainPeoplePage', 'main.MainPersonPage', 'main.MainSimplePage', 'main.MainContactPage', 'main.MainCrossroadPage'], required=False)), ('link', wagtail.blocks.URLBlock(label='Odkaz', required=False))]))], blank=True, use_json_field=None, verbose_name='Karty rozcestníku'), + model_name="maincrossroadpage", + name="cards_content", + field=wagtail.fields.StreamField( + [ + ( + "cards", + wagtail.blocks.StructBlock( + [ + ( + "image", + wagtail.images.blocks.ImageChooserBlock( + label="Obrázek" + ), + ), + ( + "title", + wagtail.blocks.CharBlock( + label="Titulek", required=True + ), + ), + ( + "text", + wagtail.blocks.RichTextBlock( + label="Krátký text pod nadpisem", required=False + ), + ), + ( + "page", + wagtail.blocks.PageChooserBlock( + label="Stránka", + page_type=[ + "main.MainArticlesPage", + "main.MainArticlePage", + "main.MainProgramPage", + "main.MainPeoplePage", + "main.MainPersonPage", + "main.MainSimplePage", + "main.MainContactPage", + "main.MainCrossroadPage", + ], + required=False, + ), + ), + ( + "link", + wagtail.blocks.URLBlock( + label="Odkaz", required=False + ), + ), + ] + ), + ) + ], + blank=True, + use_json_field=None, + verbose_name="Karty rozcestníku", + ), ), migrations.AlterField( - model_name='maincrossroadpage', - name='headlined_cards_content', - field=wagtail.fields.StreamField([('headlined_cards', wagtail.blocks.StructBlock([('headline', wagtail.blocks.CharBlock(label='Titulek bloku', required=False)), ('card_items', wagtail.blocks.ListBlock(wagtail.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock(label='Obrázek')), ('title', wagtail.blocks.CharBlock(label='Titulek', required=True)), ('text', wagtail.blocks.RichTextBlock(label='Krátký text pod nadpisem', required=False)), ('page', wagtail.blocks.PageChooserBlock(label='Stránka', page_type=['main.MainArticlesPage', 'main.MainArticlePage', 'main.MainProgramPage', 'main.MainPeoplePage', 'main.MainPersonPage', 'main.MainSimplePage', 'main.MainContactPage', 'main.MainCrossroadPage'], required=False)), ('link', wagtail.blocks.URLBlock(label='Odkaz', required=False))]), label='Karty odkazu'))]))], blank=True, use_json_field=None, verbose_name='Karty rozcestníku s nadpisem'), + model_name="maincrossroadpage", + name="headlined_cards_content", + field=wagtail.fields.StreamField( + [ + ( + "headlined_cards", + wagtail.blocks.StructBlock( + [ + ( + "headline", + wagtail.blocks.CharBlock( + label="Titulek bloku", required=False + ), + ), + ( + "card_items", + wagtail.blocks.ListBlock( + wagtail.blocks.StructBlock( + [ + ( + "image", + wagtail.images.blocks.ImageChooserBlock( + label="Obrázek" + ), + ), + ( + "title", + wagtail.blocks.CharBlock( + label="Titulek", required=True + ), + ), + ( + "text", + wagtail.blocks.RichTextBlock( + label="Krátký text pod nadpisem", + required=False, + ), + ), + ( + "page", + wagtail.blocks.PageChooserBlock( + label="Stránka", + page_type=[ + "main.MainArticlesPage", + "main.MainArticlePage", + "main.MainProgramPage", + "main.MainPeoplePage", + "main.MainPersonPage", + "main.MainSimplePage", + "main.MainContactPage", + "main.MainCrossroadPage", + ], + required=False, + ), + ), + ( + "link", + wagtail.blocks.URLBlock( + label="Odkaz", required=False + ), + ), + ] + ), + label="Karty odkazu", + ), + ), + ] + ), + ) + ], + blank=True, + use_json_field=None, + verbose_name="Karty rozcestníku s nadpisem", + ), ), migrations.AlterField( - model_name='mainprogrampage', - name='program', - field=wagtail.fields.StreamField([('program_group', wagtail.blocks.StructBlock([('title', wagtail.blocks.CharBlock(label='Titulek části programu')), ('slug', wagtail.blocks.CharBlock(help_text='Není třeba vyplňovat, bude automaticky vyplněno', label='Slug části programu', required=False)), ('point_list', wagtail.blocks.ListBlock(wagtail.blocks.StructBlock([('url', wagtail.blocks.URLBlock(label='Odkaz pokrývající celou tuto část', required=False)), ('icon', wagtail.images.blocks.ImageChooserBlock(label='Ikona')), ('title', wagtail.blocks.CharBlock(label='Titulek článku programu')), ('text', wagtail.blocks.RichTextBlock(label='Obsah'))]), label='Jednotlivé články programu'))], label='Část programu'))], blank=True, use_json_field=None, verbose_name='Program'), + model_name="mainprogrampage", + name="program", + field=wagtail.fields.StreamField( + [ + ( + "program_group", + wagtail.blocks.StructBlock( + [ + ( + "title", + wagtail.blocks.CharBlock( + label="Titulek části programu" + ), + ), + ( + "slug", + wagtail.blocks.CharBlock( + help_text="Není třeba vyplňovat, bude automaticky vyplněno", + label="Slug části programu", + required=False, + ), + ), + ( + "point_list", + wagtail.blocks.ListBlock( + wagtail.blocks.StructBlock( + [ + ( + "url", + wagtail.blocks.URLBlock( + label="Odkaz pokrývající celou tuto část", + required=False, + ), + ), + ( + "icon", + wagtail.images.blocks.ImageChooserBlock( + label="Ikona" + ), + ), + ( + "title", + wagtail.blocks.CharBlock( + label="Titulek článku programu" + ), + ), + ( + "text", + wagtail.blocks.RichTextBlock( + label="Obsah" + ), + ), + ] + ), + label="Jednotlivé články programu", + ), + ), + ], + label="Část programu", + ), + ) + ], + blank=True, + use_json_field=None, + verbose_name="Program", + ), ), ] diff --git a/main/migrations/0039_alter_mainprogrampage_program.py b/main/migrations/0039_alter_mainprogrampage_program.py index 150a5cad948de6ed22a39323486d59402dde9e2d..e558d63ed6dc723d2b9d9b587fe6832fca93d289 100644 --- a/main/migrations/0039_alter_mainprogrampage_program.py +++ b/main/migrations/0039_alter_mainprogrampage_program.py @@ -1,21 +1,84 @@ # Generated by Django 4.0.7 on 2022-12-30 13:16 -from django.db import migrations import wagtail.blocks import wagtail.fields import wagtail.images.blocks +from django.db import migrations class Migration(migrations.Migration): dependencies = [ - ('main', '0038_alter_maincrossroadpage_cards_content_and_more'), + ("main", "0038_alter_maincrossroadpage_cards_content_and_more"), ] operations = [ migrations.AlterField( - model_name='mainprogrampage', - name='program', - field=wagtail.fields.StreamField([('program_group', wagtail.blocks.StructBlock([('title', wagtail.blocks.CharBlock(label='Titulek části programu')), ('slug', wagtail.blocks.CharBlock(help_text='Není třeba vyplňovat, bude automaticky vyplněno', label='Slug části programu', required=False)), ('point_list', wagtail.blocks.ListBlock(wagtail.blocks.StructBlock([('url', wagtail.blocks.URLBlock(label='Odkaz pokrývající celou tuto část', required=False)), ('icon', wagtail.images.blocks.ImageChooserBlock(label='Ikona', required=False)), ('title', wagtail.blocks.CharBlock(label='Titulek článku programu')), ('text', wagtail.blocks.RichTextBlock(label='Obsah'))]), label='Jednotlivé články programu'))], label='Část programu'))], blank=True, use_json_field=None, verbose_name='Program'), + model_name="mainprogrampage", + name="program", + field=wagtail.fields.StreamField( + [ + ( + "program_group", + wagtail.blocks.StructBlock( + [ + ( + "title", + wagtail.blocks.CharBlock( + label="Titulek části programu" + ), + ), + ( + "slug", + wagtail.blocks.CharBlock( + help_text="Není třeba vyplňovat, bude automaticky vyplněno", + label="Slug části programu", + required=False, + ), + ), + ( + "point_list", + wagtail.blocks.ListBlock( + wagtail.blocks.StructBlock( + [ + ( + "url", + wagtail.blocks.URLBlock( + label="Odkaz pokrývající celou tuto část", + required=False, + ), + ), + ( + "icon", + wagtail.images.blocks.ImageChooserBlock( + label="Ikona", required=False + ), + ), + ( + "title", + wagtail.blocks.CharBlock( + label="Titulek článku programu" + ), + ), + ( + "text", + wagtail.blocks.RichTextBlock( + label="Obsah" + ), + ), + ] + ), + label="Jednotlivé články programu", + ), + ), + ], + label="Část programu", + ), + ) + ], + blank=True, + use_json_field=None, + verbose_name="Program", + ), ), ] diff --git a/main/migrations/0040_alter_mainprogrampage_program.py b/main/migrations/0040_alter_mainprogrampage_program.py index 9c60fe0cce25a9e3afa9625f7ef9da8160f928e8..e50d76c960978b2fad04c1d0408ca637eea524f6 100644 --- a/main/migrations/0040_alter_mainprogrampage_program.py +++ b/main/migrations/0040_alter_mainprogrampage_program.py @@ -1,21 +1,90 @@ # Generated by Django 4.0.7 on 2022-12-30 13:26 -from django.db import migrations import wagtail.blocks import wagtail.fields import wagtail.images.blocks +from django.db import migrations class Migration(migrations.Migration): dependencies = [ - ('main', '0039_alter_mainprogrampage_program'), + ("main", "0039_alter_mainprogrampage_program"), ] operations = [ migrations.AlterField( - model_name='mainprogrampage', - name='program', - field=wagtail.fields.StreamField([('program_group', wagtail.blocks.StructBlock([('title', wagtail.blocks.CharBlock(label='Titulek části programu')), ('slug', wagtail.blocks.CharBlock(help_text='Není třeba vyplňovat, bude automaticky vyplněno', label='Slug části programu', required=False)), ('perex', wagtail.blocks.RichTextBlock(label='Perex', required=False)), ('point_list', wagtail.blocks.ListBlock(wagtail.blocks.StructBlock([('url', wagtail.blocks.URLBlock(label='Odkaz pokrývající celou tuto část', required=False)), ('icon', wagtail.images.blocks.ImageChooserBlock(label='Ikona', required=False)), ('title', wagtail.blocks.CharBlock(label='Titulek článku programu')), ('text', wagtail.blocks.RichTextBlock(label='Obsah'))]), label='Jednotlivé články programu'))], label='Část programu'))], blank=True, use_json_field=None, verbose_name='Program'), + model_name="mainprogrampage", + name="program", + field=wagtail.fields.StreamField( + [ + ( + "program_group", + wagtail.blocks.StructBlock( + [ + ( + "title", + wagtail.blocks.CharBlock( + label="Titulek části programu" + ), + ), + ( + "slug", + wagtail.blocks.CharBlock( + help_text="Není třeba vyplňovat, bude automaticky vyplněno", + label="Slug části programu", + required=False, + ), + ), + ( + "perex", + wagtail.blocks.RichTextBlock( + label="Perex", required=False + ), + ), + ( + "point_list", + wagtail.blocks.ListBlock( + wagtail.blocks.StructBlock( + [ + ( + "url", + wagtail.blocks.URLBlock( + label="Odkaz pokrývající celou tuto část", + required=False, + ), + ), + ( + "icon", + wagtail.images.blocks.ImageChooserBlock( + label="Ikona", required=False + ), + ), + ( + "title", + wagtail.blocks.CharBlock( + label="Titulek článku programu" + ), + ), + ( + "text", + wagtail.blocks.RichTextBlock( + label="Obsah" + ), + ), + ] + ), + label="Jednotlivé články programu", + ), + ), + ], + label="Část programu", + ), + ) + ], + blank=True, + use_json_field=None, + verbose_name="Program", + ), ), ] diff --git a/main/migrations/0041_alter_mainprogrampage_program.py b/main/migrations/0041_alter_mainprogrampage_program.py index 0416d2190ff7336b1c1d8c84af4aa1c4b6adc3a2..beeb7e510169c4516f942cba73405a35f3845ed8 100644 --- a/main/migrations/0041_alter_mainprogrampage_program.py +++ b/main/migrations/0041_alter_mainprogrampage_program.py @@ -1,21 +1,90 @@ # Generated by Django 4.0.7 on 2023-01-04 06:24 -from django.db import migrations import wagtail.blocks import wagtail.fields import wagtail.images.blocks +from django.db import migrations class Migration(migrations.Migration): dependencies = [ - ('main', '0040_alter_mainprogrampage_program'), + ("main", "0040_alter_mainprogrampage_program"), ] operations = [ migrations.AlterField( - model_name='mainprogrampage', - name='program', - field=wagtail.fields.StreamField([('program_group', wagtail.blocks.StructBlock([('title', wagtail.blocks.CharBlock(label='Titulek části programu')), ('slug', wagtail.blocks.CharBlock(help_text='Není třeba vyplňovat, bude automaticky vyplněno', label='Slug části programu', required=False)), ('perex', wagtail.blocks.RichTextBlock(label='Perex části programu', required=False)), ('point_list', wagtail.blocks.ListBlock(wagtail.blocks.StructBlock([('url', wagtail.blocks.URLBlock(label='Odkaz pokrývající celou tuto část', required=False)), ('icon', wagtail.images.blocks.ImageChooserBlock(label='Ikona', required=False)), ('title', wagtail.blocks.CharBlock(label='Titulek článku programu')), ('text', wagtail.blocks.RichTextBlock(label='Obsah'))]), label='Jednotlivé články programu'))], label='Část programu'))], blank=True, use_json_field=None, verbose_name='Program'), + model_name="mainprogrampage", + name="program", + field=wagtail.fields.StreamField( + [ + ( + "program_group", + wagtail.blocks.StructBlock( + [ + ( + "title", + wagtail.blocks.CharBlock( + label="Titulek části programu" + ), + ), + ( + "slug", + wagtail.blocks.CharBlock( + help_text="Není třeba vyplňovat, bude automaticky vyplněno", + label="Slug části programu", + required=False, + ), + ), + ( + "perex", + wagtail.blocks.RichTextBlock( + label="Perex části programu", required=False + ), + ), + ( + "point_list", + wagtail.blocks.ListBlock( + wagtail.blocks.StructBlock( + [ + ( + "url", + wagtail.blocks.URLBlock( + label="Odkaz pokrývající celou tuto část", + required=False, + ), + ), + ( + "icon", + wagtail.images.blocks.ImageChooserBlock( + label="Ikona", required=False + ), + ), + ( + "title", + wagtail.blocks.CharBlock( + label="Titulek článku programu" + ), + ), + ( + "text", + wagtail.blocks.RichTextBlock( + label="Obsah" + ), + ), + ] + ), + label="Jednotlivé články programu", + ), + ), + ], + label="Část programu", + ), + ) + ], + blank=True, + use_json_field=None, + verbose_name="Program", + ), ), ] diff --git a/main/models.py b/main/models.py index 5df3e68c31a55d6c36f38c4b89e107ce0a25fda7..3142c9dbf0031f8c0411d27bdaf6e25206752b34 100644 --- a/main/models.py +++ b/main/models.py @@ -294,7 +294,7 @@ class MainHomePage( messages.success( request, - "Zkontroluj si prosím schránku, poslali jsme ti potvrzovací email." + "Zkontroluj si prosím schránku, poslali jsme ti potvrzovací email.", ) try: @@ -309,7 +309,7 @@ class MainHomePage( messages.error( request, - "Tvůj prohlížeč nám odeslal špatná data. Prosím, zkus to znovu." + "Tvůj prohlížeč nám odeslal špatná data. Prosím, zkus to znovu.", ) return HttpResponseRedirect(self.url) diff --git a/main/static/main/main.js b/main/static/main/main.js index a8b6e64aab78f23686071f85cd74fe9b73549824..3a7fd2e6f6d92f825ab3c1dcbdfb75dbd7ad9b1e 100644 --- a/main/static/main/main.js +++ b/main/static/main/main.js @@ -10,7 +10,7 @@ var t0=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?wind `,"	":" ","'":"'"},Ks=/&(?:lt|gt|quot|amp|#39);/g,Ys=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,Zs=A("pre,textarea",!0),Aa=function(e,t){return e&&Zs(e)&&t[0]===` `};function Js(e,t){var n=t?Ys:Ks;return e.replace(n,function(r){return Gs[r]})}function Xs(e,t){for(var n,r,o=[],a=t.expectHTML,c=t.isUnaryTag||Oe,v=t.canBeLeftOpenTag||Oe,p=0,w=function(){if(n=e,r&&Ia(r)){var P=0,R=r.toLowerCase(),k=Pa[R]||(Pa[R]=new RegExp("([\\s\\S]*?)(</"+R+"[^>]*>)","i"));j=e.replace(k,function(de,ge,He){return P=He.length,Ia(R)||R==="noscript"||(ge=ge.replace(/<!\--([\s\S]*?)-->/g,"$1").replace(/<!\[CDATA\[([\s\S]*?)]]>/g,"$1")),Aa(R,ge)&&(ge=ge.slice(1)),t.chars&&t.chars(ge),""}),p+=e.length-j.length,e=j,y(R,p-P,p)}else{var Z=e.indexOf("<");if(Z===0){if(ja.test(e)){var G=e.indexOf("-->");if(G>=0)return t.shouldKeepComment&&t.comment&&t.comment(e.substring(4,G),p,p+G+3),O(G+3),"continue"}if(Ma.test(e)){var he=e.indexOf("]>");if(he>=0)return O(he+2),"continue"}var ve=e.match(Ws);if(ve)return O(ve[0].length),"continue";var Ke=e.match(Ea);if(Ke){var Ee=p;return O(Ke[0].length),y(Ke[1],Ee,p),"continue"}var ke=function(){var de=e.match($a);if(de){var ge={tagName:de[1],attrs:[],start:p};O(de[0].length);for(var He=void 0,tt=void 0;!(He=e.match(Bs))&&(tt=e.match(Us)||e.match(zs));)tt.start=p,O(tt[0].length),tt.end=p,ge.attrs.push(tt);if(He)return ge.unarySlash=He[1],O(He[0].length),ge.end=p,ge}}();if(ke)return function(de){var ge=de.tagName,He=de.unarySlash;a&&(r==="p"&&Vs(ge)&&y(r),v(ge)&&r===ge&&y(ge));for(var tt=c(ge)||!!He,Ze=de.attrs.length,Xe=new Array(Ze),ft=0;ft<Ze;ft++){var rt=de.attrs[ft],qe=rt[3]||rt[4]||rt[5]||"",ut=ge==="a"&&rt[1]==="href"?t.shouldDecodeNewlinesForHref:t.shouldDecodeNewlines;Xe[ft]={name:rt[1],value:Js(qe,ut)}}tt||(o.push({tag:ge,lowerCasedTag:ge.toLowerCase(),attrs:Xe,start:de.start,end:de.end}),r=ge),t.start&&t.start(ge,Xe,tt,de.start,de.end)}(ke),Aa(ke.tagName,e)&&O(1),"continue"}var ze=void 0,j=void 0,N=void 0;if(Z>=0){for(j=e.slice(Z);!(Ea.test(j)||$a.test(j)||ja.test(j)||Ma.test(j)||(N=j.indexOf("<",1))<0);)Z+=N,j=e.slice(Z);ze=e.substring(0,Z)}Z<0&&(ze=e),ze&&O(ze.length),t.chars&&ze&&t.chars(ze,p-ze.length,p)}if(e===n)return t.chars&&t.chars(e),"break"};e&&w()!=="break";);function O(P){p+=P,e=e.substring(P)}function y(P,R,k){var Z,G;if(R==null&&(R=p),k==null&&(k=p),P)for(G=P.toLowerCase(),Z=o.length-1;Z>=0&&o[Z].lowerCasedTag!==G;Z--);else Z=0;if(Z>=0){for(var he=o.length-1;he>=Z;he--)t.end&&t.end(o[he].tag,R,k);o.length=Z,r=Z&&o[Z-1].tag}else G==="br"?t.start&&t.start(P,[],!0,R,k):G==="p"&&(t.start&&t.start(P,[],!1,R,k),t.end&&t.end(P,R,k))}y()}var Ra,Da,kr,Nr,Fr,Hr,Vr,_a,ka=/^@|^v-on:/,zr=/^v-|^@|^:|^#/,Qs=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Na=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,qs=/^\(|\)$/g,P0=/^\[.*\]$/,e9=/:(.*)$/,Fa=/^:|^\.|^v-bind:/,Ha=/\.[^.\]]+(?=[^\]]*$)/g,Ur=/^v-slot(:|$)|^#/,t9=/[\r\n]/,n9=/[ \f\t\r\n]+/g,r9=oe(Ns),A0="_empty_";function Br(e,t,n){return{type:1,tag:e,attrsList:t,attrsMap:o9(t),rawAttrsMap:{},parent:n,children:[]}}function i9(e,t){Ra=t.warn||Hi,Hr=t.isPreTag||Oe,Vr=t.mustUseProp||Oe,_a=t.getTagNamespace||Oe,t.isReservedTag,kr=Jn(t.modules,"transformNode"),Nr=Jn(t.modules,"preTransformNode"),Fr=Jn(t.modules,"postTransformNode"),Da=t.delimiters;var n,r,o=[],a=t.preserveWhitespace!==!1,c=t.whitespace,v=!1,p=!1;function w(y){if(O(y),v||y.processed||(y=R0(y,t)),o.length||y===n||n.if&&(y.elseif||y.else)&&Nn(n,{exp:y.elseif,block:y}),r&&!y.forbidden)if(y.elseif||y.else)R=y,k=function(G){for(var he=G.length;he--;){if(G[he].type===1)return G[he];G.pop()}}(r.children),k&&k.if&&Nn(k,{exp:R.elseif,block:R});else{if(y.slotScope){var P=y.slotTarget||'"default"';(r.scopedSlots||(r.scopedSlots={}))[P]=y}r.children.push(y),y.parent=r}var R,k;y.children=y.children.filter(function(G){return!G.slotScope}),O(y),y.pre&&(v=!1),Hr(y.tag)&&(p=!1);for(var Z=0;Z<Fr.length;Z++)Fr[Z](y,t)}function O(y){if(!p)for(var P=void 0;(P=y.children[y.children.length-1])&&P.type===3&&P.text===" ";)y.children.pop()}return Xs(e,{warn:Ra,expectHTML:t.expectHTML,isUnaryTag:t.isUnaryTag,canBeLeftOpenTag:t.canBeLeftOpenTag,shouldDecodeNewlines:t.shouldDecodeNewlines,shouldDecodeNewlinesForHref:t.shouldDecodeNewlinesForHref,shouldKeepComment:t.comments,outputSourceRange:t.outputSourceRange,start:function(y,P,R,k,Z){var G=r&&r.ns||_a(y);lt&&G==="svg"&&(P=function(Ee){for(var ke=[],ze=0;ze<Ee.length;ze++){var j=Ee[ze];s9.test(j.name)||(j.name=j.name.replace(l9,""),ke.push(j))}return ke}(P));var he,ve=Br(y,P,r);G&&(ve.ns=G),(he=ve).tag!=="style"&&(he.tag!=="script"||he.attrsMap.type&&he.attrsMap.type!=="text/javascript")||bt()||(ve.forbidden=!0);for(var Ke=0;Ke<Nr.length;Ke++)ve=Nr[Ke](ve,t)||ve;v||(function(Ee){mt(Ee,"v-pre")!=null&&(Ee.pre=!0)}(ve),ve.pre&&(v=!0)),Hr(ve.tag)&&(p=!0),v?function(Ee){var ke=Ee.attrsList,ze=ke.length;if(ze)for(var j=Ee.attrs=new Array(ze),N=0;N<ze;N++)j[N]={name:ke[N].name,value:JSON.stringify(ke[N].value)},ke[N].start!=null&&(j[N].start=ke[N].start,j[N].end=ke[N].end);else Ee.pre||(Ee.plain=!0)}(ve):ve.processed||(Va(ve),function(Ee){var ke=mt(Ee,"v-if");if(ke)Ee.if=ke,Nn(Ee,{exp:ke,block:Ee});else{mt(Ee,"v-else")!=null&&(Ee.else=!0);var ze=mt(Ee,"v-else-if");ze&&(Ee.elseif=ze)}}(ve),function(Ee){mt(Ee,"v-once")!=null&&(Ee.once=!0)}(ve)),n||(n=ve),R?w(ve):(r=ve,o.push(ve))},end:function(y,P,R){var k=o[o.length-1];o.length-=1,r=o[o.length-1],w(k)},chars:function(y,P,R){if(r&&(!lt||r.tag!=="textarea"||r.attrsMap.placeholder!==y)){var k,Z=r.children;if(y=p||y.trim()?(k=r).tag==="script"||k.tag==="style"?y:r9(y):Z.length?c?c==="condense"&&t9.test(y)?"":" ":a?" ":"":""){p||c!=="condense"||(y=y.replace(n9," "));var G=void 0,he=void 0;!v&&y!==" "&&(G=function(ve,Ke){var Ee=Ke?Ds(Ke):Rs;if(Ee.test(ve)){for(var ke,ze,j,N=[],de=[],ge=Ee.lastIndex=0;ke=Ee.exec(ve);){(ze=ke.index)>ge&&(de.push(j=ve.slice(ge,ze)),N.push(JSON.stringify(j)));var He=br(ke[1].trim());N.push("_s(".concat(He,")")),de.push({"@binding":He}),ge=ze+ke[0].length}return ge<ve.length&&(de.push(j=ve.slice(ge)),N.push(JSON.stringify(j))),{expression:N.join("+"),tokens:de}}}(y,Da))?he={type:2,expression:G.expression,tokens:G.tokens,text:y}:y===" "&&Z.length&&Z[Z.length-1].text===" "||(he={type:3,text:y}),he&&Z.push(he)}}},comment:function(y,P,R){if(r){var k={type:3,text:y,isComment:!0};r.children.push(k)}}}),n}function R0(e,t){var n,r;(r=Wt(n=e,"key"))&&(n.key=r),e.plain=!e.key&&!e.scopedSlots&&!e.attrsList.length,function(a){var c=Wt(a,"ref");c&&(a.ref=c,a.refInFor=function(v){for(var p=v;p;){if(p.for!==void 0)return!0;p=p.parent}return!1}(a))}(e),function(a){var c;a.tag==="template"?(c=mt(a,"scope"),a.slotScope=c||mt(a,"slot-scope")):(c=mt(a,"slot-scope"))&&(a.slotScope=c);var v=Wt(a,"slot");if(v&&(a.slotTarget=v==='""'?'"default"':v,a.slotTargetDynamic=!(!a.attrsMap[":slot"]&&!a.attrsMap["v-bind:slot"]),a.tag==="template"||a.slotScope||Sr(a,"slot",v,function(G,he){return G.rawAttrsMap[":"+he]||G.rawAttrsMap["v-bind:"+he]||G.rawAttrsMap[he]}(a,"slot"))),a.tag==="template"){if(y=Vi(a,Ur)){var p=za(y),w=p.name,O=p.dynamic;a.slotTarget=w,a.slotTargetDynamic=O,a.slotScope=y.value||A0}}else{var y;if(y=Vi(a,Ur)){var P=a.scopedSlots||(a.scopedSlots={}),R=za(y),k=R.name,Z=(O=R.dynamic,P[k]=Br("template",[],a));Z.slotTarget=k,Z.slotTargetDynamic=O,Z.children=a.children.filter(function(G){if(!G.slotScope)return G.parent=Z,!0}),Z.slotScope=y.value||A0,a.children=[],a.plain=!1}}}(e),function(a){a.tag==="slot"&&(a.slotName=Wt(a,"name"))}(e),function(a){var c;(c=Wt(a,"is"))&&(a.component=c),mt(a,"inline-template")!=null&&(a.inlineTemplate=!0)}(e);for(var o=0;o<kr.length;o++)e=kr[o](e,t)||e;return function(a){var c,v,p,w,O,y,P,R,k=a.attrsList;for(c=0,v=k.length;c<v;c++)if(p=w=k[c].name,O=k[c].value,zr.test(p))if(a.hasBindings=!0,(y=a9(p.replace(zr,"")))&&(p=p.replace(Ha,"")),Fa.test(p))p=p.replace(Fa,""),O=br(O),(R=P0.test(p))&&(p=p.slice(1,-1)),y&&(y.prop&&!R&&(p=X(p))==="innerHtml"&&(p="innerHTML"),y.camel&&!R&&(p=X(p)),y.sync&&(P=bn(O,"$event"),R?fn(a,'"update:"+('.concat(p,")"),P,null,!1,0,k[c],!0):(fn(a,"update:".concat(X(p)),P,null,!1,0,k[c]),z(p)!==X(p)&&fn(a,"update:".concat(z(p)),P,null,!1,0,k[c])))),y&&y.prop||!a.component&&Vr(a.tag,a.attrsMap.type,p)?En(a,p,O,k[c],R):Sr(a,p,O,k[c],R);else if(ka.test(p))p=p.replace(ka,""),(R=P0.test(p))&&(p=p.slice(1,-1)),fn(a,p,O,y,!1,0,k[c],R);else{var Z=(p=p.replace(zr,"")).match(e9),G=Z&&Z[1];R=!1,G&&(p=p.slice(0,-(G.length+1)),P0.test(G)&&(G=G.slice(1,-1),R=!0)),cs(a,p,w,O,G,R,y,k[c])}else Sr(a,p,JSON.stringify(O),k[c]),!a.component&&p==="muted"&&Vr(a.tag,a.attrsMap.type,p)&&En(a,p,"true",k[c])}(e),e}function Va(e){var t;if(t=mt(e,"v-for")){var n=function(r){var o=r.match(Qs);if(!!o){var a={};a.for=o[2].trim();var c=o[1].trim().replace(qs,""),v=c.match(Na);return v?(a.alias=c.replace(Na,"").trim(),a.iterator1=v[1].trim(),v[2]&&(a.iterator2=v[2].trim())):a.alias=c,a}}(t);n&&ae(e,n)}}function Nn(e,t){e.ifConditions||(e.ifConditions=[]),e.ifConditions.push(t)}function za(e){var t=e.name.replace(Ur,"");return t||e.name[0]!=="#"&&(t="default"),P0.test(t)?{name:t.slice(1,-1),dynamic:!0}:{name:'"'.concat(t,'"'),dynamic:!1}}function a9(e){var t=e.match(Ha);if(t){var n={};return t.forEach(function(r){n[r.slice(1)]=!0}),n}}function o9(e){for(var t={},n=0,r=e.length;n<r;n++)t[e[n].name]=e[n].value;return t}var s9=/^xmlns:NS\d+/,l9=/^NS\d+:/;function Wr(e){return Br(e.tag,e.attrsList.slice(),e.parent)}var Ua=[_s,ks,{preTransformNode:function(e,t){if(e.tag==="input"){var n=e.attrsMap;if(!n["v-model"])return;var r=void 0;if((n[":type"]||n["v-bind:type"])&&(r=Wt(e,"type")),n.type||r||!n["v-bind"]||(r="(".concat(n["v-bind"],").type")),r){var o=mt(e,"v-if",!0),a=o?"&&(".concat(o,")"):"",c=mt(e,"v-else",!0)!=null,v=mt(e,"v-else-if",!0),p=Wr(e);Va(p),xr(p,"type","checkbox"),R0(p,t),p.processed=!0,p.if="(".concat(r,")==='checkbox'")+a,Nn(p,{exp:p.if,block:p});var w=Wr(e);mt(w,"v-for",!0),xr(w,"type","radio"),R0(w,t),Nn(p,{exp:"(".concat(r,")==='radio'")+a,block:w});var O=Wr(e);return mt(O,"v-for",!0),xr(O,":type",r),R0(O,t),Nn(p,{exp:o,block:O}),c?p.else=!0:v&&(p.elseif=v),p}}}}],Ba,Gr,c9={model:function(e,t,n){var r=t.value,o=t.modifiers,a=e.tag,c=e.attrsMap.type;if(e.component)return zi(e,r,o),!1;if(a==="select")(function(v,p,w){var O=w&&w.number,y='Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;'+"return ".concat(O?"_n(val)":"val","})"),P="$event.target.multiple ? $$selectedVal : $$selectedVal[0]",R="var $$selectedVal = ".concat(y,";");R="".concat(R," ").concat(bn(p,P)),fn(v,"change",R,null,!0)})(e,r,o);else if(a==="input"&&c==="checkbox")(function(v,p,w){var O=w&&w.number,y=Wt(v,"value")||"null",P=Wt(v,"true-value")||"true",R=Wt(v,"false-value")||"false";En(v,"checked","Array.isArray(".concat(p,")")+"?_i(".concat(p,",").concat(y,")>-1")+(P==="true"?":(".concat(p,")"):":_q(".concat(p,",").concat(P,")"))),fn(v,"change","var $$a=".concat(p,",")+"$$el=$event.target,"+"$$c=$$el.checked?(".concat(P,"):(").concat(R,");")+"if(Array.isArray($$a)){"+"var $$v=".concat(O?"_n("+y+")":y,",")+"$$i=_i($$a,$$v);"+"if($$el.checked){$$i<0&&(".concat(bn(p,"$$a.concat([$$v])"),")}")+"else{$$i>-1&&(".concat(bn(p,"$$a.slice(0,$$i).concat($$a.slice($$i+1))"),")}")+"}else{".concat(bn(p,"$$c"),"}"),null,!0)})(e,r,o);else if(a==="input"&&c==="radio")(function(v,p,w){var O=w&&w.number,y=Wt(v,"value")||"null";y=O?"_n(".concat(y,")"):y,En(v,"checked","_q(".concat(p,",").concat(y,")")),fn(v,"change",bn(p,y),null,!0)})(e,r,o);else if(a==="input"||a==="textarea")(function(v,p,w){var O=v.attrsMap.type,y=w||{},P=y.lazy,R=y.number,k=y.trim,Z=!P&&O!=="range",G=P?"change":O==="range"?fs:"input",he="$event.target.value";k&&(he="$event.target.value.trim()"),R&&(he="_n(".concat(he,")"));var ve=bn(p,he);Z&&(ve="if($event.target.composing)return;".concat(ve)),En(v,"value","(".concat(p,")")),fn(v,G,ve,null,!0),(k||R)&&fn(v,"blur","$forceUpdate()")})(e,r,o);else if(!re.isReservedTag(a))return zi(e,r,o),!1;return!0},text:function(e,t){t.value&&En(e,"textContent","_s(".concat(t.value,")"),t)},html:function(e,t){t.value&&En(e,"innerHTML","_s(".concat(t.value,")"),t)}},u9={expectHTML:!0,modules:Ua,directives:c9,isPreTag:function(e){return e==="pre"},isUnaryTag:Fs,mustUseProp:Ei,canBeLeftOpenTag:Hs,isReservedTag:pr,getTagNamespace:Pi,staticKeys:function(e){return e.reduce(function(t,n){return t.concat(n.staticKeys||[])},[]).join(",")}(Ua)},f9=oe(function(e){return A("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(e?","+e:""))});function d9(e,t){e&&(Ba=f9(t.staticKeys||""),Gr=t.isReservedTag||Oe,Kr(e),Yr(e,!1))}function Kr(e){if(e.static=function(a){return a.type===2?!1:a.type===3?!0:!(!a.pre&&(a.hasBindings||a.if||a.for||Y(a.tag)||!Gr(a.tag)||function(c){for(;c.parent;){if((c=c.parent).tag!=="template")return!1;if(c.for)return!0}return!1}(a)||!Object.keys(a).every(Ba)))}(e),e.type===1){if(!Gr(e.tag)&&e.tag!=="slot"&&e.attrsMap["inline-template"]==null)return;for(var t=0,n=e.children.length;t<n;t++){var r=e.children[t];Kr(r),r.static||(e.static=!1)}if(e.ifConditions)for(t=1,n=e.ifConditions.length;t<n;t++){var o=e.ifConditions[t].block;Kr(o),o.static||(e.static=!1)}}}function Yr(e,t){if(e.type===1){if((e.static||e.once)&&(e.staticInFor=t),e.static&&e.children.length&&(e.children.length!==1||e.children[0].type!==3))return void(e.staticRoot=!0);if(e.staticRoot=!1,e.children)for(var n=0,r=e.children.length;n<r;n++)Yr(e.children[n],t||!!e.for);if(e.ifConditions)for(n=1,r=e.ifConditions.length;n<r;n++)Yr(e.ifConditions[n].block,t)}}var v9=/^([\w$_]+|\([^)]*?\))\s*=>|^function(?:\s+[\w$]+)?\s*\(/,p9=/\([^)]*?\);*$/,Wa=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,Ga={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},h9={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},vn=function(e){return"if(".concat(e,")return null;")},Ka={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:vn("$event.target !== $event.currentTarget"),ctrl:vn("!$event.ctrlKey"),shift:vn("!$event.shiftKey"),alt:vn("!$event.altKey"),meta:vn("!$event.metaKey"),left:vn("'button' in $event && $event.button !== 0"),middle:vn("'button' in $event && $event.button !== 1"),right:vn("'button' in $event && $event.button !== 2")};function Ya(e,t){var n=t?"nativeOn:":"on:",r="",o="";for(var a in e){var c=Za(e[a]);e[a]&&e[a].dynamic?o+="".concat(a,",").concat(c,","):r+='"'.concat(a,'":').concat(c,",")}return r="{".concat(r.slice(0,-1),"}"),o?n+"_d(".concat(r,",[").concat(o.slice(0,-1),"])"):n+r}function Za(e){if(!e)return"function(){}";if(Array.isArray(e))return"[".concat(e.map(function(O){return Za(O)}).join(","),"]");var t=Wa.test(e.value),n=v9.test(e.value),r=Wa.test(e.value.replace(p9,""));if(e.modifiers){var o="",a="",c=[],v=function(O){if(Ka[O])a+=Ka[O],Ga[O]&&c.push(O);else if(O==="exact"){var y=e.modifiers;a+=vn(["ctrl","shift","alt","meta"].filter(function(P){return!y[P]}).map(function(P){return"$event.".concat(P,"Key")}).join("||"))}else c.push(O)};for(var p in e.modifiers)v(p);c.length&&(o+=function(O){return"if(!$event.type.indexOf('key')&&"+"".concat(O.map(m9).join("&&"),")return null;")}(c)),a&&(o+=a);var w=t?"return ".concat(e.value,".apply(null, arguments)"):n?"return (".concat(e.value,").apply(null, arguments)"):r?"return ".concat(e.value):e.value;return"function($event){".concat(o).concat(w,"}")}return t||n?e.value:"function($event){".concat(r?"return ".concat(e.value):e.value,"}")}function m9(e){var t=parseInt(e,10);if(t)return"$event.keyCode!==".concat(t);var n=Ga[e],r=h9[e];return"_k($event.keyCode,"+"".concat(JSON.stringify(e),",")+"".concat(JSON.stringify(n),",")+"$event.key,"+"".concat(JSON.stringify(r))+")"}var g9={on:function(e,t){e.wrapListeners=function(n){return"_g(".concat(n,",").concat(t.value,")")}},bind:function(e,t){e.wrapData=function(n){return"_b(".concat(n,",'").concat(e.tag,"',").concat(t.value,",").concat(t.modifiers&&t.modifiers.prop?"true":"false").concat(t.modifiers&&t.modifiers.sync?",true":"",")")}},cloak:Se},y9=function(e){this.options=e,this.warn=e.warn||Hi,this.transforms=Jn(e.modules,"transformCode"),this.dataGenFns=Jn(e.modules,"genData"),this.directives=ae(ae({},g9),e.directives);var t=e.isReservedTag||Oe;this.maybeComponent=function(n){return!!n.component||!t(n.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function Ja(e,t){var n=new y9(t),r=e?e.tag==="script"?"null":pn(e,n):'_c("div")';return{render:"with(this){return ".concat(r,"}"),staticRenderFns:n.staticRenderFns}}function pn(e,t){if(e.parent&&(e.pre=e.pre||e.parent.pre),e.staticRoot&&!e.staticProcessed)return Xa(e,t);if(e.once&&!e.onceProcessed)return Qa(e,t);if(e.for&&!e.forProcessed)return eo(e,t);if(e.if&&!e.ifProcessed)return Zr(e,t);if(e.tag!=="template"||e.slotTarget||t.pre){if(e.tag==="slot")return function(w,O){var y=w.slotName||'"default"',P=Fn(w,O),R="_t(".concat(y).concat(P?",function(){return ".concat(P,"}"):""),k=w.attrs||w.dynamicAttrs?D0((w.attrs||[]).concat(w.dynamicAttrs||[]).map(function(G){return{name:X(G.name),value:G.value,dynamic:G.dynamic}})):null,Z=w.attrsMap["v-bind"];return!k&&!Z||P||(R+=",null"),k&&(R+=",".concat(k)),Z&&(R+="".concat(k?"":",null",",").concat(Z)),R+")"}(e,t);var n=void 0;if(e.component)n=function(w,O,y){var P=O.inlineTemplate?null:Fn(O,y,!0);return"_c(".concat(w,",").concat(to(O,y)).concat(P?",".concat(P):"",")")}(e.component,e,t);else{var r=void 0,o=t.maybeComponent(e);(!e.plain||e.pre&&o)&&(r=to(e,t));var a=void 0,c=t.options.bindings;o&&c&&c.__isScriptSetup!==!1&&(a=function(w,O){var y=X(O),P=fe(y),R=function(G){return w[O]===G?O:w[y]===G?y:w[P]===G?P:void 0},k=R("setup-const")||R("setup-reactive-const");if(k)return k;var Z=R("setup-let")||R("setup-ref")||R("setup-maybe-ref");if(Z)return Z}(c,e.tag)),a||(a="'".concat(e.tag,"'"));var v=e.inlineTemplate?null:Fn(e,t,!0);n="_c(".concat(a).concat(r?",".concat(r):"").concat(v?",".concat(v):"",")")}for(var p=0;p<t.transforms.length;p++)n=t.transforms[p](e,n);return n}return Fn(e,t)||"void 0"}function Xa(e,t){e.staticProcessed=!0;var n=t.pre;return e.pre&&(t.pre=e.pre),t.staticRenderFns.push("with(this){return ".concat(pn(e,t),"}")),t.pre=n,"_m(".concat(t.staticRenderFns.length-1).concat(e.staticInFor?",true":"",")")}function Qa(e,t){if(e.onceProcessed=!0,e.if&&!e.ifProcessed)return Zr(e,t);if(e.staticInFor){for(var n="",r=e.parent;r;){if(r.for){n=r.key;break}r=r.parent}return n?"_o(".concat(pn(e,t),",").concat(t.onceId++,",").concat(n,")"):pn(e,t)}return Xa(e,t)}function Zr(e,t,n,r){return e.ifProcessed=!0,qa(e.ifConditions.slice(),t,n,r)}function qa(e,t,n,r){if(!e.length)return r||"_e()";var o=e.shift();return o.exp?"(".concat(o.exp,")?").concat(a(o.block),":").concat(qa(e,t,n,r)):"".concat(a(o.block));function a(c){return n?n(c,t):c.once?Qa(c,t):pn(c,t)}}function eo(e,t,n,r){var o=e.for,a=e.alias,c=e.iterator1?",".concat(e.iterator1):"",v=e.iterator2?",".concat(e.iterator2):"";return e.forProcessed=!0,"".concat(r||"_l","((").concat(o,"),")+"function(".concat(a).concat(c).concat(v,"){")+"return ".concat((n||pn)(e,t))+"})"}function to(e,t){var n="{",r=function(c,v){var p=c.directives;if(!!p){var w,O,y,P,R="directives:[",k=!1;for(w=0,O=p.length;w<O;w++){y=p[w],P=!0;var Z=v.directives[y.name];Z&&(P=!!Z(c,y,v.warn)),P&&(k=!0,R+='{name:"'.concat(y.name,'",rawName:"').concat(y.rawName,'"').concat(y.value?",value:(".concat(y.value,"),expression:").concat(JSON.stringify(y.value)):"").concat(y.arg?",arg:".concat(y.isDynamicArg?y.arg:'"'.concat(y.arg,'"')):"").concat(y.modifiers?",modifiers:".concat(JSON.stringify(y.modifiers)):"","},"))}if(k)return R.slice(0,-1)+"]"}}(e,t);r&&(n+=r+","),e.key&&(n+="key:".concat(e.key,",")),e.ref&&(n+="ref:".concat(e.ref,",")),e.refInFor&&(n+="refInFor:true,"),e.pre&&(n+="pre:true,"),e.component&&(n+='tag:"'.concat(e.tag,'",'));for(var o=0;o<t.dataGenFns.length;o++)n+=t.dataGenFns[o](e);if(e.attrs&&(n+="attrs:".concat(D0(e.attrs),",")),e.props&&(n+="domProps:".concat(D0(e.props),",")),e.events&&(n+="".concat(Ya(e.events,!1),",")),e.nativeEvents&&(n+="".concat(Ya(e.nativeEvents,!0),",")),e.slotTarget&&!e.slotScope&&(n+="slot:".concat(e.slotTarget,",")),e.scopedSlots&&(n+="".concat(function(c,v,p){var w=c.for||Object.keys(v).some(function(R){var k=v[R];return k.slotTargetDynamic||k.if||k.for||no(k)}),O=!!c.if;if(!w)for(var y=c.parent;y;){if(y.slotScope&&y.slotScope!==A0||y.for){w=!0;break}y.if&&(O=!0),y=y.parent}var P=Object.keys(v).map(function(R){return Jr(v[R],p)}).join(",");return"scopedSlots:_u([".concat(P,"]").concat(w?",null,true":"").concat(!w&&O?",null,false,".concat(function(R){for(var k=5381,Z=R.length;Z;)k=33*k^R.charCodeAt(--Z);return k>>>0}(P)):"",")")}(e,e.scopedSlots,t),",")),e.model&&(n+="model:{value:".concat(e.model.value,",callback:").concat(e.model.callback,",expression:").concat(e.model.expression,"},")),e.inlineTemplate){var a=function(c,v){var p=c.children[0];if(p&&p.type===1){var w=Ja(p,v.options);return"inlineTemplate:{render:function(){".concat(w.render,"},staticRenderFns:[").concat(w.staticRenderFns.map(function(O){return"function(){".concat(O,"}")}).join(","),"]}")}}(e,t);a&&(n+="".concat(a,","))}return n=n.replace(/,$/,"")+"}",e.dynamicAttrs&&(n="_b(".concat(n,',"').concat(e.tag,'",').concat(D0(e.dynamicAttrs),")")),e.wrapData&&(n=e.wrapData(n)),e.wrapListeners&&(n=e.wrapListeners(n)),n}function no(e){return e.type===1&&(e.tag==="slot"||e.children.some(no))}function Jr(e,t){var n=e.attrsMap["slot-scope"];if(e.if&&!e.ifProcessed&&!n)return Zr(e,t,Jr,"null");if(e.for&&!e.forProcessed)return eo(e,t,Jr);var r=e.slotScope===A0?"":String(e.slotScope),o="function(".concat(r,"){")+"return ".concat(e.tag==="template"?e.if&&n?"(".concat(e.if,")?").concat(Fn(e,t)||"undefined",":undefined"):Fn(e,t)||"undefined":pn(e,t),"}"),a=r?"":",proxy:true";return"{key:".concat(e.slotTarget||'"default"',",fn:").concat(o).concat(a,"}")}function Fn(e,t,n,r,o){var a=e.children;if(a.length){var c=a[0];if(a.length===1&&c.for&&c.tag!=="template"&&c.tag!=="slot"){var v=n?t.maybeComponent(c)?",1":",0":"";return"".concat((r||pn)(c,t)).concat(v)}var p=n?function(O,y){for(var P=0,R=0;R<O.length;R++){var k=O[R];if(k.type===1){if(ro(k)||k.ifConditions&&k.ifConditions.some(function(Z){return ro(Z.block)})){P=2;break}(y(k)||k.ifConditions&&k.ifConditions.some(function(Z){return y(Z.block)}))&&(P=1)}}return P}(a,t.maybeComponent):0,w=o||L9;return"[".concat(a.map(function(O){return w(O,t)}).join(","),"]").concat(p?",".concat(p):"")}}function ro(e){return e.for!==void 0||e.tag==="template"||e.tag==="slot"}function L9(e,t){return e.type===1?pn(e,t):e.type===3&&e.isComment?function(n){return"_e(".concat(JSON.stringify(n.text),")")}(e):function(n){return"_v(".concat(n.type===2?n.expression:io(JSON.stringify(n.text)),")")}(e)}function D0(e){for(var t="",n="",r=0;r<e.length;r++){var o=e[r],a=io(o.value);o.dynamic?n+="".concat(o.name,",").concat(a,","):t+='"'.concat(o.name,'":').concat(a,",")}return t="{".concat(t.slice(0,-1),"}"),n?"_d(".concat(t,",[").concat(n.slice(0,-1),"])"):t}function io(e){return e.replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}function ao(e,t){try{return new Function(e)}catch(n){return t.push({err:n,code:e}),Se}}function b9(e){var t=Object.create(null);return function(n,r,o){(r=ae({},r)).warn,delete r.warn;var a=r.delimiters?String(r.delimiters)+n:n;if(t[a])return t[a];var c=e(n,r),v={},p=[];return v.render=ao(c.render,p),v.staticRenderFns=c.staticRenderFns.map(function(w){return ao(w,p)}),t[a]=v}}new RegExp("\\b"+"do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,super,throw,while,yield,delete,export,import,return,switch,default,extends,finally,continue,debugger,function,arguments".split(",").join("\\b|\\b")+"\\b"),new RegExp("\\b"+"delete,typeof,void".split(",").join("\\s*\\([^\\)]*\\)|\\b")+"\\s*\\([^\\)]*\\)");var oo,Xr,S9=(oo=function(e,t){var n=i9(e.trim(),t);t.optimize!==!1&&d9(n,t);var r=Ja(n,t);return{ast:n,render:r.render,staticRenderFns:r.staticRenderFns}},function(e){function t(n,r){var o=Object.create(e),a=[],c=[];if(r)for(var v in r.modules&&(o.modules=(e.modules||[]).concat(r.modules)),r.directives&&(o.directives=ae(Object.create(e.directives||null),r.directives)),r)v!=="modules"&&v!=="directives"&&(o[v]=r[v]);o.warn=function(w,O,y){(y?c:a).push(w)};var p=oo(n.trim(),o);return p.errors=a,p.tips=c,p}return{compile:t,compileToFunctions:b9(t)}}),so=S9(u9).compileToFunctions;function lo(e){return(Xr=Xr||document.createElement("div")).innerHTML=e?`<a href=" "/>`:`<div a=" -"/>`,Xr.innerHTML.indexOf(" ")>0}var x9=!!Ae&&lo(!1),w9=!!Ae&&lo(!0),O9=oe(function(e){var t=mr(e);return t&&t.innerHTML}),T9=ot.prototype.$mount;return ot.prototype.$mount=function(e,t){if((e=e&&mr(e))===document.body||e===document.documentElement)return this;var n=this.$options;if(!n.render){var r=n.template;if(r)if(typeof r=="string")r.charAt(0)==="#"&&(r=O9(r));else{if(!r.nodeType)return this;r=r.innerHTML}else e&&(r=function(v){if(v.outerHTML)return v.outerHTML;var p=document.createElement("div");return p.appendChild(v.cloneNode(!0)),p.innerHTML}(e));if(r){var o=so(r,{outputSourceRange:!1,shouldDecodeNewlines:x9,shouldDecodeNewlinesForHref:w9,delimiters:n.delimiters,comments:n.comments},this),a=o.render,c=o.staticRenderFns;n.render=a,n.staticRenderFns=c}}return T9.call(this,e,t)},ot.compile=so,ae(ot,Po),ot.effect=function(e,t){var n=new Dn(Je,e,Se,{sync:!0});t&&(n.update=function(){t(function(){return n.run()})})},ot})})(fo);const zt=uo(fo.exports),vo=function(ce,E,d){for(var L=0;L<ce.length;L++)E.call(d,ce[L])};function C9(){return Math.max(document.documentElement.clientWidth||0,window.innerWidth||0)}function rn(){return C9()>=1200}var po={exports:{}};(function(ce,E){(function(L,i){ce.exports=i()})(typeof self!="undefined"?self:t0,function(){return function(d){var L={};function i(l){if(L[l])return L[l].exports;var u=L[l]={i:l,l:!1,exports:{}};return d[l].call(u.exports,u,u.exports,i),u.l=!0,u.exports}return i.m=d,i.c=L,i.d=function(l,u,h){i.o(l,u)||Object.defineProperty(l,u,{enumerable:!0,get:h})},i.r=function(l){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(l,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(l,"__esModule",{value:!0})},i.t=function(l,u){if(u&1&&(l=i(l)),u&8||u&4&&typeof l=="object"&&l&&l.__esModule)return l;var h=Object.create(null);if(i.r(h),Object.defineProperty(h,"default",{enumerable:!0,value:l}),u&2&&typeof l!="string")for(var f in l)i.d(h,f,function(g){return l[g]}.bind(null,f));return h},i.n=function(l){var u=l&&l.__esModule?function(){return l.default}:function(){return l};return i.d(u,"a",u),u},i.o=function(l,u){return Object.prototype.hasOwnProperty.call(l,u)},i.p="",i(i.s="fb15")}({"00ee":function(d,L,i){var l=i("b622"),u=l("toStringTag"),h={};h[u]="z",d.exports=String(h)==="[object z]"},"0366":function(d,L,i){var l=i("1c0b");d.exports=function(u,h,f){if(l(u),h===void 0)return u;switch(f){case 0:return function(){return u.call(h)};case 1:return function(g){return u.call(h,g)};case 2:return function(g,S){return u.call(h,g,S)};case 3:return function(g,S,b){return u.call(h,g,S,b)}}return function(){return u.apply(h,arguments)}}},"0497":function(d,L){var i=function(l){return l.replace(/[A-Z]/g,function(u){return"-"+u.toLowerCase()}).toLowerCase()};d.exports=i},"057f":function(d,L,i){var l=i("fc6a"),u=i("241c").f,h={}.toString,f=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],g=function(S){try{return u(S)}catch(b){return f.slice()}};d.exports.f=function(b){return f&&h.call(b)=="[object Window]"?g(b):u(l(b))}},"06cf":function(d,L,i){var l=i("83ab"),u=i("d1e7"),h=i("5c6c"),f=i("fc6a"),g=i("c04e"),S=i("5135"),b=i("0cfb"),x=Object.getOwnPropertyDescriptor;L.f=l?x:function($,D){if($=f($),D=g(D,!0),b)try{return x($,D)}catch(A){}if(S($,D))return h(!u.f.call($,D),$[D])}},"07ac":function(d,L,i){var l=i("23e7"),u=i("6f53").values;l({target:"Object",stat:!0},{values:function(f){return u(f)}})},"0cfb":function(d,L,i){var l=i("83ab"),u=i("d039"),h=i("cc12");d.exports=!l&&!u(function(){return Object.defineProperty(h("div"),"a",{get:function(){return 7}}).a!=7})},1276:function(d,L,i){var l=i("d784"),u=i("44e7"),h=i("825a"),f=i("1d80"),g=i("4840"),S=i("8aa5"),b=i("50c4"),x=i("14c3"),C=i("9263"),$=i("d039"),D=[].push,A=Math.min,Y=4294967295,Q=!$(function(){return!RegExp(Y,"y")});l("split",2,function(te,ne,ie){var oe;return"abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?oe=function(J,X){var fe=String(f(this)),Le=X===void 0?Y:X>>>0;if(Le===0)return[];if(J===void 0)return[fe];if(!u(J))return ne.call(fe,J,Le);for(var z=[],me=(J.ignoreCase?"i":"")+(J.multiline?"m":"")+(J.unicode?"u":"")+(J.sticky?"y":""),be=0,ae=new RegExp(J.source,me+"g"),xe,Se,Oe;(xe=C.call(ae,fe))&&(Se=ae.lastIndex,!(Se>be&&(z.push(fe.slice(be,xe.index)),xe.length>1&&xe.index<fe.length&&D.apply(z,xe.slice(1)),Oe=xe[0].length,be=Se,z.length>=Le)));)ae.lastIndex===xe.index&&ae.lastIndex++;return be===fe.length?(Oe||!ae.test(""))&&z.push(""):z.push(fe.slice(be)),z.length>Le?z.slice(0,Le):z}:"0".split(void 0,0).length?oe=function(J,X){return J===void 0&&X===0?[]:ne.call(this,J,X)}:oe=ne,[function(X,fe){var Le=f(this),z=X==null?void 0:X[te];return z!==void 0?z.call(X,Le,fe):oe.call(String(Le),X,fe)},function(J,X){var fe=ie(oe,J,this,X,oe!==ne);if(fe.done)return fe.value;var Le=h(J),z=String(this),me=g(Le,RegExp),be=Le.unicode,ae=(Le.ignoreCase?"i":"")+(Le.multiline?"m":"")+(Le.unicode?"u":"")+(Q?"y":"g"),xe=new me(Q?Le:"^(?:"+Le.source+")",ae),Se=X===void 0?Y:X>>>0;if(Se===0)return[];if(z.length===0)return x(xe,z)===null?[z]:[];for(var Oe=0,je=0,U=[];je<z.length;){xe.lastIndex=Q?je:0;var B=x(xe,Q?z:z.slice(je)),ee;if(B===null||(ee=A(b(xe.lastIndex+(Q?0:je)),z.length))===Oe)je=S(z,je,be);else{if(U.push(z.slice(Oe,je)),U.length===Se)return U;for(var ue=1;ue<=B.length-1;ue++)if(U.push(B[ue]),U.length===Se)return U;je=Oe=ee}}return U.push(z.slice(Oe)),U}]},!Q)},"13d5":function(d,L,i){var l=i("23e7"),u=i("d58f").left,h=i("a640"),f=i("ae40"),g=h("reduce"),S=f("reduce",{1:0});l({target:"Array",proto:!0,forced:!g||!S},{reduce:function(x){return u(this,x,arguments.length,arguments.length>1?arguments[1]:void 0)}})},"14c3":function(d,L,i){var l=i("c6b6"),u=i("9263");d.exports=function(h,f){var g=h.exec;if(typeof g=="function"){var S=g.call(h,f);if(typeof S!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return S}if(l(h)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return u.call(h,f)}},"159b":function(d,L,i){var l=i("da84"),u=i("fdbc"),h=i("17c2"),f=i("9112");for(var g in u){var S=l[g],b=S&&S.prototype;if(b&&b.forEach!==h)try{f(b,"forEach",h)}catch(x){b.forEach=h}}},"17c2":function(d,L,i){var l=i("b727").forEach,u=i("a640"),h=i("ae40"),f=u("forEach"),g=h("forEach");d.exports=!f||!g?function(b){return l(this,b,arguments.length>1?arguments[1]:void 0)}:[].forEach},"1be4":function(d,L,i){var l=i("d066");d.exports=l("document","documentElement")},"1c0b":function(d,L){d.exports=function(i){if(typeof i!="function")throw TypeError(String(i)+" is not a function");return i}},"1c7e":function(d,L,i){var l=i("b622"),u=l("iterator"),h=!1;try{var f=0,g={next:function(){return{done:!!f++}},return:function(){h=!0}};g[u]=function(){return this},Array.from(g,function(){throw 2})}catch(S){}d.exports=function(S,b){if(!b&&!h)return!1;var x=!1;try{var C={};C[u]=function(){return{next:function(){return{done:x=!0}}}},S(C)}catch($){}return x}},"1d80":function(d,L){d.exports=function(i){if(i==null)throw TypeError("Can't call method on "+i);return i}},"1dde":function(d,L,i){var l=i("d039"),u=i("b622"),h=i("2d00"),f=u("species");d.exports=function(g){return h>=51||!l(function(){var S=[],b=S.constructor={};return b[f]=function(){return{foo:1}},S[g](Boolean).foo!==1})}},"217d":function(d,L){function i(h,f){var g=0,S=h.length,b;for(g;g<S&&(b=f(h[g],g),b!==!1);g++);}function l(h){return Object.prototype.toString.apply(h)==="[object Array]"}function u(h){return typeof h=="function"}d.exports={isFunction:u,isArray:l,each:i}},"23cb":function(d,L,i){var l=i("a691"),u=Math.max,h=Math.min;d.exports=function(f,g){var S=l(f);return S<0?u(S+g,0):h(S,g)}},"23e7":function(d,L,i){var l=i("da84"),u=i("06cf").f,h=i("9112"),f=i("6eeb"),g=i("ce4e"),S=i("e893"),b=i("94ca");d.exports=function(x,C){var $=x.target,D=x.global,A=x.stat,Y,Q,te,ne,ie,oe;if(D?Q=l:A?Q=l[$]||g($,{}):Q=(l[$]||{}).prototype,Q)for(te in C){if(ie=C[te],x.noTargetGet?(oe=u(Q,te),ne=oe&&oe.value):ne=Q[te],Y=b(D?te:$+(A?".":"#")+te,x.forced),!Y&&ne!==void 0){if(typeof ie==typeof ne)continue;S(ie,ne)}(x.sham||ne&&ne.sham)&&h(ie,"sham",!0),f(Q,te,ie,x)}}},"241c":function(d,L,i){var l=i("ca84"),u=i("7839"),h=u.concat("length","prototype");L.f=Object.getOwnPropertyNames||function(g){return l(g,h)}},"25f0":function(d,L,i){var l=i("6eeb"),u=i("825a"),h=i("d039"),f=i("ad6d"),g="toString",S=RegExp.prototype,b=S[g],x=h(function(){return b.call({source:"a",flags:"b"})!="/a/b"}),C=b.name!=g;(x||C)&&l(RegExp.prototype,g,function(){var D=u(this),A=String(D.source),Y=D.flags,Q=String(Y===void 0&&D instanceof RegExp&&!("flags"in S)?f.call(D):Y);return"/"+A+"/"+Q},{unsafe:!0})},"2d00":function(d,L,i){var l=i("da84"),u=i("342f"),h=l.process,f=h&&h.versions,g=f&&f.v8,S,b;g?(S=g.split("."),b=S[0]+S[1]):u&&(S=u.match(/Edge\/(\d+)/),(!S||S[1]>=74)&&(S=u.match(/Chrome\/(\d+)/),S&&(b=S[1]))),d.exports=b&&+b},"342f":function(d,L,i){var l=i("d066");d.exports=l("navigator","userAgent")||""},"35a1":function(d,L,i){var l=i("f5df"),u=i("3f8c"),h=i("b622"),f=h("iterator");d.exports=function(g){if(g!=null)return g[f]||g["@@iterator"]||u[l(g)]}},"37e8":function(d,L,i){var l=i("83ab"),u=i("9bf2"),h=i("825a"),f=i("df75");d.exports=l?Object.defineProperties:function(S,b){h(S);for(var x=f(b),C=x.length,$=0,D;C>$;)u.f(S,D=x[$++],b[D]);return S}},"3b81":function(d,L,i){},"3bbe":function(d,L,i){var l=i("861d");d.exports=function(u){if(!l(u)&&u!==null)throw TypeError("Can't set "+String(u)+" as a prototype");return u}},"3ca3":function(d,L,i){var l=i("6547").charAt,u=i("69f3"),h=i("7dd0"),f="String Iterator",g=u.set,S=u.getterFor(f);h(String,"String",function(b){g(this,{type:f,string:String(b),index:0})},function(){var x=S(this),C=x.string,$=x.index,D;return $>=C.length?{value:void 0,done:!0}:(D=l(C,$),x.index+=D.length,{value:D,done:!1})})},"3f8c":function(d,L){d.exports={}},4160:function(d,L,i){var l=i("23e7"),u=i("17c2");l({target:"Array",proto:!0,forced:[].forEach!=u},{forEach:u})},"428f":function(d,L,i){var l=i("da84");d.exports=l},"42a0":function(d,L){var i=9007199254740991,l="[object Arguments]",u="[object Function]",h="[object GeneratorFunction]",f=/^(?:0|[1-9]\d*)$/;function g(_,W,M){switch(M.length){case 0:return _.call(W);case 1:return _.call(W,M[0]);case 2:return _.call(W,M[0],M[1]);case 3:return _.call(W,M[0],M[1],M[2])}return _.apply(W,M)}function S(_,W){for(var M=-1,re=Array(_);++M<_;)re[M]=W(M);return re}function b(_,W){return function(M){return _(W(M))}}var x=Object.prototype,C=x.hasOwnProperty,$=x.toString,D=x.propertyIsEnumerable,A=b(Object.keys,Object),Y=Math.max,Q=!D.call({valueOf:1},"valueOf");function te(_,W){var M=ae(_)||be(_)?S(_.length,String):[],re=M.length,pe=!!re;for(var Ce in _)(W||C.call(_,Ce))&&!(pe&&(Ce=="length"||fe(Ce,re)))&&M.push(Ce);return M}function ne(_,W,M){var re=_[W];(!(C.call(_,W)&&me(re,M))||M===void 0&&!(W in _))&&(_[W]=M)}function ie(_){if(!z(_))return A(_);var W=[];for(var M in Object(_))C.call(_,M)&&M!="constructor"&&W.push(M);return W}function oe(_,W){return W=Y(W===void 0?_.length-1:W,0),function(){for(var M=arguments,re=-1,pe=Y(M.length-W,0),Ce=Array(pe);++re<pe;)Ce[re]=M[W+re];re=-1;for(var ye=Array(W+1);++re<W;)ye[re]=M[re];return ye[W]=Ce,g(_,this,ye)}}function J(_,W,M,re){M||(M={});for(var pe=-1,Ce=W.length;++pe<Ce;){var ye=W[pe],st=re?re(M[ye],_[ye],ye,M,_):void 0;ne(M,ye,st===void 0?_[ye]:st)}return M}function X(_){return oe(function(W,M){var re=-1,pe=M.length,Ce=pe>1?M[pe-1]:void 0,ye=pe>2?M[2]:void 0;for(Ce=_.length>3&&typeof Ce=="function"?(pe--,Ce):void 0,ye&&Le(M[0],M[1],ye)&&(Ce=pe<3?void 0:Ce,pe=1),W=Object(W);++re<pe;){var st=M[re];st&&_(W,st,re,Ce)}return W})}function fe(_,W){return W=W==null?i:W,!!W&&(typeof _=="number"||f.test(_))&&_>-1&&_%1==0&&_<W}function Le(_,W,M){if(!U(M))return!1;var re=typeof W;return(re=="number"?xe(M)&&fe(W,M.length):re=="string"&&W in M)?me(M[W],_):!1}function z(_){var W=_&&_.constructor,M=typeof W=="function"&&W.prototype||x;return _===M}function me(_,W){return _===W||_!==_&&W!==W}function be(_){return Se(_)&&C.call(_,"callee")&&(!D.call(_,"callee")||$.call(_)==l)}var ae=Array.isArray;function xe(_){return _!=null&&je(_.length)&&!Oe(_)}function Se(_){return B(_)&&xe(_)}function Oe(_){var W=U(_)?$.call(_):"";return W==u||W==h}function je(_){return typeof _=="number"&&_>-1&&_%1==0&&_<=i}function U(_){var W=typeof _;return!!_&&(W=="object"||W=="function")}function B(_){return!!_&&typeof _=="object"}var ee=X(function(_,W){if(Q||z(W)||xe(W)){J(W,ue(W),_);return}for(var M in W)C.call(W,M)&&ne(_,M,W[M])});function ue(_){return xe(_)?te(_):ie(_)}d.exports=ee},"44ad":function(d,L,i){var l=i("d039"),u=i("c6b6"),h="".split;d.exports=l(function(){return!Object("z").propertyIsEnumerable(0)})?function(f){return u(f)=="String"?h.call(f,""):Object(f)}:Object},"44d2":function(d,L,i){var l=i("b622"),u=i("7c73"),h=i("9bf2"),f=l("unscopables"),g=Array.prototype;g[f]==null&&h.f(g,f,{configurable:!0,value:u(null)}),d.exports=function(S){g[f][S]=!0}},"44e7":function(d,L,i){var l=i("861d"),u=i("c6b6"),h=i("b622"),f=h("match");d.exports=function(g){var S;return l(g)&&((S=g[f])!==void 0?!!S:u(g)=="RegExp")}},"466d":function(d,L,i){var l=i("d784"),u=i("825a"),h=i("50c4"),f=i("1d80"),g=i("8aa5"),S=i("14c3");l("match",1,function(b,x,C){return[function(D){var A=f(this),Y=D==null?void 0:D[b];return Y!==void 0?Y.call(D,A):new RegExp(D)[b](String(A))},function($){var D=C(x,$,this);if(D.done)return D.value;var A=u($),Y=String(this);if(!A.global)return S(A,Y);var Q=A.unicode;A.lastIndex=0;for(var te=[],ne=0,ie;(ie=S(A,Y))!==null;){var oe=String(ie[0]);te[ne]=oe,oe===""&&(A.lastIndex=g(Y,h(A.lastIndex),Q)),ne++}return ne===0?null:te}]})},4840:function(d,L,i){var l=i("825a"),u=i("1c0b"),h=i("b622"),f=h("species");d.exports=function(g,S){var b=l(g).constructor,x;return b===void 0||(x=l(b)[f])==null?S:u(x)}},4930:function(d,L,i){var l=i("d039");d.exports=!!Object.getOwnPropertySymbols&&!l(function(){return!String(Symbol())})},"4d64":function(d,L,i){var l=i("fc6a"),u=i("50c4"),h=i("23cb"),f=function(g){return function(S,b,x){var C=l(S),$=u(C.length),D=h(x,$),A;if(g&&b!=b){for(;$>D;)if(A=C[D++],A!=A)return!0}else for(;$>D;D++)if((g||D in C)&&C[D]===b)return g||D||0;return!g&&-1}};d.exports={includes:f(!0),indexOf:f(!1)}},"4de4":function(d,L,i){var l=i("23e7"),u=i("b727").filter,h=i("1dde"),f=i("ae40"),g=h("filter"),S=f("filter");l({target:"Array",proto:!0,forced:!g||!S},{filter:function(x){return u(this,x,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(d,L,i){var l=i("0366"),u=i("7b0b"),h=i("9bdd"),f=i("e95a"),g=i("50c4"),S=i("8418"),b=i("35a1");d.exports=function(C){var $=u(C),D=typeof this=="function"?this:Array,A=arguments.length,Y=A>1?arguments[1]:void 0,Q=Y!==void 0,te=b($),ne=0,ie,oe,J,X,fe,Le;if(Q&&(Y=l(Y,A>2?arguments[2]:void 0,2)),te!=null&&!(D==Array&&f(te)))for(X=te.call($),fe=X.next,oe=new D;!(J=fe.call(X)).done;ne++)Le=Q?h(X,Y,[J.value,ne],!0):J.value,S(oe,ne,Le);else for(ie=g($.length),oe=new D(ie);ie>ne;ne++)Le=Q?Y($[ne],ne):$[ne],S(oe,ne,Le);return oe.length=ne,oe}},"50c4":function(d,L,i){var l=i("a691"),u=Math.min;d.exports=function(h){return h>0?u(l(h),9007199254740991):0}},5135:function(d,L){var i={}.hasOwnProperty;d.exports=function(l,u){return i.call(l,u)}},5692:function(d,L,i){var l=i("c430"),u=i("c6cd");(d.exports=function(h,f){return u[h]||(u[h]=f!==void 0?f:{})})("versions",[]).push({version:"3.6.4",mode:l?"pure":"global",copyright:"\xA9 2020 Denis Pushkarev (zloirock.ru)"})},"56ef":function(d,L,i){var l=i("d066"),u=i("241c"),h=i("7418"),f=i("825a");d.exports=l("Reflect","ownKeys")||function(S){var b=u.f(f(S)),x=h.f;return x?b.concat(x(S)):b}},5899:function(d,L){d.exports=` +"/>`,Xr.innerHTML.indexOf(" ")>0}var x9=!!Ae&&lo(!1),w9=!!Ae&&lo(!0),O9=oe(function(e){var t=mr(e);return t&&t.innerHTML}),T9=ot.prototype.$mount;return ot.prototype.$mount=function(e,t){if((e=e&&mr(e))===document.body||e===document.documentElement)return this;var n=this.$options;if(!n.render){var r=n.template;if(r)if(typeof r=="string")r.charAt(0)==="#"&&(r=O9(r));else{if(!r.nodeType)return this;r=r.innerHTML}else e&&(r=function(v){if(v.outerHTML)return v.outerHTML;var p=document.createElement("div");return p.appendChild(v.cloneNode(!0)),p.innerHTML}(e));if(r){var o=so(r,{outputSourceRange:!1,shouldDecodeNewlines:x9,shouldDecodeNewlinesForHref:w9,delimiters:n.delimiters,comments:n.comments},this),a=o.render,c=o.staticRenderFns;n.render=a,n.staticRenderFns=c}}return T9.call(this,e,t)},ot.compile=so,ae(ot,Po),ot.effect=function(e,t){var n=new Dn(Je,e,Se,{sync:!0});t&&(n.update=function(){t(function(){return n.run()})})},ot})})(fo);const zt=uo(fo.exports),vo=function(ce,E,d){for(var L=0;L<ce.length;L++)E.call(d,ce[L])};function C9(){return Math.max(document.documentElement.clientWidth||0,window.innerWidth||0)}function rn(){return C9()>=1200}var po={exports:{}};(function(ce,E){(function(L,i){ce.exports=i()})(typeof self!="undefined"?self:t0,function(){return function(d){var L={};function i(l){if(L[l])return L[l].exports;var u=L[l]={i:l,l:!1,exports:{}};return d[l].call(u.exports,u,u.exports,i),u.l=!0,u.exports}return i.m=d,i.c=L,i.d=function(l,u,h){i.o(l,u)||Object.defineProperty(l,u,{enumerable:!0,get:h})},i.r=function(l){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(l,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(l,"__esModule",{value:!0})},i.t=function(l,u){if(u&1&&(l=i(l)),u&8||u&4&&typeof l=="object"&&l&&l.__esModule)return l;var h=Object.create(null);if(i.r(h),Object.defineProperty(h,"default",{enumerable:!0,value:l}),u&2&&typeof l!="string")for(var f in l)i.d(h,f,function(g){return l[g]}.bind(null,f));return h},i.n=function(l){var u=l&&l.__esModule?function(){return l.default}:function(){return l};return i.d(u,"a",u),u},i.o=function(l,u){return Object.prototype.hasOwnProperty.call(l,u)},i.p="",i(i.s="fb15")}({"00ee":function(d,L,i){var l=i("b622"),u=l("toStringTag"),h={};h[u]="z",d.exports=String(h)==="[object z]"},"0366":function(d,L,i){var l=i("1c0b");d.exports=function(u,h,f){if(l(u),h===void 0)return u;switch(f){case 0:return function(){return u.call(h)};case 1:return function(g){return u.call(h,g)};case 2:return function(g,S){return u.call(h,g,S)};case 3:return function(g,S,b){return u.call(h,g,S,b)}}return function(){return u.apply(h,arguments)}}},"0497":function(d,L){var i=function(l){return l.replace(/[A-Z]/g,function(u){return"-"+u.toLowerCase()}).toLowerCase()};d.exports=i},"057f":function(d,L,i){var l=i("fc6a"),u=i("241c").f,h={}.toString,f=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],g=function(S){try{return u(S)}catch(b){return f.slice()}};d.exports.f=function(b){return f&&h.call(b)=="[object Window]"?g(b):u(l(b))}},"06cf":function(d,L,i){var l=i("83ab"),u=i("d1e7"),h=i("5c6c"),f=i("fc6a"),g=i("c04e"),S=i("5135"),b=i("0cfb"),x=Object.getOwnPropertyDescriptor;L.f=l?x:function($,D){if($=f($),D=g(D,!0),b)try{return x($,D)}catch(A){}if(S($,D))return h(!u.f.call($,D),$[D])}},"07ac":function(d,L,i){var l=i("23e7"),u=i("6f53").values;l({target:"Object",stat:!0},{values:function(f){return u(f)}})},"0cfb":function(d,L,i){var l=i("83ab"),u=i("d039"),h=i("cc12");d.exports=!l&&!u(function(){return Object.defineProperty(h("div"),"a",{get:function(){return 7}}).a!=7})},1276:function(d,L,i){var l=i("d784"),u=i("44e7"),h=i("825a"),f=i("1d80"),g=i("4840"),S=i("8aa5"),b=i("50c4"),x=i("14c3"),C=i("9263"),$=i("d039"),D=[].push,A=Math.min,Y=4294967295,Q=!$(function(){return!RegExp(Y,"y")});l("split",2,function(te,ne,ie){var oe;return"abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?oe=function(J,X){var fe=String(f(this)),Le=X===void 0?Y:X>>>0;if(Le===0)return[];if(J===void 0)return[fe];if(!u(J))return ne.call(fe,J,Le);for(var z=[],me=(J.ignoreCase?"i":"")+(J.multiline?"m":"")+(J.unicode?"u":"")+(J.sticky?"y":""),be=0,ae=new RegExp(J.source,me+"g"),xe,Se,Oe;(xe=C.call(ae,fe))&&(Se=ae.lastIndex,!(Se>be&&(z.push(fe.slice(be,xe.index)),xe.length>1&&xe.index<fe.length&&D.apply(z,xe.slice(1)),Oe=xe[0].length,be=Se,z.length>=Le)));)ae.lastIndex===xe.index&&ae.lastIndex++;return be===fe.length?(Oe||!ae.test(""))&&z.push(""):z.push(fe.slice(be)),z.length>Le?z.slice(0,Le):z}:"0".split(void 0,0).length?oe=function(J,X){return J===void 0&&X===0?[]:ne.call(this,J,X)}:oe=ne,[function(X,fe){var Le=f(this),z=X==null?void 0:X[te];return z!==void 0?z.call(X,Le,fe):oe.call(String(Le),X,fe)},function(J,X){var fe=ie(oe,J,this,X,oe!==ne);if(fe.done)return fe.value;var Le=h(J),z=String(this),me=g(Le,RegExp),be=Le.unicode,ae=(Le.ignoreCase?"i":"")+(Le.multiline?"m":"")+(Le.unicode?"u":"")+(Q?"y":"g"),xe=new me(Q?Le:"^(?:"+Le.source+")",ae),Se=X===void 0?Y:X>>>0;if(Se===0)return[];if(z.length===0)return x(xe,z)===null?[z]:[];for(var Oe=0,je=0,U=[];je<z.length;){xe.lastIndex=Q?je:0;var B=x(xe,Q?z:z.slice(je)),ee;if(B===null||(ee=A(b(xe.lastIndex+(Q?0:je)),z.length))===Oe)je=S(z,je,be);else{if(U.push(z.slice(Oe,je)),U.length===Se)return U;for(var ue=1;ue<=B.length-1;ue++)if(U.push(B[ue]),U.length===Se)return U;je=Oe=ee}}return U.push(z.slice(Oe)),U}]},!Q)},"13d5":function(d,L,i){var l=i("23e7"),u=i("d58f").left,h=i("a640"),f=i("ae40"),g=h("reduce"),S=f("reduce",{1:0});l({target:"Array",proto:!0,forced:!g||!S},{reduce:function(x){return u(this,x,arguments.length,arguments.length>1?arguments[1]:void 0)}})},"14c3":function(d,L,i){var l=i("c6b6"),u=i("9263");d.exports=function(h,f){var g=h.exec;if(typeof g=="function"){var S=g.call(h,f);if(typeof S!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return S}if(l(h)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return u.call(h,f)}},"159b":function(d,L,i){var l=i("da84"),u=i("fdbc"),h=i("17c2"),f=i("9112");for(var g in u){var S=l[g],b=S&&S.prototype;if(b&&b.forEach!==h)try{f(b,"forEach",h)}catch(x){b.forEach=h}}},"17c2":function(d,L,i){var l=i("b727").forEach,u=i("a640"),h=i("ae40"),f=u("forEach"),g=h("forEach");d.exports=!f||!g?function(b){return l(this,b,arguments.length>1?arguments[1]:void 0)}:[].forEach},"1be4":function(d,L,i){var l=i("d066");d.exports=l("document","documentElement")},"1c0b":function(d,L){d.exports=function(i){if(typeof i!="function")throw TypeError(String(i)+" is not a function");return i}},"1c7e":function(d,L,i){var l=i("b622"),u=l("iterator"),h=!1;try{var f=0,g={next:function(){return{done:!!f++}},return:function(){h=!0}};g[u]=function(){return this},Array.from(g,function(){throw 2})}catch(S){}d.exports=function(S,b){if(!b&&!h)return!1;var x=!1;try{var C={};C[u]=function(){return{next:function(){return{done:x=!0}}}},S(C)}catch($){}return x}},"1d80":function(d,L){d.exports=function(i){if(i==null)throw TypeError("Can't call method on "+i);return i}},"1dde":function(d,L,i){var l=i("d039"),u=i("b622"),h=i("2d00"),f=u("species");d.exports=function(g){return h>=51||!l(function(){var S=[],b=S.constructor={};return b[f]=function(){return{foo:1}},S[g](Boolean).foo!==1})}},"217d":function(d,L){function i(h,f){var g=0,S=h.length,b;for(g;g<S&&(b=f(h[g],g),b!==!1);g++);}function l(h){return Object.prototype.toString.apply(h)==="[object Array]"}function u(h){return typeof h=="function"}d.exports={isFunction:u,isArray:l,each:i}},"23cb":function(d,L,i){var l=i("a691"),u=Math.max,h=Math.min;d.exports=function(f,g){var S=l(f);return S<0?u(S+g,0):h(S,g)}},"23e7":function(d,L,i){var l=i("da84"),u=i("06cf").f,h=i("9112"),f=i("6eeb"),g=i("ce4e"),S=i("e893"),b=i("94ca");d.exports=function(x,C){var $=x.target,D=x.global,A=x.stat,Y,Q,te,ne,ie,oe;if(D?Q=l:A?Q=l[$]||g($,{}):Q=(l[$]||{}).prototype,Q)for(te in C){if(ie=C[te],x.noTargetGet?(oe=u(Q,te),ne=oe&&oe.value):ne=Q[te],Y=b(D?te:$+(A?".":"#")+te,x.forced),!Y&&ne!==void 0){if(typeof ie==typeof ne)continue;S(ie,ne)}(x.sham||ne&&ne.sham)&&h(ie,"sham",!0),f(Q,te,ie,x)}}},"241c":function(d,L,i){var l=i("ca84"),u=i("7839"),h=u.concat("length","prototype");L.f=Object.getOwnPropertyNames||function(g){return l(g,h)}},"25f0":function(d,L,i){var l=i("6eeb"),u=i("825a"),h=i("d039"),f=i("ad6d"),g="toString",S=RegExp.prototype,b=S[g],x=h(function(){return b.call({source:"a",flags:"b"})!="/a/b"}),C=b.name!=g;(x||C)&&l(RegExp.prototype,g,function(){var D=u(this),A=String(D.source),Y=D.flags,Q=String(Y===void 0&&D instanceof RegExp&&!("flags"in S)?f.call(D):Y);return"/"+A+"/"+Q},{unsafe:!0})},"2d00":function(d,L,i){var l=i("da84"),u=i("342f"),h=l.process,f=h&&h.versions,g=f&&f.v8,S,b;g?(S=g.split("."),b=S[0]+S[1]):u&&(S=u.match(/Edge\/(\d+)/),(!S||S[1]>=74)&&(S=u.match(/Chrome\/(\d+)/),S&&(b=S[1]))),d.exports=b&&+b},"342f":function(d,L,i){var l=i("d066");d.exports=l("navigator","userAgent")||""},"35a1":function(d,L,i){var l=i("f5df"),u=i("3f8c"),h=i("b622"),f=h("iterator");d.exports=function(g){if(g!=null)return g[f]||g["@@iterator"]||u[l(g)]}},"37e8":function(d,L,i){var l=i("83ab"),u=i("9bf2"),h=i("825a"),f=i("df75");d.exports=l?Object.defineProperties:function(S,b){h(S);for(var x=f(b),C=x.length,$=0,D;C>$;)u.f(S,D=x[$++],b[D]);return S}},"3b81":function(d,L,i){},"3bbe":function(d,L,i){var l=i("861d");d.exports=function(u){if(!l(u)&&u!==null)throw TypeError("Can't set "+String(u)+" as a prototype");return u}},"3ca3":function(d,L,i){var l=i("6547").charAt,u=i("69f3"),h=i("7dd0"),f="String Iterator",g=u.set,S=u.getterFor(f);h(String,"String",function(b){g(this,{type:f,string:String(b),index:0})},function(){var x=S(this),C=x.string,$=x.index,D;return $>=C.length?{value:void 0,done:!0}:(D=l(C,$),x.index+=D.length,{value:D,done:!1})})},"3f8c":function(d,L){d.exports={}},4160:function(d,L,i){var l=i("23e7"),u=i("17c2");l({target:"Array",proto:!0,forced:[].forEach!=u},{forEach:u})},"428f":function(d,L,i){var l=i("da84");d.exports=l},"42a0":function(d,L){var i=9007199254740991,l="[object Arguments]",u="[object Function]",h="[object GeneratorFunction]",f=/^(?:0|[1-9]\d*)$/;function g(_,W,M){switch(M.length){case 0:return _.call(W);case 1:return _.call(W,M[0]);case 2:return _.call(W,M[0],M[1]);case 3:return _.call(W,M[0],M[1],M[2])}return _.apply(W,M)}function S(_,W){for(var M=-1,re=Array(_);++M<_;)re[M]=W(M);return re}function b(_,W){return function(M){return _(W(M))}}var x=Object.prototype,C=x.hasOwnProperty,$=x.toString,D=x.propertyIsEnumerable,A=b(Object.keys,Object),Y=Math.max,Q=!D.call({valueOf:1},"valueOf");function te(_,W){var M=ae(_)||be(_)?S(_.length,String):[],re=M.length,pe=!!re;for(var Ce in _)(W||C.call(_,Ce))&&!(pe&&(Ce=="length"||fe(Ce,re)))&&M.push(Ce);return M}function ne(_,W,M){var re=_[W];(!(C.call(_,W)&&me(re,M))||M===void 0&&!(W in _))&&(_[W]=M)}function ie(_){if(!z(_))return A(_);var W=[];for(var M in Object(_))C.call(_,M)&&M!="constructor"&&W.push(M);return W}function oe(_,W){return W=Y(W===void 0?_.length-1:W,0),function(){for(var M=arguments,re=-1,pe=Y(M.length-W,0),Ce=Array(pe);++re<pe;)Ce[re]=M[W+re];re=-1;for(var ye=Array(W+1);++re<W;)ye[re]=M[re];return ye[W]=Ce,g(_,this,ye)}}function J(_,W,M,re){M||(M={});for(var pe=-1,Ce=W.length;++pe<Ce;){var ye=W[pe],st=re?re(M[ye],_[ye],ye,M,_):void 0;ne(M,ye,st===void 0?_[ye]:st)}return M}function X(_){return oe(function(W,M){var re=-1,pe=M.length,Ce=pe>1?M[pe-1]:void 0,ye=pe>2?M[2]:void 0;for(Ce=_.length>3&&typeof Ce=="function"?(pe--,Ce):void 0,ye&&Le(M[0],M[1],ye)&&(Ce=pe<3?void 0:Ce,pe=1),W=Object(W);++re<pe;){var st=M[re];st&&_(W,st,re,Ce)}return W})}function fe(_,W){return W=W==null?i:W,!!W&&(typeof _=="number"||f.test(_))&&_>-1&&_%1==0&&_<W}function Le(_,W,M){if(!U(M))return!1;var re=typeof W;return(re=="number"?xe(M)&&fe(W,M.length):re=="string"&&W in M)?me(M[W],_):!1}function z(_){var W=_&&_.constructor,M=typeof W=="function"&&W.prototype||x;return _===M}function me(_,W){return _===W||_!==_&&W!==W}function be(_){return Se(_)&&C.call(_,"callee")&&(!D.call(_,"callee")||$.call(_)==l)}var ae=Array.isArray;function xe(_){return _!=null&&je(_.length)&&!Oe(_)}function Se(_){return B(_)&&xe(_)}function Oe(_){var W=U(_)?$.call(_):"";return W==u||W==h}function je(_){return typeof _=="number"&&_>-1&&_%1==0&&_<=i}function U(_){var W=typeof _;return!!_&&(W=="object"||W=="function")}function B(_){return!!_&&typeof _=="object"}var ee=X(function(_,W){if(Q||z(W)||xe(W)){J(W,ue(W),_);return}for(var M in W)C.call(W,M)&&ne(_,M,W[M])});function ue(_){return xe(_)?te(_):ie(_)}d.exports=ee},"44ad":function(d,L,i){var l=i("d039"),u=i("c6b6"),h="".split;d.exports=l(function(){return!Object("z").propertyIsEnumerable(0)})?function(f){return u(f)=="String"?h.call(f,""):Object(f)}:Object},"44d2":function(d,L,i){var l=i("b622"),u=i("7c73"),h=i("9bf2"),f=l("unscopables"),g=Array.prototype;g[f]==null&&h.f(g,f,{configurable:!0,value:u(null)}),d.exports=function(S){g[f][S]=!0}},"44e7":function(d,L,i){var l=i("861d"),u=i("c6b6"),h=i("b622"),f=h("match");d.exports=function(g){var S;return l(g)&&((S=g[f])!==void 0?!!S:u(g)=="RegExp")}},"466d":function(d,L,i){var l=i("d784"),u=i("825a"),h=i("50c4"),f=i("1d80"),g=i("8aa5"),S=i("14c3");l("match",1,function(b,x,C){return[function(D){var A=f(this),Y=D==null?void 0:D[b];return Y!==void 0?Y.call(D,A):new RegExp(D)[b](String(A))},function($){var D=C(x,$,this);if(D.done)return D.value;var A=u($),Y=String(this);if(!A.global)return S(A,Y);var Q=A.unicode;A.lastIndex=0;for(var te=[],ne=0,ie;(ie=S(A,Y))!==null;){var oe=String(ie[0]);te[ne]=oe,oe===""&&(A.lastIndex=g(Y,h(A.lastIndex),Q)),ne++}return ne===0?null:te}]})},4840:function(d,L,i){var l=i("825a"),u=i("1c0b"),h=i("b622"),f=h("species");d.exports=function(g,S){var b=l(g).constructor,x;return b===void 0||(x=l(b)[f])==null?S:u(x)}},4930:function(d,L,i){var l=i("d039");d.exports=!!Object.getOwnPropertySymbols&&!l(function(){return!String(Symbol())})},"4d64":function(d,L,i){var l=i("fc6a"),u=i("50c4"),h=i("23cb"),f=function(g){return function(S,b,x){var C=l(S),$=u(C.length),D=h(x,$),A;if(g&&b!=b){for(;$>D;)if(A=C[D++],A!=A)return!0}else for(;$>D;D++)if((g||D in C)&&C[D]===b)return g||D||0;return!g&&-1}};d.exports={includes:f(!0),indexOf:f(!1)}},"4de4":function(d,L,i){var l=i("23e7"),u=i("b727").filter,h=i("1dde"),f=i("ae40"),g=h("filter"),S=f("filter");l({target:"Array",proto:!0,forced:!g||!S},{filter:function(x){return u(this,x,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(d,L,i){var l=i("0366"),u=i("7b0b"),h=i("9bdd"),f=i("e95a"),g=i("50c4"),S=i("8418"),b=i("35a1");d.exports=function(C){var $=u(C),D=typeof this=="function"?this:Array,A=arguments.length,Y=A>1?arguments[1]:void 0,Q=Y!==void 0,te=b($),ne=0,ie,oe,J,X,fe,Le;if(Q&&(Y=l(Y,A>2?arguments[2]:void 0,2)),te!=null&&!(D==Array&&f(te)))for(X=te.call($),fe=X.next,oe=new D;!(J=fe.call(X)).done;ne++)Le=Q?h(X,Y,[J.value,ne],!0):J.value,S(oe,ne,Le);else for(ie=g($.length),oe=new D(ie);ie>ne;ne++)Le=Q?Y($[ne],ne):$[ne],S(oe,ne,Le);return oe.length=ne,oe}},"50c4":function(d,L,i){var l=i("a691"),u=Math.min;d.exports=function(h){return h>0?u(l(h),9007199254740991):0}},5135:function(d,L){var i={}.hasOwnProperty;d.exports=function(l,u){return i.call(l,u)}},5692:function(d,L,i){var l=i("c430"),u=i("c6cd");(d.exports=function(h,f){return u[h]||(u[h]=f!==void 0?f:{})})("versions",[]).push({version:"3.6.4",mode:l?"pure":"global",copyright:"\xA9 2020 Denis Pushkarev (zloirock.ru)"})},"56ef":function(d,L,i){var l=i("d066"),u=i("241c"),h=i("7418"),f=i("825a");d.exports=l("Reflect","ownKeys")||function(S){var b=u.f(f(S)),x=h.f;return x?b.concat(x(S)):b}},5899:function(d,L){d.exports=` \v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`},"58a8":function(d,L,i){var l=i("1d80"),u=i("5899"),h="["+u+"]",f=RegExp("^"+h+h+"*"),g=RegExp(h+h+"*$"),S=function(b){return function(x){var C=String(l(x));return b&1&&(C=C.replace(f,"")),b&2&&(C=C.replace(g,"")),C}};d.exports={start:S(1),end:S(2),trim:S(3)}},"5c6c":function(d,L){d.exports=function(i,l){return{enumerable:!(i&1),configurable:!(i&2),writable:!(i&4),value:l}}},"60da":function(d,L,i){var l=i("83ab"),u=i("d039"),h=i("df75"),f=i("7418"),g=i("d1e7"),S=i("7b0b"),b=i("44ad"),x=Object.assign,C=Object.defineProperty;d.exports=!x||u(function(){if(l&&x({b:1},x(C({},"a",{enumerable:!0,get:function(){C(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var $={},D={},A=Symbol(),Y="abcdefghijklmnopqrst";return $[A]=7,Y.split("").forEach(function(Q){D[Q]=Q}),x({},$)[A]!=7||h(x({},D)).join("")!=Y})?function(D,A){for(var Y=S(D),Q=arguments.length,te=1,ne=f.f,ie=g.f;Q>te;)for(var oe=b(arguments[te++]),J=ne?h(oe).concat(ne(oe)):h(oe),X=J.length,fe=0,Le;X>fe;)Le=J[fe++],(!l||ie.call(oe,Le))&&(Y[Le]=oe[Le]);return Y}:x},6547:function(d,L,i){var l=i("a691"),u=i("1d80"),h=function(f){return function(g,S){var b=String(u(g)),x=l(S),C=b.length,$,D;return x<0||x>=C?f?"":void 0:($=b.charCodeAt(x),$<55296||$>56319||x+1===C||(D=b.charCodeAt(x+1))<56320||D>57343?f?b.charAt(x):$:f?b.slice(x,x+2):($-55296<<10)+(D-56320)+65536)}};d.exports={codeAt:h(!1),charAt:h(!0)}},"65f0":function(d,L,i){var l=i("861d"),u=i("e8b5"),h=i("b622"),f=h("species");d.exports=function(g,S){var b;return u(g)&&(b=g.constructor,typeof b=="function"&&(b===Array||u(b.prototype))?b=void 0:l(b)&&(b=b[f],b===null&&(b=void 0))),new(b===void 0?Array:b)(S===0?0:S)}},"69f3":function(d,L,i){var l=i("7f9a"),u=i("da84"),h=i("861d"),f=i("9112"),g=i("5135"),S=i("f772"),b=i("d012"),x=u.WeakMap,C,$,D,A=function(J){return D(J)?$(J):C(J,{})},Y=function(J){return function(X){var fe;if(!h(X)||(fe=$(X)).type!==J)throw TypeError("Incompatible receiver, "+J+" required");return fe}};if(l){var Q=new x,te=Q.get,ne=Q.has,ie=Q.set;C=function(J,X){return ie.call(Q,J,X),X},$=function(J){return te.call(Q,J)||{}},D=function(J){return ne.call(Q,J)}}else{var oe=S("state");b[oe]=!0,C=function(J,X){return f(J,oe,X),X},$=function(J){return g(J,oe)?J[oe]:{}},D=function(J){return g(J,oe)}}d.exports={set:C,get:$,has:D,enforce:A,getterFor:Y}},"6dd8":function(d,L,i){(function(l){var u=function(){if(typeof Map!="undefined")return Map;function U(B,ee){var ue=-1;return B.some(function(_,W){return _[0]===ee?(ue=W,!0):!1}),ue}return function(){function B(){this.__entries__=[]}return Object.defineProperty(B.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),B.prototype.get=function(ee){var ue=U(this.__entries__,ee),_=this.__entries__[ue];return _&&_[1]},B.prototype.set=function(ee,ue){var _=U(this.__entries__,ee);~_?this.__entries__[_][1]=ue:this.__entries__.push([ee,ue])},B.prototype.delete=function(ee){var ue=this.__entries__,_=U(ue,ee);~_&&ue.splice(_,1)},B.prototype.has=function(ee){return!!~U(this.__entries__,ee)},B.prototype.clear=function(){this.__entries__.splice(0)},B.prototype.forEach=function(ee,ue){ue===void 0&&(ue=null);for(var _=0,W=this.__entries__;_<W.length;_++){var M=W[_];ee.call(ue,M[1],M[0])}},B}()}(),h=typeof window!="undefined"&&typeof document!="undefined"&&window.document===document,f=function(){return typeof l!="undefined"&&l.Math===Math?l:typeof self!="undefined"&&self.Math===Math?self:typeof window!="undefined"&&window.Math===Math?window:Function("return this")()}(),g=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(f):function(U){return setTimeout(function(){return U(Date.now())},1e3/60)}}(),S=2;function b(U,B){var ee=!1,ue=!1,_=0;function W(){ee&&(ee=!1,U()),ue&&re()}function M(){g(W)}function re(){var pe=Date.now();if(ee){if(pe-_<S)return;ue=!0}else ee=!0,ue=!1,setTimeout(M,B);_=pe}return re}var x=20,C=["top","right","bottom","left","width","height","size","weight"],$=typeof MutationObserver!="undefined",D=function(){function U(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=b(this.refresh.bind(this),x)}return U.prototype.addObserver=function(B){~this.observers_.indexOf(B)||this.observers_.push(B),this.connected_||this.connect_()},U.prototype.removeObserver=function(B){var ee=this.observers_,ue=ee.indexOf(B);~ue&&ee.splice(ue,1),!ee.length&&this.connected_&&this.disconnect_()},U.prototype.refresh=function(){var B=this.updateObservers_();B&&this.refresh()},U.prototype.updateObservers_=function(){var B=this.observers_.filter(function(ee){return ee.gatherActive(),ee.hasActive()});return B.forEach(function(ee){return ee.broadcastActive()}),B.length>0},U.prototype.connect_=function(){!h||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),$?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},U.prototype.disconnect_=function(){!h||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},U.prototype.onTransitionEnd_=function(B){var ee=B.propertyName,ue=ee===void 0?"":ee,_=C.some(function(W){return!!~ue.indexOf(W)});_&&this.refresh()},U.getInstance=function(){return this.instance_||(this.instance_=new U),this.instance_},U.instance_=null,U}(),A=function(U,B){for(var ee=0,ue=Object.keys(B);ee<ue.length;ee++){var _=ue[ee];Object.defineProperty(U,_,{value:B[_],enumerable:!1,writable:!1,configurable:!0})}return U},Y=function(U){var B=U&&U.ownerDocument&&U.ownerDocument.defaultView;return B||f},Q=me(0,0,0,0);function te(U){return parseFloat(U)||0}function ne(U){for(var B=[],ee=1;ee<arguments.length;ee++)B[ee-1]=arguments[ee];return B.reduce(function(ue,_){var W=U["border-"+_+"-width"];return ue+te(W)},0)}function ie(U){for(var B=["top","right","bottom","left"],ee={},ue=0,_=B;ue<_.length;ue++){var W=_[ue],M=U["padding-"+W];ee[W]=te(M)}return ee}function oe(U){var B=U.getBBox();return me(0,0,B.width,B.height)}function J(U){var B=U.clientWidth,ee=U.clientHeight;if(!B&&!ee)return Q;var ue=Y(U).getComputedStyle(U),_=ie(ue),W=_.left+_.right,M=_.top+_.bottom,re=te(ue.width),pe=te(ue.height);if(ue.boxSizing==="border-box"&&(Math.round(re+W)!==B&&(re-=ne(ue,"left","right")+W),Math.round(pe+M)!==ee&&(pe-=ne(ue,"top","bottom")+M)),!fe(U)){var Ce=Math.round(re+W)-B,ye=Math.round(pe+M)-ee;Math.abs(Ce)!==1&&(re-=Ce),Math.abs(ye)!==1&&(pe-=ye)}return me(_.left,_.top,re,pe)}var X=function(){return typeof SVGGraphicsElement!="undefined"?function(U){return U instanceof Y(U).SVGGraphicsElement}:function(U){return U instanceof Y(U).SVGElement&&typeof U.getBBox=="function"}}();function fe(U){return U===Y(U).document.documentElement}function Le(U){return h?X(U)?oe(U):J(U):Q}function z(U){var B=U.x,ee=U.y,ue=U.width,_=U.height,W=typeof DOMRectReadOnly!="undefined"?DOMRectReadOnly:Object,M=Object.create(W.prototype);return A(M,{x:B,y:ee,width:ue,height:_,top:ee,right:B+ue,bottom:_+ee,left:B}),M}function me(U,B,ee,ue){return{x:U,y:B,width:ee,height:ue}}var be=function(){function U(B){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=me(0,0,0,0),this.target=B}return U.prototype.isActive=function(){var B=Le(this.target);return this.contentRect_=B,B.width!==this.broadcastWidth||B.height!==this.broadcastHeight},U.prototype.broadcastRect=function(){var B=this.contentRect_;return this.broadcastWidth=B.width,this.broadcastHeight=B.height,B},U}(),ae=function(){function U(B,ee){var ue=z(ee);A(this,{target:B,contentRect:ue})}return U}(),xe=function(){function U(B,ee,ue){if(this.activeObservations_=[],this.observations_=new u,typeof B!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=B,this.controller_=ee,this.callbackCtx_=ue}return U.prototype.observe=function(B){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element=="undefined"||!(Element instanceof Object))){if(!(B instanceof Y(B).Element))throw new TypeError('parameter 1 is not of type "Element".');var ee=this.observations_;ee.has(B)||(ee.set(B,new be(B)),this.controller_.addObserver(this),this.controller_.refresh())}},U.prototype.unobserve=function(B){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element=="undefined"||!(Element instanceof Object))){if(!(B instanceof Y(B).Element))throw new TypeError('parameter 1 is not of type "Element".');var ee=this.observations_;!ee.has(B)||(ee.delete(B),ee.size||this.controller_.removeObserver(this))}},U.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},U.prototype.gatherActive=function(){var B=this;this.clearActive(),this.observations_.forEach(function(ee){ee.isActive()&&B.activeObservations_.push(ee)})},U.prototype.broadcastActive=function(){if(!!this.hasActive()){var B=this.callbackCtx_,ee=this.activeObservations_.map(function(ue){return new ae(ue.target,ue.broadcastRect())});this.callback_.call(B,ee,B),this.clearActive()}},U.prototype.clearActive=function(){this.activeObservations_.splice(0)},U.prototype.hasActive=function(){return this.activeObservations_.length>0},U}(),Se=typeof WeakMap!="undefined"?new WeakMap:new u,Oe=function(){function U(B){if(!(this instanceof U))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var ee=D.getInstance(),ue=new xe(B,ee,this);Se.set(this,ue)}return U}();["observe","unobserve","disconnect"].forEach(function(U){Oe.prototype[U]=function(){var B;return(B=Se.get(this))[U].apply(B,arguments)}});var je=function(){return typeof f.ResizeObserver!="undefined"?f.ResizeObserver:Oe}();L.a=je}).call(this,i("c8ba"))},"6ea2":function(d,L,i){var l=i("890c"),u=i.n(l);u.a},"6eeb":function(d,L,i){var l=i("da84"),u=i("9112"),h=i("5135"),f=i("ce4e"),g=i("8925"),S=i("69f3"),b=S.get,x=S.enforce,C=String(String).split("String");(d.exports=function($,D,A,Y){var Q=Y?!!Y.unsafe:!1,te=Y?!!Y.enumerable:!1,ne=Y?!!Y.noTargetGet:!1;if(typeof A=="function"&&(typeof D=="string"&&!h(A,"name")&&u(A,"name",D),x(A).source=C.join(typeof D=="string"?D:"")),$===l){te?$[D]=A:f(D,A);return}else Q?!ne&&$[D]&&(te=!0):delete $[D];te?$[D]=A:u($,D,A)})(Function.prototype,"toString",function(){return typeof this=="function"&&b(this).source||g(this)})},"6f53":function(d,L,i){var l=i("83ab"),u=i("df75"),h=i("fc6a"),f=i("d1e7").f,g=function(S){return function(b){for(var x=h(b),C=u(x),$=C.length,D=0,A=[],Y;$>D;)Y=C[D++],(!l||f.call(x,Y))&&A.push(S?[Y,x[Y]]:x[Y]);return A}};d.exports={entries:g(!0),values:g(!1)}},7156:function(d,L,i){var l=i("861d"),u=i("d2bb");d.exports=function(h,f,g){var S,b;return u&&typeof(S=f.constructor)=="function"&&S!==g&&l(b=S.prototype)&&b!==g.prototype&&u(h,b),h}},7418:function(d,L){L.f=Object.getOwnPropertySymbols},"746f":function(d,L,i){var l=i("428f"),u=i("5135"),h=i("e538"),f=i("9bf2").f;d.exports=function(g){var S=l.Symbol||(l.Symbol={});u(S,g)||f(S,g,{value:h.f(g)})}},7839:function(d,L){d.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(d,L,i){var l=i("1d80");d.exports=function(u){return Object(l(u))}},"7c73":function(d,L,i){var l=i("825a"),u=i("37e8"),h=i("7839"),f=i("d012"),g=i("1be4"),S=i("cc12"),b=i("f772"),x=">",C="<",$="prototype",D="script",A=b("IE_PROTO"),Y=function(){},Q=function(J){return C+D+x+J+C+"/"+D+x},te=function(J){J.write(Q("")),J.close();var X=J.parentWindow.Object;return J=null,X},ne=function(){var J=S("iframe"),X="java"+D+":",fe;return J.style.display="none",g.appendChild(J),J.src=String(X),fe=J.contentWindow.document,fe.open(),fe.write(Q("document.F=Object")),fe.close(),fe.F},ie,oe=function(){try{ie=document.domain&&new ActiveXObject("htmlfile")}catch(X){}oe=ie?te(ie):ne();for(var J=h.length;J--;)delete oe[$][h[J]];return oe()};f[A]=!0,d.exports=Object.create||function(X,fe){var Le;return X!==null?(Y[$]=l(X),Le=new Y,Y[$]=null,Le[A]=X):Le=oe(),fe===void 0?Le:u(Le,fe)}},"7dd0":function(d,L,i){var l=i("23e7"),u=i("9ed3"),h=i("e163"),f=i("d2bb"),g=i("d44e"),S=i("9112"),b=i("6eeb"),x=i("b622"),C=i("c430"),$=i("3f8c"),D=i("ae93"),A=D.IteratorPrototype,Y=D.BUGGY_SAFARI_ITERATORS,Q=x("iterator"),te="keys",ne="values",ie="entries",oe=function(){return this};d.exports=function(J,X,fe,Le,z,me,be){u(fe,X,Le);var ae=function(W){if(W===z&&U)return U;if(!Y&&W in Oe)return Oe[W];switch(W){case te:return function(){return new fe(this,W)};case ne:return function(){return new fe(this,W)};case ie:return function(){return new fe(this,W)}}return function(){return new fe(this)}},xe=X+" Iterator",Se=!1,Oe=J.prototype,je=Oe[Q]||Oe["@@iterator"]||z&&Oe[z],U=!Y&&je||ae(z),B=X=="Array"&&Oe.entries||je,ee,ue,_;if(B&&(ee=h(B.call(new J)),A!==Object.prototype&&ee.next&&(!C&&h(ee)!==A&&(f?f(ee,A):typeof ee[Q]!="function"&&S(ee,Q,oe)),g(ee,xe,!0,!0),C&&($[xe]=oe))),z==ne&&je&&je.name!==ne&&(Se=!0,U=function(){return je.call(this)}),(!C||be)&&Oe[Q]!==U&&S(Oe,Q,U),$[X]=U,z)if(ue={values:ae(ne),keys:me?U:ae(te),entries:ae(ie)},be)for(_ in ue)(Y||Se||!(_ in Oe))&&b(Oe,_,ue[_]);else l({target:X,proto:!0,forced:Y||Se},ue);return ue}},"7f9a":function(d,L,i){var l=i("da84"),u=i("8925"),h=l.WeakMap;d.exports=typeof h=="function"&&/native code/.test(u(h))},"825a":function(d,L,i){var l=i("861d");d.exports=function(u){if(!l(u))throw TypeError(String(u)+" is not an object");return u}},"83ab":function(d,L,i){var l=i("d039");d.exports=!l(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},8418:function(d,L,i){var l=i("c04e"),u=i("9bf2"),h=i("5c6c");d.exports=function(f,g,S){var b=l(g);b in f?u.f(f,b,h(0,S)):f[b]=S}},"861d":function(d,L){d.exports=function(i){return typeof i=="object"?i!==null:typeof i=="function"}},"88bc":function(d,L,i){(function(l){var u=1/0,h=9007199254740991,f="[object Arguments]",g="[object Function]",S="[object GeneratorFunction]",b="[object Symbol]",x=typeof l=="object"&&l&&l.Object===Object&&l,C=typeof self=="object"&&self&&self.Object===Object&&self,$=x||C||Function("return this")();function D(M,re,pe){switch(pe.length){case 0:return M.call(re);case 1:return M.call(re,pe[0]);case 2:return M.call(re,pe[0],pe[1]);case 3:return M.call(re,pe[0],pe[1],pe[2])}return M.apply(re,pe)}function A(M,re){for(var pe=-1,Ce=M?M.length:0,ye=Array(Ce);++pe<Ce;)ye[pe]=re(M[pe],pe,M);return ye}function Y(M,re){for(var pe=-1,Ce=re.length,ye=M.length;++pe<Ce;)M[ye+pe]=re[pe];return M}var Q=Object.prototype,te=Q.hasOwnProperty,ne=Q.toString,ie=$.Symbol,oe=Q.propertyIsEnumerable,J=ie?ie.isConcatSpreadable:void 0,X=Math.max;function fe(M,re,pe,Ce,ye){var st=-1,nt=M.length;for(pe||(pe=be),ye||(ye=[]);++st<nt;){var Ae=M[st];re>0&&pe(Ae)?re>1?fe(Ae,re-1,pe,Ce,ye):Y(ye,Ae):Ce||(ye[ye.length]=Ae)}return ye}function Le(M,re){return M=Object(M),z(M,re,function(pe,Ce){return Ce in M})}function z(M,re,pe){for(var Ce=-1,ye=re.length,st={};++Ce<ye;){var nt=re[Ce],Ae=M[nt];pe(Ae,nt)&&(st[nt]=Ae)}return st}function me(M,re){return re=X(re===void 0?M.length-1:re,0),function(){for(var pe=arguments,Ce=-1,ye=X(pe.length-re,0),st=Array(ye);++Ce<ye;)st[Ce]=pe[re+Ce];Ce=-1;for(var nt=Array(re+1);++Ce<re;)nt[Ce]=pe[Ce];return nt[re]=st,D(M,this,nt)}}function be(M){return Se(M)||xe(M)||!!(J&&M&&M[J])}function ae(M){if(typeof M=="string"||_(M))return M;var re=M+"";return re=="0"&&1/M==-u?"-0":re}function xe(M){return je(M)&&te.call(M,"callee")&&(!oe.call(M,"callee")||ne.call(M)==f)}var Se=Array.isArray;function Oe(M){return M!=null&&B(M.length)&&!U(M)}function je(M){return ue(M)&&Oe(M)}function U(M){var re=ee(M)?ne.call(M):"";return re==g||re==S}function B(M){return typeof M=="number"&&M>-1&&M%1==0&&M<=h}function ee(M){var re=typeof M;return!!M&&(re=="object"||re=="function")}function ue(M){return!!M&&typeof M=="object"}function _(M){return typeof M=="symbol"||ue(M)&&ne.call(M)==b}var W=me(function(M,re){return M==null?{}:Le(M,A(fe(re,1),ae))});d.exports=W}).call(this,i("c8ba"))},"890c":function(d,L,i){},8925:function(d,L,i){var l=i("c6cd"),u=Function.toString;typeof l.inspectSource!="function"&&(l.inspectSource=function(h){return u.call(h)}),d.exports=l.inspectSource},"8aa5":function(d,L,i){var l=i("6547").charAt;d.exports=function(u,h,f){return h+(f?l(u,h).length:1)}},"8e95":function(d,L,i){var l=i("c195");d.exports=new l},9020:function(d,L){function i(l){this.options=l,!l.deferSetup&&this.setup()}i.prototype={constructor:i,setup:function(){this.options.setup&&this.options.setup(),this.initialised=!0},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(l){return this.options===l||this.options.match===l}},d.exports=i},"90e3":function(d,L){var i=0,l=Math.random();d.exports=function(u){return"Symbol("+String(u===void 0?"":u)+")_"+(++i+l).toString(36)}},9112:function(d,L,i){var l=i("83ab"),u=i("9bf2"),h=i("5c6c");d.exports=l?function(f,g,S){return u.f(f,g,h(1,S))}:function(f,g,S){return f[g]=S,f}},9263:function(d,L,i){var l=i("ad6d"),u=i("9f7f"),h=RegExp.prototype.exec,f=String.prototype.replace,g=h,S=function(){var $=/a/,D=/b*/g;return h.call($,"a"),h.call(D,"a"),$.lastIndex!==0||D.lastIndex!==0}(),b=u.UNSUPPORTED_Y||u.BROKEN_CARET,x=/()??/.exec("")[1]!==void 0,C=S||x||b;C&&(g=function(D){var A=this,Y,Q,te,ne,ie=b&&A.sticky,oe=l.call(A),J=A.source,X=0,fe=D;return ie&&(oe=oe.replace("y",""),oe.indexOf("g")===-1&&(oe+="g"),fe=String(D).slice(A.lastIndex),A.lastIndex>0&&(!A.multiline||A.multiline&&D[A.lastIndex-1]!==` `)&&(J="(?: "+J+")",fe=" "+fe,X++),Q=new RegExp("^(?:"+J+")",oe)),x&&(Q=new RegExp("^"+J+"$(?!\\s)",oe)),S&&(Y=A.lastIndex),te=h.call(ie?Q:A,fe),ie?te?(te.input=te.input.slice(X),te[0]=te[0].slice(X),te.index=A.lastIndex,A.lastIndex+=te[0].length):A.lastIndex=0:S&&te&&(A.lastIndex=A.global?te.index+te[0].length:Y),x&&te&&te.length>1&&f.call(te[0],Q,function(){for(ne=1;ne<arguments.length-2;ne++)arguments[ne]===void 0&&(te[ne]=void 0)}),te}),d.exports=g},"94ca":function(d,L,i){var l=i("d039"),u=/#|\.prototype\./,h=function(x,C){var $=g[f(x)];return $==b?!0:$==S?!1:typeof C=="function"?l(C):!!C},f=h.normalize=function(x){return String(x).replace(u,".").toLowerCase()},g=h.data={},S=h.NATIVE="N",b=h.POLYFILL="P";d.exports=h},"99af":function(d,L,i){var l=i("23e7"),u=i("d039"),h=i("e8b5"),f=i("861d"),g=i("7b0b"),S=i("50c4"),b=i("8418"),x=i("65f0"),C=i("1dde"),$=i("b622"),D=i("2d00"),A=$("isConcatSpreadable"),Y=9007199254740991,Q="Maximum allowed index exceeded",te=D>=51||!u(function(){var J=[];return J[A]=!1,J.concat()[0]!==J}),ne=C("concat"),ie=function(J){if(!f(J))return!1;var X=J[A];return X!==void 0?!!X:h(J)},oe=!te||!ne;l({target:"Array",proto:!0,forced:oe},{concat:function(X){var fe=g(this),Le=x(fe,0),z=0,me,be,ae,xe,Se;for(me=-1,ae=arguments.length;me<ae;me++)if(Se=me===-1?fe:arguments[me],ie(Se)){if(xe=S(Se.length),z+xe>Y)throw TypeError(Q);for(be=0;be<xe;be++,z++)be in Se&&b(Le,z,Se[be])}else{if(z>=Y)throw TypeError(Q);b(Le,z++,Se)}return Le.length=z,Le}})},"9bdd":function(d,L,i){var l=i("825a");d.exports=function(u,h,f,g){try{return g?h(l(f)[0],f[1]):h(f)}catch(b){var S=u.return;throw S!==void 0&&l(S.call(u)),b}}},"9bf2":function(d,L,i){var l=i("83ab"),u=i("0cfb"),h=i("825a"),f=i("c04e"),g=Object.defineProperty;L.f=l?g:function(b,x,C){if(h(b),x=f(x,!0),h(C),u)try{return g(b,x,C)}catch($){}if("get"in C||"set"in C)throw TypeError("Accessors not supported");return"value"in C&&(b[x]=C.value),b}},"9ed3":function(d,L,i){var l=i("ae93").IteratorPrototype,u=i("7c73"),h=i("5c6c"),f=i("d44e"),g=i("3f8c"),S=function(){return this};d.exports=function(b,x,C){var $=x+" Iterator";return b.prototype=u(l,{next:h(1,C)}),f(b,$,!1,!0),g[$]=S,b}},"9f7f":function(d,L,i){var l=i("d039");function u(h,f){return RegExp(h,f)}L.UNSUPPORTED_Y=l(function(){var h=u("a","y");return h.lastIndex=2,h.exec("abcd")!=null}),L.BROKEN_CARET=l(function(){var h=u("^r","gy");return h.lastIndex=2,h.exec("str")!=null})},a15b:function(d,L,i){var l=i("23e7"),u=i("44ad"),h=i("fc6a"),f=i("a640"),g=[].join,S=u!=Object,b=f("join",",");l({target:"Array",proto:!0,forced:S||!b},{join:function(C){return g.call(h(this),C===void 0?",":C)}})},a48b:function(d,L,i){var l=i("0497"),u=function(g){var S=/[height|width]$/;return S.test(g)},h=function(g){var S="",b=Object.keys(g);return b.forEach(function(x,C){var $=g[x];x=l(x),u(x)&&typeof $=="number"&&($=$+"px"),$===!0?S+=x:$===!1?S+="not "+x:S+="("+x+": "+$+")",C<b.length-1&&(S+=" and ")}),S},f=function(g){var S="";return typeof g=="string"?g:g instanceof Array?(g.forEach(function(b,x){S+=h(b),x<g.length-1&&(S+=", ")}),S):h(g)};d.exports=f},a4d3:function(d,L,i){var l=i("23e7"),u=i("da84"),h=i("d066"),f=i("c430"),g=i("83ab"),S=i("4930"),b=i("fdbf"),x=i("d039"),C=i("5135"),$=i("e8b5"),D=i("861d"),A=i("825a"),Y=i("7b0b"),Q=i("fc6a"),te=i("c04e"),ne=i("5c6c"),ie=i("7c73"),oe=i("df75"),J=i("241c"),X=i("057f"),fe=i("7418"),Le=i("06cf"),z=i("9bf2"),me=i("d1e7"),be=i("9112"),ae=i("6eeb"),xe=i("5692"),Se=i("f772"),Oe=i("d012"),je=i("90e3"),U=i("b622"),B=i("e538"),ee=i("746f"),ue=i("d44e"),_=i("69f3"),W=i("b727").forEach,M=Se("hidden"),re="Symbol",pe="prototype",Ce=U("toPrimitive"),ye=_.set,st=_.getterFor(re),nt=Object[pe],Ae=u.Symbol,De=h("JSON","stringify"),lt=Le.f,Qe=z.f,Nt=X.f,an=me.f,dt=xe("symbols"),Et=xe("op-symbols"),Gt=xe("string-to-symbol-registry"),jt=xe("symbol-to-string-registry"),Zt=xe("wks"),bt=u.QObject,Ut=!bt||!bt[pe]||!bt[pe].findChild,St=g&&x(function(){return ie(Qe({},"a",{get:function(){return Qe(this,"a",{value:7}).a}})).a!=7})?function(_e,we,Te){var Ue=lt(nt,we);Ue&&delete nt[we],Qe(_e,we,Te),Ue&&_e!==nt&&Qe(nt,we,Ue)}:Qe,Mt=function(_e,we){var Te=dt[_e]=ie(Ae[pe]);return ye(Te,{type:re,tag:_e,description:we}),g||(Te.description=we),Te},xt=b?function(_e){return typeof _e=="symbol"}:function(_e){return Object(_e)instanceof Ae},Je=function(we,Te,Ue){we===nt&&Je(Et,Te,Ue),A(we);var Ve=te(Te,!0);return A(Ue),C(dt,Ve)?(Ue.enumerable?(C(we,M)&&we[M][Ve]&&(we[M][Ve]=!1),Ue=ie(Ue,{enumerable:ne(0,!1)})):(C(we,M)||Qe(we,M,ne(1,{})),we[M][Ve]=!0),St(we,Ve,Ue)):Qe(we,Ve,Ue)},wt=function(we,Te){A(we);var Ue=Q(Te),Ve=oe(Ue).concat(_t(Ue));return W(Ve,function(pt){(!g||Ot.call(Ue,pt))&&Je(we,pt,Ue[pt])}),we},ct=function(we,Te){return Te===void 0?ie(we):wt(ie(we),Te)},Ot=function(we){var Te=te(we,!0),Ue=an.call(this,Te);return this===nt&&C(dt,Te)&&!C(Et,Te)?!1:Ue||!C(this,Te)||!C(dt,Te)||C(this,M)&&this[M][Te]?Ue:!0},Ft=function(we,Te){var Ue=Q(we),Ve=te(Te,!0);if(!(Ue===nt&&C(dt,Ve)&&!C(Et,Ve))){var pt=lt(Ue,Ve);return pt&&C(dt,Ve)&&!(C(Ue,M)&&Ue[M][Ve])&&(pt.enumerable=!0),pt}},Jt=function(we){var Te=Nt(Q(we)),Ue=[];return W(Te,function(Ve){!C(dt,Ve)&&!C(Oe,Ve)&&Ue.push(Ve)}),Ue},_t=function(we){var Te=we===nt,Ue=Nt(Te?Et:Q(we)),Ve=[];return W(Ue,function(pt){C(dt,pt)&&(!Te||C(nt,pt))&&Ve.push(dt[pt])}),Ve};if(S||(Ae=function(){if(this instanceof Ae)throw TypeError("Symbol is not a constructor");var we=!arguments.length||arguments[0]===void 0?void 0:String(arguments[0]),Te=je(we),Ue=function(Ve){this===nt&&Ue.call(Et,Ve),C(this,M)&&C(this[M],Te)&&(this[M][Te]=!1),St(this,Te,ne(1,Ve))};return g&&Ut&&St(nt,Te,{configurable:!0,set:Ue}),Mt(Te,we)},ae(Ae[pe],"toString",function(){return st(this).tag}),ae(Ae,"withoutSetter",function(_e){return Mt(je(_e),_e)}),me.f=Ot,z.f=Je,Le.f=Ft,J.f=X.f=Jt,fe.f=_t,B.f=function(_e){return Mt(U(_e),_e)},g&&(Qe(Ae[pe],"description",{configurable:!0,get:function(){return st(this).description}}),f||ae(nt,"propertyIsEnumerable",Ot,{unsafe:!0}))),l({global:!0,wrap:!0,forced:!S,sham:!S},{Symbol:Ae}),W(oe(Zt),function(_e){ee(_e)}),l({target:re,stat:!0,forced:!S},{for:function(_e){var we=String(_e);if(C(Gt,we))return Gt[we];var Te=Ae(we);return Gt[we]=Te,jt[Te]=we,Te},keyFor:function(we){if(!xt(we))throw TypeError(we+" is not a symbol");if(C(jt,we))return jt[we]},useSetter:function(){Ut=!0},useSimple:function(){Ut=!1}}),l({target:"Object",stat:!0,forced:!S,sham:!g},{create:ct,defineProperty:Je,defineProperties:wt,getOwnPropertyDescriptor:Ft}),l({target:"Object",stat:!0,forced:!S},{getOwnPropertyNames:Jt,getOwnPropertySymbols:_t}),l({target:"Object",stat:!0,forced:x(function(){fe.f(1)})},{getOwnPropertySymbols:function(we){return fe.f(Y(we))}}),De){var Tt=!S||x(function(){var _e=Ae();return De([_e])!="[null]"||De({a:_e})!="{}"||De(Object(_e))!="{}"});l({target:"JSON",stat:!0,forced:Tt},{stringify:function(we,Te,Ue){for(var Ve=[we],pt=1,Xt;arguments.length>pt;)Ve.push(arguments[pt++]);if(Xt=Te,!(!D(Te)&&we===void 0||xt(we)))return $(Te)||(Te=function(F,q){if(typeof Xt=="function"&&(q=Xt.call(this,F,q)),!xt(q))return q}),Ve[1]=Te,De.apply(null,Ve)}})}Ae[pe][Ce]||be(Ae[pe],Ce,Ae[pe].valueOf),ue(Ae,re),Oe[M]=!0},a623:function(d,L,i){var l=i("23e7"),u=i("b727").every,h=i("a640"),f=i("ae40"),g=h("every"),S=f("every");l({target:"Array",proto:!0,forced:!g||!S},{every:function(x){return u(this,x,arguments.length>1?arguments[1]:void 0)}})},a630:function(d,L,i){var l=i("23e7"),u=i("4df4"),h=i("1c7e"),f=!h(function(g){Array.from(g)});l({target:"Array",stat:!0,forced:f},{from:u})},a640:function(d,L,i){var l=i("d039");d.exports=function(u,h){var f=[][u];return!!f&&l(function(){f.call(null,h||function(){throw 1},1)})}},a691:function(d,L){var i=Math.ceil,l=Math.floor;d.exports=function(u){return isNaN(u=+u)?0:(u>0?l:i)(u)}},a9e3:function(d,L,i){var l=i("83ab"),u=i("da84"),h=i("94ca"),f=i("6eeb"),g=i("5135"),S=i("c6b6"),b=i("7156"),x=i("c04e"),C=i("d039"),$=i("7c73"),D=i("241c").f,A=i("06cf").f,Y=i("9bf2").f,Q=i("58a8").trim,te="Number",ne=u[te],ie=ne.prototype,oe=S($(ie))==te,J=function(me){var be=x(me,!1),ae,xe,Se,Oe,je,U,B,ee;if(typeof be=="string"&&be.length>2){if(be=Q(be),ae=be.charCodeAt(0),ae===43||ae===45){if(xe=be.charCodeAt(2),xe===88||xe===120)return NaN}else if(ae===48){switch(be.charCodeAt(1)){case 66:case 98:Se=2,Oe=49;break;case 79:case 111:Se=8,Oe=55;break;default:return+be}for(je=be.slice(2),U=je.length,B=0;B<U;B++)if(ee=je.charCodeAt(B),ee<48||ee>Oe)return NaN;return parseInt(je,Se)}}return+be};if(h(te,!ne(" 0o1")||!ne("0b1")||ne("+0x1"))){for(var X=function(be){var ae=arguments.length<1?0:be,xe=this;return xe instanceof X&&(oe?C(function(){ie.valueOf.call(xe)}):S(xe)!=te)?b(new ne(J(ae)),xe,X):J(ae)},fe=l?D(ne):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),Le=0,z;fe.length>Le;Le++)g(ne,z=fe[Le])&&!g(X,z)&&Y(X,z,A(ne,z));X.prototype=ie,ie.constructor=X,f(u,te,X)}},ac1f:function(d,L,i){var l=i("23e7"),u=i("9263");l({target:"RegExp",proto:!0,forced:/./.exec!==u},{exec:u})},ad6d:function(d,L,i){var l=i("825a");d.exports=function(){var u=l(this),h="";return u.global&&(h+="g"),u.ignoreCase&&(h+="i"),u.multiline&&(h+="m"),u.dotAll&&(h+="s"),u.unicode&&(h+="u"),u.sticky&&(h+="y"),h}},ae40:function(d,L,i){var l=i("83ab"),u=i("d039"),h=i("5135"),f=Object.defineProperty,g={},S=function(b){throw b};d.exports=function(b,x){if(h(g,b))return g[b];x||(x={});var C=[][b],$=h(x,"ACCESSORS")?x.ACCESSORS:!1,D=h(x,0)?x[0]:S,A=h(x,1)?x[1]:void 0;return g[b]=!!C&&!u(function(){if($&&!l)return!0;var Y={length:-1};$?f(Y,1,{enumerable:!0,get:S}):Y[1]=1,C.call(Y,D,A)})}},ae93:function(d,L,i){var l=i("e163"),u=i("9112"),h=i("5135"),f=i("b622"),g=i("c430"),S=f("iterator"),b=!1,x=function(){return this},C,$,D;[].keys&&(D=[].keys(),"next"in D?($=l(l(D)),$!==Object.prototype&&(C=$)):b=!0),C==null&&(C={}),!g&&!h(C,S)&&u(C,S,x),d.exports={IteratorPrototype:C,BUGGY_SAFARI_ITERATORS:b}},b041:function(d,L,i){var l=i("00ee"),u=i("f5df");d.exports=l?{}.toString:function(){return"[object "+u(this)+"]"}},b0c0:function(d,L,i){var l=i("83ab"),u=i("9bf2").f,h=Function.prototype,f=h.toString,g=/^\s*function ([^ (]*)/,S="name";l&&!(S in h)&&u(h,S,{configurable:!0,get:function(){try{return f.call(this).match(g)[1]}catch(b){return""}}})},b622:function(d,L,i){var l=i("da84"),u=i("5692"),h=i("5135"),f=i("90e3"),g=i("4930"),S=i("fdbf"),b=u("wks"),x=l.Symbol,C=S?x:x&&x.withoutSetter||f;d.exports=function($){return h(b,$)||(g&&h(x,$)?b[$]=x[$]:b[$]=C("Symbol."+$)),b[$]}},b64b:function(d,L,i){var l=i("23e7"),u=i("7b0b"),h=i("df75"),f=i("d039"),g=f(function(){h(1)});l({target:"Object",stat:!0,forced:g},{keys:function(b){return h(u(b))}})},b727:function(d,L,i){var l=i("0366"),u=i("44ad"),h=i("7b0b"),f=i("50c4"),g=i("65f0"),S=[].push,b=function(x){var C=x==1,$=x==2,D=x==3,A=x==4,Y=x==6,Q=x==5||Y;return function(te,ne,ie,oe){for(var J=h(te),X=u(J),fe=l(ne,ie,3),Le=f(X.length),z=0,me=oe||g,be=C?me(te,Le):$?me(te,0):void 0,ae,xe;Le>z;z++)if((Q||z in X)&&(ae=X[z],xe=fe(ae,z,J),x)){if(C)be[z]=xe;else if(xe)switch(x){case 3:return!0;case 5:return ae;case 6:return z;case 2:S.call(be,ae)}else if(A)return!1}return Y?-1:D||A?A:be}};d.exports={forEach:b(0),map:b(1),filter:b(2),some:b(3),every:b(4),find:b(5),findIndex:b(6)}},bcf7:function(d,L,i){var l=i("9020"),u=i("217d").each;function h(f,g){this.query=f,this.isUnconditional=g,this.handlers=[],this.mql=window.matchMedia(f);var S=this;this.listener=function(b){S.mql=b.currentTarget||b,S.assess()},this.mql.addListener(this.listener)}h.prototype={constuctor:h,addHandler:function(f){var g=new l(f);this.handlers.push(g),this.matches()&&g.on()},removeHandler:function(f){var g=this.handlers;u(g,function(S,b){if(S.equals(f))return S.destroy(),!g.splice(b,1)})},matches:function(){return this.mql.matches||this.isUnconditional},clear:function(){u(this.handlers,function(f){f.destroy()}),this.mql.removeListener(this.listener),this.handlers.length=0},assess:function(){var f=this.matches()?"on":"off";u(this.handlers,function(g){g[f]()})}},d.exports=h},c04e:function(d,L,i){var l=i("861d");d.exports=function(u,h){if(!l(u))return u;var f,g;if(h&&typeof(f=u.toString)=="function"&&!l(g=f.call(u))||typeof(f=u.valueOf)=="function"&&!l(g=f.call(u))||!h&&typeof(f=u.toString)=="function"&&!l(g=f.call(u)))return g;throw TypeError("Can't convert object to primitive value")}},c195:function(d,L,i){var l=i("bcf7"),u=i("217d"),h=u.each,f=u.isFunction,g=u.isArray;function S(){if(!window.matchMedia)throw new Error("matchMedia not present, legacy browsers require a polyfill");this.queries={},this.browserIsIncapable=!window.matchMedia("only all").matches}S.prototype={constructor:S,register:function(b,x,C){var $=this.queries,D=C&&this.browserIsIncapable;return $[b]||($[b]=new l(b,D)),f(x)&&(x={match:x}),g(x)||(x=[x]),h(x,function(A){f(A)&&(A={match:A}),$[b].addHandler(A)}),this},unregister:function(b,x){var C=this.queries[b];return C&&(x?C.removeHandler(x):(C.clear(),delete this.queries[b])),this}},d.exports=S},c430:function(d,L){d.exports=!1},c6b6:function(d,L){var i={}.toString;d.exports=function(l){return i.call(l).slice(8,-1)}},c6cd:function(d,L,i){var l=i("da84"),u=i("ce4e"),h="__core-js_shared__",f=l[h]||u(h,{});d.exports=f},c832:function(d,L,i){(function(l){var u="Expected a function",h="__lodash_hash_undefined__",f=1/0,g="[object Function]",S="[object GeneratorFunction]",b="[object Symbol]",x=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,C=/^\w*$/,$=/^\./,D=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,A=/[\\^$.*+?()[\]{}|]/g,Y=/\\(\\)?/g,Q=/^\[object .+?Constructor\]$/,te=typeof l=="object"&&l&&l.Object===Object&&l,ne=typeof self=="object"&&self&&self.Object===Object&&self,ie=te||ne||Function("return this")();function oe(F,q){return F==null?void 0:F[q]}function J(F){var q=!1;if(F!=null&&typeof F.toString!="function")try{q=!!(F+"")}catch($e){}return q}var X=Array.prototype,fe=Function.prototype,Le=Object.prototype,z=ie["__core-js_shared__"],me=function(){var F=/[^.]+$/.exec(z&&z.keys&&z.keys.IE_PROTO||"");return F?"Symbol(src)_1."+F:""}(),be=fe.toString,ae=Le.hasOwnProperty,xe=Le.toString,Se=RegExp("^"+be.call(ae).replace(A,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Oe=ie.Symbol,je=X.splice,U=xt(ie,"Map"),B=xt(Object,"create"),ee=Oe?Oe.prototype:void 0,ue=ee?ee.toString:void 0;function _(F){var q=-1,$e=F?F.length:0;for(this.clear();++q<$e;){var et=F[q];this.set(et[0],et[1])}}function W(){this.__data__=B?B(null):{}}function M(F){return this.has(F)&&delete this.__data__[F]}function re(F){var q=this.__data__;if(B){var $e=q[F];return $e===h?void 0:$e}return ae.call(q,F)?q[F]:void 0}function pe(F){var q=this.__data__;return B?q[F]!==void 0:ae.call(q,F)}function Ce(F,q){var $e=this.__data__;return $e[F]=B&&q===void 0?h:q,this}_.prototype.clear=W,_.prototype.delete=M,_.prototype.get=re,_.prototype.has=pe,_.prototype.set=Ce;function ye(F){var q=-1,$e=F?F.length:0;for(this.clear();++q<$e;){var et=F[q];this.set(et[0],et[1])}}function st(){this.__data__=[]}function nt(F){var q=this.__data__,$e=jt(q,F);if($e<0)return!1;var et=q.length-1;return $e==et?q.pop():je.call(q,$e,1),!0}function Ae(F){var q=this.__data__,$e=jt(q,F);return $e<0?void 0:q[$e][1]}function De(F){return jt(this.__data__,F)>-1}function lt(F,q){var $e=this.__data__,et=jt($e,F);return et<0?$e.push([F,q]):$e[et][1]=q,this}ye.prototype.clear=st,ye.prototype.delete=nt,ye.prototype.get=Ae,ye.prototype.has=De,ye.prototype.set=lt;function Qe(F){var q=-1,$e=F?F.length:0;for(this.clear();++q<$e;){var et=F[q];this.set(et[0],et[1])}}function Nt(){this.__data__={hash:new _,map:new(U||ye),string:new _}}function an(F){return Mt(this,F).delete(F)}function dt(F){return Mt(this,F).get(F)}function Et(F){return Mt(this,F).has(F)}function Gt(F,q){return Mt(this,F).set(F,q),this}Qe.prototype.clear=Nt,Qe.prototype.delete=an,Qe.prototype.get=dt,Qe.prototype.has=Et,Qe.prototype.set=Gt;function jt(F,q){for(var $e=F.length;$e--;)if(Tt(F[$e][0],q))return $e;return-1}function Zt(F,q){q=Je(q,F)?[q]:St(q);for(var $e=0,et=q.length;F!=null&&$e<et;)F=F[Ft(q[$e++])];return $e&&$e==et?F:void 0}function bt(F){if(!Te(F)||ct(F))return!1;var q=we(F)||J(F)?Se:Q;return q.test(Jt(F))}function Ut(F){if(typeof F=="string")return F;if(Ve(F))return ue?ue.call(F):"";var q=F+"";return q=="0"&&1/F==-f?"-0":q}function St(F){return _e(F)?F:Ot(F)}function Mt(F,q){var $e=F.__data__;return wt(q)?$e[typeof q=="string"?"string":"hash"]:$e.map}function xt(F,q){var $e=oe(F,q);return bt($e)?$e:void 0}function Je(F,q){if(_e(F))return!1;var $e=typeof F;return $e=="number"||$e=="symbol"||$e=="boolean"||F==null||Ve(F)?!0:C.test(F)||!x.test(F)||q!=null&&F in Object(q)}function wt(F){var q=typeof F;return q=="string"||q=="number"||q=="symbol"||q=="boolean"?F!=="__proto__":F===null}function ct(F){return!!me&&me in F}var Ot=_t(function(F){F=pt(F);var q=[];return $.test(F)&&q.push(""),F.replace(D,function($e,et,yt,Ct){q.push(yt?Ct.replace(Y,"$1"):et||$e)}),q});function Ft(F){if(typeof F=="string"||Ve(F))return F;var q=F+"";return q=="0"&&1/F==-f?"-0":q}function Jt(F){if(F!=null){try{return be.call(F)}catch(q){}try{return F+""}catch(q){}}return""}function _t(F,q){if(typeof F!="function"||q&&typeof q!="function")throw new TypeError(u);var $e=function(){var et=arguments,yt=q?q.apply(this,et):et[0],Ct=$e.cache;if(Ct.has(yt))return Ct.get(yt);var on=F.apply(this,et);return $e.cache=Ct.set(yt,on),on};return $e.cache=new(_t.Cache||Qe),$e}_t.Cache=Qe;function Tt(F,q){return F===q||F!==F&&q!==q}var _e=Array.isArray;function we(F){var q=Te(F)?xe.call(F):"";return q==g||q==S}function Te(F){var q=typeof F;return!!F&&(q=="object"||q=="function")}function Ue(F){return!!F&&typeof F=="object"}function Ve(F){return typeof F=="symbol"||Ue(F)&&xe.call(F)==b}function pt(F){return F==null?"":Ut(F)}function Xt(F,q,$e){var et=F==null?void 0:Zt(F,q);return et===void 0?$e:et}d.exports=Xt}).call(this,i("c8ba"))},c8ba:function(d,L){var i;i=function(){return this}();try{i=i||new Function("return this")()}catch(l){typeof window=="object"&&(i=window)}d.exports=i},c975:function(d,L,i){var l=i("23e7"),u=i("4d64").indexOf,h=i("a640"),f=i("ae40"),g=[].indexOf,S=!!g&&1/[1].indexOf(1,-0)<0,b=h("indexOf"),x=f("indexOf",{ACCESSORS:!0,1:0});l({target:"Array",proto:!0,forced:S||!b||!x},{indexOf:function($){return S?g.apply(this,arguments)||0:u(this,$,arguments.length>1?arguments[1]:void 0)}})},ca84:function(d,L,i){var l=i("5135"),u=i("fc6a"),h=i("4d64").indexOf,f=i("d012");d.exports=function(g,S){var b=u(g),x=0,C=[],$;for($ in b)!l(f,$)&&l(b,$)&&C.push($);for(;S.length>x;)l(b,$=S[x++])&&(~h(C,$)||C.push($));return C}},cc12:function(d,L,i){var l=i("da84"),u=i("861d"),h=l.document,f=u(h)&&u(h.createElement);d.exports=function(g){return f?h.createElement(g):{}}},cca6:function(d,L,i){var l=i("23e7"),u=i("60da");l({target:"Object",stat:!0,forced:Object.assign!==u},{assign:u})},ce4e:function(d,L,i){var l=i("da84"),u=i("9112");d.exports=function(h,f){try{u(l,h,f)}catch(g){l[h]=f}return f}},d012:function(d,L){d.exports={}},d039:function(d,L){d.exports=function(i){try{return!!i()}catch(l){return!0}}},d066:function(d,L,i){var l=i("428f"),u=i("da84"),h=function(f){return typeof f=="function"?f:void 0};d.exports=function(f,g){return arguments.length<2?h(l[f])||h(u[f]):l[f]&&l[f][g]||u[f]&&u[f][g]}},d1e7:function(d,L,i){var l={}.propertyIsEnumerable,u=Object.getOwnPropertyDescriptor,h=u&&!l.call({1:2},1);L.f=h?function(g){var S=u(this,g);return!!S&&S.enumerable}:l},d28b:function(d,L,i){var l=i("746f");l("iterator")},d2bb:function(d,L,i){var l=i("825a"),u=i("3bbe");d.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var h=!1,f={},g;try{g=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,g.call(f,[]),h=f instanceof Array}catch(S){}return function(b,x){return l(b),u(x),h?g.call(b,x):b.__proto__=x,b}}():void 0)},d3b7:function(d,L,i){var l=i("00ee"),u=i("6eeb"),h=i("b041");l||u(Object.prototype,"toString",h,{unsafe:!0})},d44e:function(d,L,i){var l=i("9bf2").f,u=i("5135"),h=i("b622"),f=h("toStringTag");d.exports=function(g,S,b){g&&!u(g=b?g:g.prototype,f)&&l(g,f,{configurable:!0,value:S})}},d58f:function(d,L,i){var l=i("1c0b"),u=i("7b0b"),h=i("44ad"),f=i("50c4"),g=function(S){return function(b,x,C,$){l(x);var D=u(b),A=h(D),Y=f(D.length),Q=S?Y-1:0,te=S?-1:1;if(C<2)for(;;){if(Q in A){$=A[Q],Q+=te;break}if(Q+=te,S?Q<0:Y<=Q)throw TypeError("Reduce of empty array with no initial value")}for(;S?Q>=0:Y>Q;Q+=te)Q in A&&($=x($,A[Q],Q,D));return $}};d.exports={left:g(!1),right:g(!0)}},d784:function(d,L,i){i("ac1f");var l=i("6eeb"),u=i("d039"),h=i("b622"),f=i("9263"),g=i("9112"),S=h("species"),b=!u(function(){var A=/./;return A.exec=function(){var Y=[];return Y.groups={a:"7"},Y},"".replace(A,"$<a>")!=="7"}),x=function(){return"a".replace(/./,"$0")==="$0"}(),C=h("replace"),$=function(){return/./[C]?/./[C]("a","$0")==="":!1}(),D=!u(function(){var A=/(?:)/,Y=A.exec;A.exec=function(){return Y.apply(this,arguments)};var Q="ab".split(A);return Q.length!==2||Q[0]!=="a"||Q[1]!=="b"});d.exports=function(A,Y,Q,te){var ne=h(A),ie=!u(function(){var z={};return z[ne]=function(){return 7},""[A](z)!=7}),oe=ie&&!u(function(){var z=!1,me=/a/;return A==="split"&&(me={},me.constructor={},me.constructor[S]=function(){return me},me.flags="",me[ne]=/./[ne]),me.exec=function(){return z=!0,null},me[ne](""),!z});if(!ie||!oe||A==="replace"&&!(b&&x&&!$)||A==="split"&&!D){var J=/./[ne],X=Q(ne,""[A],function(z,me,be,ae,xe){return me.exec===f?ie&&!xe?{done:!0,value:J.call(me,be,ae)}:{done:!0,value:z.call(be,me,ae)}:{done:!1}},{REPLACE_KEEPS_$0:x,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:$}),fe=X[0],Le=X[1];l(String.prototype,A,fe),l(RegExp.prototype,ne,Y==2?function(z,me){return Le.call(z,this,me)}:function(z){return Le.call(z,this)})}te&&g(RegExp.prototype[ne],"sham",!0)}},d81d:function(d,L,i){var l=i("23e7"),u=i("b727").map,h=i("1dde"),f=i("ae40"),g=h("map"),S=f("map");l({target:"Array",proto:!0,forced:!g||!S},{map:function(x){return u(this,x,arguments.length>1?arguments[1]:void 0)}})},da84:function(d,L,i){(function(l){var u=function(h){return h&&h.Math==Math&&h};d.exports=u(typeof globalThis=="object"&&globalThis)||u(typeof window=="object"&&window)||u(typeof self=="object"&&self)||u(typeof l=="object"&&l)||Function("return this")()}).call(this,i("c8ba"))},dbb4:function(d,L,i){var l=i("23e7"),u=i("83ab"),h=i("56ef"),f=i("fc6a"),g=i("06cf"),S=i("8418");l({target:"Object",stat:!0,sham:!u},{getOwnPropertyDescriptors:function(x){for(var C=f(x),$=g.f,D=h(C),A={},Y=0,Q,te;D.length>Y;)te=$(C,Q=D[Y++]),te!==void 0&&S(A,Q,te);return A}})},ddb0:function(d,L,i){var l=i("da84"),u=i("fdbc"),h=i("e260"),f=i("9112"),g=i("b622"),S=g("iterator"),b=g("toStringTag"),x=h.values;for(var C in u){var $=l[C],D=$&&$.prototype;if(D){if(D[S]!==x)try{f(D,S,x)}catch(Y){D[S]=x}if(D[b]||f(D,b,C),u[C]){for(var A in h)if(D[A]!==h[A])try{f(D,A,h[A])}catch(Y){D[A]=h[A]}}}}},df75:function(d,L,i){var l=i("ca84"),u=i("7839");d.exports=Object.keys||function(f){return l(f,u)}},e01a:function(d,L,i){var l=i("23e7"),u=i("83ab"),h=i("da84"),f=i("5135"),g=i("861d"),S=i("9bf2").f,b=i("e893"),x=h.Symbol;if(u&&typeof x=="function"&&(!("description"in x.prototype)||x().description!==void 0)){var C={},$=function(){var ne=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),ie=this instanceof $?new x(ne):ne===void 0?x():x(ne);return ne===""&&(C[ie]=!0),ie};b($,x);var D=$.prototype=x.prototype;D.constructor=$;var A=D.toString,Y=String(x("test"))=="Symbol(test)",Q=/^Symbol\((.*)\)[^)]+$/;S(D,"description",{configurable:!0,get:function(){var ne=g(this)?this.valueOf():this,ie=A.call(ne);if(f(C,ne))return"";var oe=Y?ie.slice(7,-1):ie.replace(Q,"$1");return oe===""?void 0:oe}}),l({global:!0,forced:!0},{Symbol:$})}},e163:function(d,L,i){var l=i("5135"),u=i("7b0b"),h=i("f772"),f=i("e177"),g=h("IE_PROTO"),S=Object.prototype;d.exports=f?Object.getPrototypeOf:function(b){return b=u(b),l(b,g)?b[g]:typeof b.constructor=="function"&&b instanceof b.constructor?b.constructor.prototype:b instanceof Object?S:null}},e177:function(d,L,i){var l=i("d039");d.exports=!l(function(){function u(){}return u.prototype.constructor=null,Object.getPrototypeOf(new u)!==u.prototype})},e260:function(d,L,i){var l=i("fc6a"),u=i("44d2"),h=i("3f8c"),f=i("69f3"),g=i("7dd0"),S="Array Iterator",b=f.set,x=f.getterFor(S);d.exports=g(Array,"Array",function(C,$){b(this,{type:S,target:l(C),index:0,kind:$})},function(){var C=x(this),$=C.target,D=C.kind,A=C.index++;return!$||A>=$.length?(C.target=void 0,{value:void 0,done:!0}):D=="keys"?{value:A,done:!1}:D=="values"?{value:$[A],done:!1}:{value:[A,$[A]],done:!1}},"values"),h.Arguments=h.Array,u("keys"),u("values"),u("entries")},e439:function(d,L,i){var l=i("23e7"),u=i("d039"),h=i("fc6a"),f=i("06cf").f,g=i("83ab"),S=u(function(){f(1)}),b=!g||S;l({target:"Object",stat:!0,forced:b,sham:!g},{getOwnPropertyDescriptor:function(C,$){return f(h(C),$)}})},e538:function(d,L,i){var l=i("b622");L.f=l},e893:function(d,L,i){var l=i("5135"),u=i("56ef"),h=i("06cf"),f=i("9bf2");d.exports=function(g,S){for(var b=u(S),x=f.f,C=h.f,$=0;$<b.length;$++){var D=b[$];l(g,D)||x(g,D,C(S,D))}}},e8b5:function(d,L,i){var l=i("c6b6");d.exports=Array.isArray||function(h){return l(h)=="Array"}},e95a:function(d,L,i){var l=i("b622"),u=i("3f8c"),h=l("iterator"),f=Array.prototype;d.exports=function(g){return g!==void 0&&(u.Array===g||f[h]===g)}},eaf9:function(d,L,i){var l=i("3b81"),u=i.n(l);u.a},f013:function(d,L,i){var l=i("fdb2"),u=i.n(l);u.a},f5df:function(d,L,i){var l=i("00ee"),u=i("c6b6"),h=i("b622"),f=h("toStringTag"),g=u(function(){return arguments}())=="Arguments",S=function(b,x){try{return b[x]}catch(C){}};d.exports=l?u:function(b){var x,C,$;return b===void 0?"Undefined":b===null?"Null":typeof(C=S(x=Object(b),f))=="string"?C:g?u(x):($=u(x))=="Object"&&typeof x.callee=="function"?"Arguments":$}},f6fd:function(d,L){(function(i){var l="currentScript",u=i.getElementsByTagName("script");l in i||Object.defineProperty(i,l,{get:function(){try{throw new Error}catch(g){var h,f=(/.*at [^\(]*\((.*):.+:.+\)$/ig.exec(g.stack)||[!1])[1];for(h in u)if(u[h].src==f||u[h].readyState=="interactive")return u[h];return null}}})})(document)},f772:function(d,L,i){var l=i("5692"),u=i("90e3"),h=l("keys");d.exports=function(f){return h[f]||(h[f]=u(f))}},f7fe:function(d,L,i){(function(l){var u="Expected a function",h=NaN,f="[object Symbol]",g=/^\s+|\s+$/g,S=/^[-+]0x[0-9a-f]+$/i,b=/^0b[01]+$/i,x=/^0o[0-7]+$/i,C=parseInt,$=typeof l=="object"&&l&&l.Object===Object&&l,D=typeof self=="object"&&self&&self.Object===Object&&self,A=$||D||Function("return this")(),Y=Object.prototype,Q=Y.toString,te=Math.max,ne=Math.min,ie=function(){return A.Date.now()};function oe(z,me,be){var ae,xe,Se,Oe,je,U,B=0,ee=!1,ue=!1,_=!0;if(typeof z!="function")throw new TypeError(u);me=Le(me)||0,J(be)&&(ee=!!be.leading,ue="maxWait"in be,Se=ue?te(Le(be.maxWait)||0,me):Se,_="trailing"in be?!!be.trailing:_);function W(De){var lt=ae,Qe=xe;return ae=xe=void 0,B=De,Oe=z.apply(Qe,lt),Oe}function M(De){return B=De,je=setTimeout(Ce,me),ee?W(De):Oe}function re(De){var lt=De-U,Qe=De-B,Nt=me-lt;return ue?ne(Nt,Se-Qe):Nt}function pe(De){var lt=De-U,Qe=De-B;return U===void 0||lt>=me||lt<0||ue&&Qe>=Se}function Ce(){var De=ie();if(pe(De))return ye(De);je=setTimeout(Ce,re(De))}function ye(De){return je=void 0,_&&ae?W(De):(ae=xe=void 0,Oe)}function st(){je!==void 0&&clearTimeout(je),B=0,ae=U=xe=je=void 0}function nt(){return je===void 0?Oe:ye(ie())}function Ae(){var De=ie(),lt=pe(De);if(ae=arguments,xe=this,U=De,lt){if(je===void 0)return M(U);if(ue)return je=setTimeout(Ce,me),W(U)}return je===void 0&&(je=setTimeout(Ce,me)),Oe}return Ae.cancel=st,Ae.flush=nt,Ae}function J(z){var me=typeof z;return!!z&&(me=="object"||me=="function")}function X(z){return!!z&&typeof z=="object"}function fe(z){return typeof z=="symbol"||X(z)&&Q.call(z)==f}function Le(z){if(typeof z=="number")return z;if(fe(z))return h;if(J(z)){var me=typeof z.valueOf=="function"?z.valueOf():z;z=J(me)?me+"":me}if(typeof z!="string")return z===0?z:+z;z=z.replace(g,"");var be=b.test(z);return be||x.test(z)?C(z.slice(2),be?2:8):S.test(z)?h:+z}d.exports=oe}).call(this,i("c8ba"))},fb15:function(d,L,i){if(i.r(L),typeof window!="undefined"){i("f6fd");var l;(l=window.document.currentScript)&&(l=l.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(i.p=l[1])}i("4de4"),i("4160"),i("a15b"),i("d81d"),i("fb6a"),i("07ac"),i("159b"),i("a4d3"),i("e439"),i("dbb4"),i("b64b");function u(I,s,m){return s in I?Object.defineProperty(I,s,{value:m,enumerable:!0,configurable:!0,writable:!0}):I[s]=m,I}function h(I,s){var m=Object.keys(I);if(Object.getOwnPropertySymbols){var T=Object.getOwnPropertySymbols(I);s&&(T=T.filter(function(V){return Object.getOwnPropertyDescriptor(I,V).enumerable})),m.push.apply(m,T)}return m}function f(I){for(var s=1;s<arguments.length;s++){var m=arguments[s]!=null?arguments[s]:{};s%2?h(Object(m),!0).forEach(function(T){u(I,T,m[T])}):Object.getOwnPropertyDescriptors?Object.defineProperties(I,Object.getOwnPropertyDescriptors(m)):h(Object(m)).forEach(function(T){Object.defineProperty(I,T,Object.getOwnPropertyDescriptor(m,T))})}return I}var g=i("a48b"),S=i.n(g),b={computed:{isPropsUpdated:function(){var s=this;return Object.keys(this.$props).forEach(function(m){return s[m]}),this.updateSwitch=!this.updateSwitch}},watch:{isPropsUpdated:function(){typeof this.onPropsUpdated=="function"&&this.onPropsUpdated()}}},x=b;function C(I,s,m,T,V,H,K,le){var se=typeof I=="function"?I.options:I;s&&(se.render=s,se.staticRenderFns=m,se._compiled=!0),T&&(se.functional=!0),H&&(se._scopeId="data-v-"+H);var Me;if(K?(Me=function(Ie){Ie=Ie||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!Ie&&typeof __VUE_SSR_CONTEXT__!="undefined"&&(Ie=__VUE_SSR_CONTEXT__),V&&V.call(this,Ie),Ie&&Ie._registeredComponents&&Ie._registeredComponents.add(K)},se._ssrRegister=Me):V&&(Me=le?function(){V.call(this,this.$root.$options.shadowRoot)}:V),Me)if(se.functional){se._injectStyles=Me;var Re=se.render;se.render=function(Ge,Ye){return Me.call(Ye),Re(Ge,Ye)}}else{var Be=se.beforeCreate;se.beforeCreate=Be?[].concat(Be,Me):[Me]}return{exports:I,options:se}}var $,D,A=C(x,$,D,!1,null,null,null),Y=A.exports,Q=i("88bc"),te=i.n(Q),ne=i("42a0"),ie=i.n(ne),oe=i("c832"),J=i.n(oe),X=function(s,m,T){!s||(s.data=s.data||{},s.data[m]=f({},s.data[m],{},T))},fe=function(s,m,T){!s||(s.data=s.data||{},s.data[m]=T)},Le=["class","staticClass","style","attrs","props","domProps","on","nativeOn","directives","scopesSlots","slot","ref","key"];function z(I){return""+I+"-cloned-cid"}function me(I,s){var m=te()(I.data,Le);if(s){var T=I.componentOptions;ie()(m,{props:T.propsData,on:T.listeners})}return m.key&&(m.key=z(m.key)),m}var be=function I(s){var m=s.context&&s.context.$createElement,T=!!s.componentOptions,V=!s.tag,H=T?s.componentOptions.children:s.children;if(V)return s.text;var K=me(s,T),le=T?s.componentOptions.Ctor:s.tag,se=H?H.map(function(Me){return I(Me)}):void 0;return m(le,K,se)},ae=function(s,m,T){if(!!s){var V=s.data||{};return typeof m=="undefined"?V:J()(V,m,T)}},xe=function(s){return f({},ae(s,"staticStyle",{}),{},ae(s,"style",{}))};i("99af"),i("a623"),i("a630"),i("c975"),i("13d5"),i("a9e3"),i("ac1f"),i("3ca3"),i("466d");var Se=function(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)},Oe=function(s){return s.unslick||!s.infinite?0:s.variableWidth?s.slideCount:s.slidesToShow+(s.centerMode?1:0)},je=function(s){return s.unslick||!s.infinite?0:s.slideCount},U=function(s,m,T){return s.target.tagName.match("TEXTAREA|INPUT|SELECT")||!m?"":s.keyCode===37?T?"next":"previous":s.keyCode===39?T?"previous":"next":""},B=function(s){return s.targetSlide>s.currentSlide?s.targetSlide>s.currentSlide+ee(s)?"left":"right":s.targetSlide<s.currentSlide-ue(s)?"right":"left"},ee=function(s){var m=s.slidesToShow,T=s.centerMode,V=s.rtl,H=s.centerPadding;if(T){var K=(m-1)/2+1;return parseInt(H)>0&&(K+=1),V&&m%2===0&&(K+=1),K}return V?0:m-1},ue=function(s){var m=s.slidesToShow,T=s.centerMode,V=s.rtl,H=s.centerPadding;if(T){var K=(m-1)/2+1;return parseInt(H)>0&&(K+=1),!V&&m%2===0&&(K+=1),K}return V?m-1:0},_=function(s){return s.currentSlide-M(s)},W=function(s){return s.currentSlide+re(s)},M=function(s){return s.centerMode?Math.floor(s.slidesToShow/2)+(parseInt(s.centerPadding)>0?1:0):0},re=function(s){return s.centerMode?Math.floor((s.slidesToShow-1)/2)+1+(parseInt(s.centerPadding)>0?1:0):s.slidesToShow},pe=function(s){for(var m=[],T=_(s),V=W(s),H=T;H<V;H++)s.lazyLoadedList.indexOf(H)<0&&m.push(H);return m},Ce=function(s,m){var T,V,H,K,le,se=s.slidesToScroll,Me=s.slidesToShow,Re=s.slideCount,Be=s.currentSlide,Ie=s.lazyLoad,Ge=s.infinite;if(K=Re%se!==0,T=K?0:(Re-Be)%se,m.message==="previous")H=T===0?se:Me-T,le=Be-H,Ie&&!Ge&&(V=Be-H,le=V===-1?Re-1:V);else if(m.message==="next")H=T===0?se:T,le=Be+H,Ie&&!Ge&&(le=(Be+se)%Re+T);else if(m.message==="dots"){if(le=m.index*m.slidesToScroll,le===m.currentSlide)return null}else if(m.message==="children"){if(le=m.index,le===m.currentSlide)return null;if(Ge){var Ye=B(f({},s,{targetSlide:le}));le>m.currentSlide&&Ye==="left"?le=le-Re:le<m.currentSlide&&Ye==="right"&&(le=le+Re)}}else if(m.message==="index"&&(le=Number(m.index),le===m.currentSlide))return null;return le},ye=function(s){return Object.keys(s).filter(function(m){return s[m]!==void 0}).reduce(function(m,T){return m[T]=s[T],m},{})},st=function(s){return Object.keys(s).filter(function(m){return s[m]!==void 0&&s[m]!==null}).reduce(function(m,T){return m[T]=s[T],m},{})},nt=function(s,m,T){return!m||!T&&s.type.indexOf("mouse")!==-1?"":{dragging:!0,touchObject:{startX:s.touches?s.touches[0].pageX:s.clientX,startY:s.touches?s.touches[0].pageY:s.clientY,curX:s.touches?s.touches[0].pageX:s.clientX,curY:s.touches?s.touches[0].pageY:s.clientY}}},Ae=function(s,m){var T=m.scrolling,V=m.animating,H=m.vertical,K=m.swipeToSlide,le=m.verticalSwiping,se=m.rtl,Me=m.currentSlide,Re=m.edgeFriction,Be=m.edgeDragged,Ie=m.onEdge,Ge=m.swiped,Ye=m.swiping,Ne=m.slideCount,Fe=m.slidesToScroll,We=m.infinite,Pe=m.touchObject,vt=m.swipeEvent,It=m.listHeight,Pt=m.listWidth;if(!T){if(V)return s.preventDefault();H&&K&&le&&s.preventDefault();var At,Kt={},wn=St(m);Pe.curX=s.touches?s.touches[0].pageX:s.clientX,Pe.curY=s.touches?s.touches[0].pageY:s.clientY,Pe.swipeLength=Math.round(Math.sqrt(Math.pow(Pe.curX-Pe.startX,2)));var d0=Math.round(Math.sqrt(Math.pow(Pe.curY-Pe.startY,2)));if(!le&&!Ye&&d0>10)return{scrolling:!0};le&&(Pe.swipeLength=d0);var On=(se?-1:1)*(Pe.curX>Pe.startX?1:-1);le&&(On=Pe.curY>Pe.startY?1:-1);var V0=Math.ceil(Ne/Fe),mn=bt(m.touchObject,le),Ht=Pe.swipeLength;return We||(Me===0&&mn==="right"||Me+1>=V0&&mn==="left"||!Et(m)&&mn==="left")&&(Ht=Pe.swipeLength*Re,Be===!1&&Ie&&(Ie(mn),Kt.edgeDragged=!0)),!Ge&&vt&&(vt(mn),Kt.swiped=!0),H?At=wn+Ht*(It/Pt)*On:se?At=wn-Ht*On:At=wn+Ht*On,le&&(At=wn+Ht*On),Kt=f({},Kt,{touchObject:Pe,swipeLeft:At,trackStyle:Je(f({},m,{left:At}))}),Math.abs(Pe.curX-Pe.startX)<Math.abs(Pe.curY-Pe.startY)*.8||Pe.swipeLength>10&&(Kt.swiping=!0,s.preventDefault()),Kt}},De=function(s,m){var T=m.dragging,V=m.swipe,H=m.touchObject,K=m.listWidth,le=m.touchThreshold,se=m.verticalSwiping,Me=m.listHeight,Re=m.currentSlide,Be=m.swipeToSlide,Ie=m.scrolling,Ge=m.onSwipe;if(!T)return V&&s.preventDefault(),{};var Ye=se?Me/le:K/le,Ne=bt(H,se),Fe={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(Ie||!H.swipeLength)return Fe;if(H.swipeLength>Ye){s.preventDefault(),Ge&&Ge(Ne);var We,Pe;switch(Ne){case"left":case"up":Pe=Re+Nt(m),We=Be?Qe(m,Pe):Pe,Fe.currentDirection=0;break;case"right":case"down":Pe=Re-Nt(m),We=Be?Qe(m,Pe):Pe,Fe.currentDirection=1;break;default:We=Re}Fe.triggerSlideHandler=We}else{var vt=St(m);Fe.trackStyle=wt(f({},m,{left:vt}))}return Fe},lt=function(s){for(var m=s.infinite?s.slideCount*2:s.slideCount,T=s.infinite?s.slidesToShow*-1:0,V=s.infinite?s.slidesToShow*-1:0,H=[];T<m;)H.push(T),T=V+s.slidesToScroll,V+=Math.min(s.slidesToScroll,s.slidesToShow);return H},Qe=function(s,m){var T=lt(s),V=0;if(m>T[T.length-1])m=T[T.length-1];else for(var H in T){if(m<T[H]){m=V;break}V=T[H]}return m},Nt=function(s){var m=s.centerMode?s.slideWidth*Math.floor(s.slidesToShow/2):0;if(s.swipeToSlide){var T,V=s.listRef,H=V.querySelectorAll(".slick-slide");if(Array.from(H).every(function(se){if(s.vertical){if(se.offsetTop+Zt(se)/2>s.swipeLeft*-1)return T=se,!1}else if(se.offsetLeft-m+jt(se)/2>s.swipeLeft*-1)return T=se,!1;return!0}),!T)return 0;var K=s.rtl===!0?s.slideCount-s.currentSlide:s.currentSlide,le=Math.abs(T.dataset.index-K)||1;return le}else return s.slidesToScroll},an=function(s,m){var T={};return m.forEach(function(V){return T[V]=s[V]}),T},dt={TRACK:["fade","cssEase","speed","infinite","centerMode","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding"],DOT:["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","children","customPaging","infinite"],ARROW:["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]},Et=function(s){var m=!0;return s.infinite||(s.centerMode&&s.currentSlide>=s.slideCount-1||s.slideCount<=s.slidesToShow||s.currentSlide>=s.slideCount-s.slidesToShow)&&(m=!1),m},Gt=function(s){var m=s.waitForAnimate,T=s.animating,V=s.fade,H=s.infinite,K=s.index,le=s.slideCount,se=s.lazyLoadedList,Me=s.lazyLoad,Re=s.currentSlide,Be=s.centerMode,Ie=s.slidesToScroll,Ge=s.slidesToShow,Ye=s.useCSS;if(m&&T)return{};var Ne=K,Fe,We,Pe,vt={},It={};if(V){if(!H&&(K<0||K>=le))return{};K<0?Ne=K+le:K>=le&&(Ne=K-le),Me&&se.indexOf(Ne)<0&&se.push(Ne),vt={animating:!0,currentSlide:Ne,lazyLoadedList:se},It={animating:!1}}else Fe=Ne,Ne<0?(Fe=Ne+le,H?le%Ie!==0&&(Fe=le-le%Ie):Fe=0):!Et(s)&&Ne>Re?Ne=Fe=Re:Be&&Ne>=le?(Ne=H?le:le-1,Fe=H?0:le-1):Ne>=le&&(Fe=Ne-le,H?le%Ie!==0&&(Fe=0):Fe=le-Ge),We=St(f({},s,{slideIndex:Ne})),Pe=St(f({},s,{slideIndex:Fe})),H||(We===Pe&&(Ne=Fe),We=Pe),Me&&se.concat(pe(f({},s,{currentSlide:Ne}))),Ye?(vt={animating:!0,currentSlide:Fe,trackStyle:wt(f({},s,{left:We})),lazyLoadedList:se},It={animating:!1,currentSlide:Fe,trackStyle:Je(f({},s,{left:Pe})),swipeLeft:null}):vt={currentSlide:Fe,trackStyle:Je(f({},s,{left:Pe})),lazyLoadedList:se};return{state:vt,nextState:It}},jt=function(s){return s&&s.offsetWidth||0},Zt=function(s){return s&&s.offsetHeight||0},bt=function(s){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,T,V,H,K;return T=s.startX-s.curX,V=s.startY-s.curY,H=Math.atan2(V,T),K=Math.round(H*180/Math.PI),K<0&&(K=360-Math.abs(K)),K<=45&&K>=0||K<=360&&K>=315?"left":K>=135&&K<=225?"right":m===!0?K>=35&&K<=135?"up":"down":"vertical"},Ut=function(s){var m=s.children.length,T=Math.ceil(jt(s.listRef)),V=Math.ceil(jt(s.trackRef)),H;if(s.vertical)H=T;else{var K=s.centerMode&&parseInt(s.centerPadding)*2;typeof s.centerPadding=="string"&&s.centerPadding.slice(-1)==="%"&&(K*=T/100),H=Math.ceil((T-K)/s.slidesToShow)}var le=s.listRef&&Zt(s.listRef.querySelector('[data-index="0"]')),se=le*s.slidesToShow,Me=s.currentSlide===void 0?s.initialSlide:s.currentSlide;s.rtl&&s.currentSlide===void 0&&(Me=m-1-s.initialSlide);var Re=s.lazyLoadedList||[],Be=pe({currentSlide:Me,lazyLoadedList:Re});Re.concat(Be);var Ie={slideCount:m,slideWidth:H,listWidth:T,trackWidth:V,currentSlide:Me,slideHeight:le,listHeight:se,lazyLoadedList:Re};return s.autoplaying===null&&s.autoplay&&(Ie.autoplaying="playing"),Ie},St=function(s){if(s.unslick)return 0;xt(s,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var m=s.slideIndex,T=s.trackRef,V=s.infinite,H=s.centerMode,K=s.slideCount,le=s.slidesToShow,se=s.slidesToScroll,Me=s.slideWidth,Re=s.listWidth,Be=s.variableWidth,Ie=s.slideHeight,Ge=s.fade,Ye=s.vertical,Ne=0,Fe,We,Pe=0;if(Ge||s.slideCount===1)return 0;var vt=0;if(V?(vt=-Oe(s),K%se!==0&&m+se>K&&(vt=-(m>K?le-(m-K):K%se)),H&&(vt+=parseInt(le/2))):(K%se!==0&&m+se>K&&(vt=le-K%se),H&&(vt=parseInt(le/2))),Ne=vt*Me,Pe=vt*Ie,Ye?Fe=m*Ie*-1+Pe:Fe=m*Me*-1+Ne,Be===!0){var It,Pt=T.$el;if(It=m+Oe(s),We=Pt&&Pt.childNodes[It],Fe=We?We.offsetLeft*-1:0,H===!0){It=V?m+Oe(s):m,We=Pt&&Pt.children[It],Fe=0;for(var At=0;At<It;At++)Fe-=Pt&&Pt.children[At]&&Pt.children[At].offsetWidth;Fe-=parseInt(s.centerPadding),Fe+=We&&(Re-We.offsetWidth)/2}}return Fe},Mt=function(s){return s.slideCount===1?1:Oe(s)+s.slideCount+je(s)},xt=function(s,m){return m.reduce(function(T,V){return T&&s.hasOwnProperty(V)},!0)?null:console.error("Keys Missing:",s)},Je=function(s){xt(s,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);var m,T,V=s.slideCount+2*s.slidesToShow;s.vertical?T=V*s.slideHeight:m=Mt(s)*s.slideWidth;var H={opacity:1,transition:"",WebkitTransition:""};if(s.useTransform){var K=s.vertical?"translate3d(0px, "+s.left+"px, 0px)":"translate3d("+s.left+"px, 0px, 0px)",le=s.vertical?"translate3d(0px, "+s.left+"px, 0px)":"translate3d("+s.left+"px, 0px, 0px)",se=s.vertical?"translateY("+s.left+"px)":"translateX("+s.left+"px)";H=f({},H,{WebkitTransform:K,transform:le,msTransform:se})}else s.vertical?H.top=s.left:H.left=s.left;return s.fade&&(H={opacity:1}),m&&(H.width=m+"px"),T&&(H.height=T+"px"),window&&!window.addEventListener&&window.attachEvent&&(s.vertical?H.marginTop=s.left+"px":H.marginLeft=s.left+"px"),H},wt=function(s){xt(s,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var m=Je(s);return s.useTransform?(m.WebkitTransition="-webkit-transform "+s.speed+"ms "+s.cssEase,m.transition="transform "+s.speed+"ms "+s.cssEase):s.vertical?m.transition="top "+s.speed+"ms "+s.cssEase:m.transition="left "+s.speed+"ms "+s.cssEase,m},ct={accessibility:{type:Boolean,default:!0},adaptiveHeight:{type:Boolean,default:!1},arrows:{type:Boolean,default:!0},asNavFor:{type:Object,default:null},autoplay:{type:Boolean,default:!1},autoplaySpeed:{type:Number,default:3e3},centerMode:{type:Boolean,default:!1},centerPadding:{type:String,default:"50px"},cssEase:{type:String,default:"ease"},dots:{type:Boolean,default:!1},dotsClass:{type:String,default:"slick-dots"},draggable:{type:Boolean,default:!0},edgeFriction:{type:Number,default:.35},fade:{type:Boolean,default:!1},focusOnSelect:{type:Boolean,default:!1},infinite:{type:Boolean,default:!0},initialSlide:{type:Number,default:0},lazyLoad:{type:String,default:null},pauseOnDotsHover:{type:Boolean,default:!1},pauseOnFocus:{type:Boolean,default:!1},pauseOnHover:{type:Boolean,default:!0},responsive:{type:Array,default:null},rows:{type:Number,default:1},rtl:{type:Boolean,default:!1},slidesPerRow:{type:Number,default:1},slidesToScroll:{type:Number,default:1},slidesToShow:{type:Number,default:1},speed:{type:Number,default:500},swipe:{type:Boolean,default:!0},swipeToSlide:{type:Boolean,default:!1},touchMove:{type:Boolean,default:!0},touchThreshold:{type:Number,default:5},useCSS:{type:Boolean,default:!0},useTransform:{type:Boolean,default:!0},variableWidth:{type:Boolean,default:!1},vertical:{type:Boolean,default:!1},waitForAnimate:{type:Boolean,default:!0}},Ot=Object.keys(ct).reduce(function(I,s){return I[s]=ct[s].default,I},{});Object.keys(ct).reduce(function(I,s){return I[s]=ct[s].type,I},{}),i("cca6");function Ft(I,s){if(I==null)return{};var m={},T=Object.keys(I),V,H;for(H=0;H<T.length;H++)V=T[H],!(s.indexOf(V)>=0)&&(m[V]=I[V]);return m}function Jt(I,s){if(I==null)return{};var m=Ft(I,s),T,V;if(Object.getOwnPropertySymbols){var H=Object.getOwnPropertySymbols(I);for(V=0;V<H.length;V++)T=H[V],!(s.indexOf(T)>=0)&&(!Object.prototype.propertyIsEnumerable.call(I,T)||(m[T]=I[T]))}return m}i("e01a"),i("d28b"),i("e260"),i("d3b7"),i("ddb0");function _t(I){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_t=function(m){return typeof m}:_t=function(m){return m&&typeof Symbol=="function"&&m.constructor===Symbol&&m!==Symbol.prototype?"symbol":typeof m},_t(I)}var Tt=i("6dd8"),_e=i("f7fe"),we=i.n(_e),Te=function(s){var m,T,V,H,K;s.rtl?K=s.slideCount-1-s.index:K=s.index,V=K<0||K>=s.slideCount,s.centerMode?(H=Math.floor(s.slidesToShow/2),T=(K-s.currentSlide)%s.slideCount===0,K>s.currentSlide-H-1&&K<=s.currentSlide+H&&(m=!0)):m=s.currentSlide<=K&&K<s.currentSlide+s.slidesToShow;var le=K===s.currentSlide;return{"slick-slide":!0,"slick-active":m,"slick-center":T,"slick-cloned":V,"slick-current":le}},Ue=function(s){var m={};return(s.variableWidth===void 0||s.variableWidth===!1)&&(m.width=typeof s.slideWidth=="number"?"".concat(s.slideWidth,"px"):s.slideWidth),s.fade&&(m.position="relative",s.vertical?m.top="".concat(-s.index*parseInt(s.slideHeight),"px"):m.left="".concat(-s.index*parseInt(s.slideWidth),"px"),m.opacity=s.currentSlide===s.index?1:0,m.transition="opacity "+s.speed+"ms "+s.cssEase+", visibility "+s.speed+"ms "+s.cssEase),m},Ve=function(s,m){return s.key!=null&&String(s.key)||m},pt={name:"SliderTrack",props:dt.TRACK,methods:{cloneSlide:function(s,m){var T=this,V=be(s);return V.key=m.key,X(V,"class",m.class),X(V,"attrs",m.attrs),X(V,"style",m.style),X(V,"on",{click:function(K){ae(s,"on.click",function(){})(K),T.$emit("childClicked",m.childOnClickOptions)}}),V},renderSlides:function(s,m){var T=this,V=this.$createElement,H,K=[],le=[],se=[],Me=m.length,Re=_(s),Be=W(s);return m.forEach(function(Ie,Ge){var Ye,Ne={message:"children",index:Ge,slidesToScroll:s.slidesToScroll,currentSlide:s.currentSlide};!s.lazyLoad||s.lazyLoad&&s.lazyLoadedList.indexOf(Ge)>=0?Ye=Ie:Ye=V("div");var Fe=Ue(f({},s,{index:Ge})),We=Te(f({},s,{index:Ge}));if(K.push(T.cloneSlide(Ye,{key:"original"+Ve(Ye,Ge),class:We,style:f({outline:"none"},Fe),attrs:{tabIndex:"-1","data-index":Ge,"aria-hidden":"".concat(!We["slick-active"])},childOnClickOptions:Ne})),s.infinite&&s.fade===!1&&Me>s.slidesToShow){var Pe=Me-Ge;Pe<=Oe(s)&&Me!==s.slidesToShow&&(H=-Pe,H>=Re&&(Ye=Ie),We=Te(f({},s,{index:H})),le.push(T.cloneSlide(Ye,{key:"precloned"+Ve(Ye,H),class:We,style:Fe,attrs:{tabIndex:"-1","data-index":H,"aria-hidden":"".concat(!We["slick-active"])},childOnClickOptions:Ne}))),Me!==s.slidesToShow&&(H=Me+Ge,H<Be&&(Ye=Ie),We=Te(f({},s,{index:H})),se.push(T.cloneSlide(Ye,{key:"postcloned"+Ve(Ye,H),class:We,style:Fe,attrs:{tabIndex:"-1","data-index":H,"aria-hidden":"".concat(!We["slick-active"])},childOnClickOptions:Ne})))}},this),s.rtl?le.concat(K,se).reverse():le.concat(K,se)}},render:function(){var s=arguments[0],m=this.renderSlides(this.$props,this.$slots.default);return s("div",{class:{"slick-track":!0,"slick-center":this.$props.centerMode},style:this.trackStyle},[m])}},Xt=pt;i("6ea2");var F,q,$e=C(Xt,F,q,!1,null,"e4caeaf8",null),et=$e.exports;function yt(I,s){(s==null||s>I.length)&&(s=I.length);for(var m=0,T=new Array(s);m<s;m++)T[m]=I[m];return T}function Ct(I){if(Array.isArray(I))return yt(I)}function on(I){if(typeof Symbol!="undefined"&&Symbol.iterator in Object(I))return Array.from(I)}i("b0c0"),i("25f0");function zn(I,s){if(!!I){if(typeof I=="string")return yt(I,s);var m=Object.prototype.toString.call(I).slice(8,-1);if(m==="Object"&&I.constructor&&(m=I.constructor.name),m==="Map"||m==="Set")return Array.from(m);if(m==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(m))return yt(I,s)}}function n0(){throw new TypeError(`Invalid attempt to spread non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Un(I){return Ct(I)||on(I)||zn(I)||n0()}var r0={name:"SliderArrow",props:[].concat(Un(dt.ARROW),["type"]),render:function(){var s=this,m=arguments[0],T={"slick-arrow":!0},V=!0,H,K={currentSlide:this.currentSlide,slideCount:this.slideCount};return this.type==="previous"?(T["slick-prev"]=!0,!this.infinite&&(this.currentSlide===0||this.slideCount<=this.slidesToShow)&&(T["slick-disabled"]=!0,V=!1),K.key="0",H=this.prevArrow?this.prevArrow(K)[0]:m("button",{attrs:{type:"button","data-role":"none"},style:"display: block;"},["Previous"])):(T["slick-next"]=!0,Et(this.$props)||(T["slick-disabled"]=!0,V=!1),K.key="1",H=this.nextArrow?this.nextArrow(K)[0]:m("button",{attrs:{type:"button","data-role":"none"},style:"display: block;"},["Next"])),fe(H,"key",K.key),X(H,"class",T),X(H,"on",{click:function(){V&&s.$emit("arrowClicked",{message:s.type})}}),H}},sn=r0;i("f013");var In,ln,Sn=C(sn,In,ln,!1,null,"21137603",null),ht=Sn.exports;i("1276");var i0=function(s){var m;return s.infinite?m=Math.ceil(s.slideCount/s.slidesToScroll):m=Math.ceil((s.slideCount-s.slidesToShow)/s.slidesToScroll)+1,m},Pn={name:"SliderDots",props:dt.DOT,render:function(){var s=this,m=arguments[0],T=i0({slideCount:this.slideCount,slidesToScroll:this.slidesToScroll,slidesToShow:this.slidesToShow,infinite:this.infinite}),V=Array.apply(null,Array(T+1).join("0").split("")).map(function(le,se){var Me=se*s.slidesToScroll,Re=se*s.slidesToScroll+(s.slidesToScroll-1),Be={"slick-active":s.currentSlide>=Me&&s.currentSlide<=Re},Ie={message:"dots",index:se,slidesToScroll:s.slidesToScroll,currentSlide:s.currentSlide},Ge=s.customPaging?s.customPaging(se)[0]:m("button",[se+1]);return m("li",{key:se,class:Be,on:{click:function(){return s.$emit("dotClicked",Ie)}}},[Ge])}),H={display:"block"},K=u({},this.dotsClass,!0);return m("ul",{style:H,class:K},[V])}},a0=Pn,o0,s0,_0=C(a0,o0,s0,!1,null,null,null),Bn=_0.exports,Wn={animating:!1,autoplaying:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,dragging:!1,edgeDragged:!1,initialized:!1,lazyLoadedList:[],listHeight:null,listWidth:null,scrolling:!1,slideHeight:null,slideWidth:null,swipeLeft:null,swiped:!1,swiping:!1,touchObject:{startX:0,startY:0,curX:0,curY:0},trackStyle:{},trackWidth:0},l0={name:"InnerSlider",components:{SliderTrack:et,SliderArrow:ht,SliderDots:Bn},mixins:[Y],inheritAttrs:!1,props:f({},ct,{unslick:{type:Boolean,default:!1},prevArrow:Function,nextArrow:Function,customPaging:Function}),data:function(){return f({},Wn,{currentSlide:this.initialSlide})},computed:{slideCount:function(){return this.$slots.default.length},spec:function(){return f({},this.$props,{},this.$data,{slideCount:this.slideCount})}},created:function(){if(this.callbackTimers=[],this.clickable=!0,this.debouncedResize=null,this.ssrInit(),this.$parent.$emit("init"),this.lazyLoad){var s=pe(this.spec);s.length>0&&(this.lazyLoadedList=this.lazyLoadedList.concat(s),this.$parent.$emit("lazyLoad",s))}},mounted:function(){var s=this,m=f({listRef:this.$refs.list,trackRef:this.$refs.track,children:this.$slots.default},this.$props);this.updateState(m,!0),this.adaptHeight(),this.autoPlay&&this.autoPlay("update"),this.lazyLoad==="progressive"&&(this.lazyLoadTimer=setInterval(this.progressiveLazyLoad,1e3)),this.ro=new Tt.a(function(){s.animating?(s.onWindowResized(!1),s.callbackTimers.push(setTimeout(function(){return s.onWindowResized()},s.speed))):s.onWindowResized()}),this.ro.observe(this.$refs.list),Array.prototype.forEach.call(this.$refs.list.querySelectorAll(".slick-slide"),function(T){T.onfocus=s.pauseOnFocus?s.onSlideFocus:null,T.onblur=s.pauseOnFocus?s.onSlideBlur:null}),window.addEventListener?window.addEventListener("resize",this.onWindowResized):window.attachEvent("onresize",this.onWindowResized)},updated:function(){if(this.checkImagesLoad(),this.$parent.$emit("reInit"),this.lazyLoad){var s=pe(f({},this.$props,{},this.$data));s.length>0&&(this.lazyLoadedList=this.lazyLoadedList.concat(s),this.$parent.$emit("lazyLoad",s))}this.adaptHeight()},beforeDestroy:function(){this.ro.unobserve(this.$refs.list),this.animationEndCallback&&clearTimeout(this.animationEndCallback),this.lazyLoadTimer&&clearInterval(this.lazyLoadTimer),this.callbackTimers.length&&(this.callbackTimers.forEach(function(s){return clearTimeout(s)}),this.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",this.onWindowResized):window.detachEvent("onresize",this.onWindowResized),this.autoplayTimer&&clearInterval(this.autoplayTimer)},methods:{onPropsUpdated:function(){for(var s=this.$props,m=f({listRef:this.$refs.list,trackRef:this.$refs.track,children:this.$slots.default},s,{},this.$data),T=!1,V=0,H=Object.keys(this.$props);V<H.length;V++){var K=H[V];if(!s.hasOwnProperty(K)){T=!0;break}if(!(_t(s[K])==="object"||typeof s[K]=="function")&&s[K]!==this.$props[K]){T=!0;break}}this.updateState(m,T),this.currentSlide>=this.slideCount&&this.changeSlide({message:"index",index:this.slideCount-s.slidesToShow,currentSlide:this.currentSlide}),s.autoplay?this.autoPlay("update"):this.pause("paused")},updateState:function(s,m){var T=Ut(s);s=f({},s,{},T,{slideIndex:T.currentSlide});var V=St(s);s=f({},s,{left:V});var H=Je(s);(m||this.slideCount!==s.children.length)&&(T.trackStyle=H),Object.assign(this.$data,T)},adaptHeight:function(){if(this.adaptiveHeight&&this.$refs.list){var s=this.$refs.list.querySelector('[data-index="'.concat(this.currentSlide,'"]'));this.$refs.list.style.height=Zt(s)+"px"}},ssrInit:function(){var s=Oe(this.spec),m=je(this.spec);if(this.variableWidth){var T=[],V=[],H=[];this.$slots.default.forEach(function(Ne){var Fe=xe(Ne),We=Fe.width;H.push(We),T.push(We)});for(var K=0;K<s;K++)V.push(H[H.length-1-K]),T.push(H[H.length-1-K]);for(var le=0;le<m;le++)T.push(H[le]);for(var se=0;se<this.currentSlide;se++)V.push(H[se]);T=T.filter(function(Ne){return Ne}),V=V.filter(function(Ne){return Ne});var Me={width:"calc(".concat(T.join(" + "),")"),left:"calc(".concat(V.map(function(Ne){return"-".concat(Ne)}).join(" + "),")")};if(this.centerMode){var Re=H[this.currentSlide];Me.left="calc(".concat(V.map(function(Ne){return"-".concat(Ne)}).join(" + ")," + (100% - ").concat(Re,") / 2 )")}this.trackStyle=Me}else{var Be=s+m+this.slideCount,Ie=100/this.slidesToShow*Be,Ge=100/Be,Ye=-Ge*(s+this.currentSlide)*Ie/100;this.centerMode&&(Ye+=(100-Ge*Ie/100)/2),this.slideWidth=Ge+"%",this.trackStyle={width:Ie+"%",left:Ye+"%"}}},slideHandler:function(s){var m=this,T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,V=this.asNavFor,H=this.speed,K=this.currentSlide,le=Gt(f({index:s},this.$props,{},this.$data,{trackRef:this.$refs.track,useCSS:this.useCSS&&!T})),se=le.state,Me=le.nextState;if(!!se){this.$parent.$emit("beforeChange",K,se.currentSlide);var Re=se.lazyLoadedList.filter(function(Be){return m.lazyLoadedList.indexOf(Be)<0});Re.length&&this.$parent.$emit("lazyLoad",Re),Object.assign(this.$data,se),V&&V.goTo(s),Me&&(this.animationEndCallback=setTimeout(function(){var Be=Me.animating,Ie=Jt(Me,["animating"]);Object.assign(m.$data,Ie),m.callbackTimers.push(setTimeout(function(){m.animating=Be},10)),m.$parent.$emit("afterChange",se.currentSlide),m.animationEndCallback=void 0},H))}},onWindowResized:function(s){var m=this;this.debouncedResize&&this.debouncedResize.cancel(),this.debouncedResize=we()(function(){return m.resizeWindow(s)},50),this.debouncedResize()},resizeWindow:function(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;if(!!(this.$refs.track&&this.$refs.track.$el)){var m=f({listRef:this.$refs.list,trackRef:this.$refs.track,children:this.$slots.default},this.$props,{},this.$data);this.updateState(m,s),this.autoplay?this.autoPlay("update"):this.pause("paused"),this.animating=!1,clearTimeout(this.animationEndCallback),this.animationEndCallback=void 0}},checkImagesLoad:function(){var s=this,m=this.$refs.list.querySelectorAll(".slick-slide img"),T=m.length,V=0;Array.prototype.forEach.call(m,function(H){var K=function(){return++V&&V>=T&&s.onWindowResized()};if(!H.onclick)H.onclick=function(){return H.parentNode.focus()};else{var le=H.onclick;H.onclick=function(){le(),H.parentNode.focus()}}H.onload||(s.lazyLoad?H.onload=function(){s.adaptHeight(),s.callbackTimers.push(setTimeout(s.onWindowResized,s.speed))}:(H.onload=K,H.onerror=function(){K(),s.$parent.$emit("lazyLoadError")}))})},progressiveLazyLoad:function(){for(var s=[],m=f({},this.$props,{},this.$data),T=this.currentSlide;T<this.slideCount+je(m);T++)if(this.lazyLoadedList.indexOf(T)<0){s.push(T);break}for(var V=this.currentSlide-1;V>=-Oe(m);V--)if(this.lazyLoadedList.indexOf(V)<0){s.push(V);break}s.length>0?(this.lazyLoadedList=this.lazyLoadedList.concat(s),this.$parent.$emit("lazyLoad",s)):this.lazyLoadTimer&&(clearInterval(this.lazyLoadTimer),this.lazyLoadTimer=void 0)},clickHandler:function(s){this.clickable===!1&&(s.stopPropagation(),s.preventDefault()),this.clickable=!0},keyHandler:function(s){var m=U(s,this.accessibility,this.rtl);m!==""&&this.changeSlide({message:m})},changeSlide:function(s){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,T=f({},this.$props,{},this.$data),V=Ce(T,s);V!==0&&!V||(m===!0?this.slideHandler(V,m):this.slideHandler(V))},swipeStart:function(s){this.verticalSwiping&&this.disableBodyScroll();var m=nt(s,this.swipe,this.draggable);m!==""&&Object.assign(this.$data,m)},swipeMove:function(s){var m=this,T=Ae(s,f({},this.$props,{},this.$data,{trackRef:this.$refs.track,listRef:this.$refs.list,slideIndex:this.currentSlide,onEdge:function(H){return m.$parent.$emit("edge",H)},swipeEvent:function(H){return m.$parent.$emit("swipe",H)}}));!T||(T.swiping&&(this.clickable=!1),Object.assign(this.$data,T))},swipeEnd:function(s){var m=De(s,f({},this.$props,{},this.$data,{trackRef:this.$refs.track,listRef:this.$refs.list,slideIndex:this.currentSlide}));if(!!m){var T=m.triggerSlideHandler;this.triggerSlideHandler=void 0,Object.assign(this.$data,m),T!==void 0&&(this.slideHandler(T),this.verticalSwiping&&this.enableBodyScroll())}},prev:function(){var s=this;this.callbackTimers.push(setTimeout(function(){return s.changeSlide({message:"previous"})},0))},next:function(){var s=this;this.callbackTimers.push(setTimeout(function(){return s.changeSlide({message:"next"})},0))},goTo:function(s){var m=this,T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(s=Number(s),isNaN(s))return"";this.callbackTimers.push(setTimeout(function(){return m.changeSlide({message:"index",index:s,currentSlide:m.currentSlide},T)},0))},play:function(){var s;if(this.rtl)s=this.currentSlide-this.slidesToScroll;else if(Et(f({},this.$props,{},this.$data)))s=this.currentSlide+this.slidesToScroll;else return!1;this.slideHandler(s)},autoPlay:function(s){this.autoplayTimer&&clearInterval(this.autoplayTimer);var m=this.autoplaying;if(s==="update"){if(m==="hovered"||m==="focused"||m==="paused")return}else if(s==="leave"){if(m==="paused"||m==="focused")return}else if(s==="blur"&&(m==="paused"||m==="hovered"))return;this.autoplayTimer=setInterval(this.play,this.autoplaySpeed+50),this.autoplaying="playing"},pause:function(s){this.autoplayTimer&&(clearInterval(this.autoplayTimer),this.autoplayTimer=null);var m=this.autoplaying;s==="paused"?this.autoplaying="paused":s==="focused"?(m==="hovered"||m==="playing")&&(this.autoplaying="focused"):m==="playing"&&(this.autoplaying="hovered")},onDotsOver:function(){this.autoplay&&this.pause("hovered")},onDotsLeave:function(){this.autoplay&&this.autoplaying==="hovered"&&this.autoPlay("leave")},onTrackOver:function(){this.autoplay&&this.pause("hovered")},onTrackLeave:function(){this.autoplay&&this.autoplaying==="hovered"&&this.autoPlay("leave")},onSlideFocus:function(){this.autoplay&&this.pause("focused")},onSlideBlur:function(){this.autoplay&&this.autoplaying==="focused"&&this.autoPlay("blur")},selectHandler:function(s){this.focusOnSelect&&this.changeSlide(s)}},render:function(){var s=arguments[0],m={"slick-slider":!0,"slick-initialized":!0,"slick-vertical":this.vertical},T=an(this.spec,dt.TRACK);T=ye(f({},T));var V=this.pauseOnHover,H=ye({mouseenter:V?this.onTrackOver:void 0,mouseover:V?this.onTrackOver:void 0,mouseleave:V?this.onTrackLeave:void 0}),K;if(this.dots===!0&&this.slideCount>=this.slidesToShow){var le=an(this.spec,dt.DOT),se=this.pauseOnDotsHover,Me=ye({mouseenter:se?this.onDotsLeave:void 0,mouseover:se?this.onDotsOver:void 0,mouseleave:se?this.onDotsLeave:void 0});K=s(Bn,{props:f({},le),nativeOn:f({},Me),on:{dotClicked:this.changeSlide}})}var Re,Be,Ie=an(this.spec,dt.ARROW);this.arrows&&(Re=s(ht,{props:f({},f({},Ie,{type:"previous"})),on:{arrowClicked:this.changeSlide}}),Be=s(ht,{props:f({},f({},Ie,{type:"next"})),on:{arrowClicked:this.changeSlide}}));var Ge={};this.vertical&&(Ge={height:"".concat(this.listHeight,"px")});var Ye={};this.vertical===!1?this.centerMode===!0&&(Ye={padding:"0px "+this.centerPadding}):this.centerMode===!0&&(Ye={padding:this.centerPadding+" 0px"});var Ne=f({},this.$parent.$vnode.data.style);this.unslick||(Ne=f({},Ne,{},st(Ge),{},Ye));var Fe=this.accessibility,We=this.dragging,Pe=this.touchMove,vt=ye({click:this.clickHandler,mousedown:Pe?this.swipeStart:void 0,mousemove:We&&Pe?this.swipeMove:void 0,mouseup:Pe?this.swipeEnd:void 0,mouseleave:We&&Pe?this.swipeEnd:void 0,touchstart:Pe?this.swipeStart:void 0,touchmove:We&&Pe?this.swipeMove:void 0,touchend:Pe?this.swipeEnd:void 0,touchcancel:We&&Pe?this.swipeEnd:void 0,keydown:Fe?this.keyHandler:void 0});return s("div",{class:m,attrs:{dir:this.unslick?!1:"ltr"}},[this.unslick?"":Re,s("div",{ref:"list",class:"slick-list",on:f({},vt),style:Ne},[s(et,{ref:"track",props:f({},T),nativeOn:f({},H),on:{childClicked:this.selectHandler}},[this.$slots.default])]),this.unslick?"":Be,this.unslick?"":K])}},Qt=l0;i("eaf9");var c0,Gn,xn=C(Qt,c0,Gn,!1,null,"3d1a4f76",null),Kn=xn.exports,hn=Se()&&i("8e95"),u0={name:"VueSlickCarousel",components:{InnerSlider:Kn},mixins:[Y],inheritAttrs:!1,props:ct,data:function(){return{breakpoint:null}},computed:{settings:function(){var s=this,m=ye(this.$props),T,V;return this.breakpoint?(V=this.responsive.filter(function(H){return H.breakpoint===s.breakpoint}),T=V[0].settings==="unslick"?"unslick":f({},Ot,{},m,{},V[0].settings)):T=f({},Ot,{},m),T.centerMode&&(T.slidesToScroll>1,T.slidesToScroll=1),T.fade&&(T.slidesToShow>1,T.slidesToScroll>1,T.slidesToShow=1,T.slidesToScroll=1),T.variableWidth&&(T.rows>1||T.slidesPerRow>1)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),T.variableWidth=!1),T}},created:function(){this.makeBreakpoints()},beforeDestroy:function(){this.clearBreakpoints()},methods:{prev:function(){this.$refs.innerSlider.prev()},next:function(){this.$refs.innerSlider.next()},goTo:function(s){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;this.$refs.innerSlider.goTo(s,m)},pause:function(){this.$refs.innerSlider.pause("paused")},play:function(){this.$refs.innerSlider.autoPlay("play")},onPropsUpdated:function(){this.clearBreakpoints(),this.makeBreakpoints()},clearBreakpoints:function(){this.responsiveMediaHandlers.forEach(function(s){return hn.unregister(s.query,s.handler)}),this.responsiveMediaHandlers=[]},media:function(s,m){!Se()||(hn.register(s,m),this.responsiveMediaHandlers.push({query:s,handler:m}))},makeBreakpoints:function(){var s=this;if(this.breakpoint=null,this.responsiveMediaHandlers=[],this.responsive){var m=this.responsive.map(function(V){return V.breakpoint});m.sort(function(V,H){return V-H}),m.forEach(function(V,H){var K=S()({minWidth:H===0?0:m[H-1]+1,maxWidth:V});s.media(K,function(){s.breakpoint=V})});var T=S()({minWidth:m.slice(-1)[0]});this.media(T,function(){s.breakpoint=null})}}},render:function(){var s=arguments[0],m=this.settings,T=this.$slots.default||[];if(m==="unslick")return s("div",{class:"regular slider"},[T]);m.prevArrow=this.$scopedSlots.prevArrow,m.nextArrow=this.$scopedSlots.nextArrow,m.customPaging=this.$scopedSlots.customPaging,T=T.filter(function(Ie){return!!Ie.tag});for(var V=[],H=null,K=0;K<T.length;K+=m.rows*m.slidesPerRow){for(var le=[],se=K;se<K+m.rows*m.slidesPerRow;se+=m.slidesPerRow){for(var Me=[],Re=se;Re<se+m.slidesPerRow&&(m.variableWidth&&xe(T[Re])&&(H=xe(T[Re]).width),!(Re>=T.length));Re+=1){var Be=be(T[Re]);fe(Be,"key",100*K+10*se+Re),X(Be,"attrs",{tabIndex:-1}),X(Be,"style",{width:"".concat(100/m.slidesPerRow,"%"),display:"inline-block"}),Me.push(Be)}le.push(s("div",{key:10*K+se},[Me]))}m.variableWidth?V.push(s("div",{key:K,style:{width:H}},[le])):V.push(s("div",{key:K},[le]))}return V.length<=m.slidesToShow&&(m.unslick=!0),s(Kn,{ref:"innerSlider",props:f({},m),key:Object.values(m).join("")},[V])}},k0=u0,N0,F0,f0=C(k0,N0,F0,!1,null,null,null),H0=f0.exports;L.default=H0},fb6a:function(d,L,i){var l=i("23e7"),u=i("861d"),h=i("e8b5"),f=i("23cb"),g=i("50c4"),S=i("fc6a"),b=i("8418"),x=i("b622"),C=i("1dde"),$=i("ae40"),D=C("slice"),A=$("slice",{ACCESSORS:!0,0:0,1:2}),Y=x("species"),Q=[].slice,te=Math.max;l({target:"Array",proto:!0,forced:!D||!A},{slice:function(ie,oe){var J=S(this),X=g(J.length),fe=f(ie,X),Le=f(oe===void 0?X:oe,X),z,me,be;if(h(J)&&(z=J.constructor,typeof z=="function"&&(z===Array||h(z.prototype))?z=void 0:u(z)&&(z=z[Y],z===null&&(z=void 0)),z===Array||z===void 0))return Q.call(J,fe,Le);for(me=new(z===void 0?Array:z)(te(Le-fe,0)),be=0;fe<Le;fe++,be++)fe in J&&b(me,be,J[fe]);return me.length=be,me}})},fc6a:function(d,L,i){var l=i("44ad"),u=i("1d80");d.exports=function(h){return l(u(h))}},fdb2:function(d,L,i){},fdbc:function(d,L){d.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},fdbf:function(d,L,i){var l=i("4930");d.exports=l&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}}).default})})(po);const qr=uo(po.exports);function Dt(ce,E,d,L,i,l,u,h){var f=typeof ce=="function"?ce.options:ce;E&&(f.render=E,f.staticRenderFns=d,f._compiled=!0),L&&(f.functional=!0),l&&(f._scopeId="data-v-"+l);var g;if(u?(g=function(x){x=x||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!x&&typeof __VUE_SSR_CONTEXT__!="undefined"&&(x=__VUE_SSR_CONTEXT__),i&&i.call(this,x),x&&x._registeredComponents&&x._registeredComponents.add(u)},f._ssrRegister=g):i&&(g=h?function(){i.call(this,(f.functional?this.parent:this).$root.$options.shadowRoot)}:i),g)if(f.functional){f._injectStyles=g;var S=f.render;f.render=function(C,$){return g.call($),S(C,$)}}else{var b=f.beforeCreate;f.beforeCreate=b?[].concat(b,g):[g]}return{exports:ce,options:f}}const $9={components:{VueSlickCarousel:qr},name:"ArticleCarousel",data:()=>({settings:{dots:!1,infinite:!1,slidesToShow:3,slidesToScroll:1,responsive:[{breakpoint:1200,settings:{slidesToShow:1}}]}})};var E9=function(){var E=this,d=E._self._c;return d("vue-slick-carousel",E._b({staticClass:"article-carousel"},"vue-slick-carousel",E.settings,!1),[E._t("default")],2)},j9=[],M9=Dt($9,E9,j9,!1,null,null,null,null);const I9=M9.exports,P9={components:{VueSlickCarousel:qr},name:"HeaderCarousel",data:()=>({settings:{fade:!0,dots:!0}})};var A9=function(){var E=this,d=E._self._c;return d("div",{staticClass:"header-carousel mb-8 xl:mb-32"},[d("vue-slick-carousel",E._b({},"vue-slick-carousel",E.settings,!1),[E._t("default")],2)],1)},R9=[],D9=Dt(P9,A9,R9,!1,null,null,null,null);const _9=D9.exports,k9={props:{name:{type:String,default:"Kalend\xE1\u0159"},events:{type:Array,required:!0},onShowMore:{type:Function,required:!1},hasMore:{type:Boolean,default:!0},showBanner:{type:Boolean,default:!0}},filters:{dateDay:ce=>`${new Date(ce).getDate()}.`}};var N9=function(){var E=this,d=E._self._c;return d("div",{staticClass:"calendar grid grid-cols-4"},[E.showBanner?d("div",{staticClass:"col-span-4 xl:col-span-1"},[d("aside",{staticClass:"banner bg-orange-300 text-white h-full"},[d("i",{staticClass:"ico--calendar banner__icon"}),d("div",{staticClass:"banner__body"},[d("h1",{staticClass:"head-alt-md banner__cta"},[E._v(E._s(E.name))]),E.onShowMore&&E.hasMore?d("button",{staticClass:"btn btn--white btn--fullwidth sm:btn--autowidth mt-8",on:{click:function(L){return E.onShowMore()}}},[d("div",{staticClass:"btn__body"},[E._v("Zobrazit dal\u0161\xED")])]):E._e()])])]):E._e(),d("div",{class:{"col-span-4 xl:col-span-3":E.showBanner,"col-span-4":!E.showBanner}},E._l(E.events,function(L){return d("div",{key:L.id,staticClass:"grid grid-cols-12 items-center calendar-table-row",class:{"calendar-table-row--standalone":!E.showBanner}},[d("div",{staticClass:"col-span-2 text-orange-300 head-alt-md calendar-table-row__col"},[d("span",[E._v(E._s(E._f("dateDay")(L.startTimestamp)))])]),d("div",{staticClass:"col-span-8 grid grid-cols-3 col-gap-4 calendar-table-row__col",class:{"calendar-table-row__col--norborder":!L.mapLink}},[d("div",{staticClass:"col-span-3 md:col-span-1"},[d("strong",{staticClass:"block"},[E._v(E._s(L.startDateVerbose))]),d("p",{staticClass:"font-light text-sm mt-1"},[E._v(E._s(L.allDay?"Cel\xFD den":L.startTimeVerbose))])]),d("div",{staticClass:"col-span-3 md:col-span-2 mt-4 md:mt-0"},[L.link?d("a",{staticClass:"font-bold block",attrs:{href:L.link,target:"_blank",rel:"noreferrer noopener"}},[E._v(E._s(L.title))]):E._e(),L.link?E._e():d("strong",{staticClass:"block"},[E._v(E._s(L.title))]),L.description?d("p",{staticClass:"font-light text-sm mt-1"},[E._v(E._s(L.description))]):E._e()])]),d("div",{staticClass:"col-span-2 text-center font-light calendar-table-row__col"},[L.mapLink?d("a",{staticClass:"icon-link",attrs:{href:L.mapLink}},[d("i",{staticClass:"ico--location text-violet-300 mr-1",attrs:{"aria-hidden":"true"}}),d("span",[E._v("Mapa")])]):E._e()])])}),0)])},F9=[],H9=Dt(k9,N9,F9,!1,null,null,null,null);const V9=H9.exports,co=[{id:2,start:"2020-07-08T10:00:00.000Z",startTimestamp:new Date("2020-07-08T10:00:00.000Z").getTime(),startDateVerbose:"st\u0159eda 8. \u010Dervence 2020",startTimeVerbose:"12:00",allDay:!1,end:"2020-07-08T11:00:00.000Z",title:"Pir\xE1tsk\xFD ob\u011Bd - Chrudim",description:"Pravideln\xE9 setk\xE1n\xED pir\xE1t\u016F p\u0159i st\u0159ede\u010Dn\xEDm ob\u011Bd\u011B. Nejen o politice a s chut\xED.",link:"https://www.google.com/calendar/event?eid=Mmw1Y2RwMTByYm80Y204cWxsaW1maWJmcTJfMjAyMDA3MDhUMTAwMDAwWiA3cjY3M3JsaDI1NW9mb3JodjNvZWIybDBnMEBn"},{id:15,start:"2020-07-13T19:00:00.000Z",startTimestamp:new Date("2020-07-13T19:00:00.000Z").getTime(),startDateVerbose:"pond\u011Bl\xED 13. \u010Dervence 2020",startTimeVerbose:"21:00",allDay:!1,end:"2020-07-13T19:30:00.000Z",title:"Mumble - p\u0159edsednictvo",link:"https://www.google.com/calendar/event?eid=YzVpM2FvaGc2MHAzY2I5aGM1aW1jYjlrNjBvbThiYjE2dGk2NGI5ajY4cjY0ZGhrNzVnamdjOWdjb18yMDIwMDcxM1QxOTAwMDBaIDdyNjczcmxoMjU1b2Zvcmh2M29lYjJsMGcwQGc"},{id:3,start:"2020-07-15T10:00:00.000Z",startTimestamp:new Date("2020-07-15T10:00:00.000Z").getTime(),startDateVerbose:"st\u0159eda 15. \u010Dervence 2020",startTimeVerbose:"12:00",allDay:!1,end:"2020-07-15T11:00:00.000Z",title:"Pir\xE1tsk\xFD ob\u011Bd - Chrudim",description:"Pravideln\xE9 setk\xE1n\xED pir\xE1t\u016F p\u0159i st\u0159ede\u010Dn\xEDm ob\u011Bd\u011B. Nejen o politice a s chut\xED.",link:"https://www.google.com/calendar/event?eid=Mmw1Y2RwMTByYm80Y204cWxsaW1maWJmcTJfMjAyMDA3MTVUMTAwMDAwWiA3cjY3M3JsaDI1NW9mb3JodjNvZWIybDBnMEBn",mapLink:"https://maps.google.com"},{id:16,start:"2020-07-20T19:00:00.000Z",startTimestamp:new Date("2020-07-20T19:00:00.000Z").getTime(),startDateVerbose:"pond\u011Bl\xED 20. \u010Dervence 2020",startTimeVerbose:"21:00",allDay:!1,end:"2020-07-20T19:30:00.000Z",title:"Mumble - p\u0159edsednictvo",link:"https://www.google.com/calendar/event?eid=YzVpM2FvaGc2MHAzY2I5aGM1aW1jYjlrNjBvbThiYjE2dGk2NGI5ajY4cjY0ZGhrNzVnamdjOWdjb18yMDIwMDcyMFQxOTAwMDBaIDdyNjczcmxoMjU1b2Zvcmh2M29lYjJsMGcwQGc"},{id:4,start:"2020-07-22T10:00:00.000Z",startTimestamp:new Date("2020-07-22T10:00:00.000Z").getTime(),startDateVerbose:"st\u0159eda 22. \u010Dervence 2020",startTimeVerbose:"12:00",allDay:!1,end:"2020-07-22T11:00:00.000Z",title:"Pir\xE1tsk\xFD ob\u011Bd - Chrudim",description:"Pravideln\xE9 setk\xE1n\xED pir\xE1t\u016F p\u0159i st\u0159ede\u010Dn\xEDm ob\u011Bd\u011B. Nejen o politice a s chut\xED.",link:"https://www.google.com/calendar/event?eid=Mmw1Y2RwMTByYm80Y204cWxsaW1maWJmcTJfMjAyMDA3MjJUMTAwMDAwWiA3cjY3M3JsaDI1NW9mb3JodjNvZWIybDBnMEBn"},{id:17,start:"2020-07-27T19:00:00.000Z",startTimestamp:new Date("2020-07-27T19:00:00.000Z").getTime(),startDateVerbose:"pond\u011Bl\xED 27. \u010Dervence 2020",startTimeVerbose:"21:00",allDay:!1,end:"2020-07-27T19:30:00.000Z",title:"Mumble - p\u0159edsednictvo",link:"https://www.google.com/calendar/event?eid=YzVpM2FvaGc2MHAzY2I5aGM1aW1jYjlrNjBvbThiYjE2dGk2NGI5ajY4cjY0ZGhrNzVnamdjOWdjb18yMDIwMDcyN1QxOTAwMDBaIDdyNjczcmxoMjU1b2Zvcmh2M29lYjJsMGcwQGc"},{id:5,start:"2020-07-29T10:00:00.000Z",startTimestamp:new Date("2020-07-29T10:00:00.000Z").getTime(),startDateVerbose:"st\u0159eda 29. \u010Dervence 2020",startTimeVerbose:"12:00",allDay:!1,end:"2020-07-29T11:00:00.000Z",title:"Pir\xE1tsk\xFD ob\u011Bd - Chrudim",description:"Pravideln\xE9 setk\xE1n\xED pir\xE1t\u016F p\u0159i st\u0159ede\u010Dn\xEDm ob\u011Bd\u011B. Nejen o politice a s chut\xED.",link:"https://www.google.com/calendar/event?eid=Mmw1Y2RwMTByYm80Y204cWxsaW1maWJmcTJfMjAyMDA3MjlUMTAwMDAwWiA3cjY3M3JsaDI1NW9mb3JodjNvZWIybDBnMEBn"},{id:18,start:"2020-08-03T19:00:00.000Z",startTimestamp:new Date("2020-08-03T19:00:00.000Z").getTime(),startDateVerbose:"pond\u011Bl\xED 3. srpna 2020",startTimeVerbose:"21:00",allDay:!1,end:"2020-08-03T19:30:00.000Z",title:"Mumble - p\u0159edsednictvo",link:"https://www.google.com/calendar/event?eid=YzVpM2FvaGc2MHAzY2I5aGM1aW1jYjlrNjBvbThiYjE2dGk2NGI5ajY4cjY0ZGhrNzVnamdjOWdjb18yMDIwMDgwM1QxOTAwMDBaIDdyNjczcmxoMjU1b2Zvcmh2M29lYjJsMGcwQGc"},{id:6,start:"2020-08-05T10:00:00.000Z",startTimestamp:new Date("2020-08-05T10:00:00.000Z").getTime(),startDateVerbose:"st\u0159eda 5. srpna 2020",startTimeVerbose:"12:00",allDay:!1,end:"2020-08-05T11:00:00.000Z",title:"Pir\xE1tsk\xFD ob\u011Bd - Chrudim",description:"Pravideln\xE9 setk\xE1n\xED pir\xE1t\u016F p\u0159i st\u0159ede\u010Dn\xEDm ob\u011Bd\u011B. Nejen o politice a s chut\xED.",link:"https://www.google.com/calendar/event?eid=Mmw1Y2RwMTByYm80Y204cWxsaW1maWJmcTJfMjAyMDA4MDVUMTAwMDAwWiA3cjY3M3JsaDI1NW9mb3JodjNvZWIybDBnMEBn"}],z9=[{id:19,start:"2020-08-10T19:00:00.000Z",startTimestamp:new Date("2020-08-10T19:00:00.000Z").getTime(),startDateVerbose:"pond\u011Bl\xED 10. srpna 2020",startTimeVerbose:"21:00",allDay:!1,end:"2020-08-10T19:30:00.000Z",title:"Mumble - p\u0159edsednictvo",link:"https://www.google.com/calendar/event?eid=YzVpM2FvaGc2MHAzY2I5aGM1aW1jYjlrNjBvbThiYjE2dGk2NGI5ajY4cjY0ZGhrNzVnamdjOWdjb18yMDIwMDgxMFQxOTAwMDBaIDdyNjczcmxoMjU1b2Zvcmh2M29lYjJsMGcwQGc"},{id:7,start:"2020-08-12T10:00:00.000Z",startTimestamp:new Date("2020-08-12T10:00:00.000Z").getTime(),startDateVerbose:"st\u0159eda 12. srpna 2020",startTimeVerbose:"12:00",allDay:!1,end:"2020-08-12T11:00:00.000Z",title:"Pir\xE1tsk\xFD ob\u011Bd - Chrudim",description:"Pravideln\xE9 setk\xE1n\xED pir\xE1t\u016F p\u0159i st\u0159ede\u010Dn\xEDm ob\u011Bd\u011B. Nejen o politice a s chut\xED.",link:"https://www.google.com/calendar/event?eid=Mmw1Y2RwMTByYm80Y204cWxsaW1maWJmcTJfMjAyMDA4MTJUMTAwMDAwWiA3cjY3M3JsaDI1NW9mb3JodjNvZWIybDBnMEBn"}],U9={data:()=>({events:co,hasMore:!0}),methods:{onShowMore(){this.$data.events=[...co,...z9],this.$data.hasMore=!1}},render(){return this.$scopedSlots.default({events:this.events,hasMore:this.hasMore,onShowMore:this.onShowMore})}},B9=null,W9=null;var G9=Dt(U9,B9,W9,!1,null,null,null,null);const K9=G9.exports,Y9=10,Z9={props:{calendarId:{type:String,required:!0},apiKey:{type:String,required:!0}},data(){return{events:[],toShow:7}},computed:{displayedEvents(){return this.events.slice(0,this.toShow)},hasMore(){return this.toShow<this.events.length}},methods:{onShowMore(){this.toShow+=Y9},loadEventsFromStorage(){if(window.sessionStorage&&window.sessionStorage["__pircal_"+this.calendarId])return JSON.parse(window.sessionStorage["__pircal_"+this.calendarId])},storeEventsToStorage(){window.sessionStorage&&(window.sessionStorage["__pircal_"+this.calendarId]=JSON.stringify(this.events))}},mounted(){const ce=this.loadEventsFromStorage();if(ce)this.events=ce;else{const E=new Date,d=E.toISOString(),L=new Date(+E+1e3*60*60*24*90).toISOString(),i=`https://www.googleapis.com/calendar/v3/calendars/${this.calendarId}/events?key=${encodeURIComponent(this.apiKey)}&maxResults=150&timeMin=${encodeURIComponent(d)}&timeMax=${encodeURIComponent(L)}&sanitizeHtml=true&singleEvents=true&maxAtendees=1`;let l=0;fetch(i).then(u=>{if(!u.ok)throw new Error("Problem loading events from google");return u.json()}).then(u=>{this.events=u.items.map(h=>{const f=new Date(h.start.dateTime||h.start.date),g=new Date(h.end.dateTime||h.end.date),S=f.toLocaleDateString("cs-CZ",{weekday:"long",year:"numeric",month:"long",day:"numeric"}),b=f.getHours()+":"+f.getMinutes().toString().padStart(2,"0"),x=!h.start.dateTime;return{id:l++,start:f,startTimestamp:f.getTime(),startDateVerbose:S,startTimeVerbose:b,allDay:x,end:g,title:h.summary,description:h.description,link:h.htmlLink}}).sort((h,f)=>h.start<f.start?-1:1),this.storeEventsToStorage()})}},render(){return this.$scopedSlots.default({events:this.displayedEvents,hasMore:this.hasMore,onShowMore:this.onShowMore})}},J9=null,X9=null;var Q9=Dt(Z9,J9,X9,!1,null,null,null,null);const q9=Q9.exports,el={props:{links:{type:Object,default:function(){return{praha:"https://praha.pirati.cz",stredocesky:"https://stredocesky.pirati.cz",jihocesky:"https://jihocesky.pirati.cz",plzensky:"https://plzensky.pirati.cz",karlovarsky:"https://karlovarsky.pirati.cz",ustecky:"https://ustecky.pirati.cz",liberecky:"https://liberecky.pirati.cz",kralovehradecky:"https://kralovehradecky.pirati.cz",moravskoslezsky:"https://moravskoslezsky.pirati.cz",pardubicky:"https://pardubicky.pirati.cz",vysocina:"https://vysocina.pirati.cz",jihomoravsky:"https://jihomoravsky.pirati.cz",olomoucky:"https://olomoucky.pirati.cz",zlinsky:"https://zlinsky.pirati.cz"}}}},methods:{selectRegion(ce){const E=this.$props.links[ce.id];window.open(E,"_blank")}},data(){return{current:null,regions:[{id:"jihocesky",name:"Jiho\u010Desk\xFD kraj",polygon:"M173.5,445.61L179.5,447.36L185.61599999999999,452.692L184.61599999999999,455.789L188.963,462.31L196.57,463.669L198.743,470.46099999999996L203.905,477.25299999999993L206.079,483.50199999999995L211.78400000000002,483.77299999999997L221.56500000000003,493.01L226.72700000000003,494.911L232.43300000000002,501.704L228.35800000000003,506.051L237.32400000000004,515.0169999999999H247.64800000000005L257.97200000000004,516.9179999999999L266.39400000000006,521.8089999999999L278.34800000000007,511.75599999999986L280.79300000000006,505.50799999999987L287.0420000000001,510.9419999999999L293.83400000000006,512.2999999999998L299.2680000000001,510.94199999999984L308.2340000000001,516.9189999999999L311.7660000000001,511.2139999999999L310.68000000000006,505.77999999999986L311.76700000000005,496.54299999999984L319.3740000000001,490.29499999999985L322.09100000000007,482.4159999999998L329.1550000000001,482.68699999999984L338.9360000000001,485.67499999999984L340.5660000000001,482.68699999999984L338.1210000000001,478.33999999999986L339.4790000000001,472.36199999999985L341.9240000000001,465.02599999999984L341.1090000000001,455.5169999999998L340.5660000000001,445.4639999999998L343.5540000000001,439.75899999999984L352.5200000000001,442.74699999999984L360.1270000000001,444.3779999999998L362.5720000000001,452.5279999999998L374.2550000000001,449.8109999999998L377.5150000000001,445.4629999999998L385.3940000000001,445.7349999999998L397.3490000000001,451.9829999999998L401.4240000000001,453.88499999999976L405.5010000000001,459.85699999999974L408.7510000000001,452.85699999999974L404.7510000000001,446.60699999999974L400.2510000000001,442.60699999999974L405.7510000000001,436.85699999999974L406.7510000000001,430.60699999999974L412.0010000000001,429.60699999999974L412.7510000000001,425.10699999999974L405.5010000000001,419.35699999999974L398.5010000000001,420.85699999999974L390.0010000000001,420.60699999999974L383.5010000000001,414.10699999999974L384.5010000000001,408.60699999999974L381.2510000000001,404.10699999999974L374.0010000000001,405.35699999999974L366.0010000000001,402.35699999999974L361.0010000000001,405.10699999999974L355.5010000000001,400.10699999999974L352.7510000000001,395.10699999999974L346.5010000000001,391.60699999999974L341.7510000000001,394.35699999999974L336.2510000000001,389.85699999999974L333.5010000000001,384.85699999999974L334.7510000000001,380.35699999999974L332.0010000000001,374.60699999999974V366.85699999999974L335.0010000000001,363.10699999999974L335.2510000000001,356.10699999999974L333.5010000000001,349.60699999999974L330.2510000000001,344.85699999999974L328.0010000000001,339.35699999999974L323.7510000000001,339.85699999999974L316.0010000000001,333.35699999999974L310.7510000000001,337.10699999999974L312.2510000000001,344.85699999999974L305.7510000000001,348.35699999999974L302.2510000000001,352.35699999999974L295.0010000000001,349.35699999999974L287.0010000000001,347.35699999999974L282.5010000000001,348.10699999999974L276.0010000000001,345.10699999999974L269.7510000000001,348.85699999999974C269.7510000000001,348.85699999999974,266.10300000000007,348.62199999999973,265.5010000000001,348.60699999999974S261.5010000000001,343.60699999999974,261.5010000000001,343.60699999999974H255.5010000000001L252.5010000000001,347.35699999999974L239.0010000000001,348.85699999999974L235.2510000000001,344.85699999999974H230.5010000000001L227.7510000000001,349.60699999999974L220.7510000000001,353.10699999999974L216.2510000000001,350.85699999999974L202.5010000000001,350.35699999999974L199.7510000000001,354.35699999999974L201.2510000000001,359.85699999999974V364.35699999999974L200.5010000000001,372.10699999999974L204.0010000000001,377.85699999999974L199.5010000000001,384.85699999999974L196.0010000000001,387.60699999999974V391.35699999999974L193.0010000000001,394.10699999999974L196.7510000000001,398.35699999999974L192.0010000000001,400.85699999999974L195.0010000000001,406.85699999999974L192.5010000000001,412.85699999999974L186.5010000000001,415.10699999999974L185.0010000000001,417.85699999999974L180.5010000000001,416.35699999999974L179.2510000000001,426.10699999999974L181.7510000000001,430.10699999999974L180.5010000000001,433.60699999999974L175.2510000000001,435.85699999999974L173.57600000000008,441.83199999999977L173.5,445.61Z"},{id:"plzensky",name:"Plze\u0148sk\xFD kraj",polygon:"M151.027,246.771L147.637,255.059L141.986,256.566V265.042L134.452,259.39099999999996L126.541,258.44899999999996L111.472,268.24299999999994V273.89399999999995L107.61099999999999,277.75499999999994L101.30099999999999,274.6479999999999L98.09899999999999,276.1549999999999L91.883,272.38699999999994L84.34899999999999,275.58899999999994L78.981,280.95699999999994L73.99,276.5299999999999L69.469,280.2979999999999L62.355999999999995,280.0069999999999L54.477,291.9609999999999L54,299.11L45.784,306.63300000000004L52.033,313.696L59.64,318.858L59.097,326.737L64.259,332.71500000000003L63.987,340.05L72.138,345.75600000000003L71.32300000000001,354.721L72.68100000000001,360.969L79.20200000000001,364.501L84.90800000000002,370.479L89.25500000000001,377.81399999999996L97.13400000000001,379.98799999999994L99.85100000000001,378.08699999999993L106.91400000000002,379.44499999999994L115.88000000000001,385.96599999999995L116.96700000000001,393.30099999999993L124.84600000000002,401.17999999999995V404.9839999999999L132.181,410.68999999999994L133.53900000000002,416.3949999999999L138.43,419.9269999999999H145.222L151.743,426.4479999999999L157.72,435.1409999999999L158.535,444.6509999999999L169.674,451.9859999999999L173.501,445.6109999999999L173.576,441.8359999999999L175.251,435.8609999999999L180.501,433.6109999999999L181.751,430.1109999999999L179.251,426.1109999999999L180.501,416.3609999999999L185.001,417.8609999999999L186.501,415.1109999999999L192.501,412.8609999999999L195.001,406.8609999999999L192.001,400.8609999999999L196.751,398.3609999999999L193.001,394.1109999999999L196.001,391.3609999999999V387.6109999999999L199.501,384.8609999999999L204.001,377.8609999999999L200.501,372.1109999999999L201.251,364.3609999999999V359.8609999999999L199.751,354.3609999999999L202.501,350.3609999999999L199.251,344.8609999999999L199.501,338.8609999999999L200.751,334.3609999999999L197.501,331.8609999999999L194.001,327.3609999999999L195.751,322.3609999999999L191.751,318.1109999999999L197.001,314.3609999999999H202.501L207.251,308.6109999999999L205.001,304.1109999999999L207.501,299.8609999999999L205.251,293.8609999999999L210.001,289.1109999999999L208.751,285.3609999999999L209.251,278.8609999999999L205.001,276.1109999999999L200.001,275.1109999999999L199.751,271.1109999999999L194.751,272.1109999999999C194.751,272.1109999999999,189.695,265.40499999999986,189.501,265.3609999999999S185.001,267.1109999999999,185.001,267.1109999999999L180.501,264.8609999999999L176.501,262.6109999999999L175.751,258.3609999999999L169.001,257.8609999999999L165.001,260.3609999999999L161.501,257.1109999999999L164.251,253.61099999999988L161.95600000000002,250.7269999999999L155.175,246.7709999999999L151.027,246.771Z"},{id:"karlovarsky",name:"Karlovarsk\xFD kraj",polygon:"M69.47,280.299L62.357,280.008V274.846L57.195,272.401L57.466,266.42400000000004L42.251,256.1L32.742,251.21000000000004L28.665999999999997,243.87400000000002L24.590999999999998,239.25500000000002L26.493,230.83300000000003L20.244,221.324L15.761,216.841L18.886,210.728L16.169999999999998,203.936H24.863999999999997L27.037,206.11V212.08700000000002H31.656L34.237,214.668L32.742000000000004,218.87900000000002L35.459,221.59600000000003V228.38800000000003L39.535000000000004,232.46400000000003L41.437000000000005,222.68300000000002C41.437000000000005,222.68300000000002,40.07900000000001,219.42200000000003,41.437000000000005,218.06400000000002S46.871,212.63000000000002,46.871,212.63000000000002L49.316,204.479L59.912000000000006,198.774V194.97L63.30800000000001,191.574L71.051,190.351L80.83200000000001,188.721L84.09200000000001,191.981L89.52600000000001,185.189L99.57900000000001,182.47199999999998L110.17500000000001,190.35099999999997L115.019,195.19499999999996H125.036L129.933,197.04499999999996C129.933,197.04499999999996,129.676,201.25999999999996,129.933,201.75399999999996S140.66899999999998,200.62399999999997,140.66899999999998,200.62399999999997L145.378,205.33299999999997L140.76299999999998,209.94799999999998L143.30599999999998,214.75099999999998L141.611,220.96599999999998L145.755,225.10999999999999L144.06,228.689L148.768,235.093L144.059,239.801L151.028,246.771L147.638,255.059L141.987,256.566V265.042L134.453,259.39099999999996L126.542,258.44899999999996L111.473,268.24299999999994V273.89399999999995L107.612,277.75499999999994L101.30199999999999,274.6479999999999L98.1,276.1549999999999L91.884,272.38699999999994L84.35,275.58899999999994L78.982,280.95699999999994L73.991,276.5299999999999L69.47,280.299Z"},{id:"jihomoravsky",name:"Jihomoravsk\xFD kraj",polygon:"M546.667,336.777L540.5,330.61H522L518.333,336.61H506L502.75,339.86L501.5,344.61L506.75,348.11L505.25,351.11L500.25,354.11L503,360.61L500.75,365.36L502.75,370.36L503.25,379.36L493.5,383.86L491.75,387.86L487.25,390.86L491,395.61L487,398.86L485.75,403.36L491,408.61L485.25,412.11L486.75,417.11C486.75,417.11,491.12,419.697,491.25,420.36S489.5,423.61,489.5,423.61L485.75,424.61L483.5,430.11L478.75,428.86L475.75,433.61L470.25,436.36L464.5,434.61L460.25,437.11L454,432.86L447,435.86L444.75,441.11H438.75L435.5,445.61L432,446.61L429,452.36L423.25,448.11L417.75,453.86L413.25,450.61L408.75,452.86L405.5,459.86L409.03,460.409L416.09299999999996,461.223L424.24299999999994,467.201L432.39399999999995,468.016L434.29499999999996,464.755L442.44499999999994,465.57L454.3999999999999,473.992L455.7579999999999,478.34000000000003L471.51499999999993,487.033L490.26199999999994,486.762L504.66099999999994,489.479L510.09499999999997,483.22999999999996L513.083,475.08L523.136,474.537L527.483,479.155L537.536,480.78499999999997L538.8939999999999,487.578L544.0559999999999,485.947L553.0219999999999,491.382L561.1719999999999,489.208L566.6059999999999,492.74L569.3229999999999,506.324L573.6709999999998,505.781L576.9309999999998,494.37L579.1049999999998,486.491L588.0709999999998,475.351L590.2439999999998,467.74399999999997L593.5049999999998,466.38599999999997L598.3949999999998,461.496H603.5569999999998L613.6099999999998,465.84299999999996L622.3039999999997,471.00499999999994L630.9969999999997,465.29999999999995L638.3329999999997,470.18999999999994L644.8539999999997,468.55999999999995L651.6459999999997,462.3109999999999L649.4999999999998,459.61099999999993L645.7499999999998,454.11099999999993L639.4999999999998,452.61099999999993L639.2499999999998,448.61099999999993L633.4999999999998,445.11099999999993L626.9999999999998,447.61099999999993L621.4999999999998,442.61099999999993L616.2499999999998,442.86099999999993L616.4999999999998,437.11099999999993L608.2499999999998,436.11099999999993L601.9999999999998,432.61099999999993L602.7499999999998,426.86099999999993L599.7499999999998,423.61099999999993L591.4999999999998,426.86099999999993L587.7499999999998,422.11099999999993L592.7499999999998,416.86099999999993L597.2499999999998,413.86099999999993L597.9999999999998,408.86099999999993L591.2499999999998,408.11099999999993L592.7499999999998,402.86099999999993L589.7499999999998,397.61099999999993L593.3749999999998,392.73599999999993L589.4999999999998,386.11099999999993V382.36099999999993L586.3749999999998,379.23599999999993H579.5L578.5,373.86099999999993V368.86099999999993L572.5,365.11099999999993V360.61099999999993L568.625,356.73599999999993L566.25,351.61099999999993H560.75L557,355.86099999999993L561,359.86099999999993L565.125,363.98599999999993L560.75,370.36099999999993L557.75,373.36099999999993L550.25,367.86099999999993L553.75,364.36099999999993L549.25,358.36099999999993V351.86099999999993L554.25,346.61099999999993L548.5,344.86099999999993L543.75,344.61099999999993L546.667,336.777Z"},{id:"zlinsky",name:"Zl\xEDnsk\xFD kraj",polygon:"M737.5,365.046L731.75,362.36L730.5,356.61L723.5,352.11L723,347.61L717.5,349.86H712.25L706.25,345.61L698.25,343.86L690.25,347.11L685.25,342.86H679.5L675.375,346.985L671.25,345.61L664.5,350.11V357.11C664.5,357.11,660.164,361.736,659.125,362.485S653.25,355.86,653.25,355.86L645.5,358.61L647.75,365.36L641,367.36L636,365.86L631.875,369.985L629,375.11L625.125,371.235L618.5,371.61L616.5,366.86L612.5,370.36L614.75,378.11L611,381.86L608.75,385.36L599.25,386.86L593.375,392.735L589.75,397.61L592.75,402.86L591.25,408.11L598,408.86L597.25,413.86L592.75,416.86L587.75,422.11L591.5,426.86L599.75,423.61L602.75,426.86L602,432.61L608.25,436.11L616.5,437.11L616.25,442.86L621.5,442.61L627,447.61L633.5,445.11L639.25,448.61L639.5,452.61L645.75,454.11L649.5,459.61L651.646,462.31H656.5369999999999L663.6009999999999,457.963L668.4909999999999,449.54L678.5439999999999,448.997L680.3099999999998,435.548L684.2489999999998,431.609L697.2899999999998,430.522L704.0829999999999,420.742V409.06L707.6139999999998,399.007V391.944L713.0479999999998,383.522L720.3839999999998,381.62L727.1759999999998,378.088L733.1539999999998,375.915L737.5,365.046Z"},{id:"vysocina",name:"Kraj Vyso\u010Dina",polygon:"M502.75,339.86L495.5,332.61L489.667,332.44300000000004L482.5,323.94300000000004L468.5,320.77700000000004L466,314.94300000000004L459.333,315.11V311.44300000000004L452.5,315.77700000000004C452.5,315.77700000000004,452.729,321.25500000000005,452.5,321.44300000000004S444.833,318.77700000000004,444.833,318.77700000000004L441,316.77700000000004V311.77700000000004L435.833,309.11000000000007L431.833,308.27700000000004L427.66700000000003,303.94300000000004L420.66700000000003,299.44300000000004L411,299.61L402,292.61L396,293.11L392,296.36L392.5,302.36L386.75,302.11L384.75,306.36H379L375.75,309.36L371.75,308.36L368.75,310.11L368,314.11L364.25,317.61L364,323.36L371.75,327.11C371.75,327.11,372.032,331.726,372,332.36S367.25,335.61,367.25,335.61L363.5,333.86L361.25,337.86L356.75,337.11L350.25,337.36L342,336.11L336.5,341.61L336.25,346.86L333.5,349.61L335.25,356.11L335,363.11L332,366.86V374.61L334.75,380.36L333.5,384.86L336.25,389.86L341.75,394.36L346.5,391.61L352.75,395.11L355.5,400.11L361,405.11L366,402.36L374,405.36L381.25,404.11L384.5,408.61L383.5,414.11L390,420.61L398.5,420.86L405.5,419.36L412.75,425.11L412,429.61L406.75,430.61L405.75,436.86L400.25,442.61L404.75,446.61L408.75,452.86L413.25,450.61L417.75,453.86L423.25,448.11L429,452.36L432,446.61L435.5,445.61L438.75,441.11H444.75L447,435.86L454,432.86L460.25,437.11L464.5,434.61L470.25,436.36L475.75,433.61L478.75,428.86L483.5,430.11L485.75,424.61L489.5,423.61L491.25,420.36L486.75,417.11L485.25,412.11L491,408.61L485.75,403.36L487,398.86L491,395.61L487.25,390.86L491.75,387.86L493.5,383.86L503.25,379.36L502.75,370.36L500.75,365.36L503,360.61L500.25,354.11L505.25,351.11L506.75,348.11L501.5,344.61L502.75,339.86Z"},{id:"stredocesky",name:"St\u0159edo\u010Desk\xFD kraj",polygon:"M404.167,273.11L397.33399999999995,269.777L397.167,265.11L391.667,263.277L386,259.944L386.833,255.27700000000002L390.24800000000005,250.347L392.32000000000005,243.566L384.22100000000006,239.234L388.1770000000001,232.26500000000001L386.1050000000001,227.74400000000003L387.23500000000007,222.09400000000002L385.9170000000001,216.06600000000003L382.9030000000001,213.05200000000002L377.4410000000001,216.63100000000003L368.5880000000001,215.50100000000003V210.22700000000003L363.7850000000001,205.42400000000004L357.4750000000001,204.20000000000005L356.1570000000001,199.49100000000004L360.9600000000001,194.68800000000005L358.0410000000001,186.68300000000005L359.7360000000001,181.97400000000005L356.9110000000001,177.45300000000006L359.35700000000014,173.68500000000006L354.27200000000016,171.42500000000007V167.65800000000007L347.1610000000002,164.03200000000007L343.91200000000015,160.78300000000007H338.35500000000013L334.11700000000013,156.54500000000007L329.9730000000001,163.70200000000008L323.3800000000001,171.0480000000001L321.1200000000001,168.7880000000001L315.47000000000014,169.7290000000001V174.4380000000001L307.55900000000014,180.8420000000001L298.14100000000013,183.1020000000001L295.88100000000014,176.32100000000008L284.95300000000015,176.88600000000008L282.69300000000015,179.90100000000007L283.63500000000016,187.05900000000005H278.92600000000016L277.41900000000015,191.58000000000004H272.52200000000016L274.21700000000016,200.05600000000004L270.63800000000015,203.63500000000005L262.53900000000016,202.88200000000006L258.20600000000013,207.21500000000006H241.81900000000013L233.90800000000013,203.63600000000005L227.50400000000013,207.02600000000004V211.54700000000003L222.32400000000013,216.72700000000003H216.39100000000013L214.36600000000013,218.75100000000003L214.50800000000012,222.66000000000003L208.8570000000001,219.26900000000003L202.6420000000001,225.48400000000004L193.97700000000012,225.29600000000005L185.6890000000001,230.38200000000006L178.3430000000001,230.75800000000007L172.6920000000001,236.03200000000007L171.5620000000001,242.62400000000008L165.3460000000001,245.26100000000008L161.9560000000001,250.72300000000007L164.2510000000001,253.60700000000006L161.5010000000001,257.1070000000001L165.0010000000001,260.3570000000001L169.0010000000001,257.8570000000001L175.7510000000001,258.3570000000001L176.5010000000001,262.6070000000001L180.5010000000001,264.8570000000001L185.0010000000001,267.1070000000001L189.5010000000001,265.3570000000001L194.7510000000001,272.1070000000001L199.7510000000001,271.1070000000001L200.0010000000001,275.1070000000001L205.0010000000001,276.1070000000001L209.2510000000001,278.8570000000001L208.7510000000001,285.3570000000001L210.0010000000001,289.1070000000001L205.2510000000001,293.8570000000001L207.5010000000001,299.8570000000001L205.0010000000001,304.1070000000001L207.2510000000001,308.6070000000001L202.5010000000001,314.3570000000001H197L191.75,318.1070000000001L195.75,322.3570000000001L194,327.3570000000001L197.5,331.8570000000001L200.75,334.3570000000001L199.5,338.8570000000001L199.25,344.8570000000001L202.5,350.3570000000001L216.25,350.8570000000001L220.75,353.1070000000001L227.75,349.6070000000001L230.5,344.8570000000001H235.25L239,348.8570000000001L252.5,347.3570000000001L255.5,343.6070000000001H261.5L265.5,348.6070000000001L269.75,348.8570000000001L276,345.1070000000001L282.5,348.1070000000001L287,347.3570000000001L295,349.3570000000001L302.25,352.3570000000001L305.75,348.3570000000001L312.25,344.8570000000001L310.75,337.1070000000001L316,333.3570000000001L323.75,339.8570000000001L328,339.3570000000001L330.25,344.8570000000001L333.5,349.6070000000001L336.25,346.8570000000001L336.5,341.6070000000001L342,336.1070000000001L350.25,337.3570000000001L356.75,337.1070000000001L361.25,337.8570000000001L363.5,333.8570000000001L367.25,335.6070000000001L372,332.3570000000001L371.75,327.1070000000001L364,323.3570000000001L364.25,317.6070000000001L368,314.1070000000001L368.75,310.1070000000001L371.75,308.3570000000001L375.75,309.3570000000001L379,306.3570000000001H384.75L386.75,302.1070000000001L392.5,302.3570000000001L392,296.3570000000001L396,293.1070000000001L402,292.6070000000001L400,284.4410000000001L403.667,280.7740000000001L404.167,273.11ZM310,254.11L305.167,254.61L301.83399999999995,256.94300000000004L304.167,258.94300000000004L304.667,264.11L301.167,267.277L297.167,264.61L292,263.944L289.5,266.444L284.833,267.611L282.16600000000005,271.444L278.4990000000001,271.611L274.9990000000001,273.27799999999996L273.9990000000001,275.94499999999994L269.4990000000001,276.94499999999994L266.16600000000005,273.27799999999996L267.833,267.94499999999994L263.16600000000005,265.6119999999999L264.4990000000001,262.6119999999999L260.66600000000005,260.1119999999999L257.66600000000005,255.7789999999999L259.9990000000001,252.2789999999999L256.16600000000005,247.6119999999999L263.16600000000005,244.1119999999999L265.833,245.6119999999999L270.5,245.9449999999999L269.333,241.6119999999999L272.333,239.7789999999999L276.5,240.6119999999999L281.167,238.1119999999999L283.667,234.7789999999999L289.167,234.9459999999999L290.5,237.2789999999999L293.667,238.2789999999999L294.667,239.7789999999999L298.33399999999995,238.9459999999999L297.33399999999995,242.61299999999991L302.167,243.77999999999992L304.33399999999995,247.27999999999992H307.5009999999999L310.5009999999999,251.11299999999991L310,254.11Z"},{id:"praha",name:"Hlavn\xED m\u011Bsto Praha",polygon:"M256.167,247.61L263.167,244.11L265.83399999999995,245.61C265.83399999999995,245.61,270.00299999999993,246.41500000000002,270.5009999999999,245.943S269.33399999999995,241.61,269.33399999999995,241.61L272.33399999999995,239.77700000000002L276.5009999999999,240.61L281.1679999999999,238.11L283.6679999999999,234.77700000000002L289.1679999999999,234.94400000000002L290.5009999999999,237.27700000000002L293.6679999999999,238.27700000000002L294.6679999999999,239.77700000000002L298.33499999999987,238.94400000000002L297.33499999999987,242.61100000000002L302.1679999999999,243.77800000000002L304.33499999999987,247.27800000000002H307.50199999999984L310.50199999999984,251.11100000000002L310.00199999999984,254.11100000000002L305.1689999999998,254.61100000000002L301.8359999999998,256.944L304.1689999999998,258.944L304.6689999999998,264.111L301.1689999999998,267.27799999999996L297.1689999999998,264.611L292,263.944L289.5,266.444L284.833,267.611L282.16600000000005,271.444L278.4990000000001,271.611L274.9990000000001,273.27799999999996L273.9990000000001,275.94499999999994L269.4990000000001,276.94499999999994L266.16600000000005,273.27799999999996L267.833,267.94499999999994L263.16600000000005,265.6119999999999L264.4990000000001,262.6119999999999L260.66600000000005,260.1119999999999L257.66600000000005,255.7789999999999L259.9990000000001,252.2789999999999L256.167,247.61Z"},{id:"ustecky",name:"\xDAsteck\xFD kraj",polygon:"M110.174,190.351L119.683,185.189L119.412,177.85399999999998L122.67200000000001,174.593L132.453,172.963L140.604,174.04999999999998L143.864,168.07299999999998V163.72599999999997L146.58100000000002,158.83599999999998H149.841L151.471,163.72599999999997L155.546,162.36799999999997V156.39099999999996L158.128,153.80899999999997L159.62199999999999,149.86999999999998H163.42499999999998L165.05499999999998,155.03199999999998L169.402,157.749L177.82399999999998,151.772L178.367,141.72L182.30599999999998,137.781L186.789,140.09L192.22299999999998,135.20000000000002L195.755,138.73200000000003L202.27599999999998,135.20000000000002L209.611,134.38500000000002L211.24099999999999,138.18900000000002H214.23L219.11999999999998,133.29900000000004V125.69200000000004L225.36899999999997,124.60500000000003L229.71599999999998,120.25800000000004L235.421,123.79000000000003L244.11499999999998,119.17100000000003L247.647,115.63900000000004L254.982,116.18200000000004L258.514,109.11900000000004H263.404L265.306,111.29200000000004L275.087,107.76000000000005L276.174,100.96800000000005L268.02299999999997,98.25100000000005V93.08900000000004L259.873,91.45900000000005L262.861,86.02500000000005L265.578,78.96100000000004L273.729,82.76500000000004L275.631,84.66700000000004H280.52099999999996L288.128,81.95000000000005L293.018,86.84000000000005L297.909,91.45900000000005L298.18,97.43600000000005L294.105,104.22800000000005L303.34200000000004,102.59800000000006L301.71200000000005,112.10700000000006V116.45400000000005L295.31000000000006,118.69000000000005L294.36800000000005,126.03600000000006L287.96400000000006,123.58700000000006L280.8070000000001,122.64500000000007L282.3140000000001,128.67200000000005L277.5110000000001,133.47500000000005V137.33600000000004L273.3200000000001,141.52700000000004C273.3200000000001,141.52700000000004,269.2500000000001,147.21300000000005,269.3180000000001,148.26100000000005S272.7080000000001,153.72300000000004,272.7080000000001,153.72300000000004V158.80900000000005L279.8670000000001,170.67200000000005L284.9510000000001,176.88900000000007L282.6910000000001,179.90400000000005L283.6330000000001,187.06200000000004H278.9240000000001L277.4170000000001,191.58300000000003H272.5200000000001L274.2150000000001,200.05900000000003L270.6360000000001,203.63800000000003L262.5370000000001,202.88500000000005L258.20400000000006,207.21800000000005H241.81700000000006L233.90600000000006,203.63900000000004L227.50200000000007,207.02900000000002V211.55L222.32200000000006,216.73000000000002H216.38900000000007L214.36400000000006,218.75400000000002L214.50600000000006,222.663L208.85500000000005,219.27200000000002L202.64000000000004,225.48700000000002L193.97500000000005,225.29900000000004L185.68700000000004,230.38500000000005L178.34100000000004,230.76100000000005L172.69000000000003,236.03500000000005L171.56000000000003,242.62700000000007L165.34400000000002,245.26400000000007L161.95400000000004,250.72600000000006L155.17300000000003,246.77000000000007L151.02600000000004,246.77100000000007L144.05700000000004,239.80100000000007L148.76600000000005,235.09300000000007L144.05800000000005,228.68900000000008L145.75300000000004,225.11000000000007L141.60900000000004,220.96600000000007L143.30400000000003,214.75100000000006L140.76100000000002,209.94800000000006L145.37600000000003,205.33300000000006L140.66700000000003,200.62400000000005L129.93100000000004,201.75400000000005V197.04500000000004L125.03400000000003,195.19500000000005H115.01700000000004L110.174,190.351Z"},{id:"pardubicky",name:"Pardubick\xFD kraj",polygon:"M555.742,226.757L554,234.944L549.333,243.944L547.833,252.611L550.333,256.77799999999996L540.333,264.94499999999994V270.6119999999999L542.833,276.44499999999994L543.833,283.77899999999994L546.25,286.1959999999999L540.667,289.94499999999994L544.8330000000001,298.1119999999999L549.3330000000001,306.94499999999994V311.44499999999994L555.0000000000001,313.94499999999994V321.44499999999994L549.8330000000001,326.6119999999999V332.2789999999999L546.667,336.7789999999999L540.5,330.6119999999999H522L518.333,336.6119999999999H506L502.75,339.8619999999999L495.5,332.6119999999999L489.667,332.44499999999994L482.5,323.94499999999994L468.5,320.77899999999994L466,314.94499999999994L459.333,315.1119999999999V311.44499999999994L452.5,315.77899999999994V321.44499999999994L444.833,318.77899999999994L441,316.77899999999994V311.77899999999994L435.833,309.11199999999997L431.833,308.27899999999994L427.66700000000003,303.94499999999994L420.66700000000003,299.44499999999994L411,299.61L402,292.61L400,284.444L403.667,280.77700000000004L404.167,273.11000000000007L397.33399999999995,269.77700000000004L397.167,265.11000000000007L391.667,263.27700000000004L386,259.944L386.833,255.27700000000002L390.24800000000005,250.347L398.95900000000006,248.40300000000002L408.89500000000004,239.79900000000004L414.16900000000004,242.81300000000005C414.16900000000004,242.81300000000005,423.29800000000006,243.14300000000006,423.77400000000006,242.81300000000005S428.86000000000007,235.84400000000005,428.86000000000007,235.84400000000005H433.75700000000006V241.49500000000006L437.24100000000004,242.72000000000006L440.53700000000003,239.42400000000006L446.94100000000003,236.22200000000007L454.66400000000004,236.41000000000005L458.05500000000006,239.80000000000004V246.39300000000003H462.5760000000001L466.7200000000001,250.53700000000003L473.9720000000001,254.77500000000003L478.2100000000001,259.01300000000003L484.8020000000001,257.13000000000005H494.2200000000001L495.9150000000001,249.97300000000004L501.1890000000001,244.69900000000004L511.17100000000005,241.87400000000005V236.41200000000006H515.1260000000001L523.5210000000001,240.17100000000005L535.9080000000001,247.13600000000005L542.9710000000001,240.07300000000006L546.6390000000001,236.40500000000006L546.5030000000002,230.02000000000007L555.742,226.757Z"},{id:"kralovehradecky",name:"Kr\xE1lov\xE9hradeck\xFD kraj",polygon:"M401.151,127.863L409.302,128.406L418.267,132.481L420.984,135.198L427.233,136.285L434.025,132.481L436.74199999999996,138.458L440.54599999999994,146.88H445.43699999999995L452.49999999999994,144.16299999999998L456.84799999999996,152.313L456.304,157.475L463.097,152.585L467.715,147.966L475.86499999999995,153.67100000000002L479.941,153.943L481.299,147.966H492.438L506.294,161.55L501.67499999999995,165.626L500.58799999999997,173.505L491.895,176.765L479.397,186.546L480.484,191.98L487.54699999999997,200.13L493.525,197.142L496.921,200.53799999999998V204.749L500.792,208.62099999999998L505.75,208.01L511.456,218.063L519.335,224.31199999999998L520.693,234.36499999999998L523.521,240.16899999999998L515.126,236.41H511.171V241.87199999999999L501.18899999999996,244.69699999999997L495.91499999999996,249.97099999999998L494.21999999999997,257.128H484.80199999999996L478.21,259.01099999999997L473.972,254.77299999999997L466.71999999999997,250.53499999999997L462.57599999999996,246.39099999999996H458.05499999999995V239.8L454.66399999999993,236.41000000000003L446.9409999999999,236.22200000000004L440.5369999999999,239.42400000000004L437.24099999999993,242.72000000000003C437.24099999999993,242.72000000000003,434.0929999999999,241.62100000000004,433.75699999999995,241.49500000000003S433.75699999999995,235.84400000000002,433.75699999999995,235.84400000000002H428.85999999999996L423.77399999999994,242.81300000000002H414.1689999999999L408.8949999999999,239.799L398.95899999999995,248.40300000000002L390.24799999999993,250.347L392.31999999999994,243.566L384.22099999999995,239.234L388.17699999999996,232.26500000000001L386.10499999999996,227.74400000000003L387.23499999999996,222.09400000000002L385.917,216.06600000000003L382.90299999999996,213.05200000000002L377.441,216.63100000000003L368.58799999999997,215.50100000000003V210.22700000000003L363.78499999999997,205.42400000000004L357.47499999999997,204.20000000000005L356.157,199.49100000000004L360.96,194.68800000000005L358.041,186.68300000000005L359.736,181.97400000000005L356.911,177.45300000000006L359.357,173.68500000000006L367.26800000000003,178.77100000000007L374.425,174.06200000000007L385.35,177.82900000000006L388.552,182.72600000000006L393.449,179.90100000000007V174.81600000000006L399.288,171.04900000000006L403.809,175.57000000000005C403.809,175.57000000000005,413.317,173.60500000000005,413.415,173.49800000000005S413.415,169.91900000000004,413.415,169.91900000000004L407.764,164.26800000000003L410.778,158.24100000000004L407.011,154.47400000000005L408.517,150.33000000000004L405.316,142.60700000000003L407.19899999999996,134.69600000000003L401.151,127.863Z"},{id:"liberecky",name:"Libereck\xFD kraj",polygon:"M401.151,127.863L407.197,134.697L405.314,142.608L408.51500000000004,150.33100000000002L407.00900000000007,154.47500000000002L410.77600000000007,158.24200000000002L407.76200000000006,164.269L413.41300000000007,169.92000000000002V173.49900000000002L403.8070000000001,175.57100000000003L399.28600000000006,171.05000000000004L393.44700000000006,174.81700000000004V179.90200000000004L388.55000000000007,182.72700000000003L385.34800000000007,177.83000000000004L374.42300000000006,174.06300000000005L367.2660000000001,178.77200000000005L359.3550000000001,173.68600000000004L354.2700000000001,171.42600000000004V167.65900000000005L347.1590000000001,164.03300000000004L343.9100000000001,160.78400000000005H338.35300000000007L334.11500000000007,156.54600000000005L329.97100000000006,163.70300000000006L323.37800000000004,171.04900000000006L321.11800000000005,168.78900000000007L315.4680000000001,169.73000000000008V174.43900000000008L307.5570000000001,180.84300000000007L298.13900000000007,183.10300000000007L295.8790000000001,176.32200000000006L284.9510000000001,176.88700000000006L279.8670000000001,170.67000000000004L272.7080000000001,158.80700000000004V153.72100000000003L269.3180000000001,148.25900000000004L273.3200000000001,141.52500000000003L277.5110000000001,137.33400000000003V133.47300000000004L282.3140000000001,128.67000000000004L280.8070000000001,122.64300000000004L287.96400000000006,123.58500000000004L294.36800000000005,126.03400000000003L295.31000000000006,118.68800000000003L301.71200000000005,116.45200000000003L318.557,121.61400000000003L323.99100000000004,113.73500000000003L334.04300000000006,113.19200000000002C334.04300000000006,113.19200000000002,340.65700000000004,114.42000000000002,341.1070000000001,114.00700000000002S342.7370000000001,104.49800000000002,342.7370000000001,104.49800000000002L344.9100000000001,95.80400000000002L340.29100000000005,91.18500000000002L344.63800000000003,86.83800000000002H351.973L355.777,90.37000000000002L361.75399999999996,87.11000000000001L365.01399999999995,92.81600000000002L369.90399999999994,90.64300000000001L375.33799999999997,97.16400000000002L372.893,102.59800000000001L375.60999999999996,111.02000000000001L380.364,115.77400000000002L384.847,120.25700000000002L385.39,128.13600000000002L387.156,129.90200000000002L393.269,124.33200000000002L401.151,127.863Z"},{id:"olomoucky",name:"Olomouck\xFD kraj",polygon:"M617.687,214.259V224.60999999999999H612.75L608.25,229.10999999999999L598.25,235.60999999999999V242.60999999999999L594.75,246.10999999999999L597.5,251.10999999999999L591.5,259.61L589.75,267.36L593.875,271.485L590,277.86L588.75,285.36L592.375,288.985H597V294.36H603.25L607.25,298.36L614.5,296.36L620.5,305.11H625.5L629.75,307.36L634.75,303.86L639,308.11L644.5,305.11L652,309.11L650.25,317.61H658L660.75,325.11L666.75,327.11L671.875,332.235L671.25,337.36H676.75L679.5,342.86L675.375,346.985L671.25,345.61L664.5,350.11V357.11L659.125,362.485L653.25,355.86L645.5,358.61L647.75,365.36L641,367.36L636,365.86L631.875,369.985L629,375.11L625.125,371.235L618.5,371.61L616.5,366.86L612.5,370.36L614.75,378.11L611,381.86L608.75,385.36L599.25,386.86L593.375,392.735L589.5,386.11V382.36L586.375,379.235H579.5L578.5,373.86V368.86L572.5,365.11V360.61L568.625,356.735L566.25,351.61H560.75L557,355.86L561,359.86L565.125,363.985L560.75,370.36L557.75,373.36L550.25,367.86L553.75,364.36L549.25,358.36V351.86L554.25,346.61L548.5,344.86L543.75,344.61L546.667,336.777L549.8330000000001,332.277V326.61L555.0000000000001,321.44300000000004V313.94300000000004L549.3330000000001,311.44300000000004V306.94300000000004L544.8330000000001,298.11L540.667,289.94300000000004L546.25,286.194L543.833,283.77700000000004L542.833,276.44300000000004L540.333,270.61V264.94300000000004C540.333,264.94300000000004,550.221,257.03200000000004,550.333,256.77600000000007S547.833,252.60900000000007,547.833,252.60900000000007L549.333,243.94200000000006L554,234.94200000000006L555.742,226.75500000000005L564.435,222.67900000000006H571.228L571.4989999999999,214.25700000000006L567.016,209.77400000000006L562.534,208.00800000000007L559.273,196.32500000000007L552.21,192.52100000000007L556.014,185.18600000000006L564.436,187.35900000000007L570.6850000000001,188.71700000000007L581.009,191.70600000000007L585.22,195.9170000000001L592.4200000000001,193.60700000000008L593.5070000000001,200.67100000000008L599.2120000000001,205.0180000000001H607.9060000000001L610.0790000000001,212.62500000000009L617.687,214.259Z"},{id:"moravskoslezsky",name:"Moravskoslezsk\xFD kraj",polygon:"M617.687,214.259V224.60999999999999H612.75L608.25,229.10999999999999L598.25,235.60999999999999V242.60999999999999L594.75,246.10999999999999L597.5,251.10999999999999L591.5,259.61L589.75,267.36L593.875,271.485L590,277.86L588.75,285.36L592.375,288.985H597V294.36H603.25L607.25,298.36L614.5,296.36L620.5,305.11H625.5L629.75,307.36L634.75,303.86L639,308.11L644.5,305.11L652,309.11L650.25,317.61H658L660.75,325.11L666.75,327.11L671.875,332.235L671.25,337.36H676.75L679.5,342.86H685.25L690.25,347.11L698.25,343.86L706.25,345.61L712.25,349.86H717.5L723,347.61L723.5,352.11L730.5,356.61L731.75,362.36L737.5,365.046L742.119,363.416L750.813,352.005L750.269,345.484L756.247,342.767L761.1379999999999,345.212L769.2879999999999,343.582L776.0799999999999,345.755L784.7739999999999,341.68L786.1319999999998,335.159L781.2409999999999,321.847L778.2529999999998,312.60999999999996H771.1889999999999L768.2009999999998,309.078L759.2349999999998,306.361L757.8769999999998,299.84L751.8989999999999,286.799L755.1599999999999,279.736L752.4429999999999,278.649L749.7259999999999,271.042L744.2919999999999,275.11699999999996L733.6959999999999,269.14L724.4579999999999,267.782L721.1979999999999,273.488L716.3069999999999,265.338L710.0579999999999,262.34900000000005L707.0699999999998,258.5450000000001L701.6359999999999,262.07700000000006L696.2019999999999,259.63200000000006L696.6089999999999,252.97500000000005L692.127,248.49300000000005L685.606,249.58000000000004L682.345,258.00200000000007C682.345,258.00200000000007,676.811,263.9390000000001,676.096,264.2510000000001S670.255,264.11500000000007,670.255,264.11500000000007L664.686,258.54600000000005L658.98,256.64400000000006L655.992,247.67900000000006L650.8299999999999,240.34300000000005L644.9879999999999,241.02300000000005L639.419,235.45300000000006V230.83400000000006L649.1999999999999,227.84500000000006L656.943,224.04100000000005V219.55800000000005L651.917,214.53200000000004L653.004,209.09800000000004L647.57,203.66400000000004L644.8520000000001,209.09800000000004L640.777,213.17300000000003L627.1930000000001,212.08600000000004L617.687,214.259Z"}]}}};var tl=function(){var E=this,d=E._self._c;return d("div",{staticClass:"region-map flex justify-center items-center"},[d("div",{staticClass:"w-full max-w-xl block"},[d("svg",{attrs:{"xmlns:xlink":"http://www.w3.org/1999/xlink",xmlns:"http://www.w3.org/2000/svg",id:"svgmapy",version:"1.1",viewBox:"0 75 800 500"}},[d("g",E._l(E.regions,function(L){return d("a",{key:L.id,attrs:{"xlink:href":"#"},on:{mouseover:function(i){E.current=L},mouseout:function(i){E.current=null},click:function(i){return E.selectRegion(L)}}},[d("path",{staticClass:"map-polygon region-map__region",class:{"region-map__region--current":E.current===L},attrs:{d:L.polygon}})])}),0)])])])},nl=[],rl=Dt(el,tl,nl,!1,null,null,null,null);const il=rl.exports,al={components:{VueSlickCarousel:qr},name:"TwitterCarousel",data:()=>({settings:{dots:!1,infinite:!1,slidesToShow:4,slidesToScroll:1,responsive:[{breakpoint:1600,settings:{slidesToShow:3}},{breakpoint:1200,settings:{slidesToShow:3}},{breakpoint:900,settings:{slidesToShow:2}},{breakpoint:500,settings:{slidesToShow:1}}]}})};var ol=function(){var E=this,d=E._self._c;return d("vue-slick-carousel",E._b({staticClass:"twitter-carousel"},"vue-slick-carousel",E.settings,!1),[E._t("default")],2)},sl=[],ll=Dt(al,ol,sl,!1,null,null,null,null);const cl=ll.exports,ul={props:{initial:{default:()=>{}},syncLocation:{type:Boolean,default:!1},locationParam:{type:String,default:"view"}},data(){return{views:this.$props.initial,queryParams:null,keyListener:ce=>{ce.keyCode===27&&this.hideAllViews()}}},watch:{routeView(){new URLSearchParams(window.location.search)}},methods:{setView(ce,E,d=!1){if(d&&Object.keys(this.$data.views).forEach(L=>{L!==ce&&this.setView(L,!1)}),this.$data.views[ce]=E,E&&this.$props.syncLocation){const L=new URLSearchParams(window.location.search);L.set(this.$props.locationParam,ce),history.pushState(null,null,"?"+L.toString())}},setViews(ce){this.$data.views=Object.assign({},this.data.views,ce)},toggleView(ce){!this.isCurrentView(ce)&&this.setView(ce,!this.isCurrentView(ce),!0)},showView(ce){this.setView(ce,!0,!0)},isCurrentView(ce){return this.$data.views[ce]},hideAllViews(){Object.keys(this.$data.views).forEach(ce=>{this.setView(ce,!1)})}},mounted(){if(window.addEventListener("keydown",this.$data.keyListener),this.$props.syncLocation){const E=new URLSearchParams(window.location.search).get(this.$props.locationParam);E&&Object.keys(this.$data.views).indexOf(E)!==-1&&this.showView(E)}},destroyed(){window.removeEventListener("keydown",this.$data.keyListener)}};var fl=function(){var E=this,d=E._self._c;return d("div",[E._t("default",null,{views:E.views,isCurrentView:E.isCurrentView,toggleView:E.toggleView,showView:E.showView,setView:E.setView})],2)},dl=[],vl=Dt(ul,fl,dl,!1,null,null,null,null);const pl=vl.exports,hl={data(){return{show:!1}},props:{href:{type:String},label:{type:String}},methods:{onMouseEnter(){rn()&&(this.$data.show=!0)},onMouseLeave(){rn()&&(this.$data.show=!1)},handleClick(ce){(rn()||this.$data.show)&&this.$props.href&&(window.location=this.$props.href),this.$data.show=!this.$data.show}}};var ml=function(){var E=this,d=E._self._c;return d("div",{on:{mouseenter:E.onMouseEnter,mouseleave:E.onMouseLeave}},[E.href?E._e():d("span",{staticClass:"navbar-menu__link navbar-menu__submenu-toggle",class:{"navbar-menu__submenu-toggle--open":E.show},on:{click:E.handleClick}},[E._v(E._s(E.label))]),E.href?d("a",{staticClass:"navbar-menu__link navbar-menu__submenu-toggle",class:{"navbar-menu__submenu-toggle--open":E.show},attrs:{href:E.href},on:{click:function(L){return L.preventDefault(),E.handleClick.apply(null,arguments)}}},[E._v(E._s(E.label))]):E._e(),d("div",{staticClass:"navbar-menu__submenu-wrap",class:{"navbar-menu__submenu-wrap--show":E.show}},[E._t("default")],2)])},gl=[],yl=Dt(hl,ml,gl,!1,null,null,null,null);const Ll=yl.exports,bl={data(){return{show:!1,parsedItems:JSON.parse(this.items)}},props:{href:{type:String},label:{type:String},items:{type:String}},methods:{onMouseEnter(){rn()&&(this.$data.show=!0)},onMouseLeave(){rn()&&(this.$data.show=!1)},handleClick(ce){(rn()||this.$data.show)&&this.$props.href&&(window.location=this.$props.href),this.$data.show=!this.$data.show}}};var Sl=function(){var E=this,d=E._self._c;return d("div",{on:{mouseenter:E.onMouseEnter,mouseleave:E.onMouseLeave}},[E.href?E._e():d("span",{staticClass:"navbar-menu__link navbar-menu__submenu-toggle",class:{"navbar-menu__submenu-toggle--open":E.show},on:{click:E.handleClick}},[E._v(E._s(E.label))]),E.href?d("a",{staticClass:"navbar-menu__link navbar-menu__submenu-toggle",class:{"navbar-menu__submenu-toggle--open":E.show},attrs:{href:E.href},on:{click:function(L){return L.preventDefault(),E.handleClick.apply(null,arguments)}}},[E._v(E._s(E.label))]):E._e(),d("div",{staticClass:"navbar-menu__submenu-wrap",class:{"navbar-menu__submenu-wrap--show":E.show}},[d("ul",{staticClass:"navbar-menu__submenu"},E._l(E.parsedItems,function(L,i){return d("li",{key:i},[d("a",{staticClass:"navbar-menu__link",attrs:{href:L[1]}},[E._v(E._s(L[0]))])])}),0)])])},xl=[],wl=Dt(bl,Sl,xl,!1,null,null,null,null);const Ol=wl.exports,Tl={components:{UiNavbarSubitem:Ll,UiNavbarSubitemReplacing:Ol},data(){return{isLgScreenSize:rn(),show:!1,resizeHandler:()=>{this.$data.isLgScreenSize=rn()}}},mounted(){this.$nextTick(()=>{window.addEventListener("resize",this.$data.resizeHandler)})},beforeDestroy(){window.removeEventListener("resize",this.$data.resizeHandler)}},Cl=null,$l=null;var El=Dt(Tl,Cl,$l,!1,null,null,null,null);const jl=El.exports,Ml={data(){return{isLgScreenSize:rn(),show:!1,resizeHandler:()=>{this.$data.isLgScreenSize=rn()}}},props:{href:{type:String},label:{type:String},labelclass:{type:String},wrapperclass:{type:String,default:""},slotwrapperclass:{type:String,default:""}},methods:{handleClick(){this.$props.href&&(window.location=this.$props.href),this.$data.show=!this.$data.show}},mounted(){this.$nextTick(()=>{window.addEventListener("resize",this.$data.resizeHandler)})},beforeDestroy(){window.removeEventListener("resize",this.$data.resizeHandler)}};var Il=function(){var E=this,d=E._self._c;return d("div",{class:[E.wrapperclass,"footer-collapsible"]},[d("span",{staticClass:"text-xl font-alt uppercase tracking-wide text-white footer-collapsible__toggle",class:[E.labelclass,E.show?"footer-collapsible__toggle--open":""],on:{click:E.handleClick}},[E._v(E._s(E.label))]),d("div",{directives:[{name:"show",rawName:"v-show",value:E.show||E.isLgScreenSize,expression:"show || isLgScreenSize"}],class:[E.slotwrapperclass]},[E._t("default")],2)])},Pl=[],Al=Dt(Ml,Il,Pl,!1,null,null,null,null);const Rl=Al.exports,Dl={name:"flipCountdown",props:{deadline:{type:String},stop:{type:Boolean},units:{type:String,default:"days,hours,minutes,seconds"},clockClasses:{type:String,default:"text-6xl"},slotClasses:{type:String,default:"text-3xl"}},data(){const ce=Math.floor(Math.random()*100);return{now:Math.trunc(new Date().getTime()/1e3),date:null,interval:null,diff:0,show:!1,timeData:[{current:0,previous:0,label:"Dn\xED",elementId:"flip-card-days-"+ce,show:this.units.indexOf("days")!==-1},{current:0,previous:0,label:"Hod",elementId:"flip-card-hours-"+ce,show:this.units.indexOf("hours")!==-1},{current:0,previous:0,label:"Min",elementId:"flip-card-minutes-"+ce,show:this.units.indexOf("minutes")!==-1},{current:0,previous:0,label:"Sek",elementId:"flip-card-seconds-"+ce,show:this.units.indexOf("seconds")!==-1}]}},created(){if(!this.deadline)throw new Error("Missing props 'deadline'");const ce=this.deadline;if(this.date=Math.trunc(Date.parse(ce.replace(/-/g,"/"))/1e3),!this.date)throw new Error("Invalid props value, correct the 'deadline'");this.interval=setInterval(()=>{this.now=Math.trunc(new Date().getTime()/1e3)},1e3)},mounted(){this.diff!==0&&(this.show=!0)},watch:{deadline(ce,E){const d=this.deadline;if(this.date=Math.trunc(Date.parse(d.replace(/-/g,"/"))/1e3),!this.date)throw new Error("Invalid props value, correct the 'deadline'")},now(ce){this.diff=this.date-ce,this.diff<=0||this.stop?(this.diff=0,this.updateTime(3,0)):(this.updateTime(0,Math.trunc(this.diff/60/60/24)),this.updateTime(1,Math.trunc(this.diff/60/60)%24),this.updateTime(2,Math.trunc(this.diff/60)%60),this.updateTime(3,Math.trunc(this.diff)%60))}},filters:{twoDigits(ce){return ce.toString().length<=1?"0"+ce.toString():ce.toString()}},methods:{updateTime(ce,E){if(ce>=this.timeData.length||E===void 0)return;const d=()=>{const L=this.timeData[ce],i=E<0?0:E,l=document.querySelector(`#${L.elementId}`);if(i!==L.current&&(L.previous=L.current,L.current=i,l&&(l.classList.remove("flip"),l.offsetWidth,l.classList.add("flip")),ce===0)){const u=l.querySelectorAll("span b");u&&vo(u,h=>{const f=h.classList[0];if(E/1e3>=1){if(!f.includes("-4digits")){const g=f+"-4digits";h.classList.add(g),h.classList.remove(f)}}else if(f.includes("-4digits")){const g=f.replace("-4digits","");h.classList.add(g),h.classList.remove(f)}})}};window.requestAnimationFrame?this.frame=requestAnimationFrame(d):d()}},beforeDestroy(){window.cancelAnimationFrame&&cancelAnimationFrame(this.frame)},destroyed(){clearInterval(interval)}};var _l=function(){var E=this,d=E._self._c;return d("div",{staticClass:"flip-clock"},[E._l(E.timeData,function(L){return[d("span",{directives:[{name:"show",rawName:"v-show",value:L.show,expression:"data.show"}],key:L.label,staticClass:"flip-clock__piece",attrs:{id:L.elementId}},[d("span",{class:["flip-clock__card","flip-card",E.clockClasses]},[d("b",{staticClass:"flip-card__top"},[E._v(E._s(E._f("twoDigits")(L.current)))]),d("b",{staticClass:"flip-card__bottom",attrs:{"data-value":E._f("twoDigits")(L.current)}}),d("b",{staticClass:"flip-card__back",attrs:{"data-value":E._f("twoDigits")(L.previous)}}),d("b",{staticClass:"flip-card__back-bottom",attrs:{"data-value":E._f("twoDigits")(L.previous)}})]),d("span",{class:["flip-clock__slot","font-alt",E.slotClasses]},[E._v(E._s(L.label))])])]})],2)},kl=[],Nl=Dt(Dl,_l,kl,!1,null,null,null,null);const Fl=Nl.exports,Hl={data:()=>({isDown:!1,startX:null,scrollLeft:null}),methods:{mousemove:function(ce){if(!this.isDown)return;ce.preventDefault();const E=this.$refs.slider.getBoundingClientRect().left|null,L=ce.pageX-E-this.startX;this.$refs.slider.scrollLeft=this.scrollLeft-L},mouseleave:function(){this.isDown=!1},mouseup:function(){this.isDown=!1},mousedown:function(ce){this.isDown=!0;const E=this.$refs.slider.getBoundingClientRect().left|null;this.startX=ce.pageX-E,this.scrollLeft=this.$refs.slider.scrollLeft}}};var Vl=function(){var E=this,d=E._self._c;return d("div",{ref:"slider",staticClass:"horizontal-scrolling draggable no-scrollbars",class:{active:E.isDown},on:{mousedown:E.mousedown,mouseleave:E.mouseleave,mouseup:E.mouseup,mousemove:E.mousemove}},[E._t("default")],2)},zl=[],Ul=Dt(Hl,Vl,zl,!1,null,null,null,null);const Bl=Ul.exports,Wl={mounted(){console.log("Mounted generic Vue app in ",this.$el)}},Gl=null,Kl=null;var Yl=Dt(Wl,Gl,Kl,!1,null,null,null,null);const Zl=Yl.exports;zt.component("ui-article-carousel",I9);zt.component("ui-header-carousel",_9);zt.component("ui-calendar-renderer",V9);zt.component("ui-calendar-dummy-provider",K9);zt.component("ui-calendar-google-provider",q9);zt.component("ui-region-map",il);zt.component("ui-twitter-carousel",cl);zt.component("ui-view-provider",pl);zt.component("ui-navbar",jl);zt.component("ui-footer-collapsible",Rl);zt.component("ui-flip-clock",Fl);zt.component("ui-horizontal-scrollable",Bl);const Jl=(ce,E)=>{new zt({el:ce,components:{UiApp:Zl}})};function Xl(ce){return Object.assign({},ce.dataset),Jl(ce)}function Ql(ce){vo(document.querySelectorAll(".__js-root"),Xl)}document.addEventListener("DOMContentLoaded",Ql); diff --git a/main/templates/main/blocks/article_quote_block.html b/main/templates/main/blocks/article_quote_block.html index fef74e01df5f1f47fd35fe92a45d505ec8719a1d..5f39eb2fe09587d2a83ff0f131759d62878aa72d 100644 --- a/main/templates/main/blocks/article_quote_block.html +++ b/main/templates/main/blocks/article_quote_block.html @@ -6,4 +6,4 @@ <span class="text-3xl head-4xl xl:text-4xl">{{ self.quote }}</span> <span class="font-alt text-turquoise-500 mb-6">– {{ self.autor_name }}</span> </div> -</div> \ No newline at end of file +</div> diff --git a/tests/calendar_utils/test_parser.py b/tests/calendar_utils/test_parser.py index 76d9a0b421f6a43c31022d29c932792447cf8b6c..8c1f141468d89de38cfc16bb33108e1dff382cc4 100644 --- a/tests/calendar_utils/test_parser.py +++ b/tests/calendar_utils/test_parser.py @@ -1,9 +1,9 @@ from datetime import datetime +from zoneinfo import ZoneInfo import arrow import pytest from icalevnt.icalparser import Event -from zoneinfo import ZoneInfo from calendar_utils.parser import ( process_event_list, diff --git a/twitter_utils/services.py b/twitter_utils/services.py index e3215b7366478fb19edc3b9e10c935626cfedff5..3e8dd8380f4e790458d1e712323114a1f88abc62 100644 --- a/twitter_utils/services.py +++ b/twitter_utils/services.py @@ -148,7 +148,7 @@ class TweetDownloadService: # ulož obrázek Twitter účtu do media tweet.author_img.save( *self.download_remote_image(user_data.profile_image_url), - False # to prevent model save before bulk create + False, # to prevent model save before bulk create ) # zkus dohledat obrázek pro Tweet @@ -169,5 +169,5 @@ class TweetDownloadService: if img_url: # ne vždycky je obrázek v media_listu... tweet.image.save( *self.download_remote_image(image_url=img_url), - False # to prevent model save before bulk create + False, # to prevent model save before bulk create )