PageSourceSearch

https://www.correios.com.br/++plone++static/++unique++2020-11-27%2016%3A03%3A47/plone-compiled.min.js

js correios.com.br collected 2026-09-24 07:26:56 UTC 404,858 bytes, 2 lines download raw bytes

vendor: 16,354 bytes, line 1
1(function(){var e=this,t=e._,i=Array.prototype,s=Object.prototype,n=Function.prototype,a=i.push,l=i.slice,c=s.toString,r=s.hasOwnProperty,o=Array.isArray,d=Object.keys,u=n.bind,h=Object.create,p=function(){},m=function(e){return e instanceof m?e:this instanceof m?void(this._wrapped=e):new m(e)};"undefined"!=typeof exports?("undefined"!=typeof module&&module.exports&&(exports=module.exports=m),exports._=m):e._=m,m.VERSION="1.8.3";var _=function(a,r,e){if(void 0===r)return a;switch(null==e?3:e){case 1:return function(e){return a.call(r,e)};case 2:return function(e,t){return a.call(r,e,t)};case 3:return function(e,t,n){return a.call(r,e,t,n)};case 4:return function(e,t,n,i){return a.call(r,e,t,n,i)}}return function(){return a.apply(r,arguments)}},f=function(e,t,n){return null==e?m.identity:m.isFunction(e)?_(e,t,n):m.isObject(e)?m.matcher(e):m.property(e)};m.iteratee=function(e,t){return f(e,t,1/0)};var g=function(l,d){return function(e){var t=arguments.length;if(t<2||null==e)return e;for(var n=1;n<t;n++)for(var i=arguments[n],a=l(i),r=a.length,s=0;s<r;s++){var o=a[s];d&&void 0!==e[o]||(e[o]=i[o])}return e}},y=function(e){if(!m.isObject(e))return{};if(h)return h(e);p.prototype=e;var t=new p;return p.prototype=null,t},v=function(t){return function(e){return null==e?void 0:e[t]}},M=Math.pow(2,53)-1,L=v("length"),w=function(e){var t=L(e);return"number"==typeof t&&0<=t&&t<=M};function b(o){return function(e,t,n,i){t=_(t,i,4);var a=!w(e)&&m.keys(e),r=(a||e).length,s=0<o?0:r-1;return arguments.length<3&&(n=e[a?a[s]:s],s+=o),function(e,t,n,i,a,r){for(;0<=a&&a<r;a+=o){var s=i?i[a]:a;n=t(n,e[s],s,e)}return n}(e,t,n,a,s,r)}}m.each=m.forEach=function(e,t,n){var i,a;if(t=_(t,n),w(e))for(i=0,a=e.length;i<a;i++)t(e[i],i,e);else{var r=m.keys(e);for(i=0,a=r.length;i<a;i++)t(e[r[i]],r[i],e)}return e},m.map=m.collect=function(e,t,n){t=f(t,n);for(var i=!w(e)&&m.keys(e),a=(i||e).length,r=Array(a),s=0;s<a;s++){var o=i?i[s]:s;r[s]=t(e[o],o,e)}return r},m.reduce=m.foldl=m.inject=b(1),m.reduceRight=m.foldr=b(-1),m.find=m.detect=function(e,t,n){var i;if(void 0!==(i=w(e)?m.findIndex(e,t,n):m.findKey(e,t,n))&&-1!==i)return e[i]},m.filter=m.select=function(e,i,t){var a=[];return i=f(i,t),m.each(e,function(e,t,n){i(e,t,n)&&a.push(e)}),a},m.reject=function(e,t,n){return m.filter(e,m.negate(f(t)),n)},m.every=m.all=function(e,t,n){t=f(t,n);for(var i=!w(e)&&m.keys(e),a=(i||e).length,r=0;r<a;r++){var s=i?i[r]:r;if(!t(e[s],s,e))return!1}return!0},m.some=m.any=function(e,t,n){t=f(t,n);for(var i=!w(e)&&m.keys(e),a=(i||e).length,r=0;r<a;r++){var s=i?i[r]:r;if(t(e[s],s,e))return!0}return!1},m.contains=m.includes=m.include=function(e,t,n,i){return w(e)||(e=m.values(e)),("number"!=typeof n||i)&&(n=0),0<=m.indexOf(e,t,n)},m.invoke=function(e,n){var i=l.call(arguments,2),a=m.isFunction(n);return m.map(e,function(e){var t=a?n:e[n];return null==t?t:t.apply(e,i)})},m.pluck=function(e,t){return m.map(e,m.property(t))},m.where=function(e,t){return m.filter(e,m.matcher(t))},m.findWhere=function(e,t){return m.find(e,m.matcher(t))},m.max=function(e,i,t){var n,a,r=-1/0,s=-1/0;if(null==i&&null!=e)for(var o=0,l=(e=w(e)?e:m.values(e)).length;o<l;o++)n=e[o],r<n&&(r=n);else i=f(i,t),m.each(e,function(e,t,n){a=i(e,t,n),(s<a||a===-1/0&&r===-1/0)&&(r=e,s=a)});return r},m.min=function(e,i,t){var n,a,r=1/0,s=1/0;if(null==i&&null!=e)for(var o=0,l=(e=w(e)?e:m.values(e)).length;o<l;o++)(n=e[o])<r&&(r=n);else i=f(i,t),m.each(e,function(e,t,n){((a=i(e,t,n))<s||a===1/0&&r===1/0)&&(r=e,s=a)});return r},m.shuffle=function(e){for(var t,n=w(e)?e:m.values(e),i=n.length,a=Array(i),r=0;r<i;r++)(t=m.random(0,r))!==r&&(a[r]=a[t]),a[t]=n[r];return a},m.sample=function(e,t,n){return null==t||n?(w(e)||(e=m.values(e)),e[m.random(e.length-1)]):m.shuffle(e).slice(0,Math.max(0,t))},m.sortBy=function(e,i,t){return i=f(i,t),m.pluck(m.map(e,function(e,t,n){return{value:e,index:t,criteria:i(e,t,n)}}).sort(function(e,t){var n=e.criteria,i=t.criteria;if(n!==i){if(i<n||void 0===n)return 1;if(n<i||void 0===i)return-1}return e.index-t.index}),"value")};var k=function(s){return function(i,a,e){var r={};return a=f(a,e),m.each(i,function(e,t){var n=a(e,t,i);s(r,e,n)}),r}};m.groupBy=k(function(e,t,n){m.has(e,n)?e[n].push(t):e[n]=[t]}),m.indexBy=k(function(e,t,n){e[n]=t}),m.countBy=k(function(e,t,n){m.has(e,n)?e[n]++:e[n]=1}),m.toArray=function(e){return e?m.isArray(e)?l.call(e):w(e)?m.map(e,m.identity):m.values(e):[]},m.size=function(e){return null==e?0:w(e)?e.length:m.keys(e).length},m.partition=function(e,i,t){i=f(i,t);var a=[],r=[];return m.each(e,function(e,t,n){(i(e,t,n)?a:r).push(e)}),[a,r]},m.first=m.head=m.take=function(e,t,n){if(null!=e)return null==t||n?e[0]:m.initial(e,e.length-t)},m.initial=function(e,t,n){return l.call(e,0,Math.max(0,e.length-(null==t||n?1:t)))},m.last=function(e,t,n){if(null!=e)return null==t||n?e[e.length-1]:m.rest(e,Math.max(0,e.length-t))},m.rest=m.tail=m.drop=function(e,t,n){return l.call(e,null==t||n?1:t)},m.compact=function(e){return m.filter(e,m.identity)};var Y=function(e,t,n,i){for(var a=[],r=0,s=i||0,o=L(e);s<o;s++){var l=e[s];if(w(l)&&(m.isArray(l)||m.isArguments(l))){t||(l=Y(l,t,n));var d=0,u=l.length;for(a.length+=u;d<u;)a[r++]=l[d++]}else n||(a[r++]=l)}return a};function T(r){return function(e,t,n){t=f(t,n);for(var i=L(e),a=0<r?0:i-1;0<=a&&a<i;a+=r)if(t(e[a],a,e))return a;return-1}}function D(r,s,o){return function(e,t,n){var i=0,a=L(e);if("number"==typeof n)0<r?i=0<=n?n:Math.max(n+a,i):a=0<=n?Math.min(n+1,a):n+a+1;else if(o&&n&&a)return e[n=o(e,t)]===t?n:-1;if(t!=t)return 0<=(n=s(l.call(e,i,a),m.isNaN))?n+i:-1;for(n=0<r?i:a-1;0<=n&&n<a;n+=r)if(e[n]===t)return n;return-1}}m.flatten=function(e,t){return Y(e,t,!1)},m.without=function(e){return m.difference(e,l.call(arguments,1))},m.uniq=m.unique=function(e,t,n,i){m.isBoolean(t)||(i=n,n=t,t=!1),null!=n&&(n=f(n,i));for(var a=[],r=[],s=0,o=L(e);s<o;s++){var l=e[s],d=n?n(l,s,e):l;t?(s&&r===d||a.push(l),r=d):n?m.contains(r,d)||(r.push(d),a.push(l)):m.contains(a,l)||a.push(l)}return a},m.union=function(){return m.uniq(Y(arguments,!0,!0))},m.intersection=function(e){for(var t=[],n=arguments.length,i=0,a=L(e);i<a;i++){var r=e[i];if(!m.contains(t,r)){for(var s=1;s<n&&m.contains(arguments[s],r);s++);s===n&&t.push(r)}}return t},m.difference=function(e){var t=Y(arguments,!0,!0,1);return m.filter(e,function(e){return!m.contains(t,e)})},m.zip=function(){return m.unzip(arguments)},m.unzip=function(e){for(var t=e&&m.max(e,L).length||0,n=Array(t),i=0;i<t;i++)n[i]=m.pluck(e,i);return n},m.object=function(e,t){for(var n={},i=0,a=L(e);i<a;i++)t?n[e[i]]=t[i]:n[e[i][0]]=e[i][1];return n},m.findIndex=T(1),m.findLastIndex=T(-1),m.sortedIndex=function(e,t,n,i){for(var a=(n=f(n,i,1))(t),r=0,s=L(e);r<s;){var o=Math.floor((r+s)/2);n(e[o])<a?r=o+1:s=o}return r},m.indexOf=D(1,m.findIndex,m.sortedIndex),m.lastIndexOf=D(-1,m.findLastIndex),m.range=function(e,t,n){null==t&&(t=e||0,e=0),n=n||1;for(var i=Math.max(Math.ceil((t-e)/n),0),a=Array(i),r=0;r<i;r++,e+=n)a[r]=e;return a};var S=function(e,t,n,i,a){if(!(i instanceof t))return e.apply(n,a);var r=y(e.prototype),s=e.apply(r,a);return m.isObject(s)?s:r};m.bind=function(e,t){if(u&&e.bind===u)return u.apply(e,l.call(arguments,1));if(!m.isFunction(e))throw new TypeError("Bind must be called on a function");var n=l.call(arguments,2),i=function(){return S(e,i,t,this,n.concat(l.call(arguments)))};return i},m.partial=function(a){var r=l.call(arguments,1),s=function(){for(var e=0,t=r.length,n=Array(t),i=0;i<t;i++)n[i]=r[i]===m?arguments[e++]:r[i];for(;e<arguments.length;)n.push(arguments[e++]);return S(a,s,this,this,n)};return s},m.bindAll=function(e){var t,n,i=arguments.length;if(i<=1)throw new Error("bindAll must be passed function names");for(t=1;t<i;t++)e[n=arguments[t]]=m.bind(e[n],e);return e},m.memoize=function(i,a){var r=function(e){var t=r.cache,n=""+(a?a.apply(this,arguments):e);return m.has(t,n)||(t[n]=i.apply(this,arguments)),t[n]};return r.cache={},r},m.delay=function(e,t){var n=l.call(arguments,2);return setTimeout(function(){return e.apply(null,n)},t)},m.defer=m.partial(m.delay,m,1),m.throttle=function(n,i,a){var r,s,o,l=null,d=0;a||(a={});var u=function(){d=!1===a.leading?0:m.now(),l=null,o=n.apply(r,s),l||(r=s=null)};return function(){var e=m.now();d||!1!==a.leading||(d=e);var t=i-(e-d);return r=this,s=arguments,t<=0||i<t?(l&&(clearTimeout(l),l=null),d=e,o=n.apply(r,s),l||(r=s=null)):l||!1===a.trailing||(l=setTimeout(u,t)),o}},m.debounce=function(t,n,i){var a,r,s,o,l,d=function(){var e=m.now()-o;e<n&&0<=e?a=setTimeout(d,n-e):(a=null,i||(l=t.apply(s,r),a||(s=r=null)))};return function(){s=this,r=arguments,o=m.now();var e=i&&!a;return a||(a=setTimeout(d,n)),e&&(l=t.apply(s,r),s=r=null),l}},m.wrap=function(e,t){return m.partial(t,e)},m.negate=function(e){return function(){return!e.apply(this,arguments)}},m.compose=function(){var n=arguments,i=n.length-1;return function(){for(var e=i,t=n[i].apply(this,arguments);e--;)t=n[e].call(this,t);return t}},m.after=function(e,t){return function(){if(--e<1)return t.apply(this,arguments)}},m.before=function(e,t){var n;return function(){return 0<--e&&(n=t.apply(this,arguments)),e<=1&&(t=null),n}},m.once=m.partial(m.before,2);var x=!{toString:null}.propertyIsEnumerable("toString"),j=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"];function H(e,t){var n=j.length,i=e.constructor,a=m.isFunction(i)&&i.prototype||s,r="constructor";for(m.has(e,r)&&!m.contains(t,r)&&t.push(r);n--;)(r=j[n])in e&&e[r]!==a[r]&&!m.contains(t,r)&&t.push(r)}m.keys=function(e){if(!m.isObject(e))return[];if(d)return d(e);var t=[];for(var n in e)m.has(e,n)&&t.push(n);return x&&H(e,t),t},m.allKeys=function(e){if(!m.isObject(e))return[];var t=[];for(var n in e)t.push(n);return x&&H(e,t),t},m.values=function(e){for(var t=m.keys(e),n=t.length,i=Array(n),a=0;a<n;a++)i[a]=e[t[a]];return i},m.mapObject=function(e,t,n){t=f(t,n);for(var i,a=m.keys(e),r=a.length,s={},o=0;o<r;o++)s[i=a[o]]=t(e[i],i,e);return s},m.pairs=function(e){for(var t=m.keys(e),n=t.length,i=Array(n),a=0;a<n;a++)i[a]=[t[a],e[t[a]]];return i},m.invert=function(e){for(var t={},n=m.keys(e),i=0,a=n.length;i<a;i++)t[e[n[i]]]=n[i];return t},m.functions=m.methods=function(e){var t=[];for(var n in e)m.isFunction(e[n])&&t.push(n);return t.sort()},m.extend=g(m.allKeys),m.extendOwn=m.assign=g(m.keys),m.findKey=function(e,t,n){t=f(t,n);for(var i,a=m.keys(e),r=0,s=a.length;r<s;r++)if(t(e[i=a[r]],i,e))return i},m.pick=function(e,t,n){var i,a,r={},s=e;if(null==s)return r;m.isFunction(t)?(a=m.allKeys(s),i=_(t,n)):(a=Y(arguments,!1,!1,1),i=function(e,t,n){return t in n},s=Object(s));for(var o=0,l=a.length;o<l;o++){var d=a[o],u=s[d];i(u,d,s)&&(r[d]=u)}return r},m.omit=function(e,t,n){if(m.isFunction(t))t=m.negate(t);else{var i=m.map(Y(arguments,!1,!1,1),String);t=function(e,t){return!m.contains(i,t)}}return m.pick(e,t,n)},m.defaults=g(m.allKeys,!0),m.create=function(e,t){var n=y(e);return t&&m.extendOwn(n,t),n},m.clone=function(e){return m.isObject(e)?m.isArray(e)?e.slice():m.extend({},e):e},m.tap=function(e,t){return t(e),e},m.isMatch=function(e,t){var n=m.keys(t),i=n.length;if(null==e)return!i;for(var a=Object(e),r=0;r<i;r++){var s=n[r];if(t[s]!==a[s]||!(s in a))return!1}return!0};var C=function(e,t,n,i){if(e===t)return 0!==e||1/e==1/t;if(null==e||null==t)return e===t;e instanceof m&&(e=e._wrapped),t instanceof m&&(t=t._wrapped);var a=c.call(e);if(a!==c.call(t))return!1;switch(a){case"[object RegExp]":case"[object String]":return""+e==""+t;case"[object Number]":return+e!=+e?+t!=+t:0==+e?1/+e==1/t:+e==+t;case"[object Date]":case"[object Boolean]":return+e==+t}var r="[object Array]"===a;if(!r){if("object"!=typeof e||"object"!=typeof t)return!1;var s=e.constructor,o=t.constructor;if(s!==o&&!(m.isFunction(s)&&s instanceof s&&m.isFunction(o)&&o instanceof o)&&"constructor"in e&&"constructor"in t)return!1}i=i||[];for(var l=(n=n||[]).length;l--;)if(n[l]===e)return i[l]===t;if(n.push(e),i.push(t),r){if((l=e.length)!==t.length)return!1;for(;l--;)if(!C(e[l],t[l],n,i))return!1}else{var d,u=m.keys(e);if(l=u.length,m.keys(t).length!==l)return!1;for(;l--;)if(d=u[l],!m.has(t,d)||!C(e[d],t[d],n,i))return!1}return n.pop(),i.pop(),!0};m.isEqual=function(e,t){return C(e,t)},m.isEmpty=function(e){return null==e||(w(e)&&(m.isArray(e)||m.isString(e)||m.isArguments(e))?0===e.length:0===m.keys(e).length)},m.isElement=function(e){return!(!e||1!==e.nodeType)},m.isArray=o||function(e){return"[object Array]"===c.call(e)},m.isObject=function(e){var t=typeof e;return"function"===t||"object"===t&&!!e},m.each(["Arguments","Function","String","Number","Date","RegExp","Error"],function(t){m["is"+t]=function(e){return c.call(e)==="[object "+t+"]"}}),m.isArguments(arguments)||(m.isArguments=function(e){return m.has(e,"callee")}),"function"!=typeof/./&&"object"!=typeof Int8Array&&(m.isFunction=function(e){return"function"==typeof e||!1}),m.isFinite=function(e){return isFinite(e)&&!isNaN(parseFloat(e))},m.isNaN=function(e){return m.isNumber(e)&&e!==+e},m.isBoolean=function(e){return!0===e||!1===e||"[object Boolean]"===c.call(e)},m.isNull=function(e){return null===e},m.isUndefined=function(e){return void 0===e},m.has=function(e,t){return null!=e&&r.call(e,t)},m.noConflict=function(){return e._=t,this},m.identity=function(e){return e},m.constant=function(e){return function(){return e}},m.noop=function(){},m.property=v,m.propertyOf=function(t){return null==t?function(){}:function(e){return t[e]}},m.matcher=m.matches=function(t){return t=m.extendOwn({},t),function(e){return m.isMatch(e,t)}},m.times=function(e,t,n){var i=Array(Math.max(0,e));t=_(t,n,1);for(var a=0;a<e;a++)i[a]=t(a);return i},m.random=function(e,t){return null==t&&(t=e,e=0),e+Math.floor(Math.random()*(t-e+1))},m.now=Date.now||function(){return(new Date).getTime()};var E={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},A=m.invert(E),O=function(t){var n=function(e){return t[e]},e="(?:"+m.keys(t).join("|")+")",i=RegExp(e),a=RegExp(e,"g");return function(e){return e=null==e?"":""+e,i.test(e)?e.replace(a,n):e}};m.escape=O(E),m.unescape=O(A),m.result=function(e,t,n){var i=null==e?void 0:e[t];return void 0===i&&(i=n),m.isFunction(i)?i.call(e):i};var P=0;m.uniqueId=function(e){var t=++P+"";return e?e+t:t},m.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var $=/(.)^/,F={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},N=/\\|'|\r|\n|\u2028|\u2029/g,I=function(e){return"\\"+F[e]};m.template=function(r,e,t){!e&&t&&(e=t),e=m.defaults({},e,m.templateSettings);var n=RegExp([(e.escape||$).source,(e.interpolate||$).source,(e.evaluate||$).source].join("|")+"|$","g"),s=0,o="__p+='";r.replace(n,function(e,t,n,i,a){return o+=r.slice(s,a).replace(N,I),s=a+e.length,t?o+="'+\n((__t=("+t+"))==null?'':_.escape(__t))+\n'":n?o+="'+\n((__t=("+n+"))==null?'':__t)+\n'":i&&(o+="';\n"+i+"\n__p+='"),e}),o+="';\n",e.variable||(o="with(obj||{}){\n"+o+"}\n"),o="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+o+"return __p;\n";try{var i=new Function(e.variable||"obj","_",o)}catch(e){throw e.source=o,e}var a=function(e){return i.call(this,e,m)},l=e.variable||"obj";return a.source="function("+l+"){\n"+o+"}",a},m.chain=function(e){var t=m(e);return t._chain=!0,t};var W=function(e,t){return e._chain?m(t).chain():t};m.mixin=function(n){m.each(m.functions(n),function(e){var t=m[e]=n[e];m.prototype[e]=function(){var e=[this._wrapped];return a.apply(e,arguments),W(this,t.apply(m,e))}})},m.mixin(m),m.each(["pop","push","reverse","shift","sort","splice","unshift"],function(t){var n=i[t];m.prototype[t]=function(){var e=this._wrapped;return n.apply(e,arguments),"shift"!==t&&"splice"!==t||0!==e.length||delete e[0],W(this,e)}}),m.each(["concat","join","slice"],function(e){var t=i[e];m.prototype[e]=function(){return W(this,t.apply(this._wrapped,arguments))}}),m.prototype.value=function(){return this._wrapped},m.prototype.valueOf=m.prototype.toJSON=m.prototype.value,m.prototype.toString=function(){return""+this._wrapped},"function"==typeof define&&define.amd&&define("underscore",[],function(){return m})}).call(this),function(){var e,n;Function.prototype.bind||(Function.prototype.bind=function(e){if("function"!=typeof this)throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");
1var t=Array.prototype.slice.call(arguments,1),n=this,i=function(){},a=function(){return n.apply(this instanceof i&&e?this:e,t.concat(Array.prototype.slice.call(arguments)))};return i.prototype=this.prototype,a.prototype=new i,a});var r={DEBUG:10,INFO:20,WARN:30,ERROR:40,FATAL:50};function t(){}function i(){}function s(e,t){this._loggers={},this.name=e||"",this._parent=t||null,t||(this._enabled=!0,this._level=r.WARN)}function a(e){n=e}t.prototype={output:function(e,t,n){if(void 0!==window.console&&void 0!==console.log){e&&n.unshift(e+":");var i,a=n.join(" ");if(void 0===typeof console.info)i=t<=r.DEBUG?"DEBUG":t<=r.INFO?"INFO":t<=r.WARN?"WARN":t<=r.ERROR?"ERROR":"FATAL",console.log("["+i+"] "+a);else t<=r.DEBUG?(a="[DEBUG] "+a,console.log(a)):t<=r.INFO?console.info(a):t<=r.WARN?console.warn(a):console.error(a)}}},i.prototype={output:function(e,t,n){e&&n.unshift(e+":"),t<=r.DEBUG?(n.unshift("[DEBUG]"),console.log.apply(console,n)):t<=r.INFO?console.info.apply(console,n):t<=r.WARN?console.warn.apply(console,n):console.error.apply(console,n)}},s.prototype={getLogger:function(e){for(var t=e.split("."),n=this,i=this.name?[this.name]:[];t.length;){var a=t.shift();i.push(a),a in n._loggers||(n._loggers[a]=new s(i.join("."),n)),n=n._loggers[a]}return n},_getFlag:function(e){var t=this;for(e="_"+e;null!==t;){if(void 0!==t[e])return t[e];t=t._parent}return null},setEnabled:function(e){this._enabled=!!e},isEnabled:function(){this._getFlag("enabled")},setLevel:function(e){"number"==typeof e?this._level=e:"string"==typeof e&&(e=e.toUpperCase())in r&&(this._level=r[e])},getLevel:function(){return this._getFlag("level")},log:function(e,t){!t.length||!this._getFlag("enabled")||e<this._getFlag("level")||(t=Array.prototype.slice.call(t),n.output(this.name,e,t))},debug:function(){this.log(r.DEBUG,arguments)},info:function(){this.log(r.INFO,arguments)},warn:function(){this.log(r.WARN,arguments)},error:function(){this.log(r.ERROR,arguments)},fatal:function(){this.log(r.FATAL,arguments)}},window.console&&window.console.log&&"function"==typeof window.console.log.apply?a(new i):a(new t),e=new s;for(var o,l=/loglevel(|-[^=]+)=([^&]+)/g;null!==(o=l.exec(window.location.search));){(""===o[1]?e:e.getLogger(o[1].slice(1))).setLevel(o[2].toUpperCase())}var d={Level:r,getLogger:e.getLogger.bind(e),setEnabled:e.setEnabled.bind(e),isEnabled:e.isEnabled.bind(e),setLevel:e.setLevel.bind(e),getLevel:e.getLevel.bind(e),debug:e.debug.bind(e),info:e.info.bind(e),warn:e.warn.bind(e),error:e.error.bind(e),fatal:e.fatal.b
1ind(e),getWriter:function(){return n},setWriter:a};"function"==typeof define?define("logging",[],function(){return d}):window.logging=d}(),define("pat-logger",["logging"],function(e){return e.getLogger("patterns")}),function(t){"function"==typeof define&&define.amd?define("jquery.browser",["jquery"],function(e){return t(e)}):"object"==typeof module&&"object"==typeof module.exports?module.exports=t(require("jquery")):t(window.jQuery)}(function(e){"use strict";function t(e){void 0===e&&(e=window.navigator.userAgent),e=e.toLowerCase();var t=/(edge)\/([\w.]+)/.exec(e)||/(opr)[\/]([\w.]+)/.exec(e)||/(chrome)[ \/]([\w.]+)/.exec(e)||/(version)(applewebkit)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+).*(version)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||0<=e.indexOf("trident")&&/(rv)(?::| )([\w.]+)/.exec(e)||e.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[],n=/(ipad)/.exec(e)||/(ipod)/.exec(e)||/(iphone)/.exec(e)||/(kindle)/.exec(e)||/(silk)/.exec(e)||/(android)/.exec(e)||/(windows phone)/.exec(e)||/(win)/.exec(e)||/(mac)/.exec(e)||/(linux)/.exec(e)||/(cros)/.exec(e)||/(playbook)/.exec(e)||/(bb)/.exec(e)||/(blackberry)/.exec(e)||[],i={},a={browser:t[5]||t[3]||t[1]||"",version:t[2]||t[4]||"0",versionNumber:t[4]||t[2]||"0",platform:n[0]||""};if(a.browser&&(i[a.browser]=!0,i.version=a.version,i.versionNumber=parseInt(a.versionNumber,10)),a.platform&&(i[a.platform]=!0),(i.android||i.bb||i.blackberry||i.ipad||i.iphone||i.ipod||i.kindle||i.playbook||i.silk||i["windows phone"])&&(i.mobile=!0),(i.cros||i.mac||i.linux||i.win)&&(i.desktop=!0),(i.chrome||i.opr||i.safari)&&(i.webkit=!0),i.rv||i.edge){a.browser="msie",i.msie=!0}if(i.safari&&i.blackberry){var r="blackberry";i[a.browser=r]=!0}if(i.safari&&i.playbook){var s="playbook";i[a.browser=s]=!0}if(i.bb){var o="blackberry";i[a.browser=o]=!0}if(i.opr){a.browser="opera",i.opera=!0}if(i.safari&&i.android){var l="android";i[a.browser=l]=!0}if(i.safari&&i.kindle){a.browser="kindle",i.kindle=!0}if(i.safari&&i.silk){a.browser="silk",i.silk=!0}return i.name=a.browser,i.platform=a.platform,i}return window.jQBrowser=t(window.navigator.userAgent),window.jQBrowser.uaMatch=t,e&&(e.browser=window.jQBrowser),window.jQBrowser}),define("pat-utils",["jquery","jquery.browser","underscore"],function(r){r.fn.safeClone=function(){var e=this.clone();return void 0!==r.browser.msie&&e.findInclusive(":input[placeholder]").each(function(e,t){var n=r(t);n.attr("placeholder")===n.val()&&n.val("")}),e},Array.prototype.forEach||(Array.prototype.forEach=function(e,t){var n,i;if(null===this)throw new TypeError(" this is null or not defined");var a=Object(this),r=a.length>>>0;if("function"!=typeof e)throw new TypeError(e+" is not a function");for(1<arguments.length&&(n=t),i=0;i<r;){var s;i in a&&(s=a[i],e.call(n,s,i,a)),i++}});function s(e){var t=typeof e;return"function"===t||"object"===t&&!!e}var o={none:{hide:"hide",show:"show"},fade:{hide:"fadeOut",show:"fadeIn"},slide:{hide:"slideUp",show:"slideDown"}};return isElementInViewport=function(e,t,n){if(e===[])return!1;e instanceof r&&(e=e[0]);var i=e.getBoundingClientRect(),a=[i.top,i.bottom,i.left,i.right];return!_.every(a,function(e){if(0===e)return!0})&&(t?(void 0===n&&(n=0),i.top<=0+n&&i.bottom>=0+n):0<=i.top&&0<=i.left&&i.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&i.right<=(window.innerWidth||document.documentElement.clientWidth))},{jqueryPlugin:function(n){return function(e,t){return 0===this.length?this:("object"==typeof e&&(t=e,e=void 0),"function"==typeof n?function(n,i,a){return this.each(function(){var e,t=r(this);if(e=n.init(t,a),i){if(void 0===e[i])return r.error("Method "+i+" does not exist on jQuery."+n.name),!1;if("_"===i.charAt(0))return r.error("Method "+i+" is private on jQuery."+n.name),!1;e[i].apply(e,[a])}}),this}.call(this,n,e,t):function(e,t,n){var i=this;if(t){if(e[t])return e[t].apply(i,[i].concat([n]));r.error("Method "+t+" does not exist on jQuery."+e.name)}else e.init.apply(i,[i].concat([n]));return i}.call(this,n,e,t))}},debounce:function(n,i){var a;return function(){var e=this,t=arguments;clearTimeout(a),a=setTimeout(function(){a=null,n.apply(e,t)},i)}},escapeRegExp:function(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},isObject:s,extend:function(e){if(!s(e))return e;for(var t,n,i=1,a=arguments.length;i<a;i++)for(n in t=arguments[i])hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},rebaseURL:function(e,t){return-1!==t.indexOf("://")||"/"===t[0]?t:e.slice(0,e.lastIndexOf("/")+1)+t},findLabel:function(e){for(var t,n=e.parentNode;n&&11!==n.nodeType;n=n.parentNode)if("LABEL"===n.tagName)return n;return e.id&&(t=r('label[for="'+e.id+'"]')),t&&0===t.length&&e.form&&(t=r('label[for="'+e.name+'"]',e.form)),t&&t.length?t[0]:null},elementInViewport:function(e){var t=e.getBoundingClientRect(),n=document.documentElement,i=window.innerWidth||n.clientWidth,a=window.innerHeight||n.clientHeight;return!(t.right<0||t.bottom<0||t.left>i||t.top>a)},removeWildcardClass:function(e,t){if(-1===t.indexOf("*"))e.removeClass(t);else{var a=t.replace(/[\-\[\]{}()+?.,\\\^$|#\s]/g,"\\$&");a=a.replace(/[*]/g,".*"),a=new RegExp("^"+a+"$"),e.filter("[class]").each(function(){for(var e=r(this),t=e.attr("class").split(/\s+/),n=[],i=0;i<t.length;i++)a.test(t[i])||n.push(t[i]);n.length?e.attr("class",n.join(" ")):e.removeAttr("class")})}},hideOrShow:function(e,t,n,i){var a="css"===n.transition||"none"===n.transition?null:n.effect.duration;e.removeClass("visible hidden in-progress");var r=function(){e.removeClass("in-progress").addClass(t?"visible":"hidden").trigger("pat-update",{pattern:i,transition:"complete"})};if(a){var s=o[n.transition];e.addClass("in-progress").trigger("pat-update",{pattern:i,transition:"start"}),e[t?s.show:s.hide]({duration:a,easing:n.effect.easing,complete:r})}else"css"!==n.transition&&e[t?"show":"hide"](),r()},addURLQueryParameter:function(e,t,n){var i=new RegExp("(\\?|\\&)"+t+"=.*?(?=(&|$))"),a=e.toString().split("#"),r=a[0],s=a[1],o=r;return o=i.test(r)?r.replace(i,"$1"+t+"="+n):/\?.+$/.test(r)?r+"&"+t+"="+n:r+"?"+t+"="+n,s&&(o+="#"+s),o},removeDuplicateObjects:function(e){return _.reduce(e,function(e,t){var n=!1;
1return _.each(e,function(e){n=_.keys(e).length===_.keys(t).length&&!_.chain(e).omit(function(e,t){return this[t]===e}.bind(t)).keys().value().length}),n||e.push(t),e},[])},mergeStack:function(e,i){for(var a=[],t=0;t<i;t++)a.push({});return _.each(e,function(e){for(var t=e.length-1,n=0;n<i;n++)a[n]=r.extend(a[n]||{},e[t<n?t:n])}),a},isElementInViewport:isElementInViewport}}),define("pat-compat",[],function(){var a,r,s,o;Array.prototype.every||(Array.prototype.every=function(e){"use strict";if(null===this)throw new TypeError;var t=Object(this),n=t.length>>>0;if("function"!=typeof e)throw new TypeError;for(var i=arguments[1],a=0;a<n;a++)if(a in t&&!e.call(i,t[a],a,t))return!1;return!0}),Array.prototype.filter||(Array.prototype.filter=function(e){"use strict";if(null===this)throw new TypeError;var t=Object(this),n=t.length>>>0;if("function"!=typeof e)throw new TypeError;for(var i=[],a=arguments[1],r=0;r<n;r++)if(r in t){var s=t[r];e.call(a,s,r,t)&&i.push(s)}return i}),Array.prototype.forEach||(Array.prototype.forEach=function(e,t){var n,i;if(null===this)throw new TypeError(" this is null or not defined");var a=Object(this),r=a.length>>>0;if("[object Function]"!=={}.toString.call(e))throw new TypeError(e+" is not a function");for(t&&(n=t),i=0;i<r;){var s;i in a&&(s=a[i],e.call(n,s,i,a)),i++}}),Array.prototype.indexOf||(Array.prototype.indexOf=function(e){"use strict";if(null===this)throw new TypeError;var t=Object(this),n=t.length>>>0;if(0===n)return-1;var i=0;if(0<arguments.length&&((i=Number(arguments[1]))!=i?i=0:0!==i&&i!==1/0&&i!==-1/0&&(i=(0<i||-1)*Math.floor(Math.abs(i)))),n<=i)return-1;for(var a=0<=i?i:Math.max(n-Math.abs(i),0);a<n;a++)if(a in t&&t[a]===e)return a;return-1}),Array.prototype.lastIndexOf||(Array.prototype.lastIndexOf=function(e){"use strict";if(null===this)throw new TypeError;var t=Object(this),n=t.length>>>0;if(0===n)return-1;var i=n;1<arguments.length&&((i=Number(arguments[1]))!=i?i=0:0!==i&&i!==1/0&&i!==-1/0&&(i=(0<i||-1)*Math.floor(Math.abs(i))));for(var a=0<=i?Math.min(i,n-1):n-Math.abs(i);0<=a;a--)if(a in t&&t[a]===e)return a;return-1}),Array.prototype.map||(Array.prototype.map=function(e,t){var n,i,a;if(null===this)throw new TypeError(" this is null or not defined");var r=Object(this),s=r.length>>>0;if("[object Function]"!=={}.toString.call(e))throw new TypeError(e+" is not a function");for(t&&(n=t),i=new Array(s),a=0;a<s;){var o,l;a in r&&(o=r[a],l=e.call(n,o,a,r),i[a]=l),a++}return i}),Array.prototype.reduce||(Array.prototype.reduce=function(e){if(null==this)throw new TypeError("Object is null or undefined");var t,n=0,i=this.length>>0;if("function"!=typeof e)throw new TypeError("First argument is not callable");if(arguments.length<2){if(0===i)throw new TypeError("Array length is 0 and no second argument");t=this[0],n=1}else t=arguments[1];for(;n<i;)n in this&&(t=e.call(void 0,t,this[n],n,this)),++n;return t}),Array.prototype.reduceRight||(Array.prototype.reduceRight=function(e){"use strict";if(null===this)throw new TypeError;var t=Object(this),n=t.length>>>0;if("function"!=typeof e)throw new TypeError;if(0===n&&1===arguments.length)throw new TypeError;var i,a=n-1;if(2<=arguments.length)i=arguments[1];else for(;;){if(a in this){i=this[a--];break}if(--a<0)throw new TypeError}for(;0<=a;)a in t&&(i=e.call(void 0,i,t[a],a,t)),a--;return i}),Array.prototype.some||(Array.prototype.some=function(e){"use strict";if(null===this)throw new TypeError;var t=Object(this),n=t.length>>>0;if("function"!=typeof e)throw new TypeError;for(var i=arguments[1],a=0;a<n;a++)if(a in t&&e.call(i,t[a],a,t))return!0;return!1}),Array.isArray||(Array.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)}),String.prototype.trim||(String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")}),Function.prototype.bind||(Function.prototype.bind=function(e){if("function"!=typeof this)throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");var t=Array.prototype.slice.call(arguments,1),n=this,i=function(){},a=function(){return n.apply(this instanceof i&&e?this:e,t.concat(Array.prototype.slice.call(arguments)))};return i.prototype=this.prototype,a.prototype=new i,a}),Object.keys||(Object.keys=(a=Object.prototype.hasOwnProperty,r=!{toString:null}
1.propertyIsEnumerable("toString"),o=(s=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"]).length,function(e){if("object"!=typeof e&&"function"!=typeof e||null===e)throw new TypeError("Object.keys called on non-object");var t=[];for(var n in e)a.call(e,n)&&t.push(n);if(r)for(var i=0;i<o;i++)a.call(e,s[i])&&t.push(s[i]);return t}))}),define("pat-jquery-ext",["jquery"],function(u){var i={init:function(t){var n={time:3,initialTime:8,exceptionAreas:[]};return this.each(function(){var e=u(this);e.data("timeout")||(t&&u.extend(n,t),e.data("timeout",{lastEvent:new Date,trueTime:n.time,time:n.initialTime,untouched:!0,inExceptionArea:!1}),e.bind("mouseover.timeout",i.mouseMoved),e.bind("mouseenter.timeout",i.mouseMoved),u(n.exceptionAreas).each(function(){e.find(this).live("mouseover.timeout",{parent:e},i.enteredException).live("mouseleave.timeout",{parent:e},i.leftException)}),0<n.initialTime?e.timeout("startTimer"):e.addClass("timeout"))})},enteredException:function(e){var t=e.data.parent.data("timeout");t.inExceptionArea=!0,e.data.parent.data("timeout",t),e.data.parent.trigger("mouseover")},leftException:function(e){var t=e.data.parent.data("timeout");t.inExceptionArea=!1,e.data.parent.data("timeout",t)},destroy:function(){return this.each(function(){var e=u(this),t=e.data("timeout");u(window).unbind(".timeout"),t.timeout.remove(),e.removeData("timeout")})},mouseMoved:function(){var e=u(this),t=e.data("timeout");e.hasClass("timeout")?(e.removeClass("timeout"),e.timeout("startTimer")):t.untouched&&(t.untouched=!1,t.time=t.trueTime),t.lastEvent=new Date,e.data("timeout",t)},startTimer:function(){var i=u(this),e=i.data("timeout"),a=function(){var e=i.data("timeout");if(e&&e.lastEvent)if(e.inExceptionArea)setTimeout(a,Math.floor(1e3*e.time));else{var t=new Date,n=Math.floor(1e3*e.time)-(t-e.lastEvent);0<n?setTimeout(a,n+100):i.addClass("timeout")}};setTimeout(a,Math.floor(1e3*e.time))}};u.fn.timeout=function(e){return i[e]?i[e].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof e&&e?void u.error("Method "+e+" does not exist on jQuery.timeout"):i.init.apply(this,arguments)},u.extend(u.expr[":"],{scrollable:function(e){return"scroll"===u(e).css("overflow")||"scroll"===u(e).css("overflowX")||"scroll"===u(e).css("overflowY")||(e.clientHeight<e.scrollHeight&&(-1!==u.inArray(u(e).css("overflowY"),["scroll","auto"])||-1!==u.inArray(u(e).css("overflow"),["scroll","auto"]))||e.clientWidth<e.scrollWidth&&(-1!==u.inArray(u(e).css("overflowX"),["scroll","auto"])||-1!==u.inArray(u(e).css("overflow"),["scroll","auto"])))}}),u.fn.makeVisibleInScroll=function(e){var s=null;return"string"==typeof e?s=u("#"+e):e&&(s=u(e)),this.each(function(){var e,t=u(this);e=s||(0<(e=t.parents(":scrollable")).length?u(e[0]):u(window));var n=t.position().top,i=t.height()+n,a=e.scrollTop(),r=e.height()+a;n<a?e.scrollTop(n):i>r-e.height()/2&&e.scrollTop(n-(e.height()-t.height())/2)})},u.fn.setPositionAbsolute=function(o,l,d){return this.each(function(){var e=u(this),t=u(this).width(),n=o.offset(),i=o.width(),a=o.height(),r=n.left+i-t+d,s=n.top+a+l;e.css({"z-index":1,position:"absolute",marginLeft:0,marginTop:0,left:r+"px",top:s+"px",width:t}),e.remove().appendTo("body").show()})},u.fn.positionAncestor=function(s){var o=0,l=0;return this.each(function(){var e=u(this).closest(s);if(e.length&&"static"!==e.css("position")){var t=u(this),n=t.offset().left-parseInt(t.css("marginLeft"),10),i=t.offset().top-parseInt(t.css("marginTop"),10),a=e.offset().left+parseInt(e.css("borderLeftWidth"),10),r=e.offset().top+parseInt(e.css("borderTopWidth"),10);return o=n-a,l=i-r,!1}}),{left:o,top:l}},String.prototype.startsWith=function(e){return null!==this.match("^"+e)},String.prototype.endsWith=function(e){return null!==this.match(e+"$")},u.simplePlaceholder={placeholder_class:null,hide_placeholder:function(){var e=u(this);e.val()===e.attr("placeholder")&&e.val("").removeClass(u.simplePlaceholder.placeholder_class)},show_placeholder:function(){var e=u(this);""===e.val()&&e.val(e.attr("placeholder")).addClass(u.simplePlaceholder.placeholder_class)},prevent_placeholder_submit:function(){return u(this).find(".simple-placeholder").each(function(){var e=u(this);e.val()===e.attr("placeholder")&&e.val("")}
1),!0}},u.fn.simplePlaceholder=function(e){if(void 0===document.createElement("input").placeholder){var t={placeholder_class:"placeholding"};e&&u.extend(t,e),u.simplePlaceholder.placeholder_class=t.placeholder_class,this.each(function(){var e=u(this);e.focus(u.simplePlaceholder.hide_placeholder),e.blur(u.simplePlaceholder.show_placeholder),""===e.val()&&(e.val(e.attr("placeholder")),e.addClass(u.simplePlaceholder.placeholder_class)),e.addClass("simple-placeholder"),u(this.form).submit(u.simplePlaceholder.prevent_placeholder_submit)})}return this},u.fn.findInclusive=function(e){return this.find("*").addBack().filter(e)},u.fn.slideIn=function(e,t,n){return this.animate({width:"show"},e,t,n)},u.fn.slideOut=function(e,t,n){return this.animate({width:"hide"},e,t,n)},u.expr[":"].Contains=function(e,t,n){return 0<=u(e).text().toUpperCase().indexOf(n[3].toUpperCase())},u.fn.scopedFind=function(e){return e.startsWith("#")?u(e):this.find(e)}}),define("pat-registry",["jquery","underscore","pat-logger","pat-utils","pat-compat","pat-jquery-ext"],function(r,s,o,i){for(var e,a=o.getLogger("registry"),t=/patterns-disable=([^&]+)/g,n=/patterns-dont-catch/g,l=!1,d={};null!==(e=t.exec(window.location.search));)d[e[1]]=!0,a.info("Pattern disabled via url config:",e[1]);for(;null!==(e=n.exec(window.location.search));)l=!0,a.info("I will not catch init exceptions");var u={patterns:{},initialized:!1,init:function(){r(document).ready(function(){a.info("loaded: "+Object.keys(u.patterns).sort().join(", ")),u.scan(document.body),u.initialized=!0,a.info("finished initial scan.")})},clear:function(){this.patterns={}},transformPattern:function(t,e){if(d[t])a.debug("Skipping disabled pattern:",t);else{var n=u.patterns[t];if(n.transform)try{n.transform(r(e))}catch(e){if(l)throw e;a.error("Transform error for pattern"+t,e)}}},initPattern:function(e,t,n){var i=r(t),a=u.patterns[e];if(a.init&&(plog=o.getLogger("pat."+e),i.is(a.trigger))){plog.debug("Initialising:",i);try{a.init(i,null,n),plog.debug("done.")}catch(e){if(l)throw e;plog.error("Caught error:",e)}}},orderPatterns:function(e){return s.contains(e,"validation")&&s.contains(e,"inject")&&(e.splice(e.indexOf("validation"),1),e.unshift("validation")),e},scan:function(e,n,i){var a=[];(n=this.orderPatterns(n||Object.keys(u.patterns))).forEach(s.partial(this.transformPattern,s,e)),n=s.each(n,function(e){var t=u.patterns[e];t.trigger&&a.unshift(t.trigger)}),r(e).findInclusive(a.join(",")).filter(function(){return 0===r(this).parents("pre").length}).filter(":not(.cant-touch-this)").toArray().reduceRight(function(e,t){n.forEach(s.partial(this.initPattern,s,t,i))}.bind(this),null),r("body").addClass("patterns-loaded")},register:function(e,t){var n;return(t=t||e.name)?u.patterns[t]?(a.error("Already have a pattern called: "+t),!1):((u.patterns[t]=e).jquery_plugin&&(n=("pat-"+t).replace(/-([a-zA-Z])/g,function(e,t){return t.toUpperCase()}),r.fn[n]=i.jqueryPlugin(e),r.fn[n.replace(/^pat/,"pattern")]=r.fn[n]),a.debug("Registered pattern:",t,e),u.initialized&&u.scan(document.body,[t]),!0):(a.error("Pattern lacks a name:",e),!1)}};return u}),define("pat-mockup-parser",["jquery"],function(s){"use strict";return{getOptions:function e(t,n,i){i=i||{},0===t.length||s.nodeName(t[0],"body")||(i=e(t.parent(),n,i));var a={};if(0!==t.length&&(a=t.data("pat-"+n))&&"string"==typeof a){var r={};s.each(a.split(";"),function(e,t){(t=t.split(":")).reverse();var n=t.pop();n=n.replace(/^\s+|\s+$/g,""),t.reverse();var i=t.join(":");i=i.replace(/^\s+|\s+$/g,""),r[n]=i}),a=r}return s.extend(!0,{},i,a)}}}),define("pat-base",["jquery","pat-registry","pat-mockup-parser","pat-logger"],function(a,s,o,l){"use strict";var r=l.getLogger("Patternslib Base"),d=function(e,t,n){var i=this.prototype.name,a=l.getLogger("pat."+i),r=e.data("pattern-"+i);if(void 0===r&&s.patterns[i]){try{t="mockup"===this.prototype.parser?o.getOptions(e,i,t):t,r=new s.patterns[i](e,t,n)}catch(e){a.error("Failed while initializing '"+i+"' pattern.",e)}e.data("pattern-"+i,r)}return r},u=function(e,t,n){this.$el=e,this.options=a.extend(!0,{},this.defaults||{},t||{}
1),this.init(e,t,n),this.emit("init")};return u.prototype={constructor:u,on:function(e,t){this.$el.on(e+"."+this.name+".patterns",t)},emit:function(e,t){void 0===t&&(t=[]),this.$el.trigger(e+"."+this.name+".patterns",t)}},u.extend=function(e){var t,n=this;if(!e)throw new Error("Pattern configuration properties required when calling Base.extend");(t=e.hasOwnProperty("constructor")?e.constructor:function(){n.apply(this,arguments)}).extend=u.extend,t.init=d,t.jquery_plugin=!0,t.trigger=e.trigger;var i=function(){this.constructor=t};return i.prototype=n.prototype,t.prototype=new i,a.extend(!0,t.prototype,e),t.__super__=n.prototype,e.name?e.trigger?s.register(t,e.name):r.warn("The pattern '"+e.name+"' does not have a trigger attribute, it will not be registered."):r.warn("This pattern without a name attribute will not be registered!"),t},u}),define("mockup-patterns-base",["pat-base"],function(t){"use strict";var e=function(){return t.apply(this,arguments)};for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return((e.prototype=t.prototype).constructor=e).extend=function(){console.log("Usage of the mockup-patterns-base pattern is deprecated and it will eventually be removed.Instead, use pat-base and explicitly set parser to 'mockup' when calling extend.");var e=t.extend.apply(this,arguments);return e.prototype.parser="mockup",e},e}),define("mockup-utils",["jquery"],function(d){"use strict";var e=function(e){var n=this;n.className="plone-loader";return e||(e={}),n.options=d.extend({},{backdrop:null,zIndex:10005},e),n.init=function(){n.$el=d("."+n.className),0===n.$el.length&&(n.$el=d("<div><div></div></div>"),n.$el.addClass(n.className).hide().appendTo("body"))},n.show=function(e){n.init(),n.$el.show();var t=n.options.zIndex;"function"==typeof t?t=Math.max(t(),10005):(t=10005,d(".plone-modal-wrapper,.plone-modal-backdrop").each(function(){t=Math.max(t,d(this).css("zIndex")||10005)}),t+=1),n.$el.css("zIndex",t),void 0===e&&(e=!0),n.options.backdrop&&(n.options.backdrop.closeOnClick=e,n.options.backdrop.closeOnEsc=e,n.options.backdrop.init(),n.options.backdrop.show())},n.hide=function(){n.init(),n.$el.hide()},n},i=function(e){return void 0===e&&(e="id"),e+Math.floor(65536*(1+Math.random())).toString(16).substring(1)},t={get:function(e){if(window.localStorage){var t=window.localStorage[e];return"string"==typeof t?JSON.parse(t):void 0}},set:function(e,t){window.localStorage&&(window.localStorage[e]=JSON.stringify(t))}};return{bool:function(e){return"string"==typeof e&&(e=d.trim(e).toLowerCase()),-1===["false",!1,"0",0,"",void 0,null].indexOf(e)},escapeHTML:function(e){return d("<div/>").text(e).html()},removeHTML:function(e){return e.replace(/<[^>]+>/gi,"")},featureSupport:{dragAndDrop:function(){return"draggable"in document.createElement("span")},fileApi:function(){return"undefined"!=typeof FileReader},history:function(){return!(!window.history||!window.history.pushState)}},generateId:i,getAuthenticator:function(){var e=d('input[name="_authenticator"]');return 0===e.length?0<(e=d('a[href*="_authenticator"]')).length?e.attr("href").split("_authenticator=")[1]:"":e.val()},getWindow:function(){var e=window;return e.parent!==window&&(e=e.parent),e},Loading:e,loading:new e,parseBodyTag:function(e){return d(/<body[^>]*>[^]*<\/body>/im.exec(e)[0].replace("<body","<div").replace("</body>","</div>")).eq(0).html()},QueryHelper:function(e){var l=this;return l.options=d.extend({},{pattern:null,vocabularyUrl:null,searchParam:"SearchableText",pathOperator:"plone.app.querystring.operation.string.path",attributes:["UID","Title","Description","getURL","portal_type"],batchSize:10,baseCriteria:[],sort_on:"is_folderish",sort_order:"reverse",pathDepth:1},e),l.pattern=l.options.pattern,void 0!==l.pattern&&null!==l.pattern||(l.pattern={browsing:!1,basePath:"/"}),l.options.url&&!l.options.vocabularyUrl?l.options.vocabularyUrl=l.options.url:l.pattern.vocabularyUrl&&(l.options.vocabularyUrl=l.pattern.vocabularyUrl),l.valid=Boolean(l.options.vocabularyUrl),l.getBatch=function(e){return{page:e||1,size:l.options.batchSize}},l.getCurrentPath=function(){var e,t=l.pattern;"function"==typeof(e=l.currentPath?l.currentPath:t.currentPath)&&(e=e());var n=e;return n||(n=t.basePath?t.basePath:t.options.basePath?t.options.basePath:"/"),n},l.getCriterias=function(e,t){void 0===t&&(t={});var n=[];return(t=d.extend({},{useBaseCriteria:!0,additionalCriterias:[]},t)).useBaseCriteria&&(n=l.options.baseCriteria.slice(0)),e&&(e+="*",n.push({i:l.options.searchParam,o:"plone.app.querystring.operation.string.contains",v:e})),t.searchPath?n.push({i:"path",o:l.options.pathOperator,v:t.searchPath+"::"+l.options.pathDepth}):l.pattern.browsing&&n.push({i:"path",o:l.options.pathOperator,v:l.getCurrentPath()+"::"+l.options.pathDepth}),n=n.concat(t.additionalCriterias)},l.getQueryData=function(e,t){var n={query:JSON.stringify({criteria:l.getCriterias(e),sort_on:l.options.sort_on,sort_order:l.options.sort_order}),attributes:JSON.stringify(l.options.attributes)};return t&&(n.batch=JSON.stringify(l.getBatch(t))),n},l.getUrl=function(){var e=l.options.vocabularyUrl;return-1===e.indexOf("?")?e+="?":e+="&",e+d.param(l.getQueryData())},l.selectAjax=function(){return{url:l.options.vocabularyUrl,dataType:"JSON",quietMillis:100,data:function(e,t){return l.getQueryData(e,t)},results:function(e,t){var n=10*t<e.total;return{results:e.results,more:n}}}},l.search=function(e,t,n,i,a,r){void 0===a&&(a=!0),void 0===r&&(r="GET");var s=[];a&&(s=l.options.baseCriteria.slice(0)),s.push({i:e,o:t,v:n});var o={query:JSON.stringify({criteria:s}),attributes:JSON.stringify(l.options.attributes)};d.ajax({url:l.options.vocabularyUrl,dataType:"JSON",data:o,type:r,success:i})},l},setId:function(e,t){void 0===t&&(t="id");var n=e.attr("id");return n=void 0===n?i(t):n.replace(/\./g,"-"),e.attr("id",n),n},storage:t}}),function(e){define("select2",[],function(){return function(){var a;void 0===(a=jQuery).fn.each2&&a.extend(a.fn,{each2:function(e){for(var t=a([0]),n=-1,i=this.length;++n<i&&(t.context=t[0]=this[n])&&!1!==e.call(t[0],n,t););return this}}),function(L,M){"use strict";if(window.Select2===M){var e,t,n,w,r,a,b,i,d={x:0,y:0},o={TAB:9,ENTER:13,ESC:27,SPACE:32,LEFT:37,UP:38,RIGHT:39,DOWN:40,SHIFT:16,CTRL:17,ALT:18,PAGE_UP:33,PAGE_DOWN:34,HOME:36,END:35,BACKSPACE:8,DELETE:46,isArrow:function(e){switch(e=e.which?e.which:e){case o.LEFT:case o.RIGHT:case o.UP:case o.DOWN:return!0}return!1},isControl:function(e){switch(e.which){case o.SHIFT:case o.CTRL:case o.ALT:return!0}return!!e.metaKey},isFunctionKey:function(e){return 112<=(e=e.which?e.which:e)&&e<=123}},s={"Ⓐ":"A","A":"A","À":"A","Á":"A","Â":"A","Ầ":"A","Ấ":"A","Ẫ":"A","Ẩ":"A","Ã":"A","Ā":"A","Ă":"A","Ằ":"A","Ắ":"A","Ẵ":"A","Ẳ":"A","Ȧ":"A","Ǡ":"A","Ä":"A","Ǟ":"A","Ả":"A","Å":"A","Ǻ":"A","Ǎ":"A","Ȁ":"A","Ȃ":"A","Ạ":"A","Ậ":"A","Ặ":"A","Ḁ":"A","Ą":"A","Ⱥ":"A","Ɐ":"A","Ꜳ":"AA","Æ":"AE","Ǽ":"AE","Ǣ":"AE","Ꜵ":"AO","Ꜷ":"AU","Ꜹ":"AV","Ꜻ":"AV","Ꜽ":"AY","Ⓑ":"B","B":"B","Ḃ":"B","Ḅ":"B","Ḇ":"B","Ƀ":"B","Ƃ":"B","Ɓ":"B","Ⓒ":"C","C":"C","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","Ç":"C","Ḉ":"C","Ƈ":"C","Ȼ":"C","Ꜿ":"C","Ⓓ":"D","D":"D","Ḋ":"D","Ď":"D","Ḍ":"D","Ḑ":"D","Ḓ":"D","Ḏ":"D","Đ":"D","Ƌ":"D","Ɗ":"D","Ɖ":"D","Ꝺ":"D","DZ":"DZ","DŽ":"DZ","Dz":"Dz","Dž":"Dz","Ⓔ":"E","E":"E","È":"E","É":"E","Ê":"E","Ề":"E","Ế":"E","Ễ":"E","Ể":"E","Ẽ":"E","Ē":"E","Ḕ":"E","Ḗ":"E","Ĕ":"E","Ė":"E","Ë":"E","Ẻ":"E","Ě":"E","Ȅ":"E","Ȇ":"E","Ẹ":"E","Ệ":"E","Ȩ":"E","Ḝ":"E","Ę":"E","Ḙ":"E","Ḛ":"E","Ɛ":"E","Ǝ":"E","Ⓕ":"F","F":"F","Ḟ":"F","Ƒ":"F","Ꝼ":"F","Ⓖ":"G","G":"G","Ǵ":"G","Ĝ":"G","Ḡ":"G","Ğ":"G","Ġ":"G","Ǧ":"G","Ģ":"G","Ǥ":"G","Ɠ":"G","Ꞡ":"G","Ᵹ":"G","Ꝿ":"G","Ⓗ":"H","H":"H","Ĥ":"H","Ḣ":"H","Ḧ":"H","Ȟ":"H","Ḥ":"H","Ḩ":"H","Ḫ":"H","Ħ":"H","Ⱨ":"H","Ⱶ":"H","Ɥ":"H","Ⓘ":"I","I":"I","Ì":"I","Í":"I","Î":"I","Ĩ":"I","Ī":"I","Ĭ":"I","İ":"I","Ï":"I","Ḯ":"I","Ỉ":"I","Ǐ":"I","Ȉ":"I","Ȋ":"I","Ị":"I","Į":"I","Ḭ":"I","Ɨ":"I","Ⓙ":"J","J":"J","Ĵ":"J","Ɉ":"J","Ⓚ":"K","K":"K","Ḱ":"K","Ǩ":"K","Ḳ":"K","Ķ":"K","Ḵ":"K","Ƙ":"K","Ⱪ":"K","Ꝁ":"K","Ꝃ":"K","Ꝅ":"K","Ꞣ":"K","Ⓛ":"L","L":"L","Ŀ":"L","Ĺ":"L","Ľ":"L","Ḷ":"L","Ḹ":"L","Ļ":"L","Ḽ":"L","Ḻ":"L","Ł":"L","Ƚ":"L","Ɫ":"L","Ⱡ":"L","Ꝉ":"L","Ꝇ":"L","Ꞁ":"L","LJ":"LJ","Lj":"Lj","Ⓜ":"M","M":"M","Ḿ":"M","Ṁ":"M","Ṃ":"M","Ɱ":"M","Ɯ":"M","Ⓝ":"N","N":"N","Ǹ":"N","Ń":"N","Ñ":"N","Ṅ":"N","Ň":"N","Ṇ":"N","Ņ":"N","Ṋ":"N","Ṉ":"N","Ƞ":"N","Ɲ":"N","Ꞑ":"N","Ꞥ":"N","NJ":"NJ","Nj":"Nj","Ⓞ":"O","O":"O","Ò":"O","Ó":"O","Ô":"O","Ồ":"O","Ố":"O","Ỗ":"O","Ổ":"O","Õ":"O","Ṍ":"O","Ȭ":"O","Ṏ":"O","Ō":"O","Ṑ":"O","Ṓ":"O","Ŏ":"O","Ȯ":"O","Ȱ":"O","Ö":"O","Ȫ":"O","Ỏ":"O","Ő":"O","Ǒ":"O","Ȍ":"O","Ȏ":"O","Ơ":"O","Ờ":"O","Ớ":"O","Ỡ":"O","Ở":"O","Ợ":"O","Ọ":"O","Ộ":"O","Ǫ":"O","Ǭ":"O","Ø":"O","Ǿ":"O","Ɔ":"O","Ɵ":"O","Ꝋ":"O","Ꝍ":"O","Ƣ":"OI","Ꝏ":"OO","Ȣ":"OU","Ⓟ":"P","P":"P","Ṕ":"P","Ṗ":"P","Ƥ":"P","Ᵽ":"P","Ꝑ":"P","Ꝓ":"P","Ꝕ":"P","Ⓠ":"Q","Q":"Q","Ꝗ":"Q","Ꝙ":"Q","Ɋ":"Q","Ⓡ":"R","R":"R","Ŕ":"R","Ṙ":"R","Ř":"R","Ȑ":"R","Ȓ":"R","Ṛ":"R","Ṝ":"R","Ŗ":"R","Ṟ":"R","Ɍ":"R","Ɽ":"R","Ꝛ":"R","Ꞧ":"R","Ꞃ":"R","Ⓢ":"S","S":"S","ẞ":"S","Ś":"S","Ṥ":"S","Ŝ":"S","Ṡ":"S","Š":"S","Ṧ":"S","Ṣ":"S","Ṩ":"S","Ș":"S","Ş":"S","Ȿ":"S","Ꞩ":"S","Ꞅ":"S","Ⓣ":"T","T":"T","Ṫ":"T","Ť":"T","Ṭ":"T","Ț":"T","Ţ":"T","Ṱ":"T","Ṯ":"T","Ŧ":"T","Ƭ":"T","Ʈ":"T","Ⱦ":"T","Ꞇ":"T","Ꜩ":"TZ","Ⓤ":"U","U":"U","Ù":"U","Ú":"U","Û":"U","Ũ":"U","Ṹ":"U","Ū":"U","Ṻ":"U","Ŭ":"U","Ü":"U","Ǜ":"U","Ǘ":"U","Ǖ":"U","Ǚ":"U","Ủ":"U","Ů":"U","Ű":"U","Ǔ":"U","Ȕ":"U","Ȗ":"U","Ư":"U","Ừ":"U","Ứ":"U","Ữ":"U","Ử":"U","Ự":"U","Ụ":"U","Ṳ":"U","Ų":"U","Ṷ":"U","Ṵ":"U","Ʉ":"U","Ⓥ":"V","V":"V","Ṽ":"V","Ṿ":"V","Ʋ":"
1V","Ꝟ":"V","Ʌ":"V","Ꝡ":"VY","Ⓦ":"W","W":"W","Ẁ":"W","Ẃ":"W","Ŵ":"W","Ẇ":"W","Ẅ":"W","Ẉ":"W","Ⱳ":"W","Ⓧ":"X","X":"X","Ẋ":"X","Ẍ":"X","Ⓨ":"Y","Y":"Y","Ỳ":"Y","Ý":"Y","Ŷ":"Y","Ỹ":"Y","Ȳ":"Y","Ẏ":"Y","Ÿ":"Y","Ỷ":"Y","Ỵ":"Y","Ƴ":"Y","Ɏ":"Y","Ỿ":"Y","Ⓩ":"Z","Z":"Z","Ź":"Z","Ẑ":"Z","Ż":"Z","Ž":"Z","Ẓ":"Z","Ẕ":"Z","Ƶ":"Z","Ȥ":"Z","Ɀ":"Z","Ⱬ":"Z","Ꝣ":"Z","ⓐ":"a","a":"a","ẚ":"a","à":"a","á":"a","â":"a","ầ":"a","ấ":"a","ẫ":"a","ẩ":"a","ã":"a","ā":"a","ă":"a","ằ":"a","ắ":"a","ẵ":"a","ẳ":"a","ȧ":"a","ǡ":"a","ä":"a","ǟ":"a","ả":"a","å":"a","ǻ":"a","ǎ":"a","ȁ":"a","ȃ":"a","ạ":"a","ậ":"a","ặ":"a","ḁ":"a","ą":"a","ⱥ":"a","ɐ":"a","ꜳ":"aa","æ":"ae","ǽ":"ae","ǣ":"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ":"av","ꜽ":"ay","ⓑ":"b","b":"b","ḃ":"b","ḅ":"b","ḇ":"b","ƀ":"b","ƃ":"b","ɓ":"b","ⓒ":"c","c":"c","ć":"c","ĉ":"c","ċ":"c","č":"c","ç":"c","ḉ":"c","ƈ":"c","ȼ":"c","ꜿ":"c","ↄ":"c","ⓓ":"d","d":"d","ḋ":"d","ď":"d","ḍ":"d","ḑ":"d","ḓ":"d","ḏ":"d","đ":"d","ƌ":"d","ɖ":"d","ɗ":"d","ꝺ":"d","dz":"dz","dž":"dz","ⓔ":"e","e":"e","è":"e","é":"e","ê":"e","ề":"e","ế":"e","ễ":"e","ể":"e","ẽ":"e","ē":"e","ḕ":"e","ḗ":"e","ĕ":"e","ė":"e","ë":"e","ẻ":"e","ě":"e","ȅ":"e","ȇ":"e","ẹ":"e","ệ":"e","ȩ":"e","ḝ":"e","ę":"e","ḙ":"e","ḛ":"e","ɇ":"e","ɛ":"e","ǝ":"e","ⓕ":"f","f":"f","ḟ":"f","ƒ":"f","ꝼ":"f","ⓖ":"g","g":"g","ǵ":"g","ĝ":"g","ḡ":"g","ğ":"g","ġ":"g","ǧ":"g","ģ":"g","ǥ":"g","ɠ":"g","ꞡ":"g","ᵹ":"g","ꝿ":"g","ⓗ":"h","h":"h","ĥ":"h","ḣ":"h","ḧ":"h","ȟ":"h","ḥ":"h","ḩ":"h","ḫ":"h","ẖ":"h","ħ":"h","ⱨ":"h","ⱶ":"h","ɥ":"h","ƕ":"hv","ⓘ":"i","i":"i","ì":"i","í":"i","î":"i","ĩ":"i","ī":"i","ĭ":"i","ï":"i","ḯ":"i","ỉ":"i","ǐ":"i","ȉ":"i","ȋ":"i","ị":"i","į":"i","ḭ":"i","ɨ":"i","ı":"i","ⓙ":"j","j":"j","ĵ":"j","ǰ":"j","ɉ":"j","ⓚ":"k","k":"k","ḱ":"k","ǩ":"k","ḳ":"k","ķ":"k","ḵ":"k","ƙ":"k","ⱪ":"k","ꝁ":"k","ꝃ":"k","ꝅ":"k","ꞣ":"k","ⓛ":"l","l":"l","ŀ":"l","ĺ":"l","ľ":"l","ḷ":"l","ḹ":"l","ļ":"l","ḽ":"l","ḻ":"l","ſ":"l","ł":"l","ƚ":"l","ɫ":"l","ⱡ":"l","ꝉ":"l","ꞁ":"l","ꝇ":"l","lj":"lj","ⓜ":"m","m":"m","ḿ":"m","ṁ":"m","ṃ":"m","ɱ":"m","ɯ":"m","ⓝ":"n","n":"n","ǹ":"n","ń":"n","ñ":"n","ṅ":"n","ň":"n","ṇ":"n","ņ":"n","ṋ":"n","ṉ":"n","ƞ":"n","ɲ":"n","ʼn":"n","ꞑ":"n","ꞥ":"n","nj":"nj","ⓞ":"o","o":"o","ò":"o","ó":"o","ô":"o","ồ":"o","ố":"o","ỗ":"o","ổ":"o","õ":"o","ṍ":"o","ȭ":"o","ṏ":"o","ō":"o","ṑ":"o","ṓ":"o","ŏ":"o","ȯ":"o","ȱ":"o","ö":"o","ȫ":"o","ỏ":"o","ő":"o","ǒ":"o","ȍ":"o","ȏ":"o","ơ":"o","ờ":"o","ớ":"o","ỡ":"o","ở":"o","ợ":"o","ọ":"o","ộ":"o","ǫ":"o","ǭ":"o","ø":"o","ǿ":"o","ɔ":"o","ꝋ":"o","ꝍ":"o","ɵ":"o","ƣ":"oi","ȣ":"ou","ꝏ":"oo","ⓟ":"p","p":"p","ṕ":"p","ṗ":"p","ƥ":"p","ᵽ":"p","ꝑ":"p","ꝓ":"p","ꝕ":"p","ⓠ":"q","q":"q","ɋ":"q","ꝗ":"q","ꝙ":"q","ⓡ":"r","r":"r","ŕ":"r","ṙ":"r","ř":"r","ȑ":"r","ȓ":"r","ṛ":"r","ṝ":"r","ŗ":"r","ṟ":"r","ɍ":"r","ɽ":"r","ꝛ":"r","ꞧ":"r","ꞃ":"r","ⓢ":"s","s":"s","ß":"s","ś":"s","ṥ":"s","ŝ":"s","ṡ":"s","š":"s","ṧ":"s","ṣ":"s","ṩ":"s","ș":"s","ş":"s","ȿ":"s","ꞩ":"s","ꞅ":"s","ẛ":"s","ⓣ":"t","t":"t","ṫ":"t","ẗ":"t","ť":"t","ṭ":"t","ț":"t","ţ":"t","ṱ":"t","ṯ":"t","ŧ":"t","ƭ":"t","ʈ":"t","ⱦ":"t","ꞇ":"t","ꜩ":"tz","ⓤ":"u","u":"u","ù":"u","ú":"u","û":"u","ũ":"u","ṹ":"u","ū":"u","ṻ":"u","ŭ":"u","ü":"u","ǜ":"u","ǘ":"u","ǖ":"u","ǚ":"u","ủ":"u","ů":"u","ű":"u","ǔ":"u","ȕ":"u","ȗ":"u","ư":"u","ừ":"u","ứ":"u","ữ":"u","ử":"u","ự":"u","ụ":"u","ṳ":"u","ų":"u","ṷ":"u","ṵ":"u","ʉ":"u","ⓥ":"v","v":"v","ṽ":"v","ṿ":"v","ʋ":"v","ꝟ":"v","ʌ":"v","ꝡ":"vy","ⓦ":"w","w":"w","ẁ":"w","ẃ":"w","ŵ":"w","ẇ":"w","ẅ":"w","ẘ":"w","ẉ":"w","ⱳ":"w","ⓧ":"x","x":"x","ẋ":"x","ẍ":"x","ⓨ":"y","y":"y","ỳ":"y","ý":"y","ŷ":"y","ỹ":"y","ȳ":"y","ẏ":"y","ÿ":"y","ỷ":"y","ẙ":"y","ỵ":"y","ƴ":"y","ɏ":"y","ỿ":"y","ⓩ":"z","z":"z","ź":"z","ẑ":"z","ż":"z","ž":"z","ẓ":"z","ẕ":"z","ƶ":"z","ȥ":"z","ɀ":"z","ⱬ":"z","ꝣ":"z","Ά":"Α","Έ":"Ε","Ή":"Η","Ί":"Ι","Ϊ":"Ι","Ό":"Ο","Ύ":"Υ","Ϋ":"Υ","Ώ":"Ω","ά":"α","έ":"ε","ή":"η","ί":"ι","ϊ":"ι","ΐ":"ι","ό":"ο","ύ":"υ","ϋ":"υ","ΰ":"υ","ω":"ω","ς":"σ"};a=L(document),i=1,w=function(){return i++},t=H(e=H(Object,{bind:function(e){var t=this;return function(){e.apply(t,arguments)}},init:function(e){var r,t,n,i,a,s=".select2-results";this.opts=e=this.prepareOpts(e),this.id=e.id,e.element.data("select2")!==M&&null!==e.element.data("select2")&&e.element.data("select2").destroy(),this.container=this.createContainer(),this.liveRegion=L(".select2-hidden-accessible"),0==this.liveRegion.length&&(this.liveRegion=L("<span>",{role:"status","aria-live":"polite"}).addClass("select2-hidden-accessible").appendTo(document.body)),this.containerId="s2id_"+(e.element.attr("id")||"autogen"+w()),this.containerEventName=this.containerId.replace(/([.])/g,"_").replace(/([;&,\-\.\+\*\~':"\!\^#$%@\[\]\(\)=>\|])/g,"\\$1"),this.container.attr("id",this.containerId),this.container.attr("title",e.element.attr("title")),this.body=L(document.body),y(this.container,this.opts.element,this.opts.adaptContainerCssClass),this.container.attr("style",e.element.attr("style")),this.container.css(x(e.containerCss,this.opts.element)),this.container.addClass(x(e.containerCssClass,this.opts.element)),this.elementTabIndex=this.opts.element.attr("tabindex"),this.opts.element.data("select2",this).attr("tabindex","-1").before(this.container).on("click.select2",g),this.container.data("select2",this),this.dropdown=this.container.find(".select2-drop"),y(this.dropdown,this.opts.element,this.opts.adaptDropdownCssClass),this.dropdown.addClass(x(e.dropdownCssClass,this.opts.element)),this.dropdown.data("select2",this),this.dropdown.on("click",g),this.results=r=this.container.find(s),this.search=t=this.container.find("input.select2-input"),this.queryCount=0,this.resultsPage=0,this.context=null,this.initContainer(),this.container.on("click",g),this.results.on("mousemove",function(e){var t=d;t!==M&&t.x===e.pageX&&t.y===e.pageY||L(e.target).trigger("mousemove-filtered",e)}),this.dropdown.on("mousemove-filtered",s,this.bind(this.highlightUnderEvent)),this.dropdown.on("touchstart touchmove touchend",s,this.bind(function(e){this._touchEvent=!0,this.highlightUnderEvent(e)})),this.dropdown.on("touchmove",s,this.bind(this.touchMoved)),this.dropdown.on("touchstart touchend",s,this.bind(this.clearTouchMoved)),this.dropdown.on("click",this.bind(function(e){this._touchEvent&&(this._touchEvent=!1,this.selectHighlighted())})),n=80,i=this.results,a=f(n,function(e){i.trigger("scroll-debounced",e)}),i.on("scroll",function(e){0<=c(e.target,i.get())&&a(e)}),this.dropdown.on("scroll-debounced",s,this.bind(this.loadMoreIfNeeded)),L(this.container).on("change",".select2-input",function(e){e.stopPropagation()}),L(this.dropdown).on("change",".select2-input",function(e){e.stopPropagation()}),L.fn.mousewheel&&r.mousewheel(function(e,t,n,i){var a=r.scrollTop();0<i&&a-i<=0?(r.scrollTop(0),g(e)):i<0&&r.get(0).scrollHeight-r.scrollTop()+i<=r.height()&&(r.scrollTop(r.get(0).scrollHeight-r.height()),g(e))}),_(t),t.on("keyup-change input paste",this.bind(this.updateResults)),t.on("focus",function(){t.addClass("select2-focused")}),t.on("blur",function(){t.removeClass("select2-focused")}),this.dropdown.on("mouseup",s,this.bind(function(e){0<L(e.target).closest(".select2-result-selectable").length&&(this.highlightUnderEvent(e),this.selectHighlighted(e))})),this.dropdown.on("click mouseup mousedown touchstart touchend focusin",function(e){e.stopPropagation()}),this.lastSearchTerm=M,L.isFunction(this.opts.initSelection)&&(this.initSelection(),this.monitorSource()),null!==e.maximumInputLength&&this.search.attr("maxlength",e.maximumInputLength);var o=e.element.prop("disabled");o===M&&(o=!1),this.enable(!o);var l=e.element.prop("readonly");l===M&&(l=!1),this.readonly(l),b=b||function(){var e=L("<div class='select2-measure-scrollbar'></div>");e.appendTo(document.body);var t={width:e.width()-e[0].clientWidth,height:e.height()-e[0].clientHeight};return e.remove(),t}(),this.autofocus=e.element.prop("autofocus"),e.element.prop("autofocus",!1),this.autofocus&&this.focus(),this.search.attr("placeholder",e.searchInputPlaceholder)},destroy:function(){var e=this.opts.element,t=e.data("select2"),n=this;this.close(),e.length&&e[0].detachEvent&&n._sync&&e.each(function(){n._sync&&this.detachEvent("onpropertychange",n._sync)}),this.propertyObserver&&(this.propertyObserver.disconnect(),this.propertyObserver=null),this._sync=null,t!==M&&(t.container.remove(),t.liveRegion.remove(),t.dropdown.remove(),e.removeData("select2").off(".select2"),e.is("input[type='hidden']")?e.css("display",""):(e.show().prop("autofocus",this.autofocus||!1),this.elementTabIndex?e.attr({tabindex:this.elementTabIndex}):e.removeAttr("tabindex"),e.show())),j.call(this,"container","liveRegion","dropdown","results","search")},optionToData:function(e){return e.is("option")?{id:e.prop("value"),text:e.text(),element:e.get(),css:e.attr("class"),disabled:e.prop("disabled"),locked:p(e.attr("locked"),"locked")||p(e.data("locked"),!0)}:e.is("optgroup")?{text:e.attr("label"),children:[],element:e.get(),css:e.attr("class")}:void 0},prepareOpts:function(y){var s,e,t,n,v=this;if("select"===(s=y.element).get(0).tagName.toLowerCase()&&(this.select=e=y.element),e&&L.each(["id","multiple","ajax","query","createSearchChoice","initSelection","data","tags"],function(){if(this in y)throw new Error("Option '"+this+"' is not allowed for Select2 when attached to a <select> element.")}),y.debug=y.debug||L.fn.select2.defaults.debug,y.debug&&console&&console.warn&&(null!=y.id&&console.warn("Select2: The `id` option has been removed in Select2 4.0.0, consider renaming your `id` property or mapping the property before your data makes it to Select2. You can read more at https://select2.github.io/announcements-4.0.html#changed-id"),null!=y.text&&console.warn("Select2: The `text` option has been removed in Select2 4.0.0, consider renaming your `text` property or mapping the property before your data makes it to Select2. You can read more at https://select2.github.io/announcements-4.0.html#changed-id"),null!=y.sortResults&&console.warn("Select2: the `sortResults` option has been renamed to `sorter` in Select2 4.0.0. "),null!=y.selectOnBlur&&console.warn("Select2: The `selectOnBlur` option has been renamed to `selectOnClose` in Select2 4.0.0."),null!=y.ajax&&null!=y.ajax.results&&console.warn("Select2: The `ajax.results` option has been renamed to `aja
1x.processResults` in Select2 4.0.0."),null!=y.formatNoResults&&console.warn("Select2: The `formatNoResults` option has been renamed to `language.noResults` in Select2 4.0.0."),null!=y.formatSearching&&console.warn("Select2: The `formatSearching` option has been renamed to `language.searching` in Select2 4.0.0."),null!=y.formatInputTooShort&&console.warn("Select2: The `formatInputTooShort` option has been renamed to `language.inputTooShort` in Select2 4.0.0."),null!=y.formatInputTooLong&&console.warn("Select2: The `formatInputTooLong` option has been renamed to `language.inputTooLong` in Select2 4.0.0."),null!=y.formatLoading&&console.warn("Select2: The `formatLoading` option has been renamed to `language.loadingMore` in Select2 4.0.0."),null!=y.formatSelectionTooBig&&console.warn("Select2: The `formatSelectionTooBig` option has been renamed to `language.maximumSelected` in Select2 4.0.0."),y.element.data("select2Tags")&&console.warn("Select2: The `data-select2-tags` attribute has been renamed to `data-tags` in Select2 4.0.0.")),null!=y.element.data("tags")){var i=y.element.data("tags");L.isArray(i)||(i=[]),y.element.data("select2Tags",i)}if(null!=y.sorter&&(y.sortResults=y.sorter),null!=y.selectOnClose&&(y.selectOnBlur=y.selectOnClose),null!=y.ajax&&L.isFunction(y.ajax.processResults)&&(y.ajax.results=y.ajax.processResults),null!=y.language){var a=y.language;L.isFunction(a.noMatches)&&(y.formatNoMatches=a.noMatches),L.isFunction(a.searching)&&(y.formatSearching=a.searching),L.isFunction(a.inputTooShort)&&(y.formatInputTooShort=a.inputTooShort),L.isFunction(a.inputTooLong)&&(y.formatInputTooLong=a.inputTooLong),L.isFunction(a.loadingMore)&&(y.formatLoading=a.loadingMore),L.isFunction(a.maximumSelected)&&(y.formatSelectionTooBig=a.maximumSelected)}if("function"!=typeof(y=L.extend({},{populateResults:function(e,t,m){var _,f=this.opts.id,g=this.liveRegion;(_=function(e,t,n){var i,a,r,s,o,l,d,u,c,h,p=[];for(i=0,a=(e=y.sortResults(e,t,m)).length;i<a;i+=1)s=!(o=!0===(r=e[i]).disabled)&&f(r)!==M,l=r.children&&0<r.children.length,(d=L("<li></li>")).addClass("select2-results-dept-"+n),d.addClass("select2-result"),d.addClass(s?"select2-result-selectable":"select2-result-unselectable"),o&&d.addClass("select2-disabled"),l&&d.addClass("select2-result-with-children"),d.addClass(v.opts.formatResultCssClass(r)),d.attr("role","presentation"),(u=L(document.createElement("div"))).addClass("select2-result-label"),u.attr("id","select2-result-label-"+w()),u.attr("role","option"),(h=y.formatResult(r,u,m,v.opts.escapeMarkup))!==M&&(u.html(h),d.append(u)),l&&((c=L("<ul></ul>")).addClass("select2-result-sub"),_(r.children,c,n+1),d.append(c)),d.data("select2-data",r),p.push(d[0]);t.append(p),g.text(y.formatMatches(e.length))})(t,e,0)}},L.fn.select2.defaults,y)).id&&(t=y.id,y.id=function(e){return e[t]}
1),L.isArray(y.element.data("select2Tags"))){if("tags"in y)throw"tags specified as both an attribute 'data-select2-tags' and in options of Select2 "+y.element.attr("id");y.tags=y.element.data("select2Tags")}if(e?(y.query=this.bind(function(i){var e,t,a,n={results:[],more:!1},r=i.term;a=function(e,t){var n;e.is("option")?i.matcher(r,e.text(),e)&&t.push(v.optionToData(e)):e.is("optgroup")&&(n=v.optionToData(e),e.children().each2(function(e,t){a(t,n.children)}),0<n.children.length&&t.push(n))},e=s.children(),this.getPlaceholder()!==M&&0<e.length&&(t=this.getPlaceholderOption())&&(e=e.not(t)),e.each2(function(e,t){a(t,n.results)}),i.callback(n)}),y.id=function(e){return e.id}):"query"in y||("ajax"in y?((n=y.element.data("ajax-url"))&&0<n.length&&(y.ajax.url=n),y.query=Y.call(y.element,y.ajax)):"data"in y?y.query=T(y.data):"tags"in y&&(y.query=D(y.tags),y.createSearchChoice===M&&(y.createSearchChoice=function(e){return{id:L.trim(e),text:L.trim(e)}}),y.initSelection===M&&(y.initSelection=function(e,t){var n=[];L(h(e.val(),y.separator,y.transformVal)).each(function(){var e={id:this,text:this},t=y.tags;L.isFunction(t)&&(t=t()),L(t).each(function(){if(p(this.id,e.id))return e=this,!1}),n.push(e)}),t(n)}))),"function"!=typeof y.query)throw"query function not defined for Select2 "+y.element.attr("id");if("top"===y.createSearchChoicePosition)y.createSearchChoicePosition=function(e,t){e.unshift(t)};else if("bottom"===y.createSearchChoicePosition)y.createSearchChoicePosition=function(e,t){e.push(t)};else if("function"!=typeof y.createSearchChoicePosition)throw"invalid createSearchChoicePosition option must be 'top', 'bottom' or a custom function";return y},monitorSource:function(){var e,n=this.opts.element,t=this;n.on("change.select2",this.bind(function(e){!0!==this.opts.element.data("select2-change-triggered")&&this.initSelection()})),this._sync=this.bind(function(){var e=n.prop("disabled");e===M&&(e=!1),this.enable(!e);var t=n.prop("readonly");t===M&&(t=!1),this.readonly(t),this.container&&(y(this.container,this.opts.element,this.opts.adaptContainerCssClass),this.container.addClass(x(this.opts.containerCssClass,this.opts.element))),this.dropdown&&(y(this.dropdown,this.opts.element,this.opts.adaptDropdownCssClass),this.dropdown.addClass(x(this.opts.dropdownCssClass,this.opts.element)))}),n.length&&n[0].attachEvent&&n.each(function(){this.attachEvent("onpropertychange",t._sync)}),(e=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver)!==M&&(this.propertyObserver&&(delete this.propertyObserver,this.propertyObserver=null),this.propertyObserver=new e(function(e){L.each(e,t._sync)}),this.propertyObserver.observe(n.get(0),{attributes:!0,subtree:!1}))},triggerSelect:function(e){var t=L.Event("select2-selecting",{val:this.id(e),object:e,choice:e});return this.opts.element.trigger(t),!t.isDefaultPrevented()},triggerChange:function(e){e=e||{},e=L.extend({},e,{type:"change",val:this.val()}),this.opts.element.data("select2-change-triggered",!0),this.opts.element.trigger(e),this.opts.element.data("select2-change-triggered",!1),this.opts.element.click(),this.opts.blurOnChange&&this.opts.element.blur()},isInterfaceEnabled:function(){return!0===this.enabledInterface},enableInterface:function(){var e=this._enabled&&!this._readonly,t=!e;return e!==this.enabledInterface&&(this.container.toggleClass("select2-container-disabled",t),this.close(),this.enabledInterface=e,!0)},enable:function(e){e===M&&(e=!0),this._enabled!==e&&(this._enabled=e,this.opts.element.prop("disabled",!e),this.enableInterface())},disable:function(){this.enable(!1)},readonly:function(e){e===M&&(e=!1),this._readonly!==e&&(this._readonly=e,this.opts.element.prop("readonly",e),this.enableInterface())},opened:function(){return!!this.container&&this.container.hasClass("select2-dropdown-open")},positionDropdown:function(){var e,t,n,i,a,r=this.dropdown,s=this.container,o=s.offset(),l=s.outerHeight(!1),d=s.outerWidth(!1),u=r.outerHeight(!1),c=L(window),h=c.width(),p=c.height(),m=c.scrollLeft()+h,_=c.scrollTop()+p,f=o.top+l,g=o.left,y=f+u<=_,v=o.top-u>=c.scrollTop(),M=r.outerWidth(!1);r.hasClass("select2-drop-above")?(t=!0,!v&&y&&(t=!(n=!0))):(t=!1,!y&&v&&(t=n=!0)),n&&(r.hide(),o=this.container.offset(),l=this.container.outerHeight(!1),d=this.container.outerWidth(!1),u=r.outerHeight(!1),m=c.scrollLeft()+h,_=c.scrollTop()+p,f=o.top+l,g=o.left,M=r.outerWidth(!1),r.show(),this.focusSearch()),this.opts.dropdownAutoWidth?(a=L(".select2-results",r)[0],r.addClass("select2-drop-auto-width"),r.css("width",""),d<(M=r.outerWidth(!1)+(a.scrollHeight===a.clientHeight?0:b.width))?d=M:M=d,u=r.outerHeight(!1)):this.container.removeClass("select2-drop-auto-width"),"static"!==this.body.css("position")&&(f-=(e=this.body.offset()).top,g-=e.left),
1!(g+M<=m)&&o.left+m+s.outerWidth(!1)>M&&(g=o.left+this.container.outerWidth(!1)-M),i={left:g,width:d},t?(this.container.addClass("select2-drop-above"),r.addClass("select2-drop-above"),u=r.outerHeight(!1),i.top=o.top-u,i.bottom="auto"):(i.top=f,i.bottom="auto",this.container.removeClass("select2-drop-above"),r.removeClass("select2-drop-above")),i=L.extend(i,x(this.opts.dropdownCss,this.opts.element)),r.css(i)},shouldOpen:function(){var e;return!this.opened()&&(!1!==this._enabled&&!0!==this._readonly&&(e=L.Event("select2-opening"),this.opts.element.trigger(e),!e.isDefaultPrevented()))},clearDropdownAlignmentPreference:function(){this.container.removeClass("select2-drop-above"),this.dropdown.removeClass("select2-drop-above")},open:function(){return!!this.shouldOpen()&&(this.opening(),a.on("mousemove.select2Event",function(e){d.x=e.pageX,d.y=e.pageY}),!0)},opening:function(){var i,e=this.containerEventName,t="scroll."+e,n="resize."+e,a="orientationchange."+e;this.container.addClass("select2-dropdown-open").addClass("select2-container-active"),this.clearDropdownAlignmentPreference(),this.dropdown[0]!==this.body.children().last()[0]&&this.dropdown.detach().appendTo(this.body),0===(i=L("#select2-drop-mask")).length&&((i=L(document.createElement("div"))).attr("id","select2-drop-mask").attr("class","select2-drop-mask"),i.hide(),i.appendTo(this.body),i.on("mousedown touchstart click",function(e){l(i);var t,n=L("#select2-drop");0<n.length&&((t=n.data("select2")).opts.selectOnBlur&&t.selectHighlighted({noFocus:!0}),t.close(),e.preventDefault(),e.stopPropagation())})),this.dropdown.prev()[0]!==i[0]&&this.dropdown.before(i),L("#select2-drop").removeAttr("id"),this.dropdown.attr("id","select2-drop"),i.show(),this.positionDropdown(),this.dropdown.show(),this.positionDropdown(),this.dropdown.addClass("select2-drop-active");var r=this;this.container.parents().add(window).each(function(){L(this).on(n+" "+t+" "+a,function(e){r.opened()&&r.positionDropdown()})})},close:function(){if(this.opened()){var e=this.containerEventName,t="scroll."+e,n="resize."+e,i="orientationchange."+e;this.container.parents().add(window).each(function(){L(this).off(t).off(n).off(i)}),this.clearDropdownAlignmentPreference(),L("#select2-drop-mask").hide(),this.dropdown.removeAttr("id"),this.dropdown.hide(),this.container.removeClass("select2-dropdown-open").removeClass("select2-container-active"),this.results.empty(),a.off("mousemove.select2Event"),this.clearSearch(),this.search.removeClass("select2-active"),this.search.removeAttr("aria-activedescendant"),this.opts.element.trigger(L.Event("select2-close"))}},externalSearch:function(e){this.open(),this.search.val(e),this.updateResults(!1)},clearSearch:function(){},prefillNextSearchTerm:function(){if(""!==this.search.val())return!1;var e=this.opts.nextSearchTerm(this.data(),this.lastSearchTerm);return e!==M&&(this.search.val(e),this.search.select(),!0)},getMaximumSelectionSize:function(){return x(this.opts.maximumSelectionSize,this.opts.element)},ensureHighlightVisible:function(){var e,t,n,i,a,r,s,o,l=this.results;(t=this.highlight())<0||(0!=t?(e=this.findHighlightableChoices().find(".select2-result-label"),i=(o=((n=L(e[t])).offset()||{}).top||0)+n.outerHeight(!0),t===e.length-1&&0<(s=l.find("li.select2-more-results")).length&&(i=s.offset().top+s.outerHeight(!0)),(a=l.offset().top+l.outerHeight(!1))<i&&l.scrollTop(l.scrollTop()+(i-a)),(r=o-l.offset().top)<0&&"none"!=n.css("display")&&l.scrollTop(l.scrollTop()+r)):l.scrollTop(0))},findHighlightableChoices:function(){return this.results.find(".select2-result-selectable:not(.select2-disabled):not(.select2-selected)")},moveHighlight:function(e){for(var t=this.findHighlightableChoices(),n=this.highlight();-1<n&&n<t.length;){var i=L(t[n+=e]);if(i.hasClass("select2-result-selectable")&&!i.hasClass("select2-disabled")&&!i.hasClass("select2-selected")){this.highlight(n);break}}},highlight:function(e){var t,n,i=this.findHighlightableChoices();if(0===arguments.length)return c(i.filter(".select2-highlighted")[0],i.get());e>=i.length&&(e=i.length-1),e<0&&(e=0),this.removeHighlight(),(t=L(i[e])).addClass("select2-highlighted"),this.search.attr("aria-activedescendant",t.find(".select2-result-label").attr("id")),this.ensureHighlightVisible(),this.liveRegion.text(t.text()),(n=t.data("select2-data"))&&this.opts.element.trigger({type:"select2-highlight",val:this.id(n),choice:n})},removeHighlight:function(){this.results.find(".select2-highlighted").removeClass("select2-highlighted")},touchMoved:function(){this._touchMoved=!0}
1,clearTouchMoved:function(){this._touchMoved=!1},countSelectableResults:function(){return this.findHighlightableChoices().length},highlightUnderEvent:function(e){var t=L(e.target).closest(".select2-result-selectable");if(0<t.length&&!t.is(".select2-highlighted")){var n=this.findHighlightableChoices();this.highlight(n.index(t))}else 0==t.length&&this.removeHighlight()},loadMoreIfNeeded:function(){var t=this.results,n=t.find("li.select2-more-results"),i=this.resultsPage+1,a=this,r=this.search.val(),s=this.context;0!==n.length&&n.offset().top-t.offset().top-t.height()<=this.opts.loadMorePadding&&(n.addClass("select2-active"),this.opts.query({element:this.opts.element,term:r,page:i,context:s,matcher:this.opts.matcher,callback:this.bind(function(e){a.opened()&&(a.opts.populateResults.call(this,t,e.results,{term:r,page:i,context:s}),a.postprocessResults(e,!1,!1),!0===e.more?(n.detach().appendTo(t).html(a.opts.escapeMarkup(x(a.opts.formatLoadMore,a.opts.element,i+1))),window.setTimeout(function(){a.loadMoreIfNeeded()},10)):n.remove(),a.positionDropdown(),a.resultsPage=i,a.context=e.context,this.opts.element.trigger({type:"select2-loaded",items:e}))})}))},tokenize:function(){},updateResults:function(n){var e,t,i,a=this.search,r=this.results,s=this.opts,o=this,l=a.val(),d=L.data(this.container,"select2-last-term");if((!0===n||!d||!p(l,d))&&(L.data(this.container,"select2-last-term",l),!0===n||!1!==this.showSearchInput&&this.opened())){i=++this.queryCount;var u=this.getMaximumSelectionSize();if(!(1<=u&&(e=this.data(),L.isArray(e)&&e.length>=u&&S(s.formatSelectionTooBig,"formatSelectionTooBig"))))return a.val().length<s.minimumInputLength?(S(s.formatInputTooShort,"formatInputTooShort")?h("<li class='select2-no-results'>"+x(s.formatInputTooShort,s.element,a.val(),s.minimumInputLength)+"</li>"):h(""),void(n&&this.showSearch&&this.showSearch(!0))):void(s.maximumInputLength&&a.val().length>s.maximumInputLength?S(s.formatInputTooLong,"formatInputTooLong")?h("<li class='select2-no-results'>"+x(s.formatInputTooLong,s.element,a.val(),s.maximumInputLength)+"</li>"):h(""):(s.formatSearching&&0===this.findHighlightableChoices().length&&h("<li class='select2-searching'>"+x(s.formatSearching,s.element)+"</li>"),a.addClass("select2-active"),this.removeHighlight(),(t=this.tokenize())!=M&&null!=t&&a.val(t),this.resultsPage=1,s.query({element:s.element,term:a.val(),page:this.resultsPage,context:null,matcher:s.matcher,callback:this.bind(function(e){var t;if(i==this.queryCount)if(this.opened())if(e.hasError!==M&&S(s.formatAjaxError,"formatAjaxError"))h("<li class='select2-ajax-error'>"+x(s.formatAjaxError,s.element,e.jqXHR,e.textStatus,e.errorThrown)+"</li>");else{if(this.context=e.context===M?null:e.context,this.opts.createSearchChoice&&""!==a.val()&&(t=this.opts.createSearchChoice.call(o,a.val(),e.results))!==M&&null!==t&&o.id(t)!==M&&null!==o.id(t)&&0===L(e.results).filter(function(){return p(o.id(this),o.id(t))}).length&&this.opts.createSearchChoicePosition(e.results,t),0===e.results.length&&S(s.formatNoMatches,"formatNoMatches"))return h("<li class='select2-no-results'>"+x(s.formatNoMatches,s.element,a.val())+"</li>"),void(this.showSearch&&this.showSearch(a.val()));r.empty(),o.opts.populateResults.call(this,r,e.results,{term:a.val(),page:this.resultsPage,context:null}),!0===e.more&&S(s.formatLoadMore,"formatLoadMore")&&(r.append("<li class='select2-more-results'>"+s.escapeMarkup(x(s.formatLoadMore,s.element,this.resultsPage))+"</li>"),window.setTimeout(function(){o.loadMoreIfNeeded()},10)),this.postprocessResults(e,n),c(),this.opts.element.trigger({type:"select2-loaded",items:e})}else this.search.removeClass("select2-active")})})));h("<li class='select2-selection-limit'>"+x(s.formatSelectionTooBig,s.element,u)+"</li>")}function c(){a.removeClass("select2-active"),o.positionDropdown(),r.find(".select2-no-results,.select2-selection-limit,.select2-searching").length?o.liveRegion.text(r.text()):o.liveRegion.text(o.opts.formatMatches(r.find('.select2-result-selectable:not(".select2-selected")').length))}function h(e){r.html(e),c()}},cancel:function(){this.close()},blur:function(){this.opts.selectOnBlur&&this.selectHighlighted({noFocus:!0}),this.close(),this.container.removeClass("select2-container-active"),this.search[0]===document.activeElement&&this.search.blur(),this.clearSearch(),this.selection.find(".select2-search-choice-focus").removeClass("select2-search-choice-focus")},focusSearch:function(){var i;(i=this.search)[0]!==document.activeElement&&window.setTimeout(function(){var e,t=i[0],n=i.val().length;i.focus(),(0<t.offsetWidth||0<t.offsetHeight)&&t===document.activeElement&&(t.setSelectionRange?t.setSelectionRange(n,n):t.createTextRange&&((e=t.createTextRange()).collapse(!1),e.select()))},0)},selectHighlighted:function(e){if(this._touchMoved)this.clearTouchMoved();else{var t=this.highlight(),n=this.results.find(".select2-highlighted").closest(".select2-result").data("select2-data");n?(this.highlight(t),this.onSelect(n,e)):e&&e.noFocus&&this.close()}},getPlaceholder:function(){var e;return this.opts.element.attr("placeholder")||this.opts.element.attr("data-placeholder")||this.opts.element.data("placeholder")||this.opts.placeholder||((e=this.getPlaceholderOption())!==M?e.text():M)},getPlaceholderOption:function(){if(this.select){var e=this.select.children("option").first();if(this.opts.placeholderOption!==M)return"first"===this.opts.placeholderOption&&e||"function"==typeof this.opts.placeholderOption&&this.opts.placeholderOption(this.select);if(""===L.trim(e.text())&&""===e.val())return e}},initContainerWidth:function(){var e=function(){var e,t,n,i,a;if("off"===this.opts.width)return null;if("element"===this.opts.width)return 0===this.opts.element.outerWidth(!1)?"auto":this.opts.element.outerWidth(!1)+"px";if("copy"!==this.opts.width&&"resolve"!==this.opts.width)return L.isFunction(this.opts.width)?this.opts.width():this.opts.width;if("string"==typeof(e=this.opts.element.attr("style")))for(i=0,a=(t=e.split(";")).length;i<a;i+=1)if(null!==(n=t[i].replace(/\s/g,"").match(/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i))&&1<=n.length)return n[1];return"resolve"===this.opts.width?0<(e=this.opts.element.css("width")).indexOf("%")?e:0===this.opts.element.outerWidth(!1)?"auto":this.opts.element.outerWidth(!1)+"px":null}.call(this);null!==e&&this.container.css("width",e)}}),{createContainer:function(){return L(document.createElement("div")).attr({class:"select2-container"}).html(["<a href='javascript:void(0)' class='select2-choice' tabindex='-1'>","   <span class='select2-chosen'>&#160;</span><abbr class='select2-search-choice-close'></abbr>","   <span class='select2-arrow' role='presentation'><b role='presentation'></b></span>","</a>","<label for='' class='select2-offscreen'></label>","<input class='select2-focusser select2-offscreen' type='text' aria-haspopup='true' role='button' />","<div class='select2-drop select2-display-none'>","   <div class='select2-search'>","       <label for='' class='select2-offscreen'></label>","       <input type='text' autocomplete='off' autocorrect='off' autocapitalize='off' spellcheck='false' class='select2-input' role='combobox' aria-expanded='true'","       aria-autocomplete='list' />","   </div>","   <ul class='select2-results' role='listbox'>","   </ul>","</div>"].join(""))},enableInterface:function(){this.parent.enableInterface.apply(this,arguments)&&this.focusser.prop("disabled",!this.isInterfaceEnabled())},opening:function(){var e,t,n;0<=this.opts.minimumResultsForSearch&&this.showSearch(!0),this.parent.opening.apply(this,arguments),!1!==this.showSearchInput&&this.search.val(this.focusser.val()),this.opts.shouldFocusInput(this)&&(this.search.focus(),(e=this.search.get(0)).createTextRange?((t=e.createTextRange()).collapse(!1),t.select()):e.setSelectionRange&&(n=this.search.val().length,e.setSelectionRange(n,n))),this.prefillNextSearchTerm(),this.focusser.prop("disabled",!0).val(""),this.updateResults(!0),this.opts.element.trigger(L.Event("select2-open"))},close:function(){this.opened()&&(this.parent.close.apply(this,arguments),this.focusser.prop("disabled",!1),this.opts.shouldFocusInput(this)&&this.focusser.focus())},focus:function(){this.opened()?this.close():(this.focusser.prop("disabled",!1),this.opts.shouldFocusInput(this)&&this.focusser.focus())},isFocused:function(){return this.container.hasClass("select2-container-active")},cancel:function(){this.parent.cancel.apply(this,arguments),this.focusser.prop("disabled",!1),this.opts.shouldFocusInput(this)&&this.focusser.focus()},destroy:function(){L("label[for='"+this.focusser.attr("id")+"']").attr("for",this.opts.element.attr("id")),this.parent.destroy.apply(this,arguments),j.call(this,"selection","focusser")},initContainer:function(){var t,e,n=this.container,i=this.dropdown,a=w();this.opts.minimumResultsForSearch<0?this.showSearch(!1):this.showSearch(!0),this.selection=t=n.find(".select2-choice"),this.focusser=n.find(".select2-focusser"),t.find(".select2-chosen").attr("id","select2-chosen-"+a),this.focusser.attr("aria-labelledby","select2-chosen-"+a),this.results.attr("id","select2-results-"+a),this.search.attr("aria-owns","select2-results-"+a),this.focusser.attr("id","s2id_autogen"+a),e=L("label[for='"+this.opts.element.attr("id")+"']"),this.opts.element.on("focus.select2",this.bind(function(){this.focus()})),this.focusser.prev().text(e.text()).attr("for",this.focusser.attr("id"));var r=this.opts.element.attr("title");this.opts.element.attr("title",r||e.text()),this.focusser.attr("tabindex",this.elementTabIndex),this.search.attr("id",this.focusser.attr("id")+"_search"),this.search.prev().text(L("label[for='"+this.focusser.attr("id")+"']").text()).attr("for",this.search.attr("id")),this.search.on("keydown",this.bind(function(e){if(this.isInterfaceEnabled()&&229!=e.keyCode)if(e.which!==o.PAGE_UP&&e.which!==o.PAGE_DOWN)switch(e.which){case o.UP:case o.DOWN:return this.moveHighlight(e.which===o.UP?-1:1),void g(e);case o.ENTER:return this.selectHighlighted(),void g(e);case o.TAB:return void this.selectHighlighted({noFocus:!0});case o.ESC:return this.cancel(e),void g(e)}else g(e)})),this.search.on("blur",this.bind(function(e){document.activeElement===this.body.get(0)&&window.setTimeout(this.bind(function(){this.opened()&&this.results&&1<this.results.length&&this.search.focus()}),0)}
1)),this.focusser.on("keydown",this.bind(function(e){if(this.isInterfaceEnabled()&&e.which!==o.TAB&&!o.isControl(e)&&!o.isFunctionKey(e)&&e.which!==o.ESC){if(!1!==this.opts.openOnEnter||e.which!==o.ENTER){if(e.which==o.DOWN||e.which==o.UP||e.which==o.ENTER&&this.opts.openOnEnter){if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey)return;return this.open(),void g(e)}return e.which==o.DELETE||e.which==o.BACKSPACE?(this.opts.allowClear&&this.clear(),void g(e)):void 0}g(e)}})),_(this.focusser),this.focusser.on("keyup-change input",this.bind(function(e){if(0<=this.opts.minimumResultsForSearch){if(e.stopPropagation(),this.opened())return;this.open()}})),t.on("mousedown touchstart","abbr",this.bind(function(e){var t;this.isInterfaceEnabled()&&(this.clear(),(t=e).preventDefault(),t.stopImmediatePropagation(),this.close(),this.selection&&this.selection.focus())})),t.on("mousedown touchstart",this.bind(function(e){l(t),this.container.hasClass("select2-container-active")||this.opts.element.trigger(L.Event("select2-focus")),this.opened()?this.close():this.isInterfaceEnabled()&&this.open(),g(e)})),i.on("mousedown touchstart",this.bind(function(){this.opts.shouldFocusInput(this)&&this.search.focus()})),t.on("focus",this.bind(function(e){g(e)})),this.focusser.on("focus",this.bind(function(){this.container.hasClass("select2-container-active")||this.opts.element.trigger(L.Event("select2-focus")),this.container.addClass("select2-container-active")})).on("blur",this.bind(function(){this.opened()||(this.container.removeClass("select2-container-active"),this.opts.element.trigger(L.Event("select2-blur")))})),this.search.on("focus",this.bind(function(){this.container.hasClass("select2-container-active")||this.opts.element.trigger(L.Event("select2-focus")),this.container.addClass("select2-container-active")})),this.initContainerWidth(),this.opts.element.hide(),this.setPlaceholder()},clear:function(e){var t=this.selection.data("select2-data");if(t){var n=L.Event("select2-clearing");if(this.opts.element.trigger(n),n.isDefaultPrevented())return;var i=this.getPlaceholderOption();this.opts.element.val(i?i.val():""),this.selection.find(".select2-chosen").empty(),this.selection.removeData("select2-data"),this.setPlaceholder(),!1!==e&&(this.opts.element.trigger({type:"select2-removed",val:this.id(t),choice:t}),this.triggerChange({removed:t}))}},initSelection:function(){if(this.isPlaceholderOptionSelected())this.updateSelection(null),this.close(),this.setPlaceholder();else{var t=this;this.opts.initSelection.call(null,this.opts.element,function(e){e!==M&&null!==e&&(t.updateSelection(e),t.close(),t.setPlaceholder(),t.lastSearchTerm=t.search.val())})}},isPlaceholderOptionSelected:function(){var e;return this.getPlaceholder()!==M&&((e=this.getPlaceholderOption())!==M&&e.prop("selected")||""===this.opts.element.val()||this.opts.element.val()===M||null===this.opts.element.val())},prepareOpts:function(){var s=this.parent.prepareOpts.apply(this,arguments),i=this;return"select"===s.element.get(0).tagName.toLowerCase()?s.initSelection=function(e,t){var n=e.find("option").filter(function(){return this.selected&&!this.disabled});t(i.optionToData(n))}:"data"in s&&(s.initSelection=s.initSelection||function(e,t){var a=e.val(),r=null;s.query({matcher:function(e,t,n){var i=p(a,s.id(n));return i&&(r=n),i},callback:L.isFunction(t)?function(){t(r)}:L.noop})}),s},getPlaceholder:function(){return this.select&&this.getPlaceholderOption()===M?M:this.parent.getPlaceholder.apply(this,arguments)},setPlaceholder:function(){var e=this.getPlaceholder();if(this.isPlaceholderOptionSelected()&&e!==M){if(this.select&&this.getPlaceholderOption()===M)return;this.selection.find(".select2-chosen").html(this.opts.escapeMarkup(e)),this.selection.addClass("select2-default"),this.container.removeClass("select2-allowclear")}},postprocessResults:function(e,t,n){var i=0,a=this;if(this.findHighlightableChoices().each2(function(e,t){if(p(a.id(t.data("select2-data")),a.opts.element.val()))return i=e,!1}),!1!==n&&(!0===t&&0<=i?this.highlight(i):this.highlight(0)),!0===t){var r=this.opts.minimumResultsForSearch;0<=r&&this.showSearch(function n(e){var i=0;return L.each(e,function(e,t){t.children?i+=n(t.children):i++}),i}(e.results)>=r)}},showSearch:function(e){this.showSearchInput!==e&&(this.showSearchInput=e,this.dropdown.find(".select2-search").toggleClass("select2-search-hidden",!e),this.dropdown.find(".select2-search").toggleClass("select2-offscreen",!e),L(this.dropdown,this.container).toggleClass("select2-with-searchbox",e))},onSelect:function(e,t){if(this.triggerSelect(e)){var n=this.opts.element.val(),i=this.data();this.opts.element.val(this.id(e)),this.updateSelection(e),this.opts.element.trigger({type:"select2-selected",val:this.id(e),choice:e}),this.lastSearchTerm=this.search.val(),this.close(),t&&t.noFocus||!this.opts.shouldFocusInput(this)||this.focusser.focus(),p(n,this.id(e))||this.triggerChange({added:e,removed:i})}},updateSelection:function(e){var t,n,i=this.selection.find(".select2-chosen");this.selection.data("select2-data",e),i.empty(),null!==e&&(t=this.opts.formatSelection(e,i,this.opts.escapeMarkup)),t!==M&&i.append(t),(n=this.opts.formatSelectionCssClass(e,i))!==M&&i.addClass(n),this.selection.removeClass("select2-default"),this.opts.allowClear&&this.getPlaceholder()!==M&&this.container.addClass("select2-allowclear")},val:function(){var e,t=!1,n=null,i=this,a=this.data();if(0===arguments.length)return this.opts.element.val();if(e=arguments[0],1<arguments.length&&(t=arguments[1],this.opts.debug&&console&&console.warn&&console.warn('Select2: The second option to `select2("val")` is not supported in Select2 4.0.0. The `change` event will always be triggered in 4.0.0.')),this.select)this.opts.debug&&console&&console.warn&&console.warn('Select2: Setting the value on a <select> using `select2("val")` is no longer supported in 4.0.0. You can use the `.val(newValue).trigger("change")` method provided by jQuery instead.'),this.select.val(e).find("option").filter(function(){return this.selected}).each2(function(e,t){return n=i.optionToData(t),!1}),this.updateSelection(n),this.setPlaceholder(),t&&this.triggerChange({added:n,removed:a});else{if(!e&&0!==e)return void this.clear(t);if(this.opts.initSelection===M)throw new Error("cannot call val() if initSelection() is not defined");this.opts.element.val(e),this.opts.initSelection(this.opts.element,function(e){i.opts.element.val(e?i.id(e):""),i.updateSelection(e),i.setPlaceholder(),t&&i.triggerChange({added:e,removed:a})})}},clearSearch:function(){this.search.val(""),this.focusser.val("")},data:function(e){var t,n=!1;if(0===arguments.length)return(t=this.selection.data("select2-data"))==M&&(t=null),t;this.opts.debug&&console&&console.warn&&console.warn('Select2: The `select2("data")` method can no longer set selected values in 4.0.0, consider using the `.val()` method instead.'),1<arguments.length&&(n=arguments[1]),e?(t=this.data(),this.opts.element.val(e?this.id(e):""),this.updateSelection(e),n&&this.triggerChange({added:e,removed:t})):this.clear(n)}}),n=H(e,{createContainer:function(){return L(document.createElement("div")).attr({class:"select2-container select2-container-multi"}).html(["<ul class='select2-choices'>","  <li class='select2-search-field'>","    <label for='' class='select2-offscreen'></label>","    <input type='text' autocomplete='off' autocorrect='off' autocapitalize='off' spellcheck='false' class='select2-input'>","  </li>","</ul>","<div class='select2-drop select2-drop-multi select2-display-none'>","   <ul class='select2-results'>","   </ul>","</div>"].join(""))},prepareOpts:function(){var l=this.parent.prepareOpts.apply(this,arguments),i=this;return"select"===l.element.get(0).tagName.toLowerCase()?l.initSelection=function(e,t){var n=[];e.find("option").filter(function(){return this.selected&&!this.disabled}).each2(function(e,t){n.push(i.optionToData(t))}),t(n)}:"data"in l&&(l.initSelection=l.initSelection||function(e,r){var s=h(e.val(),l.separator,l.transformVal),o=[];l.query({matcher:function(e,t,n){var i=L.grep(s,function(e){return p(e,l.id(n))}).length;return i&&o.push(n),i},callback:L.isFunction(r)?function(){for(var e=[],t=0;t<s.length;t++)for(var n=s[t],i=0;i<o.length;i++){var a=o[i];if(p(n,l.id(a))){e.push(a),o.splice(i,1);break}}r(e)}:L.noop})}),l},selectChoice:function(e){var t=this.container.find(".select2-search-choice-focus");t.length&&e&&e[0]==t[0]||(t.length&&this.opts.element.trigger("choice-deselected",t),t.removeClass("select2-search-choice-focus"),e&&e.length&&(this.close(),e.addClass("select2-search-choice-focus"),this.opts.element.trigger("choice-selected",e)))},destroy:function(){L("label[for='"+this.search.attr("id")+"']").attr("for",this.opts.element.attr("id")),this.parent.destroy.apply(this,arguments),j.call(this,"searchContainer","selection")},initContainer:function(){var s,e=".select2-choices";this.searchContainer=this.container.find(".select2-search-field"),this.selection=s=this.container.find(e);var t=this;this.selection.on("click",".select2-container:not(.select2-container-disabled) .select2-search-choice:not(.select2-locked)",function(e){t.search[0].focus(),t.selectChoice(L(this))}),this.search.attr("id","s2id_autogen"+w()),this.search.prev().text(L("label[for='"+this.opts.element.attr("id")+"']").text()).attr("for",this.search.attr("id")),this.opts.element.on("focus.select2",this.bind(function(){this.focus()})),this.search.on("input paste",this.bind(function(){this.search.attr("placeholder")&&0==this.search.val().length||this.isInterfaceEnabled()&&(this.opened()||this.open())})),this.search.attr("tabindex",this.elementTabIndex),this.keydowns=0,this.search.on("keydown",this.bind(function(e){if(this.isInterfaceEnabled()){++this.keydowns;var t=s.find(".select2-search-choice-focus"),n=t.prev(".select2-search-choice:not(.select2-locked)"),i=t.next(".select2-search-choice:not(.select2-locked)"),a=function(e){var t=0,n=0;if("selectionStart"in(e=L(e)[0]))t=e.selectionStart,n=e.selectionEnd-t;else if("selection"in document){e.focus();var i=document.selection.createRange();n=document.selection.createRange().text.length,i.moveStart("character",-e.value.length),t=i.text.length-n}return{offset:t,length:n}}(this.search);if(t.length&&(e.which==o.LEFT||e.which==o.RIGHT||e.which==o.BACKSPACE||e.which==o.DELETE||e.which==o.ENTER)){var r=t;return e.which==o.LEFT&&n.length?r=n:e.which==o.RIGHT?r=i.length?i:null:e.which===o.BACKSPACE?this.unselect(t.first())&&(this.search.width(10),r=n.length?n:i):e.which==o.DELETE?this.unselect(t.first())&&(this.search.width(10),r=i.length?i:null):e.which==o.ENTER&&(r=null),this.selectChoice(r),g(e),void(r&&r.length||this.open())}if((e.which===o.BACKSPACE&&1==this.keydowns||e.which==o.LEFT)&&0==a.offset&&!a.length)return this.selectChoice(s.find(".select2-search-choice:not(.select2-locked)").last()),void g(e);if(this.selectChoice(null),this.opened())switch(e.which){case o.UP:case o.DOWN:return this.moveHighlight(e.which===o.UP?-1:1),void g(e);case o.ENTER:return this.selectHighlighted(),void g(e);case o.TAB:return this.selectHighlighted({noFocus:!0}),void this.close();case o.ESC:return this.cancel(e),void g(e)}if(e.which!==o.TAB&&!o.isControl(e)&&!o.isFunctionKey(e)&&e.which!==o.BACKSPACE&&e.which!==o.ESC){if(e.which===o.ENTER){if(!1===this.opts.openOnEnter)return;if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey)return}this.open(),e.which!==o.PAGE_UP&&e.which!==o.PAGE_DOWN||g(e),e.which===o.ENTER&&g(e)}}})),this.search.on("keyup",this.bind(function(e){this.keydowns=0,this.resizeSearch()})),this.search.on("blur",this.bind(function(e){this.container.removeClass("select2-container-active"),this.search.removeClass("select2-focused"),this.selectChoice(null),this.opened()||this.clearSearch(),e.stopImmediatePropagation(),this.opts.element.trigger(L.Event("select2-blur"))})),this.container.on("click",e,this.bind(function(e){this.isInterfaceEnabled()&&(0<L(e.target).closest(".select2-search-choice").length||(this.selectChoice(null),this.clearPlaceholder(),this.container.hasClass("select2-container-active")||this.opts.element.trigger(L.Event("select2-focus")),this.open(),this.focusSearch(),e.preventDefault()))})),this.container.on("focus",e,this.bind(function(){this.isInterfaceEnabled()&&(this.container.hasClass("select2-container-active")||this.opts.element.trigger(L.Event("select2-focus")),this.container.addClass("select2-container-active"),this.dropdown.addClass("select2-drop-active"),this.clearPlaceholder())})),this.initContainerWidth(),this.opts.element.hide(),this.clearSearch()},enableInterface:function(){this.parent.enableInterface.apply(this,arguments)&&this.search.prop("disabled",!this.isInterfaceEnabled())},initSelection:function(){if(""===this.opts.element.val()&&""===this.opts.element.text()&&(this.updateSelection([]),this.close(),this.clearSearch()),this.select||""!==this.opts.element.val()){var t=this;this.opts.initSelection.call(null,this.opts.element,function(e){e!==M&&null!==e&&(t.updateSelection(e),t.close(),t.clearSearch())})}},clearSearch:function(){var e=this.getPlaceholder(),t=this.getMaxSearchWidth();e!==M&&0===this.getVal().length&&!1===this.search.hasClass("select2-focused")?(this.search.val(e).addClass("select2-default"),this.search.width(0<t?t:this.container.css("width"))):this.search.val("").width(10)},clearPlaceholder:function(){this.search.hasClass("select2-default")&&this.search.val("").removeClass("select2-default")},opening:function(){this.clearPlaceholder(),this.resizeSearch(),this.parent.opening.apply(this,arguments),this.focusSearch(),this.prefillNextSearchTerm(),this.updateResults(!0),this.opts.shouldFocusInput(this)&&this.search.focus(),this.opts.element.trigger(L.Event("select2-open"))},close:function(){this.opened()&&this.parent.close.apply(this,arguments)},focus:function(){this.close(),this.search.focus()},isFocused:function(){return this.search.hasClass("select2-focused")},updateSelection:function(e){var t={},n=[],i=this;L(e).each(function(){i.id(this)in t||(t[i.id(this)]=0,n.push(this))}),this.selection.find(".select2-search-choice").remove(),this.addSelectedChoice(n),i.postprocessResults()},tokenize:function(){var e=this.search.val();null!=(e=this.opts.tokenizer.call(this,e,this.data(),this.bind(this.onSelect),this.opts))&&e!=M&&(this.search.val(e),0<e.length&&this.open())},onSelect:function(e,t){this.triggerSelect(e)&&""!==e.text&&(this.addSelectedChoice(e),this.opts.element.trigger({type:"selected",val:this.id(e),choice:e}),this.lastSearchTerm=this.search.val(),this.clearSearch(),this.updateResults(),!this.select&&this.opts.closeOnSelect||this.postprocessResults(e,!1,!0===this.opts.closeOnSelect),this.opts.closeOnSelect?(this.close(),this.search.width(10)):0<this.countSelectableResults()?(this.search.width(10),this.resizeSearch(),0<this.getMaximumSelectionSize()&&this.val().length>=this.getMaximumSelectionSize()?this.updateResults(!0):this.prefillNextSearchTerm()&&this.updateResults(),this.positionDropdown()):(this.close(),this.search.width(10)),this.triggerChange({added:e}),t&&t.noFocus||this.focusSearch())},cancel:function(){this.close(),this.focusSearch()},addSelectedChoice:function(e){var t=this.getVal(),n=this;L(e).each(function(){t.push(n.createChoice(this))}),this.setVal(t)},createChoice:function(e){var t,n,i=!e.locked,a=L("<li class='select2-search-choice'>    <div></div>    <a href='#' class='select2-search-choice-close' tabindex='-1'></a></li>"),r=L("<li class='select2-search-choice select2-locked'><div></div></li>"),s=i?a:r,o=this.id(e);return(t=this.opts.formatSelection(e,s.find("div"),this.opts.escapeMarkup))!=M&&s.find("div").replaceWith(L("<div></div>").html(t)),(n=this.opts.formatSelectionCssClass(e,s.find("div")))!=M&&s.addClass(n),i&&s.find(".select2-search-choice-close").on("mousedown",g).on("click dblclick",this.bind(function(e){this.isInterfaceEnabled()&&(this.unselect(L(e.target)),this.selection.find(".select2-search-choice-focus").removeClass("select2-search-choice-focus"),g(e),this.close(),this.focusSearch())})).on("focus",this.bind(function(){this.isInterfaceEnabled()&&(this.container.addClass("select2-container-active"),this.dropdown.addClass("select2-drop-active"))})),s.data("select2-data",e),s.insertBefore(this.searchContainer),o},unselect:function(e){var t,n,i=this.getVal();if(0===(e=e.closest(".select2-search-choice")).length)throw"Invalid argument: "+e+". Mu
1st be .select2-search-choice";if(t=e.data("select2-data")){var a=L.Event("select2-removing");if(a.val=this.id(t),a.choice=t,this.opts.element.trigger(a),a.isDefaultPrevented())return!1;for(;0<=(n=c(this.id(t),i));)i.splice(n,1),this.setVal(i),this.select&&this.postprocessResults();return e.remove(),this.opts.element.trigger({type:"select2-removed",val:this.id(t),choice:t}),this.triggerChange({removed:t}),!0}},postprocessResults:function(e,t,n){var i=this.getVal(),a=this.results.find(".select2-result"),r=this.results.find(".select2-result-with-children"),s=this;a.each2(function(e,t){0<=c(s.id(t.data("select2-data")),i)&&(t.addClass("select2-selected"),t.find(".select2-result-selectable").addClass("select2-selected"))}),r.each2(function(e,t){t.is(".select2-result-selectable")||0!==t.find(".select2-result-selectable:not(.select2-selected)").length||t.addClass("select2-selected")}),-1==this.highlight()&&!1!==n&&!0===this.opts.closeOnSelect&&s.highlight(0),!this.opts.createSearchChoice&&0<!a.filter(".select2-result:not(.select2-selected)").length&&(!e||e&&!e.more&&0===this.results.find(".select2-no-results").length)&&S(s.opts.formatNoMatches,"formatNoMatches")&&this.results.append("<li class='select2-no-results'>"+x(s.opts.formatNoMatches,s.opts.element,s.search.val())+"</li>")},getMaxSearchWidth:function(){return this.selection.width()-m(this.search)},resizeSearch:function(){var e,t,n,i,a=m(this.search);e=function(e){if(!r){var t=e[0].currentStyle||window.getComputedStyle(e[0],null);(r=L(document.createElement("div")).css({position:"absolute",left:"-10000px",top:"-10000px",display:"none",fontSize:t.fontSize,fontFamily:t.fontFamily,fontStyle:t.fontStyle,fontWeight:t.fontWeight,letterSpacing:t.letterSpacing,textTransform:t.textTransform,whiteSpace:"nowrap"})).attr("class","select2-sizer"),L(document.body).append(r)}return r.text(e.val()),r.width()}(this.search)+10,t=this.search.offset().left,(i=(n=this.selection.width())-(t-this.selection.offset().left)-a)<e&&(i=n-a),i<40&&(i=n-a),i<=0&&(i=e),this.search.width(Math.floor(i))},getVal:function(){var e;return this.select?null===(e=this.select.val())?[]:e:h(e=this.opts.element.val(),this.opts.separator,this.opts.transformVal)},setVal:function(e){if(this.select)this.select.val(e);else{var t=[],n={};L(e).each(function(){this in n||(t.push(this),n[this]=0)}),this.opts.element.val(0===t.length?"":t.join(this.opts.separator))}},buildChangeDetails:function(e,t){t=t.slice(0),e=e.slice(0);for(var n=0;n<t.length;n++)for(var i=0;i<e.length;i++)if(p(this.opts.id(t[n]),this.opts.id(e[i]))){t.splice(n,1),n--,e.splice(i,1);break}return{added:t,removed:e}},val:function(e,n){var i,a=this;if(0===arguments.length)return this.getVal();if((i=this.data()).length||(i=[]),!e&&0!==e)return this.opts.element.val(""),this.updateSelection([]),this.clearSearch(),void(n&&this.triggerChange({added:this.data(),removed:i}));if(this.setVal(e),this.select)this.opts.initSelection(this.select,this.bind(this.updateSelection)),n&&this.triggerChange(this.buildChangeDetails(i,this.data()));else{if(this.opts.initSelection===M)throw new Error("val() cannot be called if initSelection() is not defined");this.opts.initSelection(this.opts.element,function(e){var t=L.map(e,a.id);a.setVal(t),a.updateSelection(e),a.clearSearch(),n&&a.triggerChange(a.buildChangeDetails(i,a.data()))})}this.clearSearch()},onSortStart:function(){if(this.select)throw new Error("Sorting of elements is not supported when attached to <select>. Attach to <input type='hidden'/> instead.");this.search.width(0),this.searchContainer.hide()},onSortEnd:function(){var e=[],t=this;this.searchContainer.show(),this.searchContainer.appendTo(this.searchContainer.parent()),this.resizeSearch(),this.selection.find(".select2-search-choice").each(function(){e.push(t.opts.id(L(this).data("select2-data")))}),this.setVal(e),this.triggerChange()},data:function(e,t){var n,i,a=this;if(0===arguments.length)return this.selection.children(".select2-search-choice").map(function(){return L(this).data("select2-data")}).get();i=this.data(),e||(e=[]),n=L.map(e,function(e){return a.opts.id(e)}),this.setVal(n),this.updateSelection(e),this.clearSearch(),t&&this.triggerChange(this.buildChangeDetails(i,this.data()))}}),L.fn.select2=function(){var e,t,n,i,a,r=Array.prototype.slice.call(arguments,0),s=["val","destroy","opened","open","close","focus","isFocused","container","dropdown","onSortStart","onSortEnd","enable","disable","readonly","positionDropdown","data","search"],o=["opened","is
1Focused","container","dropdown"],l=["val","data"],d={search:"externalSearch"};return this.each(function(){if(0===r.length||"object"==typeof r[0])(e=0===r.length?{}:L.extend({},r[0])).element=L(this),"select"===e.element.get(0).tagName.toLowerCase()?a=e.element.prop("multiple"):(a=e.multiple||!1,"tags"in e&&(e.multiple=a=!0)),(t=a?new window.Select2.class.multi:new window.Select2.class.single).init(e);else{if("string"!=typeof r[0])throw"Invalid arguments to select2 plugin: "+r;if(c(r[0],s)<0)throw"Unknown method: "+r[0];if(i=M,(t=L(this).data("select2"))===M)return;if(n=r[0],i="container"===n?t.container:"dropdown"===n?t.dropdown:(d[n]&&(n=d[n]),t[n].apply(t,r.slice(1))),0<=c(r[0],o)||0<=c(r[0],l)&&1==r.length)return!1}}),i===M?this:i},L.fn.select2.defaults={debug:!1,width:"copy",loadMorePadding:0,closeOnSelect:!0,openOnEnter:!0,containerCss:{},dropdownCss:{},containerCssClass:"",dropdownCssClass:"",formatResult:function(e,t,n,i){var a=[];return v(this.text(e),n.term,a,i),a.join("")},transformVal:function(e){return L.trim(e)},formatSelection:function(e,t,n){return e?n(this.text(e)):M},sortResults:function(e,t,n){return e},formatResultCssClass:function(e){return e.css},formatSelectionCssClass:function(e,t){return M},minimumResultsForSearch:0,minimumInputLength:0,maximumInputLength:null,maximumSelectionSize:0,id:function(e){return e==M?null:e.id},text:function(e){return e&&this.data&&this.data.text?L.isFunction(this.data.text)?this.data.text(e):e[this.data.text]:e.text},matcher:function(e,t){return 0<=u(""+t).toUpperCase().indexOf(u(""+e).toUpperCase())},separator:",",tokenSeparators:[],tokenizer:function(e,t,n,i){var a,r,s,o,l,d=e,u=!1;if(!i.createSearchChoice||!i.tokenSeparators||i.tokenSeparators.length<1)return M;for(;;){for(r=-1,s=0,o=i.tokenSeparators.length;s<o&&(l=i.tokenSeparators[s],!(0<=(r=e.indexOf(l))));s++);if(r<0)break;if(a=e.substring(0,r),e=e.substring(r+l.length),0<a.length&&(a=i.createSearchChoice.call(this,a,t))!==M&&null!==a&&i.id(a)!==M&&null!==i.id(a)){for(u=!1,s=0,o=t.length;s<o;s++)if(p(i.id(a),i.id(t[s]))){u=!0;break}u||n(a)}}return d!==e?e:void 0},escapeMarkup:k,blurOnChange:!1,selectOnBlur:!1,adaptContainerCssClass:function(e){return e},adaptDropdownCssClass:function(e){return null},nextSearchTerm:function(e,t){return M},searchInputPlaceholder:"",createSearchChoicePosition:"top",shouldFocusInput:function(e){return!("ontouchstart"in window||0<navigator.msMaxTouchPoints)||!(e.opts.minimumResultsForSearch<0)}},L.fn.select2.locales=[],L.fn.select2.locales.en={formatMatches:function(e){return 1===e?"One result is available, press enter to select it.":e+" results are available, use up and down arrow keys to navigate."},formatNoMatches:function(){return"No matches found"},formatAjaxError:function(e,t,n){return"Loading failed"},formatInputTooShort:function(e,t){var n=t-e.length;return"Please enter "+n+" or more character"+(1==n?"":"s")},formatInputTooLong:function(e,t){var n=e.length-t;return"Please delete "+n+" character"+(1==n?"":"s")},formatSelectionTooBig:function(e){return"You can only select "+e+" item"+(1==e?"":"s")},formatLoadMore:function(e){return"Loading more results…"},formatSearching:function(){return"Searching…"}},L.extend(L.fn.select2.defaults,L.fn.select2.locales.en),L.fn.select2.ajaxDefaults={transport:L.ajax,params:{type:"GET",cache:!1,dataType:"json"}},window.Select2={query:{ajax:Y,local:T,tags:D},util:{debounce:f,markMatch:v,escapeMarkup:k,stripDiacritics:u},class:{abstract:e,single:t,multi:n}}}function l(e){var t=L(document.createTextNode(""));e.before(t),t.before(e),t.remove()}
1function u(e){return e.replace(/[^\u0000-\u007E]/g,function(e){return s[e]||e})}function c(e,t){for(var n=0,i=t.length;n<i;n+=1)if(p(e,t[n]))return n;return-1}function p(e,t){return e===t||e!==M&&t!==M&&(null!==e&&null!==t&&(e.constructor===String?e+""==t+"":t.constructor===String&&t+""==e+""))}function h(e,t,n){var i,a,r;if(null===e||e.length<1)return[];for(a=0,r=(i=e.split(t)).length;a<r;a+=1)i[a]=n(i[a]);return i}function m(e){return e.outerWidth(!1)-e.width()}function _(t){var n="keyup-change-value";t.on("keydown",function(){L.data(t,n)===M&&L.data(t,n,t.val())}),t.on("keyup",function(){var e=L.data(t,n);e!==M&&t.val()!==e&&(L.removeData(t,n),t.trigger("keyup-change"))})}function f(t,n,i){var a;return i=i||M,function(){var e=arguments;window.clearTimeout(a),a=window.setTimeout(function(){n.apply(i,e)},t)}}function g(e){e.preventDefault(),e.stopPropagation()}function y(e,t,n){var i,a,r=[];(i=L.trim(e.attr("class")))&&L((i=""+i).split(/\s+/)).each2(function(){0===this.indexOf("select2-")&&r.push(this)}),(i=L.trim(t.attr("class")))&&L((i=""+i).split(/\s+/)).each2(function(){0!==this.indexOf("select2-")&&(a=n(this))&&r.push(a)}),e.attr("class",r.join(" "))}function v(e,t,n,i){var a=u(e.toUpperCase()).indexOf(u(t.toUpperCase())),r=t.length;a<0?n.push(i(e)):(n.push(i(e.substring(0,a))),n.push("<span class='select2-match'>"),n.push(i(e.substring(a,a+r))),n.push("</span>"),n.push(i(e.substring(a+r,e.length))))}function k(e){var t={"\\":"&#92;","&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#47;"};return String(e).replace(/[&<>"'\/\\]/g,function(e){return t[e]})}function Y(s){var e,o=null,t=s.quietMillis||100,l=s.url,d=this;return function(r){window.clearTimeout(e),e=window.setTimeout(function(){var e=s.data,t=l,n=s.transport||L.fn.select2.ajaxDefaults.transport,i={type:s.type||"GET",cache:s.cache||!1,jsonpCallback:s.jsonpCallback||M,dataType:s.dataType||"json"},a=L.extend({},L.fn.select2.ajaxDefaults.params,i);e=e?e.call(d,r.term,r.page,r.context):null,t="function"==typeof t?t.call(d,r.term,r.page,r.context):t,o&&"function"==typeof o.abort&&o.abort(),s.params&&(L.isFunction(s.params)?L.extend(a,s.params.call(d)):L.extend(a,s.params)),L.extend(a,{url:t,dataType:s.dataType,data:e,success:function(e){var t=s.results(e,r.page,r);r.callback(t)},error:function(e,t,n){var i={hasError:!0,jqXHR:e,textStatus:t,errorThrown:n};r.callback(i)}}),o=n.call(d,a)},t)}}function T(e){var t,n,i=e,o=function(e){return""+e.text};L.isArray(i)&&(i={results:n=i}),!1===L.isFunction(i)&&(n=i,i=function(){return n});var a=i();return a.text&&(o=a.text,L.isFunction(o)||(t=a.text,o=function(e){return e[t]})),function(a){var r,s=a.term,n={results:[]};""!==s?(r=function(e,t){var n,i;if((e=e[0]).children){for(i in n={},e)e.hasOwnProperty(i)&&(n[i]=e[i]);n.children=[],L(e.children).each2(function(e,t){r(t,n.children)}),(n.children.length||a.matcher(s,o(n),e))&&t.push(n)}else a.matcher(s,o(e),e)&&t.push(e)},L(i().results).each2(function(e,t){r(t,n.results)}),a.callback(n)):a.callback(i())}}function D(t){var r=L.isFunction(t);return function(n){var i=n.term,a={results:[]},e=r?t(n):t;L.isArray(e)&&(L(e).each(function(){var e=this.text!==M,t=e?this.text:this;(""===i||n.matcher(i,t))&&a.results.push(e?this:{id:this,text:this})}),n.callback(a))}}function S(e,t){if(L.isFunction(e))return!0;if(!e)return!1;if("string"==typeof e)return!0;throw new Error(t+" must be a string, function, or falsy value")}function x(e,t){if(L.isFunction(e)){var n=Array.prototype.slice.call(arguments,2);return e.apply(t,n)}return e}function j(){var n=this;L.each(arguments,function(e,t){n[t].remove(),n[t]=null})}function H(e,t){var n=function(){};return((n.prototype=new e).constructor=n).prototype.parent=e.prototype,n.prototype=L.extend(n.prototype,t),n}}(jQuery)}.apply(e,arguments)})}(this),function(e){define("jquery.event.drag",["jquery"],function(){return function(){!function(h){h.fn.drag=function(e,t,n){var i="string"==typeof e?e:"",a=h.isFunction(e)?e:h.isFunction(t)?t:null;return 0!==i.indexOf("drag")&&(i="drag"+i),n=(e==a?t:n)||{},a?this.bind(i,n,a):this.trigger(i)};var p=h.event,i=p.special,m=i.drag={defaults:{which:1,distance:0,not:":input",handle:null,relative:!1,drop:!0,click:!1},datakey:"dragdata",noBubble:!0,add:function(e){var n=h.data(this,m.datakey),i=e.data||{};n.related+=1,h.each(m.defaults,function(e,t){void 0!==i[e]&&(n[e]=i[e])})},remove:function(){h.data(this,m.datakey).related-=1},setup:function(){if(!h.data(this,m.datakey)){var e=h.extend({related:0},m.defaults);h.data(this,m.datakey,e),p.add(this,"touchstart mousedown",m.init,e),this.attachEvent&&this.attachEvent("ondragstart",m.dontstart)}},teardown:function(){(h.data(this,m.datakey)||{}).related||(h.removeData(this,m.datakey),p.remove(this,"touchstart mousedown",m.init),m.textselect(!0),this.detachEvent&&this.detachEvent("ondragstart",m.dontstart))},init:function(e){if(!m.touched){var t,n=e.data;if(!(0!=e.which&&0<n.which&&e.which!=n.which)&&!h(e.target).is(n.not)&&(!n.handle||h(e.target).closest(n.handle,e.currentTarget).length)&&(m.touched="touchstart"==e.type?this:null,n.propagates=1,n.mousedown=this,n.interactions=[m.interaction(this,n)],n.target=e.target,n.pageX=e.pageX,n.pageY=e.pageY,n.dragging=null,t=m.hijack(e,"draginit",n),n.propagates))return(t=m.flatten(t))&&t.length&&(n.interactions=[],h.each(t,function(){n.interactions.push(m.interaction(this,n))})),n.propagates=n.interactions.length,!1!==n.drop&&i.drop&&i.drop.handler(e,n),m.textselect(!1),m.touched?p.add(m.touched,"touchmove touchend",m.handler,n):p.add(document,"mousemove mouseup",m.handler,n),!(!m.touched||n.live)&&void 0}},interaction:function(e,t){var n=h(e)[t.relative?"position":"offset"]()||{top:0,left:0};return{drag:e,callback:new m.callback,droppable:[],offset:n}},handler:function(e){var t=e.data;switch(e.type){case!t.dragging&&"touchmove":e.preventDefault();case!t.dragging&&"mousemove":if(Math.pow(e.pageX-t.pageX,2)+Math.pow(e.pageY-t.pageY,2)<Math.pow(t.distance,2))break;e.target=t.target,m.hijack(e,"dragstart",t),t.propagates&&(t.dragging=!0);case"touchmove":e.preventDefault();case"mousemove":if(t.dragging){if(m.hijack(e,"drag",t),t.propagates){!1!==t.drop&&i.drop&&i.drop.handler(e,t);break}e.type="mouseup"}case"touchend":case"mouseup":default:m.touched?p.remove(m.touched,"touchmove touchend",m.handler):p.remove(document,"mousemove mouseup",m.handler),t.dragging&&(!1!==t.drop&&i.drop&&i.drop.handler(e,t),m.hijack(e,"dragend",t)),m.textselect(!0),!1===t.click&&t.dragging&&h.data(t.mousedown,"suppress.click",(new Date).getTime()+5),t.dragging=m.touched=!1}},hijack:function(n,i,a,e,t){if(a){var r,s,o,l={event:n.originalEvent,type:n.type},d=i.indexOf("drop")?"drag":"drop",u=e||0,c=isNaN(e)?a.interactions.length:e;n.type=i,n.originalEvent=null,a.results=[];
1do{if(s=a.interactions[u]){if("dragend"!==i&&s.cancelled)continue;o=m.properties(n,a,s),s.results=[],h(t||s[d]||a.droppable).each(function(e,t){if(o.target=t,!(n.isPropagationStopped=function(){return!1})===(r=t?p.dispatch.call(t,n,o):null)?("drag"==d&&(s.cancelled=!0,a.propagates-=1),"drop"==i&&(s[d][e]=null)):"dropinit"==i&&s.droppable.push(m.element(r)||t),"dragstart"==i&&(s.proxy=h(m.element(r)||s.drag)[0]),s.results.push(r),delete n.result,"dropinit"!==i)return r}),a.results[u]=m.flatten(s.results),"dropinit"==i&&(s.droppable=m.flatten(s.droppable)),"dragstart"!=i||s.cancelled||o.update()}}while(++u<c);return n.type=l.type,n.originalEvent=l.event,m.flatten(a.results)}},properties:function(e,t,n){var i=n.callback;return i.drag=n.drag,i.proxy=n.proxy||n.drag,i.startX=t.pageX,i.startY=t.pageY,i.deltaX=e.pageX-t.pageX,i.deltaY=e.pageY-t.pageY,i.originalX=n.offset.left,i.originalY=n.offset.top,i.offsetX=i.originalX+i.deltaX,i.offsetY=i.originalY+i.deltaY,i.drop=m.flatten((n.drop||[]).slice()),i.available=m.flatten((n.droppable||[]).slice()),i},element:function(e){if(e&&(e.jquery||1==e.nodeType))return e},flatten:function(e){return h.map(e,function(e){return e&&e.jquery?h.makeArray(e):e&&e.length?m.flatten(e):e})},textselect:function(e){h(document)[e?"unbind":"bind"]("selectstart",m.dontstart).css("MozUserSelect",e?"":"none"),document.unselectable=e?"off":"on"},dontstart:function(){return!1},callback:function(){}};m.callback.prototype={update:function(){i.drop&&this.available.length&&h.each(this.available,function(e){i.drop.locate(this,e)})}};var t=p.dispatch;p.dispatch=function(e){if(!(0<h.data(this,"suppress."+e.type)-(new Date).getTime()))return t.apply(this,arguments);h.removeData(this,"suppress."+e.type)};var a=p.fixHooks.touchstart=p.fixHooks.touchmove=p.fixHooks.touchend=p.fixHooks.touchcancel={props:"clientX clientY pageX pageY screenX screenY".split(" "),filter:function(n,e){if(e){var i=e.touches&&e.touches[0]||e.changedTouches&&e.changedTouches[0]||null;i&&h.each(a.props,function(e,t){n[t]=i[t]})}return n}}}(jQuery)}.apply(e,arguments)})}(this),function(e){define("jquery.event.drop",["jquery"],function(){return function(){return function(p){p.fn.drop=function(e,t,n){var i="string"==typeof e?e:"",a=p.isFunction(e)?e:p.isFunction(t)?t:null;return 0!==i.indexOf("drop")&&(i="drop"+i),n=(e==a?t:n)||{},a?this.bind(i,n,a):this.trigger(i)},p.drop=function(e){e=e||{},_.multi=!0===e.multi?1/0:!1===e.multi?1:isNaN(e.multi)?_.multi:e.multi,_.delay=e.delay||_.delay,_.tolerance=p.isFunction(e.tolerance)?e.tolerance:null===e.tolerance?null:_.tolerance,_.mode=e.mode||_.mode||"intersect"};var m=p.event.special,_=p.event.special.drop={multi:1,delay:20,mode:"overlap",targets:[],datakey:"dropdata",noBubble:!0,add:function(e){p.data(this,_.datakey).related+=1},remove:function(){p.data(this,_.datakey).related-=1},setup:function(){if(!p.data(this,_.datakey)){p.data(this,_.datakey,{related:0,active:[],anyactive:0,winner:0,location:{}}),_.targets.push(this)}},teardown:function(){if(!(p.data(this,_.datakey)||{}).related){p.removeData(this,_.datakey);var t=this;_.targets=p.grep(_.targets,function(e){return e!==t})}},handler:function(e,t){var n;if(t)switch(e.type){case"mousedown":case"touchstart":n=p(_.targets),"string"==typeof t.drop&&(n=n.filter(t.drop)),n.each(function(){var e=p.data(this,_.datakey);e.active=[],e.anyactive=0,e.winner=0}),t.droppable=n,m.drag.hijack(e,"dropinit",t);break;case"mousemove":case"touchmove":_.event=e,_.timer||_.tolerate(t);break;case"mouseup":case"touchend":_.timer=clearTimeout(_.timer),t.propagates&&(m.drag.hijack(e,"drop",t),m.drag.hijack(e,"dropend",t))}},locate:function(e,t){var n=p.data(e,_.datakey),i=p(e),a=i.offset()||{},r=i.outerHeight(),s=i.outerWidth(),o={elem:e,width:s,height:r,top:a.top,left:a.left,right:a.left+s,bottom:a.top+r};return n&&(n.location=o,n.index=t,n.elem=e),o},contains:function(e,t){return(t[0]||t.left)>=e.left&&(t[0]||t.right)<=e.right&&(t[1]||t.top)>=e.top&&(t[1]||t.bottom)<=e.bottom},modes:{intersect:function(e,t,n){return this.contains(n,[e.pageX,e.pageY])?1e9:this.modes.overlap.apply(this,arguments)},overlap:function(e,t,n){return Math.max(0,Math.min(n.bottom,t.bottom)-Math.max(n.top,t.top))*Math.max(0,Math.min(n.right,t.right)-Math.max(n.left,t.left))},fit:function(e,t,n){return this.contains(n,t)?1:0},middle:function(e,t,n){return this.contains(n,[t.left+.5*t.width,t.top+.5*t.height])?1:0}},sort:function(e,t){return t.winner-e.winner||e.index-t.index},tolerate:function(e){var t,n,i,a,r,s,o,l,d=0,u=e.interactions.length,c=[_.event.pageX,_.event.pageY],h=_.tolerance||_.modes[_.mode];
1do{if(l=e.interactions[d]){if(!l)return;l.drop=[],r=[],s=l.droppable.length,h&&(i=_.locate(l.proxy)),t=0;do{if(o=l.droppable[t]){if(!(n=(a=p.data(o,_.datakey)).location))continue;a.winner=h?h.call(_,_.event,i,n):_.contains(n,c)?1:0,r.push(a)}}while(++t<s);for(r.sort(_.sort),t=0;(a=r[t])&&(a.winner&&l.drop.length<_.multi?(a.active[d]||a.anyactive||(!1!==m.drag.hijack(_.event,"dropstart",e,d,a.elem)[0]?(a.active[d]=1,a.anyactive+=1):a.winner=0),a.winner&&l.drop.push(a.elem)):a.active[d]&&1==a.anyactive&&(m.drag.hijack(_.event,"dropend",e,d,a.elem),a.active[d]=0,a.anyactive-=1)),++t<s;);}}while(++d<u);_.last&&c[0]==_.last.pageX&&c[1]==_.last.pageY?delete _.timer:_.timer=setTimeout(function(){_.tolerate(e)},_.delay),_.last=_.event}};m.dropinit=m.dropstart=m.dropend=_}(jQuery),$.drop}.apply(e,arguments)})}(this),define("mockup-patterns-select2",["jquery","pat-base","mockup-utils","select2","jquery.event.drag","jquery.event.drop"],function(o,e,l){"use strict";return e.extend({name:"select2",trigger:".pat-select2",parser:"mockup",defaults:{separator:","},initializeValues:function(){var r=this;r.options.initialValues&&(r.options.id=function(e){return e.id},r.options.initSelection=function(e,t){var n=[],i=e.val(),a=r.options.initialValues;"string"==typeof r.options.initialValues&&""!==r.options.initialValues&&("{"===r.options.initialValues[0]?a=JSON.parse(r.options.initialValues):(a={},o(r.options.initialValues.split(r.options.separator)).each(function(){var e=this.split(":"),t=o.trim(e[0]),n=o.trim(e[1]);a[t]=n}))),o(i.split(r.options.separator)).each(function(){var e=this;a[this]&&(e=a[this]),n.push({id:l.removeHTML(this),text:l.removeHTML(e)})}),t(n)})},initializeTags:function(){var e=this;e.options.tags&&"string"==typeof e.options.tags&&("["===e.options.tags.substr(0,1)?e.options.tags=JSON.parse(e.options.tags):e.options.tags=e.options.tags.split(e.options.separator)),e.options.tags&&!e.options.allowNewItems&&(e.options.data=o.map(e.options.tags,function(e,t){return{id:e,text:e}}),e.options.multiple=!0,delete e.options.tags)},initializeOrdering:function(){var n=this;if(n.options.orderable){var i=function(e,t){return e?e.text:void 0};n.options.formatSelection&&(i=n.options.formatSelection),n.options.formatSelection=function(e,t){return t.parents("li").drag("start",function(e,t){return o(this).addClass("select2-choice-dragging"),n.$el.select2("onSortStart"),o.drop({tolerance:function(e,t,n){var i=e.pageY>n.top+n.height/2;return o.data(n.elem,"drop+reorder",i?"insertAfter":"insertBefore"),this.contains(n,[e.pageX,e.pageY])}}),o(this).clone().addClass("dragging").css({opacity:.75,position:"absolute"}).appendTo(document.body)}).drag(function(e,t){o(t.proxy).css({top:t.offsetY,left:t.offsetX});var n=t.drop[0],i=o.data(n||{},"drop+reorder");!n||n==t.current&&i==t.method||(o(this)[i](n),t.current=n,t.method=i,t.update())}).drag("end",function(e,t){o(this).removeClass("select2-choice-dragging"),n.$el.select2("onSortEnd"),o(t.proxy).remove()}).drop("init",function(e,t){return this!=t.drag}),i(e,t)}}},initializeSelect2:function(){var e=this;e.options.formatResultCssClass=function(e){if(e.id)return"select2-option-"+e.id.toLowerCase().replace(/[ \:\)\(\[\]\{\}\_\+\=\&\*\%\#]/g,"-")},e.$el.select2(e.options),e.$select2=e.$el.parent().find(".select2-container"),e.$el.parent().off("close.plone-modal.patterns"),e.options.orderable&&e.$select2.addClass("select2-orderable")},init:function(){var r=this;if(r.options.allowNewItems=!r.options.hasOwnProperty("allowNewItems")||JSON.parse(r.options.allowNewItems),r.options.ajax||r.options.vocabularyUrl){r.options.vocabularyUrl&&(r.options.multiple=void 0===r.options.multiple||r.options.multiple,r.options.ajax=r.options.ajax||{},r.options.ajax.url=r.options.vocabularyUrl,r.options.initSelection=function(e,t){var n=[],i=e.val();o(i.split(r.options.separator)).each(function(){var e=l.removeHTML(this);n.push({id:e,text:e})}),t(n)});var s="";r.options.ajax=o.extend({quietMillis:300,data:function(e,t){return{query:s=e,page_limit:10,page:t}},results:function(e,t){var n=e.results;if(r.options.vocabularyUrl){var i=[];o.each(e.results,function(e,t){i.push(t.id)}),n=[];var a=""===s||0<=o.inArray(s,i);
1r.options.allowNewItems&&!a&&(s=l.removeHTML(s),n.push({id:s,text:s})),o.each(e.results,function(e,t){n.push(t)})}return{results:n}}},r.options.ajax)}else if(r.options.multiple&&r.$el.is("select")){var e=r.$el.val()||[],t=o.map(r.$el.find("option"),function(e){return{text:o(e).html(),id:e.value}}),n=o('<input type="hidden" />');n.val(e.join(r.options.separator)),n.attr("class",r.$el.attr("class")),n.attr("name",r.$el.attr("name")),n.attr("id",r.$el.attr("id")),r.$orig=r.$el,r.$el.replaceWith(n),r.$el=n,r.options.data=t}r.initializeValues(),r.initializeTags(),r.initializeOrdering(),r.initializeSelect2()}})}),define("mockup-i18n",["jquery"],function(a){"use strict";return function(){var o=this;o.baseUrl=a("body").attr("data-i18ncatalogurl"),o.baseUrl||(o.baseUrl="/plonejsi18n"),o.currentLanguage=a("html").attr("lang")||"en",1<o.currentLanguage.split("-").length&&(o.currentLanguage=o.currentLanguage.split("-")[0]+"_"+o.currentLanguage.split("-")[1].toUpperCase()),o.storage=null,o.catalogs={},o.ttl=864e5,Date.now||(Date.now=function(){return(new Date).valueOf()});try{"localStorage"in window&&null!==window.localStorage&&"JSON"in window&&null!==window.JSON&&(o.storage=window.localStorage)}catch(e){}o.configure=function(e){for(var t in e)o[t]=e[t]},o._setCatalog=function(e,t,n){e in o.catalogs||(o.catalogs[e]={}),o.catalogs[e][t]=n},o._storeCatalog=function(e,t,n){var i=e+"-"+t;null!==o.storage&&null!==n&&(o.storage.setItem(i,JSON.stringify(n)),o.storage.setItem(i+"-updated",Date.now()))},o.getUrl=function(e,t){return o.baseUrl+"?domain="+e+"&language="+t},o.loadCatalog=function(t,n){if(void 0===n&&(n=o.currentLanguage),null!==o.storage){var e=t+"-"+n;if(e in o.storage&&Date.now()-parseInt(o.storage.getItem(e+"-updated"),10)<o.ttl){var i=JSON.parse(o.storage.getItem(e));return void o._setCatalog(t,n,i)}}a.getJSON(o.getUrl(t,n),function(e){null!==e&&(o._setCatalog(t,n,e),o._storeCatalog(t,n,e))})},o.MessageFactory=function(r,s){return s=s||o.currentLanguage,function(e,t){var n,i,a;if(n=r in o.catalogs&&s in o.catalogs[r]&&e in o.catalogs[r][s]?o.catalogs[r][s][e]:e,t)for(a in t)t.hasOwnProperty(a)&&(i=new RegExp("\\$\\{"+a+"\\}","g"),n=n.replace(i,t[a]));return n}}}}),define("translate",["mockup-i18n"],function(i){"use strict";var a=null;return function(e,t){if(null===a){var n=new i;n.loadCatalog("widgets"),a=n.MessageFactory("widgets")}return a(e,t)}}),function(e){"function"==typeof define&&define.amd?define("picker",["jquery"],e):"object"==typeof exports?module.exports=e(require("jquery")):this.Picker=e(jQuery)}(function(_){var i=_(window),f=_(document),g=_(document.documentElement),y=null!=document.documentElement.style.transition;function v(i,e,t,n){if(!i)return v;var a=!1,o={id:i.id||"P"+Math.abs(~~(Math.random()*new Date))},l=t?_.extend(!0,{},t.defaults,n):n||{},r=_.extend({},v.klasses(),l.klass),d=_(i),s=function(){return this.start()},u=s.prototype={constructor:s,$node:d,start:function(){return o&&o.start?u:(o.methods={},o.start=!0,o.open=!1,o.type=i.type,i.autofocus=i==w(),i.readOnly=!l.editable,i.id=i.id||o.id,"text"!=i.type&&(i.type="text"),u.component=new t(u,l),u.$root=_('<div class="'+r.picker+'" id="'+i.id+'_root" />'),L(u.$root[0],"hidden",!0),u.$holder=_(c()).appendTo(u.$root),h(),l.formatSubmit&&function(){var e;!0===l.hiddenName?(e=i.name,i.name=""):e=(e=["string"==typeof l.hiddenPrefix?l.hiddenPrefix:"","string"==typeof l.hiddenSuffix?l.hiddenSuffix:"_submit"])[0]+i.name+e[1];u._hidden=_('<input type=hidden name="'+e+'"'+(d.data("value")||i.value?' value="'+u.get("select",l.formatSubmit)+'"':"")+">")[0],d.on("change."+o.id,function(){u._hidden.value=i.value?u.get("select",l.formatSubmit):""})}(),function(){d.data(e,u).addClass(r.input).val(d.data("value")?u.get("select",l.format):i.value),l.editable||d.on("focus."+o.id+" click."+o.id,function(e){e.preventDefault(),u.open()}).on("keydown."+o.id,m);L(i,{haspopup:!0,expanded:!1,readonly:!1,owns:i.id+"_root"})}(),l.containerHidden?_(l.containerHidden).append(u._hidden):d.after(u._hidden),l.container?_(l.container).append(u.$root):d.after(u.$root),u.on({start:u.component.onStart,render:u.component.onRender,stop:u.component.onStop,open:u.component.onOpen,close:u.component.onClose,set:u.component.onSet}).on({start:l.onStart,render:l.onRender,stop:l.onStop,open:l.onOpen,close:l.onClose,set:l.onSet}),a=function(e){var t,n="position";e.currentStyle?t=e.currentStyle[n]:window.getComputedStyle&&(t=getComputedStyle(e)[n]);return"fixed"==t}(u.$holder[0]),i.autofocus&&u.open(),u.trigger("start").trigger("render"))},render:function(e){return e?(u.$holder=_(c()),h(),u.$root.html(u.$holder)):u.$root.find("."+r.box).html(u.component.nodes(o.open)),u.trigger("render")},stop:function(){return o.start&&(u.close(),u._hidden&&u._hidden.parentNode.removeChild(u._hidden),u.$root.remove(),d.removeClass(r.input).removeData(e),setTimeout(function(){d.off("."+o.id)},0),i.type=o.type,i.readOnly=!1,u.trigger("stop"),o.methods={},o.start=!1),u},open:function(e){return o.open?u:(d.addClass(r.active),L(i,"expanded",!0),setTimeout(function(){u.$root.addClass(r.opened),L(u.$root[0],"hidden",!1)},0),!1!==e&&(o.open=!0,a&&g.css("overflow","hidden").css("padding-right","+="+M()),a&&y?u.$holder.find("."+r.frame).one("transitionend",function(){u.$holder[0].focus()}):u.$holder[0].focus(),f.on("click."+o.id+" focusin."+o.id,function(e){var t=e.target;t!=i&&t!=document&&3!=e.which&&u.close(t===u.$holder[0])}).on("keydown."+o.id,function(e){var t=e.keyCode,n=u.component.key[t],i=e.target;
127==t?u.close(!0):i!=u.$holder[0]||!n&&13!=t?_.contains(u.$root[0],i)&&13==t&&(e.preventDefault(),i.click()):(e.preventDefault(),n?v._.trigger(u.component.key.go,u,[v._.trigger(n)]):u.$root.find("."+r.highlighted).hasClass(r.disabled)||(u.set("select",u.component.item.highlight),l.closeOnSelect&&u.close(!0)))})),u.trigger("open"))},close:function(e){return e&&(l.editable?i.focus():(u.$holder.off("focus.toOpen").focus(),setTimeout(function(){u.$holder.on("focus.toOpen",p)},0))),d.removeClass(r.active),L(i,"expanded",!1),setTimeout(function(){u.$root.removeClass(r.opened+" "+r.focused),L(u.$root[0],"hidden",!0)},0),o.open?(o.open=!1,a&&g.css("overflow","").css("padding-right","-="+M()),f.off("."+o.id),u.trigger("close")):u},clear:function(e){return u.set("clear",null,e)},set:function(e,t,n){var i,a,r=_.isPlainObject(e),s=r?e:{};if(n=r&&_.isPlainObject(t)?t:n||{},e){for(i in r||(s[e]=t),s)a=s[i],i in u.component.item&&(void 0===a&&(a=null),u.component.set(i,a,n)),"select"!=i&&"clear"!=i||d.val("clear"==i?"":u.get(i,l.format)).trigger("change");u.render()}return n.muted?u:u.trigger("set",s)},get:function(e,t){if(null!=o[e=e||"value"])return o[e];if("valueSubmit"==e){if(u._hidden)return u._hidden.value;e="value"}if("value"==e)return i.value;if(e in u.component.item){if("string"!=typeof t)return u.component.get(e);var n=u.component.get(e);return n?v._.trigger(u.component.formats.toString,u.component,[t,n]):""}},on:function(e,t,n){var i,a,r=_.isPlainObject(e),s=r?e:{};if(e)for(i in r||(s[e]=t),s)a=s[i],n&&(i="_"+i),o.methods[i]=o.methods[i]||[],o.methods[i].push(a);return u},off:function(){var e,t,n=arguments;for(e=0,namesCount=n.length;e<namesCount;e+=1)(t=n[e])in o.methods&&delete o.methods[t];return u},trigger:function(e,n){var t=function(e){var t=o.methods[e];t&&t.map(function(e){v._.trigger(e,u,[n])})};return t("_"+e),t(e),u}};function c(){return v._.node("div",v._.node("div",v._.node("div",v._.node("div",u.component.nodes(o.open),r.box),r.wrap),r.frame),r.holder,'tabindex="-1"')}function h(){u.$holder.on({keydown:m,"focus.toOpen":p,blur:function(){d.removeClass(r.target)},focusin:function(e){u.$root.removeClass(r.focused),e.stopPropagation()},"mousedown click":function(e){var t=e.target;t!=u.$holder[0]&&(e.stopPropagation(),"mousedown"!=e.type||_(t).is("input, select, textarea, button, option")||(e.preventDefault(),u.$holder[0].focus()))}}).on("click","[data-pick], [data-nav], [data-clear], [data-close]",function(){var e=_(this),t=e.data(),n=e.hasClass(r.navDisabled)||e.hasClass(r.disabled),i=w();i=i&&(i.type||i.href),(n||i&&!_.contains(u.$root[0],i))&&u.$holder[0].focus(),!n&&t.nav?u.set("highlight",u.component.item.highlight,{nav:t.nav}):!n&&"pick"in t?(u.set("select",t.pick),l.closeOnSelect&&u.close(!0)):t.clear?(u.clear(),l.closeOnClear&&u.close(!0)):t.close&&u.close(!0)})}function p(e){e.stopPropagation(),d.addClass(r.target),u.$root.addClass(r.focused),u.open()}function m(e){var t=e.keyCode,n=/^(8|46)$/.test(t);if(27==t)return u.close(!0),!1;(32==t||n||!o.open&&u.component.key[t])&&(e.preventDefault(),e.stopPropagation(),n?u.clear().close():u.open())}return new s}function M(){if(g.height()<=i.height())return 0;var e=_('<div style="visibility:hidden;width:100px" />').appendTo("body"),t=e[0].offsetWidth;e.css("overflow","scroll");var n=_('<div style="width:100%" />').appendTo(e)[0].offsetWidth;return e.remove(),t-n}function L(e,t,n){if(_.isPlainObject(t))for(var i in t)a(e,i,t[i]);else a(e,t,n)}function a(e,t,n){e.setAttribute(("role"==t?"":"aria-")+t,n)}function w(){try{return document.activeElement}catch(e){}}return v.klasses=function(e){return{picker:e=e||"picker",opened:e+"--opened",focused:e+"--focused",input:e+"__input",active:e+"__input--active",target:e+"__input--target",holder:e+"__holder",frame:e+"__frame",wrap:e+"__wrap",box:e+"__box"}},v._={group:function(e){for(var t,n="",i=v._.trigger(e.min,e);i<=v._.trigger(e.max,e,[i]);i+=e.i)t=v._.trigger(e.item,e,[i]),n+=v._.node(e.node,t[0],t[1],t[2]);return n},node:function(e,t,n,i){return t?"<"+e+(n=n?' class="'+n+'"':"")+(i=i?" "+i:"")+">"+(t=_.isArray(t)?t.join(""):t)+"</"+e+">":""},lead:function(e){return(e<10?"0":"")+e},trigger:function(e,t,n){return"function"==typeof e?e.apply(t,n||[]):e},digits:function(e){return/\d/.test(e[1])?2:1},isDate:function(e){return-1<{}.toString.call(e).indexOf("Date")&&this.isInteger(e.getDate())},isInteger:function(e){return-1<{}.toString.call(e).indexOf("Number")&&e%1==0},ariaAttr:function(e,t){_.isPlainObject(e)||(e={attribute:t});
1for(var n in t="",e){var i=("role"==n?"":"aria-")+n,a=e[n];t+=null==a?"":i+'="'+e[n]+'"'}return t}},v.extend=function(i,a){_.fn[i]=function(e,t){var n=this.data(i);return"picker"==e?n:n&&"string"==typeof e?v._.trigger(n[e],n,[t]):this.each(function(){_(this).data(i)||new v(this,i,a,e)})},_.fn[i].defaults=a.defaults},v}),function(e){"function"==typeof define&&define.amd?define("picker.date",["picker","jquery"],e):"object"==typeof exports?module.exports=e(require("./picker.js"),require("jquery")):e(Picker,jQuery)}(function(e,m){var t,g=e._;function n(t,n){var e,i=this,a=t.$node[0],r=a.value,s=t.$node.data("value"),o=s||r,l=s?n.formatSubmit:n.format,d=function(){return a.currentStyle?"rtl"==a.currentStyle.direction:"rtl"==getComputedStyle(t.$root[0]).direction};i.settings=n,i.$node=t.$node,i.queue={min:"measure create",max:"measure create",now:"now create",select:"parse create validate",highlight:"parse navigate create validate",view:"parse create validate viewset",disable:"deactivate",enable:"activate"},i.item={},i.item.clear=null,i.item.disable=(n.disable||[]).slice(0),i.item.enable=-(!0===(e=i.item.disable)[0]?e.shift():-1),i.set("min",n.min).set("max",n.max).set("now"),o?i.set("select",o,{format:l,defaultValue:!0}):i.set("select",null).set("highlight",i.item.now),i.key={40:7,38:-7,39:function(){return d()?-1:1},37:function(){return d()?1:-1},go:function(e){var t=i.item.highlight,n=new Date(t.year,t.month,t.date+e);i.set("highlight",n,{interval:e}),this.render()}},t.on("render",function(){t.$root.find("."+n.klass.selectMonth).on("change",function(){var e=this.value;e&&(t.set("highlight",[t.get("view").year,e,t.get("highlight").date]),t.$root.find("."+n.klass.selectMonth).trigger("focus"))}),t.$root.find("."+n.klass.selectYear).on("change",function(){var e=this.value;e&&(t.set("highlight",[e,t.get("view").month,t.get("highlight").date]),t.$root.find("."+n.klass.selectYear).trigger("focus"))})},1).on("open",function(){var e="";i.disabled(i.get("now"))&&(e=":not(."+n.klass.buttonToday+")"),t.$root.find("button"+e+", select").attr("disabled",!1)},1).on("close",function(){t.$root.find("button, select").attr("disabled",!0)},1)}n.prototype.set=function(t,n,i){var a=this,e=a.item;return null===n?("clear"==t&&(t="select"),e[t]=n):(e["enable"==t?"disable":"flip"==t?"enable":t]=a.queue[t].split(" ").map(function(e){return n=a[e](t,n,i)}).pop(),"select"==t?a.set("highlight",e.select,i):"highlight"==t?a.set("view",e.highlight,i):t.match(/^(flip|min|max|disable|enable)$/)&&(e.select&&a.disabled(e.select)&&a.set("select",e.select,i),e.highlight&&a.disabled(e.highlight)&&a.set("highlight",e.highlight,i))),a},n.prototype.get=function(e){return this.item[e]},n.prototype.create=function(e,t,n){var i;return(t=void 0===t?e:t)==-1/0||t==1/0?i=t:t=m.isPlainObject(t)&&g.isInteger(t.pick)?t.obj:m.isArray(t)?(t=new Date(t[0],t[1],t[2]),g.isDate(t)?t:this.create().obj):g.isInteger(t)||g.isDate(t)?this.normalize(new Date(t),n):this.now(e,t,n),{year:i||t.getFullYear(),month:i||t.getMonth(),date:i||t.getDate(),day:i||t.getDay(),obj:i||t,pick:i||t.getTime()}},n.prototype.createRange=function(e,t){var n=this,i=function(e){return!0===e||m.isArray(e)||g.isDate(e)?n.create(e):e};return g.isInteger(e)||(e=i(e)),g.isInteger(t)||(t=i(t)),g.isInteger(e)&&m.isPlainObject(t)?e=[t.year,t.month,t.date+e]:g.isInteger(t)&&m.isPlainObject(e)&&(t=[e.year,e.month,e.date+t]),{from:i(e),to:i(t)}},n.prototype.withinRange=function(e,t){return e=this.createRange(e.from,e.to),t.pick>=e.from.pick&&t.pick<=e.to.pick},n.prototype.overlapRanges=function(e,t){var n=this;return e=n.createRange(e.from,e.to),t=n.createRange(t.from,t.to),n.withinRange(e,t.from)||n.withinRange(e,t.to)||n.withinRange(t,e.from)||n.withinRange(t,e.to)},n.prototype.now=function(e,t,n){return t=new Date,n&&n.rel&&t.setDate(t.getDate()+n.rel),this.normalize(t,n)},n.prototype.navigate=function(e,t,n){var i,a,r,s,o=m.isArray(t),l=m.isPlainObject(t),d=this.item.view;if(o||l){for(s=l?(a=t.year,r=t.month,t.date):(a=+t[0],r=+t[1],+t[2]),n&&n.nav&&d&&d.month!==r&&(a=d.year,r=d.month),a=(i=new Date(a,r+(n&&n.nav?n.nav:0),1)).getFullYear(),r=i.getMonth();new Date(a,r,s).getMonth()!==r;)s-=1;t=[a,r,s]}return t},n.prototype.normalize=function(e){return e.setHours(0,0,0,0),e},n.prototype.measure=function(e,t){return t?"string"==typeof t?t=this.parse(e,t):g.isInteger(t)&&(t=this.now(e,t,{rel:t})):t="min"==e?-1/0:1/0,t},n.prototype.viewset=function(e,t){return this.create([t.year,t.month,1])},n.prototype.validate=function(e,n,t){var i,a,r,s,o=this,l=n,d=t&&t.interval?t.interval:1,u=-1===o.item.enable,c=o.item.min,h=o.item.max,p=u&&o.item.disable.filter(function(e){if(m.isArray(e)){var t=o.create(e).pick;t<n.pick?i=!0:t>n.pick&&(a=!0)}return g.isInteger(e)}).length;if((!t||!t.nav&&!t.defaultValue)&&(!u&&o.disabled(n)||u&&o.disabled(n)&&(p||i||a)||!u&&(n.pick<=c.pick||n.pick>=h.pick)))for(u&&!p&&(!a&&0<d||!i&&d<0)&&(d*=-1);o.disabled(n)&&(1<Math.abs(d)&&(n.month<l.month||n.month>l.month)&&(n=l,d=0<d?1:-1),n.pick<=c.pick?(r=!0,d=1,n=o.create([c.year,c.month,c.date+(n.pick===c.pick?0:-1)])):n.pick>=h.pick&&(s=!0,d=-1,n=o.create([h.year,h.month,h.date+(n.pick===
1h.pick?0:1)])),!r||!s);)n=o.create([n.year,n.month,n.date+d]);return n},n.prototype.disabled=function(t){var n=this,e=n.item.disable.filter(function(e){return g.isInteger(e)?t.day===(n.settings.firstDay?e:e-1)%7:m.isArray(e)||g.isDate(e)?t.pick===n.create(e).pick:m.isPlainObject(e)?n.withinRange(e,t):void 0});return e=e.length&&!e.filter(function(e){return m.isArray(e)&&"inverted"==e[3]||m.isPlainObject(e)&&e.inverted}).length,-1===n.item.enable?!e:e||t.pick<n.item.min.pick||t.pick>n.item.max.pick},n.prototype.parse=function(e,i,t){var a=this,r={};return i&&"string"==typeof i?(t&&t.format||((t=t||{}).format=a.settings.format),a.formats.toArray(t.format).map(function(e){var t=a.formats[e],n=t?g.trigger(t,a,[i,r]):e.replace(/^!/,"").length;t&&(r[e]=i.substr(0,n)),i=i.substr(n)}),[r.yyyy||r.yy,+(r.mm||r.m)-1,r.dd||r.d]):i},n.prototype.formats=function(){function i(e,t,n){var i=e.match(/[^\x00-\x7F]+|\w+/)[0];return n.mm||n.m||(n.m=t.indexOf(i)+1),i.length}function n(e){return e.match(/\w+/)[0].length}return{d:function(e,t){return e?g.digits(e):t.date},dd:function(e,t){return e?2:g.lead(t.date)},ddd:function(e,t){return e?n(e):this.settings.weekdaysShort[t.day]},dddd:function(e,t){return e?n(e):this.settings.weekdaysFull[t.day]},m:function(e,t){return e?g.digits(e):t.month+1},mm:function(e,t){return e?2:g.lead(t.month+1)},mmm:function(e,t){var n=this.settings.monthsShort;return e?i(e,n,t):n[t.month]},mmmm:function(e,t){var n=this.settings.monthsFull;return e?i(e,n,t):n[t.month]},yy:function(e,t){return e?2:(""+t.year).slice(2)},yyyy:function(e,t){return e?4:t.year},toArray:function(e){return e.split(/(d{1,4}|m{1,4}|y{4}|yy|!.)/g)},toString:function(e,t){var n=this;return n.formats.toArray(e).map(function(e){return g.trigger(n.formats[e],n,[0,t])||e.replace(/^!/,"")}).join("")}}}(),n.prototype.isDateExact=function(e,t){return g.isInteger(e)&&g.isInteger(t)||"boolean"==typeof e&&"boolean"==typeof t?e===t:(g.isDate(e)||m.isArray(e))&&(g.isDate(t)||m.isArray(t))?this.create(e).pick===this.create(t).pick:!(!m.isPlainObject(e)||!m.isPlainObject(t))&&(this.isDateExact(e.from,t.from)&&this.isDateExact(e.to,t.to))},n.prototype.isDateOverlap=function(e,t){var n=this.settings.firstDay?1:0;return g.isInteger(e)&&(g.isDate(t)||m.isArray(t))?(e=e%7+n)===this.create(t).day+1:g.isInteger(t)&&(g.isDate(e)||m.isArray(e))?(t=t%7+n)===this.create(e).day+1:!(!m.isPlainObject(e)||!m.isPlainObject(t))&&this.overlapRanges(e,t)},n.prototype.flipEnable=function(e){var t=this.item;t.enable=e||(-1==t.enable?1:-1)},n.prototype.deactivate=function(e,t){var i=this,a=i.item.disable.slice(0);return"flip"==t?i.flipEnable():!1===t?(i.flipEnable(1),a=[]):!0===t?(i.flipEnable(-1),a=[]):t.map(function(e){for(var t,n=0;n<a.length;n+=1)if(i.isDateExact(e,a[n])){t=!0;break}t||(g.isInteger(e)||g.isDate(e)||m.isArray(e)||m.isPlainObject(e)&&e.from&&e.to)&&a.push(e)}),a},n.prototype.activate=function(e,t){var r=this,s=r.item.disable,o=s.length;return"flip"==t?r.flipEnable():!0===t?(r.flipEnable(1),s=[]):!1===t?(r.flipEnable(-1),s=[]):t.map(function(e){var t,n,i,a;for(i=0;i<o;i+=1){if(n=s[i],r.isDateExact(n,e)){t=s[i]=null,a=!0;break}if(r.isDateOverlap(n,e)){m.isPlainObject(e)?(e.inverted=!0,t=e):m.isArray(e)?(t=e)[3]||t.push("inverted"):g.isDate(e)&&(t=[e.getFullYear(),e.getMonth(),e.getDate(),"inverted"]);break}}if(t)for(i=0;i<o;i+=1)if(r.isDateExact(s[i],e)){s[i]=null;break}if(a)for(i=0;i<o;i+=1)if(r.isDateOverlap(s[i],e)){s[i]=null;break}t&&s.push(t)}),s.filter(function(e){return null!=e})},n.prototype.nodes=function(l){var t,n,d=this,u=d.settings,e=d.item,s=e.now,o=e.select,c=e.highlight,h=e.view,p=e.disable,m=e.min,_=e.max,i=(t=(u.showWeekdaysFull?u.weekdaysFull:u.weekdaysShort).slice(0),n=u.weekdaysFull.slice(0),u.firstDay&&(t.push(t.shift()),n.push(n.shift())),g.node("thead",g.node("tr",g.group({min:0,max:6,i:1,node:"th",item:function(e){return[t[e],u.klass.weekdays,'scope=col title="'+n[e]+'"']}})))),a=function(e){return g.node("div"," ",u.klass["nav"+(e?"Next":"Prev")]+(e&&h.year>=_.year&&h.month>=_.month||!e&&h.year<=m.year&&h.month<=m.month?" "+u.klass.navDisabled:""),"data-nav="+(e||-1)+" "+g.ariaAttr({role:"button",controls:d.$node[0].id+"_table"})+' title="'+(e?u.labelMonthNext:u.labelMonthPrev)+'"')}
1,r=function(){var t=u.showMonthsShort?u.monthsShort:u.monthsFull;return u.selectMonths?g.node("select",g.group({min:0,max:11,i:1,node:"option",item:function(e){return[t[e],0,"value="+e+(h.month==e?" selected":"")+(h.year==m.year&&e<m.month||h.year==_.year&&e>_.month?" disabled":"")]}}),u.klass.selectMonth,(l?"":"disabled")+" "+g.ariaAttr({controls:d.$node[0].id+"_table"})+' title="'+u.labelMonthSelect+'"'):g.node("div",t[h.month],u.klass.month)},f=function(){var t=h.year,e=!0===u.selectYears?5:~~(u.selectYears/2);if(e){var n=m.year,i=_.year,a=t-e,r=t+e;if(a<n&&(r+=n-a,a=n),i<r){var s=a-n,o=r-i;a-=o<s?o:s,r=i}return g.node("select",g.group({min:a,max:r,i:1,node:"option",item:function(e){return[e,0,"value="+e+(t==e?" selected":"")]}}),u.klass.selectYear,(l?"":"disabled")+" "+g.ariaAttr({controls:d.$node[0].id+"_table"})+' title="'+u.labelYearSelect+'"')}return g.node("div",t,u.klass.year)};return g.node("div",(u.selectYears?f()+r():r()+f())+a()+a(1),u.klass.header)+g.node("table",i+g.node("tbody",g.group({min:0,max:5,i:1,node:"tr",item:function(e){var t=u.firstDay&&0===d.create([h.year,h.month,1]).day?-7:0;return[g.group({min:7*e-h.day+t+1,max:function(){return this.min+7-1},i:1,node:"td",item:function(e){e=d.create([h.year,h.month,e+(u.firstDay?1:0)]);var t,n=o&&o.pick==e.pick,i=c&&c.pick==e.pick,a=p&&d.disabled(e)||e.pick<m.pick||e.pick>_.pick,r=g.trigger(d.formats.toString,d,[u.format,e]);return[g.node("div",e.date,(t=[u.klass.day],t.push(h.month==e.month?u.klass.infocus:u.klass.outfocus),s.pick==e.pick&&t.push(u.klass.now),n&&t.push(u.klass.selected),i&&t.push(u.klass.highlighted),a&&t.push(u.klass.disabled),t.join(" ")),"data-pick="+e.pick+" "+g.ariaAttr({role:"gridcell",label:r,selected:!(!n||d.$node.val()!==r)||null,activedescendant:!!i||null,disabled:!!a||null})),"",g.ariaAttr({role:"presentation"})]}})]}})),u.klass.table,'id="'+d.$node[0].id+'_table" '+g.ariaAttr({role:"grid",controls:d.$node[0].id,readonly:!0}))+g.node("div",g.node("button",u.today,u.klass.buttonToday,"type=button data-pick="+s.pick+(l&&!d.disabled(s)?"":" disabled")+" "+g.ariaAttr({controls:d.$node[0].id}))+g.node("button",u.clear,u.klass.buttonClear,"type=button data-clear=1"+(l?"":" disabled")+" "+g.ariaAttr({controls:d.$node[0].id}))+g.node("button",u.close,u.klass.buttonClose,"type=button data-close=true "+(l?"":" disabled")+" "+g.ariaAttr({controls:d.$node[0].id})),u.klass.footer)},n.defaults={labelMonthNext:"Next month",labelMonthPrev:"Previous month",labelMonthSelect:"Select a month",labelYearSelect:"Select a year",monthsFull:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],weekdaysFull:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],weekdaysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],today:"Today",clear:"Clear",close:"Close",closeOnSelect:!0,closeOnClear:!0,format:"d mmmm, yyyy",klass:{table:(t=e.klasses().picker+"__")+"table",header:t+"header",navPrev:t+"nav--prev",navNext:t+"nav--next",navDisabled:t+"nav--disabled",month:t+"month",year:t+"year",selectMonth:t+"select--month",selectYear:t+"select--year",weekdays:t+"weekday",day:t+"day",disabled:t+"day--disabled",selected:t+"day--selected",highlighted:t+"day--highlighted",now:t+"day--today",infocus:t+"day--infocus",outfocus:t+"day--outfocus",footer:t+"footer",buttonClear:t+"button--clear",buttonToday:t+"button--today",buttonClose:t+"button--close"}},e.extend("pickadate",n)}),function(e){"function"==typeof define&&define.amd?define("picker.time",["picker","jquery"],e):"object"==typeof exports?module.exports=e(require("./picker.js"),require("jquery")):e(Picker,jQuery)}(function(e,l){var t,a=1440,p=e._;function n(a,r){var e,t=this,n=a.$node[0].value,i=a.$node.data("value"),s=i||n,o=i?r.formatSubmit:r.format;t.settings=r,t.$node=a.$node,t.queue={interval:"i",min:"measure create",max:"measure create",now:"now create",select:"parse create validate",highlight:"parse create validate",view:"parse create validate",disable:"deactivate",enable:"activate"},t.item={},t.item.clear=null,t.item.interval=r.interval||30,t.item.disable=(r.disable||[]).slice(0),t.item.enable=-(!0===(e=t.item.disable)[0]?e.shift():-1),t.set("min",r.min).set("max",r.max).set("now"),s?t.set("select",s,{format:o}):t.set("select",null).set("highlight",t.item.now),t.key={40:1,38:-1,39:1,37:-1,go:function(e){t.set("highlight",t.item.highlight.pick+e*t.item.interval,{interval:e*t.item.interval}),this.render()}},a.on("render",function(){var e=a.$root.children(),t=e.find("."+r.klass.viewset),i=function(t){return["webkit","moz","ms","o",""].map(function(e){return(e?"-"+e+"-":"")+t})},n=function(t,n){i("transform").map(function(e){t.css(e,n)}),i("transition").map(function(e){t.css(e,n)})};t.length&&(n(e,"none"),e[0].scrollTop=~~t.position().top-2*t[0].clientHeight,n(e,""))},1).on("open",function(){a.$root.find("button").attr("disabled",!1)},1).on("close",function(){a.$root.find("button").attr("disabled",!0)},1)}n.prototype.set=function(t,n,i){var a=this,e=a.item;return null===n?("clear"==t&&(t="select"),e[t]=n):(e["enable"==t?"disable":"flip"==t?"enable":t]=a.queue[t].split(" ").map(function(e){return n=a[e](t,n,i)}).pop(),"select"==t?a.set("highlight",e.select,i):"highlight"==t?a.set("view",e.highlight,i):"interval"==t?a.set("min",e.min,i).set("max",e.max,i):t.match(/^(flip|min|max|disable|enable)$/)&&(e.select&&a.disabled(e.select)&&a.set("select",n,i),e.highlight&&a.disabled(e.highlight)&&a.set("highlight",n,i),"min"==t&&a.set("max",e.max,i))),a},n.prototype.get=function(e){return this.item[e]},n.prototype.create=function(e,t,n){var i=this;return t=void 0===t?e:t,p.isDate(t)&&(t=[t.getHours(),t.getMinutes()]),l.isPlainObject(t)&&p.isInteger(t.pick)?t=t.pick:l.isArray(t)?t=60*+t[0]+ +t[1]:p.isInteger(t)||(t=i.now(e,t,n)),"max"==e&&t<i.item.min.pick&&(t+=a),"min"!=e&&"max"!=e&&(t-i.item.min.pick)%i.item.interval!=0&&(t+=i.item.interval),{hour:~~(24+(t=i.normalize(e,t,n))/60)%24,mins:(60+t%60)%60,time:(a+t)%a,pick:t%a}},n.prototype.createRange=function(e,t){var n=this,i=function(e){return!0===e||l.isArray(e)||p.isDate(e)?n.create(e):e};return p.isInteger(e)||(e=i(e)),p.isInteger(t)||(t=i(t)),p.isInteger(e)&&l.isPlainObject(t)?e=[t.hour,t.mins+e*n.settings.interval]:p.isInteger(t)&&l.isPlainObject(e)&&(t=[e.hour,e.mins+t*n.settings.interval]),{from:i(e),to:i(t)}},n.prototype.withinRange=function(e,t){return e=this.createRange(e.from,e.to),t.pick>=e.from.pick&&t.pick<=e.to.pick},n.prototype.overlapRanges=function(e,t){var n=this;return e=n.createRange(e.from,e.to),t=n.createRange(t.from,t.to),n.withinRange(e,t.from)||n.withinRange(e,t.to)||n.withinRange(t,e.from)||n.withinRange(t,e.to)},n.prototype.now=function(e,t){var n,i=this.item.interval,a=new Date,r=60*a.getHours()+a.getMinutes();return r-=r%i,n=t<0&&i*t+r<=-i,r+="min"==e&&n?0:i,p.isInteger(t)&&(r+=i*(n&&"max"!=e?t+1:t)),r},n.prototype.normalize=function(e,t){var n=this.item.interval,i=this.item.min&&this.item.min.pick||0;return t-="min"==e?0:(t-i)%n},n.prototype.measure=function(e,t,n){return t||(t="min"==e?[0,0]:[23,59]),"string"==typeof t?t=this.parse(e,t):!0===t||p.isInteger(t)?t=this.now(e,t,n):l.isPlainObject(t)&&p.isInteger(t.pick)&&(t=this.normalize(e,t.pick,n)),t},n.prototype.validate=function(e,t,n){var i=this,a=n&&n.interval?n.interval:i.item.interval;return i.disabled(t)&&(t=i.shift(t,a)),t=i.scope(t),i.disabled(t)&&(t=i.shift(t,-1*a)),t},n.prototype.disabled=function(t){var n=this,e=n.item.disable.filter(function(e){return p.isInteger(e)?t.hour==e:l.isArray(e)||p.isDate(e)?t.pick==n.create(e).pick:l.isPlainObject(e)?n.withinRange(e,t):void 0});return e=e.length&&!e.filter(function(e){return l.isArray(e)&&"inverted"==e[2]||l.isPlainObject(e)&&e.inverted}).length,-1===n.item.enable?!e:e||t.pick<n.item.min.pick||t.pick>n.item.max.pick},n.prototype.shift=function(e,t){var n=this,i=n.item.min.pick,a=n.item.max.pick;for(t=t||n.item.interval;n.disabled(e)&&!((e=n.create(e.pick+=t)).pick<=i||e.pick>=a););return e},n.prototype.scope=function(e){var t=this.item.min.pick,n=this.item.max.pick;return this.create(e.pick>n?n:e.pick<t?t:e)},n.prototype.parse=function(e,a,t){var n,i,r,s,o,l=this,d={};if(!a||"string"!=typeof a)return a;for(s in t&&t.format||((t=t||{}).format=l.settings.format),l.formats.toArray(t.format).map(function(e){var t,n=l.formats[e],i=n?p.trigger(n,l,[a,d]):e.replace(/^!/,"").length;n&&(t=a.substr(0,i),d[e]=t.match(/^\d+$/)?+t:t),a=a.substr(i)}),d)o=d[s],p.isInteger(o)?s.match(/^(h|hh)$/i)?(n=o,"h"!=s&&"hh"!=s||(n%=12)):"i"==s&&(i=o):s.match(/^a$/i)&&o.match(/^p/i)&&("h"in d||"hh"in d)&&(r=!0);return 60*(r?n+12:n)+i},n.prototype.formats={h:function(e,t){return e?p.digits(e):t.hour%12||12},hh:function(e,t){return e?2:p.lead(t.hour%12||12)},H:function(e,t){return e?p.digits(e):""+t.hour%24},HH:function(e,t){return e?p.digits(e):p.lead(t.hour%24)},i:function(e,t){return e?2:p.lead(t.mins)},a:function(e,t){return e?4:t.time%a<720?"a.m.":"p.m."},A:function(e,t){return e?2:t.time%a<720?"AM":"PM"},toArray:function(e){return e.split(/(h{1,2}|H{1,2}|i|a|A|!.)/g)},toString:function(e,t){var n=this;return n.formats.toArray(e).map(function(e){return p.trigger(n.formats[e],n,[0,t])||e.replace(/^!/,"")}).join("")}},n.prototype.isTimeExact=function(e,t){return p.isInteger(e)&&p.isInteger(t)||"boolean"==typeof e&&"boolean"==typeof t?e===t:(p.isDate(e)||l.isArray(e))&&(p.isDate(t)||l.isArray(t))?this.create(e).pick===this.create(t).pick:!(!l.isPlainObject(e)||!l.isPlainObject(t))&&(this.isTimeExact(e.from,t.from)&&this.isTimeExact(e.to,t.to))},n.prototype.isTimeOverlap=function(e,t){return p.isInteger(e)&&(p.isDate(t)||l.isArray(t))?e===this.create(t).hour:p.isInteger(t)&&(p.isDate(e)||l.isArray(e))?t===this.create(e).hour:!(!l.isPlainObject(e)||!l.isPlainObject(t))&&this.overlapRanges(e,t)},n.prototype.flipEnable=function(e){var t=this.item;t.enable=e||(-1==t.enable?1:-1)},n.prototype.deactivate=function(e,t){var i=this,a=i.item.disable.slice(0);return"flip"==t?i.flipEnable():!1===t?(i.flipEnable(1),a=[]):!0===t?(i.flipEnable(-1),a=[]):t.map(function(e){for(var t,n=0;n<a.length;n+=1)if(i.isTimeExact(e,a[n])){t=!0;break}t||(p.isInteger(e)||p.isDate(e)||l.isArray(e)||l.isPlainObject(e)&&e.from&&e.to)&&a.push(e)}),a},n.prototype.activate=function(e,t){var r=this,s=r.item.disable,o=s.length;return"flip"==t?r.flipEnable():!0===t?(r.flipEnable(1),s=[]):!1===t?(r.flipEnable(-1),s=[]):t.map(function(e){var t,n,i,a;for(i=0;i<o;i+=1){if(n=s[i],r.isTimeExact(n,e)){t=s[i]=null,a=!0;break}if(r.isTimeOverlap(n,e)){l.isPlainObject(e)?(e.inverted=!0,t=e):l.isArray(e)?(t=e)[2]||t.push("inverted"):p.isDate(e)&&(t=[e.getFullYear(),e.getMonth(),e.getDate(),"inverted"]);break}}if(t)for(i=0;i<o;i+=1)if(r.isTimeExact(s[i],e)){s[i]=null;break}if(a)for(i=0;i<o;i+=1)if(r.isTimeOverlap(s[i],e)){s[i]=null;break}t&&s.push(t)}),s.filter(function(e){return null!=e})},n.prototype.i=function(e,t){return p.isInteger(t)&&0<t?t:this.item.interval},n.prototype.nodes=function(e){var o=this,l=o.settings,d=o.item.select,u=o.item.highlight,c=o.item.view,h=o.item.disable;return p.node("ul",p.group({min:o.item.min.pick,max:o.item.max.pick,i:o.item.interval,node:"li",item:function(e){var t,n=(e=o.create(e)).pick,i=d&&d.pick==n,a=u&&u.pick==n,r=h&&o.disabled(e),s=p.trigger(o.formats.toString,o,[l.format,e]);return[p.trigger(o.formats.toString,o,[p.trigger(l.formatLabel,o,[e])||l.format,e]),(t=[l.klass.listItem],i&&t.push(l.klass.selected),a&&t.push(l.klass.highlighted),c&&c.pick==n&&t.push(l.klass.viewset),r&&t.push(l.klass.disabled),t.join(" ")),"data-pick="+e.pick+" "+p.ariaAttr({role:"option",label:s,selected:!(!i||o.$node.val()!==s)||null,activedescendant:!!a||null,disabled:!!r||null})]}})+p.node("li",p.node("button",l.clear,l.klass.buttonClear,"type=button data-clear=1"+(e?"":" disabled")+" "+p.ariaAttr({controls:o.$node[0].id})),"",p.ariaAttr({role:"presentation"})),l.klass.list,p.ariaAttr({role:"listbox",controls:o.$node[0].id}))},n.defaults={clear:"Clear",format:"h:i A",interval:30,closeOnSelect:!0,closeOnClear:!0,klass:{picker:(t=e.klasses().picker)+" "+t+"--time",holder:t+"__holder",list:t+"__list",listItem:t+"__list-item",disabled:t+"__list-item--disabled",selected:t+"__list-item--selected",highlighted:t+"__list-item--highlighted",viewset:t+"__list-item--viewset",now:t+"__list-item--now",buttonClear:t+"__button--clear"}},e.extend("pickatime",n)}),define("mockup-patterns-pickadate",["jquery","pat-base","mockup-utils","translate","picker","picker.date","picker.time","mockup-patterns-select2"],function(s,e,o,t){"use strict";return e.extend({name:"pickadate",trigger:".pat-pickadate",parser:"mockup",defaults:{separator:" ",date:{selectYears:!0,selectMonths:!0,formatSubmit:"yyyy-mm-dd",format:"yyyy-mm-dd",labelMonthNext:t("Next month"),labelMonthPrev:t("Previous month"),labelMonthSelect:t("Select a month"),labelYearSelect:t("Select a year"),clear:!1,close:!1,today:!1},time:{clear:!1},today:t("Today"),clear:t("Clear"),timezone:null,autoSetTimeOnDateChange:"+[0,0]",classWrapperName:"pattern-pickadate-wrapper",classSeparatorName:"pattern-pickadate-separator",classDateName:"pattern-pickadate-date",classDateWrapperName:"pattern-pickadate-date-wrapper",classTimeName:"pattern-pickadate-time",classTimeWrapperName:"pattern-pickadate-time-wrapper",classTimezoneName:"pattern-pickadate-timezone",classTimezoneWrapperName:"pattern-pickadate-timezone-wrapper",classClearName:"pattern-pickadate-clear",classNowName:"pattern-pickadate-now",placeholderDate:t("Enter date..."),placeholderTime:t("Enter time..."),placeholderTimezone:t("Enter timezone...")},parseTimeOffset:function(t){var e=void 0;0===t.indexOf("+")?(e="+",t=t.split("+")[1]):0===t.indexOf("-")&&(e="-",t=t.split("-")[1]);try{t=JSON.parse(t)}catch(e){t=void 0}if(!1===t)return!1;if(!0===t||!0!==Array.isArray(t))return[0,0];var n=parseInt(t[0],10)||0,i=parseInt(t[1],10)||0;if("+"===e||"-"===e){var a=new Date,r=a.getHours(),s=a.getMinutes();"+"===e?(23<(n=r+n)&&(n=23),59<(i=s+i)&&(i=59)):"-"===e&&((n=r-n)<0&&(n=0),(i=s-i)<0&&(i=0))}return[n,i]},init:function(){var n=this,e=n.$el.val().split(" "),t=e[0]||"",i=e[1]||"";if(!1===o.bool(n.options.date)&&(n.options.date=!1),!1===o.bool(n.options.time)&&(n.options.time=!1),n.options.autoSetTimeOnDateChange=n.parseTimeOffset(n.options.autoSetTimeOnDateChange),!1===n.options.date&&(i=e[0]),n.$el.hide(),n.$wrapper=s("<div/>").addClass(n.options.classWrapperName).insertAfter(n.$el),!1!==n.options.date&&(n.$date=s('<input type="text"/>').attr("placeholder",n.options.placeholderDate).attr("data-value",t).addClass(n.options.classDateName).appendTo(s("<div/>").addClass(n.options.classDateWrapperName).appendTo(n.$wrapper)).pickadate(s.extend(!0,{},n.options.date,{onSet:function(e){void 0!==e.select&&(n.$date.attr("data-value",e.select),!1!==n.options.autoSetTimeOnDateChange&&n.$time&&(n.$time.pickatime("picker").get("select")||n.$time.pickatime("picker").set("select",n.options.autoSetTimeOnDateChange)),!1!==n.options.time&&""===n.$time.attr("data-value")||n.updateV
1alue.call(n)),e.hasOwnProperty("clear")&&(n.$el.val(""),n.$date.attr("data-value",""))}}))),!1!==n.options.time&&(n.options.time.formatSubmit="HH:i",n.$time=s('<input type="text"/>').attr("placeholder",n.options.placeholderTime).attr("data-value",i).addClass(n.options.classTimeName).appendTo(s("<div/>").addClass(n.options.classTimeWrapperName).appendTo(n.$wrapper)).pickatime(s.extend(!0,{},n.options.time,{onSet:function(e){void 0!==e.select&&(n.$time.attr("data-value",e.select),!1!==n.options.date&&""===n.$date.attr("data-value")||n.updateValue.call(n)),e.hasOwnProperty("clear")&&(n.$el.val(""),n.$time.attr("data-value",""))}})),"string"==typeof i&&"00"===i.substring(0,2)&&(n.$time.pickatime("picker").set("select",i.split(":")),n.$time.attr("data-value",i))),!1!==n.options.date&&!1!==n.options.time&&n.options.timezone&&(n.$separator=s("<span/>").addClass(n.options.classSeparatorName).html(" "===n.options.separator?"&nbsp;":n.options.separator).appendTo(n.$wrapper)),null!==n.options.timezone){n.$timezone=s('<input type="text"/>').addClass(n.options.classTimezoneName).appendTo(s("<div/>").addClass(n.options.classTimezoneWrapperName).appendTo(n.$wrapper)).patternSelect2(s.extend(!0,{placeholder:n.options.placeholderTimezone,width:"10em"},n.options.timezone,{multiple:!1})).on("change",function(e){void 0!==e.val&&(n.$timezone.attr("data-value",e.val),!1!==n.options.date&&""===n.$date.attr("data-value")||!1!==n.options.time&&""===n.$time.attr("data-value")||n.updateValue.call(n))});var a,r=n.options.timezone.default;if(r)n.options.timezone.data.some(function(e){return a=e.text===n.options.timezone.default}),a&&(n.$timezone.attr("data-value",r),n.$timezone.parent().find(".select2-chosen").text(r));1===n.options.timezone.data.length&&(n.$timezone.attr("data-value",n.options.timezone.data[0].text),n.$timezone.parent().find(".select2-chosen").text(n.options.timezone.data[0].text),n.$timezone.select2("enable",!1))}o.bool(n.options.today)&&(n.$now=s('<button type="button" class="btn btn-xs btn-info" title="'+n.options.today+'"><span class="glyphicon glyphicon-time"></span></button>').addClass(n.options.classNowName).on("click",function(e){e.preventDefault();var t=new Date;n.$date&&n.$date.data("pickadate").set("select",t),n.$time&&n.$time.data("pickatime").set("select",t),n.emit("updated")}).appendTo(n.$wrapper)),o.bool(n.options.clear)&&(n.$clear=s('<button type="button" class="btn btn-xs btn-danger" title="'+n.options.clear+'"><span class="glyphicon glyphicon-trash"></span></button>').addClass(n.options.classClearName).on("click",function(e){e.preventDefault(),n.$date&&n.$date.data("pickadate").clear(),n.$time&&n.$time.data("pickatime").clear(),n.emit("updated")}).appendTo(n.$wrapper))},updateValue:function(){var e=this,t="";if(!1!==e.options.date){var n=e.$date.data("pickadate").component,i=e.$date.data("pickadate").get("select"),a=n.formats.toString;i&&(t+=a.apply(n,[e.options.date.formatSubmit,i]))}if(!1!==e.options.date&&!1!==e.options.time&&(t+=" "),!1!==e.options.time){var r=e.$time.data("pickatime").component,s=e.$time.data("pickatime").get("select"),o=r.formats.toString;s&&(t+=o.apply(r,["HH:i",s]))}if(null!==e.options.timezone){var l=" "+e.$timezone.attr("data-value");l&&(t+=l)}e.$el.val(t),e.emit("updated")}})}),define("mockup-patterns-autotoc",["jquery","pat-base"],function(s,e){"use strict";return e.extend({name:"autotoc",trigger:".pat-autotoc",parser:"mockup",defaults:{section:"section",levels:"h1,h2,h3",IDPrefix:"autotoc-item-",classTOCName:"autotoc-nav",classSectionName:"autotoc-section",classLevelPrefixName:"autotoc-level-",classActiveName:"active",scrollDuration:"slow",scrollEasing:"swing"},init:function(){var a=this;a.$toc=s("<nav/>").addClass(a.options.classTOCName),a.options.prependTo?a.$toc.prependTo(a.options.prependTo):a.options.appendTo?a.$toc.appendTo(a.options.appendTo):a.$toc.prependTo(a.$el),a.options.className&&a.$el.addClass(a.options.className),s(a.options.section,a.$el).addClass(a.options.classSectionName);var r=a.$el.hasClass("autotabs"),n=null;s(a.options.levels,a.$el).each(function(e){var i=s(this),t=i.prop("id")?i.prop("id"):i.parents(a.options.section).prop("id");(!t||0<s("#"+t).length)&&(t=a.options.IDPrefix+a.name+"-"+e),window.location.hash==="#"+t&&(n=t),i.data("navref",t),s("<a/>").appendTo(a.$toc).text(i.text()).attr("id",t).attr("href","#"+t).addClass(a.options.classLevelPrefixName+a.getLevel(i)).on("click",function(e,t){e.stopPropagation(),e.preventDefault(),t||(t={doScroll:!0,skipHash:!1});var n=s(this);a.$toc.children("."+a.options.classActiveName).removeClass(a.options.classActiveName),a.$el.children("."+a.options.classActiveName).removeClass(a.options.classActiveName),s(e.target).addClass(a.options.classActiveName),i.parents(a.options.section).addClass(a.options.classActiveName),!1!==t.doScroll&&a.options.scrollDuration&&i&&!r&&s("body,html").animate({scrollTop:i.offset().top},a.options.scrollDuration,a.options.scrollEasing),0!==a.$el.parents(".plone-modal").size()&&a.$el.trigger("resize.plone-modal.patterns"),s(this).trigger("clicked"),t.skipHash||window.history&&window.history.pushState&&window.history.pushState({},"","#"+n.attr("id"))})}),n?s("a#"+n).trigger("click",{doScroll:!0,skipHash:!0}):a.$toc.find("a").first().trigger("click",{doScroll:!1,skipHash:!0})},getLevel:function(n){var i=0;return s.each(this.options.levels.split(","),function(e,t){if(1===n.filter(t).size())return i=e+1,!1}),i}})}),define("mockup-patterns-cookietrigger",["pat-base"],function(e){"use strict";return e.extend({name:"cookietrigger",trigger:".pat-cookietrigger",parser:"mockup",isCookiesEnabled:function(){var e="areYourCookiesEnabled=0";document.cookie=e;var t=document.cookie;return-1===t.indexOf(e)?0:(e="areYourCookiesEnabled=1",document.cookie=e,-1===(t=document.cookie).indexOf(e)?0:(document.cookie="areYourCookiesEnabled=; expires=Thu, 01-Jan-70 00:00:01 GMT",1))},showIfCookiesDisabled:function(){this.isCookiesEnabled()?this.$el.hide():this.$el.show()},init:function(){this.showIfCookiesDisabled()}})}),define("mockup-patterns-formunloadalert",["jquery","pat-base","translate"],function(a,e,t){"use strict";return e.extend({name:"formunloadalert",trigger:".pat-formunloadalert",parser:"mockup",_changed:!1,_suppressed:!1,defaults:{message:t("Discard changes? If you click OK, any changes you have made will be lost."),changingEvents:"change keyup paste",changingFields:"input,select,textarea,fileupload"},init:function(){var n=this;if(n.$el.is("form")){a(n.options.changingFields,n.$el).on(n.options.changingEvents,function(e){n._changed=!0});var i=n.$el.parents(".plone-modal");0!==i.size()?i.data("patternPloneModal").on("hide",function(e){var t=i.data("patternPloneModal");t&&(t._suppressHide=n._handleUnload.call(n,e))}):a(window).on("beforeunload",function(e){return n._handleUnload(e)}),n.$el.on("submit",function(e){n._suppressed=!0})}},_handleUnload:function(e){var t=this;if(t._suppressed)t._suppressed=!1;else if(t._changed){var n=t.options.message;return t._handleMsg(e,n),a(window).trigger("messageset"),n}},_handleMsg:function(e,t){(e||window.event).returnValue=t}})}),define("mockup-patterns-preventdoublesubmit",["jquery","pat-base","translate"],function(n,e,t){"use strict";return e.extend({name:"preventdoublesubmit",trigger:".pat-preventdoublesubmit",parser:"mockup",defaults:{message:t("You already clicked the submit button. Do you really want to submit this form again?"),guardClassName:"submitting",optOutClassName:"allowMultiSubmit"},init:function(){var t=this;t.$el.is("form")&&n(":submit",t.$el).click(function(e){if(n(":submit").removeAttr("clicked"),n(this).attr("clicked","clicked"),n(this).hasClass(t.o
1ptions.guardClassName)&&!n(this).hasClass(t.options.optOutClassName))return t._confirm.call(t);n(this).addClass(t.options.guardClassName)})},_confirm:function(e){return window.confirm(this.options.message)}})}),define("mockup-patterns-formautofocus",["jquery","pat-base"],function(t,e,n){"use strict";return e.extend({name:"formautofocus",trigger:".pat-formautofocus",parser:"mockup",defaults:{condition:"div.error",target:"div.error :input:not(.formTabs):visible:first",always:":input:not(.formTabs):visible:first"},init:function(){var e=this;0!==t(e.options.condition,e.$el).size()?t(e.options.target,e.$el).focus():t(e.options.always,e.$el).focus()}})}),define("mockup-patterns-markspeciallinks",["pat-base","jquery"],function(e,l){"use strict";return e.extend({name:"markspeciallinks",trigger:".pat-markspeciallinks",parser:"mockup",defaults:{external_links_open_new_window:!1,mark_special_links:!0},init:function(){var e,t,n,i,a,r,s=this,o=s.$el;"string"==typeof s.options.external_links_open_new_window?e="true"===s.options.external_links_open_new_window.toLowerCase():"boolean"==typeof s.options.external_links_open_new_window&&(e=s.options.external_links_open_new_window),"string"==typeof s.options.mark_special_links?t="true"===s.options.mark_special_links.toLowerCase():"boolean"==typeof s.options.mark_special_links&&(t=s.options.mark_special_links),n=window.location.protocol+"//"+window.location.host,i=/^(mailto|ftp|news|irc|h323|sip|callto|https|feed|webcal)/,a=o,e&&a.find('a[href^="http"]:not(.link-plain):not([href^="'+n+'"])').attr("target","_blank").attr("rel","noopener"),t&&(a.find('a[href^="http:"]:not(.link-plain):not([href^="'+n+'"]):not(:has(img))').before('<i class="glyphicon link-external"></i>'),a.find('a[href]:not([href^="http:"]):not(.link-plain):not([href^="'+n+'"]):not(:has(img)):not([href^="#"])').each(function(){if(r=i.exec(l(this).attr("href"))){var e="glyphicon link-"+r[0];l(this).before('<i class="'+e+'"></i>')}}))}})}),define("mockup-patterns-backdrop",["jquery","pat-base"],function(e,t){"use strict";return t.extend({name:"backdrop",trigger:".pat-backdrop",parser:"mockup",defaults:{zIndex:null,opacity:.8,className:"plone-backdrop",classActiveName:"plone-backdrop-active",closeOnEsc:!0,closeOnClick:!0},init:function(){var n=this;n.$backdrop=e("> ."+n.options.className,n.$el),0===n.$backdrop.size()&&(n.$backdrop=e("<div/>").hide().appendTo(n.$el).addClass(n.options.className),null!==n.options.zIndex&&n.$backdrop.css("z-index",n.options.zIndex)),!0===n.options.closeOnEsc&&e(document).on("keydown",function(e,t){n.$el.is("."+n.options.classActiveName)&&27===e.keyCode&&n.hide()}),!0===n.options.closeOnClick&&n.$backdrop.on("click",function(){n.$el.is("."+n.options.classActiveName)&&n.hide()})},show:function(){var e=this;e.$el.hasClass(e.options.classActiveName)||(e.emit("show"),e.$backdrop.css("opacity","0").show(),e.$el.addClass(e.options.classActiveName),e.$backdrop.animate({opacity:e.options.opacity},500),e.emit("shown"))},hide:function(){var e=this;e.$el.hasClass(e.options.classActiveName)&&(e.emit("hide"),e.$backdrop.animate({opacity:"0"},500).hide(),e.$el.removeClass(e.options.classActiveName),e.emit("hidden"))}})}),function(i,a){if("function"==typeof define&&define.amd)define("backbone",["underscore","jquery","exports"],function(e,t,n){i.Backbone=a(i,n,e,t)});else if("undefined"!=typeof exports){var e=require("underscore");a(i,exports,e)}else i.Backbone=a(i,{},i._,i.jQuery||i.Zepto||i.ender||i.$)}(this,function(e,o,w,t){var n=e.Backbone,i=[],a=i.slice;o.VERSION="1.1.2",o.$=t,o.noConflict=function(){return e.Backbone=n,this},o.emulateHTTP=!1,o.emulateJSON=!1;var r=o.Events={on:function(e,t,n){return c(this,"on",e,[t,n])&&t&&(this._events||(this._events={}),(this._events[e]||(this._events[e]=[])).push({callback:t,context:n,ctx:n||this})),this},once:function(e,t,n){if(!c(this,"once",e,[t,n])||!t)return this;var i=this,a=w.once(function(){i.off(e,a),t.apply(this,arguments)});return a._callback=t,this.on(e,a,n)},off:function(e,t,n){var i,a,r,s,o,l,d,u;if(!this._events||!c(this,"off",e,[t,n]))return this;if(!e&&!t&&!n)return this._events=void 0,this;for(o=0,l=(s=e?[e]:w.keys(this._events)).length;o<l;o++)if(e=s[o],r=this._events[e]){if(this._events[e]=i=[],t||n)for(d=0,u=r.length;d<u;d++)a=r[d],(t&&t!==a.callback&&t!==a.callback._callback||n&&n!==a.context)&&i.push(a);i.length||delete this._events[e]}return this},trigger:function(e){if(!this._events)return this;
1var t=a.call(arguments,1);if(!c(this,"trigger",e,t))return this;var n=this._events[e],i=this._events.all;return n&&s(n,t),i&&s(i,arguments),this},stopListening:function(e,t,n){var i=this._listeningTo;if(!i)return this;var a=!t&&!n;for(var r in n||"object"!=typeof t||(n=this),e&&((i={})[e._listenId]=e),i)(e=i[r]).off(t,n,this),(a||w.isEmpty(e._events))&&delete this._listeningTo[r];return this}},l=/\s+/,c=function(e,t,n,i){if(!n)return!0;if("object"==typeof n){for(var a in n)e[t].apply(e,[a,n[a]].concat(i));return!1}if(l.test(n)){for(var r=n.split(l),s=0,o=r.length;s<o;s++)e[t].apply(e,[r[s]].concat(i));return!1}return!0},s=function(e,t){var n,i=-1,a=e.length,r=t[0],s=t[1],o=t[2];switch(t.length){case 0:for(;++i<a;)(n=e[i]).callback.call(n.ctx);return;case 1:for(;++i<a;)(n=e[i]).callback.call(n.ctx,r);return;case 2:for(;++i<a;)(n=e[i]).callback.call(n.ctx,r,s);return;case 3:for(;++i<a;)(n=e[i]).callback.call(n.ctx,r,s,o);return;default:for(;++i<a;)(n=e[i]).callback.apply(n.ctx,t);return}};w.each({listenTo:"on",listenToOnce:"once"},function(a,e){r[e]=function(e,t,n){var i=this._listeningTo||(this._listeningTo={});return n||"object"!=typeof t||(n=this),(i[e._listenId||(e._listenId=w.uniqueId("l"))]=e)[a](t,n,this),this}}),r.bind=r.on,r.unbind=r.off,w.extend(o,r);var b=o.Model=function(e,t){var n=e||{};t||(t={}),this.cid=w.uniqueId("c"),this.attributes={},t.collection&&(this.collection=t.collection),t.parse&&(n=this.parse(n,t)||{}),n=w.defaults({},n,w.result(this,"defaults")),this.set(n,t),this.changed={},this.initialize.apply(this,arguments)};w.extend(b.prototype,r,{changed:null,validationError:null,idAttribute:"id",initialize:function(){},toJSON:function(e){return w.clone(this.attributes)},sync:function(){return o.sync.apply(this,arguments)},get:function(e){return this.attributes[e]},escape:function(e){return w.escape(this.get(e))},has:function(e){return null!=this.get(e)},set:function(e,t,n){var i,a,r,s,o,l,d,u;if(null==e)return this;if("object"==typeof e?(a=e,n=t):(a={})[e]=t,n||(n={}),!this._validate(a,n))return!1;for(i in r=n.unset,o=n.silent,s=[],l=this._changing,this._changing=!0,l||(this._previousAttributes=w.clone(this.attributes),this.changed={}),u=this.attributes,d=this._previousAttributes,this.idAttribute in a&&(this.id=a[this.idAttribute]),a)t=a[i],w.isEqual(u[i],t)||s.push(i),w.isEqual(d[i],t)?delete this.changed[i]:this.changed[i]=t,r?delete u[i]:u[i]=t;if(!o){s.length&&(this._pending=n);for(var c=0,h=s.length;c<h;c++)this.trigger("change:"+s[c],this,u[s[c]],n)}if(l)return this;if(!o)for(;this._pending;)n=this._pending,this._pending=!1,this.trigger("change",this,n);return this._pending=!1,this._changing=!1,this},unset:function(e,t){return this.set(e,void 0,w.extend({},t,{unset:!0}))},clear:function(e){var t={};for(var n in this.attributes)t[n]=void 0;return this.set(t,w.extend({},e,{unset:!0}))},hasChanged:function(e){return null==e?!w.isEmpty(this.changed):w.has(this.changed,e)},changedAttributes:function(e){if(!e)return!!this.hasChanged()&&w.clone(this.changed);var t,n=!1,i=this._changing?this._previousAttributes:this.attributes;for(var a in e)w.isEqual(i[a],t=e[a])||((n||(n={}))[a]=t);return n},previous:function(e){return null!=e&&this._previousAttributes?this._previousAttributes[e]:null},previousAttributes:function(){return w.clone(this._previousAttributes)},fetch:function(t){void 0===(t=t?w.clone(t):{}).parse&&(t.parse=!0);var n=this,i=t.success;return t.success=function(e){if(!n.set(n.parse(e,t),t))return!1;i&&i(n,e,t),n.trigger("sync",n,e,t)},C(this,t),this.sync("read",this,t)},save:function(e,t,n){var i,a,r,s=this.attributes;if(null==e||"object"==typeof e?(i=e,n=t):(i={})[e]=t,n=w.extend({validate:!0},n),i&&!n.wait){if(!this.set(i,n))return!1}else if(!this._validate(i,n))return!1;i&&n.wait&&(this.attributes=w.extend({},s,i)),void 0===n.parse&&(n.parse=!0);var o=this,l=n.success;return n.success=function(e){o.attributes=s;var t=o.parse(e,n);if(n.wait&&(t=w.extend(i||{},t)),w.isObject(t)&&!o.set(t,n))return!1;l&&l(o,e,n),o.trigger("sync",o,e,n)},C(this,n),"patch"===(a=this.isNew()?"create":n.patch?"patch":"update")&&(n.attrs=i),r=this.sync(a,this,n),i&&n.wait&&(this.attributes=s),r},destroy:function(t){t=t?w.clone(t):{};var n=this,i=t.success,a=function(){n.trigger("destroy",n,n.collection,t)};if(t.success=function(e){(t.wait||n.isNew())&&a(),i&&i(n,e,t),n.isNew()||n.trigger("sync",n,e,t)},this.isNew())return t.success(),!1;C(this,t);var e=this.sync("delete",this,t);return t.wait||a(),e},url:function(){var e=w.result(this,"urlRoot")||w.result(this.collection,"url")||H();return this.isNew()?e:e.replace(/([^\/])$/,"$1/")+encodeURIComponent(this.id
1)},parse:function(e,t){return e},clone:function(){return new this.constructor(this.attributes)},isNew:function(){return!this.has(this.idAttribute)},isValid:function(e){return this._validate({},w.extend(e||{},{validate:!0}))},_validate:function(e,t){if(!t.validate||!this.validate)return!0;e=w.extend({},this.attributes,e);var n=this.validationError=this.validate(e,t)||null;return!n||(this.trigger("invalid",this,n,w.extend(t,{validationError:n})),!1)}});w.each(["keys","values","pairs","invert","pick","omit"],function(t){b.prototype[t]=function(){var e=a.call(arguments);return e.unshift(this.attributes),w[t].apply(w,e)}});var d=o.Collection=function(e,t){t||(t={}),t.model&&(this.model=t.model),void 0!==t.comparator&&(this.comparator=t.comparator),this._reset(),this.initialize.apply(this,arguments),e&&this.reset(e,w.extend({silent:!0},t))},k={add:!0,remove:!0,merge:!0},u={add:!0,remove:!1};w.extend(d.prototype,r,{model:b,initialize:function(){},toJSON:function(t){return this.map(function(e){return e.toJSON(t)})},sync:function(){return o.sync.apply(this,arguments)},add:function(e,t){return this.set(e,w.extend({merge:!1},t,u))},remove:function(e,t){var n,i,a,r,s=!w.isArray(e);for(t||(t={}),n=0,i=(e=s?[e]:w.clone(e)).length;n<i;n++)(r=e[n]=this.get(e[n]))&&(delete this._byId[r.id],delete this._byId[r.cid],a=this.indexOf(r),this.models.splice(a,1),this.length--,t.silent||(t.index=a,r.trigger("remove",r,this,t)),this._removeReference(r,t));return s?e[0]:e},set:function(e,t){(t=w.defaults({},t,k)).parse&&(e=this.parse(e,t));var n,i,a,r,s,o,l,d=!w.isArray(e);e=d?e?[e]:[]:w.clone(e);var u=t.at,c=this.model,h=this.comparator&&null==u&&!1!==t.sort,p=w.isString(this.comparator)?this.comparator:null,m=[],_=[],f={},g=t.add,y=t.merge,v=t.remove,M=!(h||!g||!v)&&[];for(n=0,i=e.length;n<i;n++){if(a=(s=e[n]||{})instanceof b?r=s:s[c.prototype.idAttribute||"id"],o=this.get(a))v&&(f[o.cid]=!0),y&&(s=s===r?r.attributes:s,t.parse&&(s=o.parse(s,t)),o.set(s,t),h&&!l&&o.hasChanged(p)&&(l=!0)),e[n]=o;else if(g){if(!(r=e[n]=this._prepareModel(s,t)))continue;m.push(r),this._addReference(r,t)}r=o||r,!M||!r.isNew()&&f[r.id]||M.push(r),f[r.id]=!0}if(v){for(n=0,i=this.length;n<i;++n)f[(r=this.models[n]).cid]||_.push(r);_.length&&this.remove(_,t)}if(m.length||M&&M.length)if(h&&(l=!0),this.length+=m.length,null!=u)for(n=0,i=m.length;n<i;n++)this.models.splice(u+n,0,m[n]);else{M&&(this.models.length=0);var L=M||m;for(n=0,i=L.length;n<i;n++)this.models.push(L[n])}if(l&&this.sort({silent:!0}),!t.silent){for(n=0,i=m.length;n<i;n++)(r=m[n]).trigger("add",r,this,t);(l||M&&M.length)&&this.trigger("sort",this,t)}return d?e[0]:e},reset:function(e,t){t||(t={});for(var n=0,i=this.models.length;n<i;n++)this._removeReference(this.models[n],t);return t.previousModels=this.models,this._reset(),e=this.add(e,w.extend({silent:!0},t)),t.silent||this.trigger("reset",this,t),e},push:function(e,t){return this.add(e,w.extend({at:this.length},t))},pop:function(e){var t=this.at(this.length-1);return this.remove(t,e),t},unshift:function(e,t){return this.add(e,w.extend({at:0},t))},shift:function(e){var t=this.at(0);return this.remove(t,e),t},slice:function(){return a.apply(this.models,arguments)},get:function(e){if(null!=e)return this._byId[e]||this._byId[e.id]||this._byId[e.cid]},at:function(e){return this.models[e]},where:function(n,e){return w.isEmpty(n)?e?void 0:[]:this[e?"find":"filter"](function(e){for(var t in n)if(n[t]!==e.get(t))return!1;return!0})},findWhere:function(e){return this.where(e,!0)},sort:function(e){if(!this.comparator)throw new Error("Cannot sort a set without a comparator");return e||(e={}),w.isString(this.comparator)||1===this.comparator.length?this.models=this.sortBy(this.comparator,this):this.models.sort(w.bind(this.comparator,this)),e.silent||this.trigger("sort",this,e),this},pluck:function(e){return w.invoke(this.models,"get",e)},fetch:function(n){void 0===(n=n?w.clone(n):{}).parse&&(n.parse=!0);var i=n.success,a=this;return n.success=function(e){var t=n.reset?"reset":"set";a[t](e,n),i&&i(a,e,n),a.trigger("sync",a,e,n)},C(this,n),this.sync("read",this,n)},create:function(e,n){if(n=n?w.clone(n):{},!(e=this._prepareModel(e,n)))return!1;n.wait||this.add(e,n);var i=this,a=n.success;return n.success=function(e,t){n.wait&&i.add(e,n),a&&a(e,t,n)},e.save(null,n),e},parse:function(e,t){return e},clone:function(){return new this.constructor(this.models)},_reset:function(){this.length=0,this.models=[],this._byId={}},_prepareModel:function(e,t){if(e instanceof b)return e;var n=new(((t=t?w.clone(t):{}
1).collection=this).model)(e,t);return n.validationError?(this.trigger("invalid",this,n.validationError,t),!1):n},_addReference:function(e,t){null!=(this._byId[e.cid]=e).id&&(this._byId[e.id]=e),e.collection||(e.collection=this),e.on("all",this._onModelEvent,this)},_removeReference:function(e,t){this===e.collection&&delete e.collection,e.off("all",this._onModelEvent,this)},_onModelEvent:function(e,t,n,i){("add"!==e&&"remove"!==e||n===this)&&("destroy"===e&&this.remove(t,i),t&&e==="change:"+t.idAttribute&&(delete this._byId[t.previous(t.idAttribute)],null!=t.id&&(this._byId[t.id]=t)),this.trigger.apply(this,arguments))}});w.each(["forEach","each","map","collect","reduce","foldl","inject","reduceRight","foldr","find","detect","filter","select","reject","every","all","some","any","include","contains","invoke","max","min","toArray","size","first","head","take","initial","rest","tail","drop","last","without","difference","indexOf","shuffle","lastIndexOf","isEmpty","chain","sample"],function(t){d.prototype[t]=function(){var e=a.call(arguments);return e.unshift(this.models),w[t].apply(w,e)}});w.each(["groupBy","countBy","sortBy","indexBy"],function(i){d.prototype[i]=function(t,e){var n=w.isFunction(t)?t:function(e){return e.get(t)};return w[i](this.models,n,e)}});var h=o.View=function(e){this.cid=w.uniqueId("view"),e||(e={}),w.extend(this,w.pick(e,m)),this._ensureElement(),this.initialize.apply(this,arguments),this.delegateEvents()},p=/^(\S+)\s*(.*)$/,m=["model","collection","el","id","attributes","className","tagName","events"];w.extend(h.prototype,r,{tagName:"div",$:function(e){return this.$el.find(e)},initialize:function(){},render:function(){return this},remove:function(){return this.$el.remove(),this.stopListening(),this},setElement:function(e,t){return this.$el&&this.undelegateEvents(),this.$el=e instanceof o.$?e:o.$(e),this.el=this.$el[0],!1!==t&&this.delegateEvents(),this},delegateEvents:function(e){if(!e&&!(e=w.result(this,"events")))return this;for(var t in this.undelegateEvents(),e){var n=e[t];if(w.isFunction(n)||(n=this[e[t]]),n){var i=t.match(p),a=i[1],r=i[2];n=w.bind(n,this),a+=".delegateEvents"+this.cid,""===r?this.$el.on(a,n):this.$el.on(a,r,n)}}return this},undelegateEvents:function(){return this.$el.off(".delegateEvents"+this.cid),this},_ensureElement:function(){if(this.el)this.setElement(w.result(this,"el"),!1);else{var e=w.extend({},w.result(this,"attributes"));this.id&&(e.id=w.result(this,"id")),this.className&&(e.class=w.result(this,"className"));var t=o.$("<"+w.result(this,"tagName")+">").attr(e);this.setElement(t,!1)}}}),o.sync=function(e,t,n){var i=f[e];w.defaults(n||(n={}),{emulateHTTP:o.emulateHTTP,emulateJSON:o.emulateJSON});var a={type:i,dataType:"json"};if(n.url||(a.url=w.result(t,"url")||H()),null!=n.data||!t||"create"!==e&&"update"!==e&&"patch"!==e||(a.contentType="application/json",a.data=JSON.stringify(n.attrs||t.toJSON(n))),n.emulateJSON&&(a.contentType="application/x-www-form-urlencoded",a.data=a.data?{model:a.data}:{}),n.emulateHTTP&&("PUT"===i||"DELETE"===i||"PATCH"===i)){a.type="POST",n.emulateJSON&&(a.data._method=i);var r=n.beforeSend;n.beforeSend=function(e){if(e.setRequestHeader("X-HTTP-Method-Override",i),r)return r.apply(this,arguments)}}"GET"===a.type||n.emulateJSON||(a.processData=!1),"PATCH"===a.type&&_&&(a.xhr=function(){return new ActiveXObject("Microsoft.XMLHTTP")});var s=n.xhr=o.ajax(w.extend(a,n));return t.trigger("request",t,s,n),s};var _=!("undefined"==typeof window||!window.ActiveXObject||window.XMLHttpRequest&&(new XMLHttpRequest).dispatchEvent),f={create:"POST",update:"PUT",patch:"PATCH",delete:"DELETE",read:"GET"};o.ajax=function(){return o.$.ajax.apply(o.$,arguments)};var g=o.Router=function(e){e||(e={}),e.routes&&(this.routes=e.routes),this._bindRoutes(),this.initialize.apply(this,arguments)},y=/\((.*?)\)/g,v=/(\(\?)?:\w+/g,M=/\*\w+/g,L=/[\-{}\[\]+?.,\\\^$|#\s]/g;w.extend(g.prototype,r,{initialize:function(){},route:function(n,i,a){w.isRegExp(n)||(n=this._routeToRegExp(n)),w.isFunction(i)&&(a=i,i=""),a||(a=this[i]);var r=this;return o.history.route(n,function(e){var t=r._extractParameters(n,e);r.execute(a,t),r.trigger.apply(r,["route:"+i].concat(t)),r.trigger("route",i,t),o.history.trigger("route",r,i,t)}),this},execute:function(e,t){e&&e.apply(this,t)},navigate:function(e,t){return o.history.navigate(e,t),this},_bindRoutes:function(){if(this.routes){this.routes=w.result(this,"routes");for(var e,t=w.keys(this.routes);null!=(e=t.pop());)this.route(e,this.routes[e])}},_routeToRegExp:function(e){return e=e.replace(L,"\\$&").replace(y,"(?:$1)?").replace(v,function(e,t){return t?e:"([^/?]+)"}).replace(M,"([^?]*?)"),new RegExp("^"+e+"(?:\\?([\\s\\S]*))?$")},_extractParameters:function(e,t){var n=e.exec(t).slice(1);return w.map(n,function(e,t){return t===n.length-1?e||null:e?decodeURIComponent(e):null})}});var Y=o.History=function(){this.handlers=[],w.bindAll(this,"checkUrl"),"undefined"!=typeof window&&(this.location=window.location,this.history=window.history)},T=/^[#\/]|\s+$/g,D=/^\/+|\/+$/g,S=/msie [\w.]+/,x=/\/$/,j=/#.*$/;Y.started=!1,w.extend(Y.prototype,r,{interval:50,atRoot:function(){return this.location.pathname.replace(/[^\/]$/,"$&/")===this.root},getHash:function(e){var t=(e||this).location.href.match(/#(.*)$/);return t?t[1]:""},getFragment:function(e,t){if(null==e)if(this._hasPushState||!this._wantsHashChange||t){e=decodeURI(this.location.pathname+this.location.search);var n=this.root.replace(x,"");e.indexOf(n)||(e=e.slice(n.length))}else e=this.getHash();return e.replace(T,"")},start:function(e){if(Y.started)throw new Error("Backbone.history has already been started");Y.started=!0,this.options=w.extend({root:"/"},this.options,e),this.root=this.options.root,this._wantsHashChange=!1!==this.options.hashChange,this._wantsPushState=!!this.options.pushState,this._hasPushState=!!(this.options.pushState&&this.history&&this.history.pushState);var t=this.getFragment(),n=document.documentMode,i=S.exec(navigator.userAgent.toLowerCase())&&(!n||n<=7);if(this.root=("/"+this.root+"/").replace(D,"/"),i&&this._wantsHashChange){var a=o.$('<iframe src="javascript:0" tabindex="-1">');this.iframe=a.hide().appendTo("body")[0].contentWindow,this.navigate(t)}this._hasPushState?o.$(window).on("popstate",this.checkUrl):this._wantsHashChange&&"onhashchange"in window&&!i?o.$(window).on("hashchange",this.checkUrl):this._wantsHashChange&&(this._checkUrlInterval=setInterval(this.checkUrl,this.interval)),this.fragment=t;var r=this.location;if(this._wantsHashChange&&this._wantsPushState){if(!this._hasPushState&&!this.atRoot())return this.fragment=this.getFragment(null,!0),this.location.replace(this.root+"#"+this.fragment),!0;this._hasPushState&&this.atRoot()&&r.hash&&(this.fragment=this.getHash().replace(T,""),this.history.replaceState({},document.title,this.root+this.fragment))}if(!this.options.silent)return this.loadUrl()},stop:function(){o.$(window).off("popstate",this.checkUrl).off("hashchange",this.checkUrl),this._checkUrlInterval&&clearInterval(this._checkUrlInterval),Y.started=!1},route:function(e,t){this.handlers.unshift({route:e,callback:t})},checkUrl:function(e){var t=this.getFragment();if(t===this.fragment&&this.iframe&&(t=this.getFragment(this.getHash(this.iframe))),t===this.fragment)return!1;this.iframe&&this.navigate(t),this.loadUrl()},loadUrl:function(t){return t=this.fragment=this.getFragment(t),w.any(this.handlers,function(e){if(e.route.test(t))return e.callback(t),!0})},navigate:function(e,t){if(!Y.started)return!1;t&&!0!==t||(t={trigger:!!t});var n=this.root+(e=this.getFragment(e||""));if(e=e.replace(j,""),this.fragment!==e){if(""===(this.fragment=e)&&"/"!==n&&(n=n.slice(0,-1)),this._hasPushState)this.history[t.replace?"replaceState":"pushState"]({},document.title,n);else{if(!this._wantsHashChange)return this.location.assign(n);this._updateHash(this.location,e,t.replace),this.iframe&&e!==this.getFragment(this.getHash(this.iframe))&&(t.replace||this.iframe.document.open().close(),this._updateHash(this.iframe.location,e,t.replace))}return t.trigger?this.loadUrl(e):void 0}},_updateHash:function(e,t,n){if(n){var i=e.href.replace(/(javascript:|#).*$/,"");e.replace(i+"#"+t)}else e.hash="#"+t}}),o.history=new Y;b.extend=d.extend=g.extend=h.extend=Y.extend=function(e,t){var n,i=this;n=e&&w.has(e,"constructor")?e.constructor:function(){return i.apply(this,arguments)},w.extend(n,i,t);var a=function(){this.constructor=n};return a.prototype=i.prototype,n.prototype=new a,e&&w.extend(n.prototype,e),n.__super__=i.prototype,n};var H=function(){throw new Error('A "url" property or function must be specified')},C=function(t,n){var i=n.error;n.error=function(e){i&&i(t,e,n),t.trigger("error",t,e,n)}};return o}
1),define("mockup-router",["underscore","backbone"],function(o,e){"use strict";var l=function(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")};return new(e.Router.extend({actions:[],redirects:{},addRoute:function(e,t,n,i,a,r){void 0===o.findWhere(this.patterns,{patternName:e,id:t})&&this.actions.push({patternName:e,id:t,callback:n,context:i,pathExp:a,expReplace:r});var s=new RegExp("("+l(e)+":"+l(t)+")");this.route(s,"handleRoute")},addRedirect:function(e,t){this.redirects[e]=t},handleRoute:function(e){var t=e.split(":"),n=t[0],i=t[1],a=o.findWhere(this.actions,{patternName:n,id:i});a&&a.callback.call(a.context)},redirect:function(){var n,i,a,r=window.parent.location.pathname;if(o.some(this.actions,function(e){if(e.pathExp&&(i=new RegExp(e.pathExp),r.match(i))){a="!/"+e.patternName+":"+e.id;var t="";return e.expReplace&&(t=e.expReplace),n=r.replace(i,t),!0}},this),void 0===a)for(var e in this.redirects)if(i=new RegExp(e),r.match(i)){a="!/"+this.redirects[e],n=r.replace(i,"");break}void 0!==a&&this._changeLocation.apply(this,[n,a])},_changeLocation:function(e,t){window.parent.location.hash=t,window.parent.location.pathname=e},start:function(){e.history.start()},reset:function(){this.actions=[]}}))}),function(e){"use strict";"function"==typeof define&&define.amd?define("jquery.form",["jquery"],e):e("undefined"!=typeof jQuery?jQuery:window.Zepto)}(function(E){"use strict";var v={};v.fileapi=void 0!==E("<input type='file'/>").get(0).files,v.formdata=void 0!==window.FormData;var A=!!E.fn.prop;function n(e){var t=e.data;e.isDefaultPrevented()||(e.preventDefault(),E(e.target).ajaxSubmit(t))}function i(e){var t=e.target,n=E(t);if(!n.is("[type=submit],[type=image]")){var i=n.closest("[type=submit]");if(0===i.length)return;t=i[0]}var a=this;if("image"==(a.clk=t).type)if(void 0!==e.offsetX)a.clk_x=e.offsetX,a.clk_y=e.offsetY;else if("function"==typeof E.fn.offset){var r=n.offset();a.clk_x=e.pageX-r.left,a.clk_y=e.pageY-r.top}else a.clk_x=e.pageX-t.offsetLeft,a.clk_y=e.pageY-t.offsetTop;setTimeout(function(){a.clk=a.clk_x=a.clk_y=null},100)}function O(){if(E.fn.ajaxSubmit.debug){var e="[jquery.form] "+Array.prototype.join.call(arguments,"");window.console&&window.console.log?window.console.log(e):window.opera&&window.opera.postError&&window.opera.postError(e)}}E.fn.attr2=function(){if(!A)return this.attr.apply(this,arguments);var e=this.prop.apply(this,arguments);return e&&e.jquery||"string"==typeof e?e:this.attr.apply(this,arguments)},E.fn.ajaxSubmit=function(x){if(!this.length)return O("ajaxSubmit: skipping submit process - no element selected"),this;var j,e,t,H=this;"function"==typeof x?x={success:x}:void 0===x&&(x={}),j=x.type||this.attr2("method"),(t=(t="string"==typeof(e=x.url||this.attr2("action"))?E.trim(e):"")||window.location.href||"")&&(t=(t.match(/^([^#]+)/)||[])[1]),x=E.extend(!0,{url:t,success:E.ajaxSettings.success,type:j||E.ajaxSettings.type,iframeSrc:/^https/i.test(window.location.href||"")?"javascript:false":"about:blank"},x);var n={};if(this.trigger("form-pre-serialize",[this,x,n]),n.veto)return O("ajaxSubmit: submit vetoed via form-pre-serialize trigger"),this;if(x.beforeSerialize&&!1===x.beforeSerialize(this,x))return O("ajaxSubmit: submit aborted via beforeSerialize callback"),this;var i=x.traditional;void 0===i&&(i=E.ajaxSettings.traditional);var a,C=[],r=this.formToArray(x.semantic,C);if(x.data&&(x.extraData=x.data,a=E.param(x.data,i)),x.beforeSubmit&&!1===x.beforeSubmit(r,this,x))return O("ajaxSubmit: submit aborted via beforeSubmit callback"),this;if(this.trigger("form-submit-validate",[r,this,x,n]),n.veto)return O("ajaxSubmit: submit vetoed via form-submit-validate trigger"),this;var s=E.param(r,i);a&&(s=s?s+"&"+a:a),"GET"==x.type.toUpperCase()?(x.url+=(0<=x.url.indexOf("?")?"&":"?")+s,x.data=null):x.data=s;var o=[];if(x.resetForm&&o.push(function(){H.resetForm()}),x.clearForm&&o.push(function(){H.clearForm(x.includeHidden)}),!x.dataType&&x.target){var l=x.success||function(){};o.push(function(e){var t=x.replaceTarget?"replaceWith":"html";E(x.target)[t](e).each(l,arguments)})}else x.success&&o.push(x.success);if(x.success=function(e,t,n){for(var i=x.context||this,a=0,r=o.length;a<r;a++)o[a].apply(i,[e,t,n||H,H])},x.error){var d=x.error;x.error=function(e,t,n){var i=x.context||this;d.apply(i,[e,t,n,H])}}if(x.complete){var u=x.complete;x.complete=function(e,t){var n=x.context||this;u.apply(n,[e,t,H])}}var c=0<E("input[type=file]:enabled",this).filter(function(){return""!==E(this).val()}).length,h="multipart/form-data",p=H.attr("enctype")==h||H.attr("encoding")==h,m=v.fileapi&&v.formdata;O("fileAPI :"+m);var _,f=(c||p)&&!m;!1!==x.iframe&&(x.iframe||f)?x.closeKeepAlive?E.get(x.closeKeepAlive,function(){_=y(r)}):_=y(r):_=(c||p)&&m?function(e){for(var n=new FormData,t=0;t<e.length;t++)n.append(e[t].name,e[t].value);if(x.extraData){var i=function(e){var t,n,i=E.param(e,x.traditional).split("&"),a=i.length,r=[];for(t=0;t<a;t++)i[t]=i[t].replace(/\+/g," "),n=i[t].split("="),r.push([decodeURIComponent(n[0]),decodeURIComponent(n[1])]);return r}(x.extraData);for(t=0;t<i.length;t++)i[t]&&n.append(i[t][0],i[t][1])}x.data=null;var a=E.extend(!0,{},E.ajaxSettings,x,{contentType:!1,processData:!1,cache:!1,type:j||"POST"});
1x.uploadProgress&&(a.xhr=function(){var e=E.ajaxSettings.xhr();return e.upload&&e.upload.addEventListener("progress",function(e){var t=0,n=e.loaded||e.position,i=e.total;e.lengthComputable&&(t=Math.ceil(n/i*100)),x.uploadProgress(e,n,i,t)},!1),e});a.data=null;var r=a.beforeSend;return a.beforeSend=function(e,t){x.formData?t.data=x.formData:t.data=n,r&&r.call(this,e,t)},E.ajax(a)}(r):E.ajax(x),H.removeData("jqxhr").data("jqxhr",_);for(var g=0;g<C.length;g++)C[g]=null;return this.trigger("form-submit-notify",[this,x]),this;function y(e){var t,n,u,c,r,h,p,m,i,a,_,f,s=H[0],g=E.Deferred();if(g.abort=function(e){m.abort(e)},e)for(n=0;n<C.length;n++)t=E(C[n]),A?t.prop("disabled",!1):t.removeAttr("disabled");if((u=E.extend(!0,{},E.ajaxSettings,x)).context=u.context||u,r="jqFormIO"+(new Date).getTime(),u.iframeTarget?(a=(h=E(u.iframeTarget)).attr2("name"))?r=a:h.attr2("name",r):(h=E('<iframe name="'+r+'" src="'+u.iframeSrc+'" />')).css({position:"absolute",top:"-1000px",left:"-1000px"}),p=h[0],m={aborted:0,responseText:null,responseXML:null,status:0,statusText:"n/a",getAllResponseHeaders:function(){},getResponseHeader:function(){},setRequestHeader:function(){},abort:function(e){var t="timeout"===e?"timeout":"aborted";O("aborting upload... "+t),this.aborted=1;try{p.contentWindow.document.execCommand&&p.contentWindow.document.execCommand("Stop")}catch(e){}h.attr("src",u.iframeSrc),m.error=t,u.error&&u.error.call(u.context,m,t,e),c&&E.event.trigger("ajaxError",[m,u,t]),u.complete&&u.complete.call(u.context,m,t)}},(c=u.global)&&0==E.active++&&E.event.trigger("ajaxStart"),c&&E.event.trigger("ajaxSend",[m,u]),u.beforeSend&&!1===u.beforeSend.call(u.context,m,u))return u.global&&E.active--,g.reject(),g;if(m.aborted)return g.reject(),g;(i=s.clk)&&(a=i.name)&&!i.disabled&&(u.extraData=u.extraData||{},u.extraData[a]=i.value,"image"==i.type&&(u.extraData[a+".x"]=s.clk_x,u.extraData[a+".y"]=s.clk_y));var y=1,v=2;function M(t){var n=null;try{t.contentWindow&&(n=t.contentWindow.document)}catch(e){O("cannot get iframe.contentWindow document: "+e)}if(n)return n;try{n=t.contentDocument?t.contentDocument:t.document}catch(e){O("cannot get iframe.contentDocument: "+e),n=t.document}return n}var o=E("meta[name=csrf-token]").attr("content"),l=E("meta[name=csrf-param]").attr("content");function d(){var e=H.attr2("target"),t=H.attr2("action"),n=H.attr("enctype")||H.attr("encoding")||"multipart/form-data";s.setAttribute("target",r),j&&!/post/i.test(j)||s.setAttribute("method","POST"),t!=u.url&&s.setAttribute("action",u.url),u.skipEncodingOverride||j&&!/post/i.test(j)||H.attr({encoding:"multipart/form-data",enctype:"multipart/form-data"}),u.timeout&&(f=setTimeout(function(){_=!0,Y(y)},u.timeout));var i=[];try{if(u.extraData)for(var a in u.extraData)u.extraData.hasOwnProperty(a)&&(E.isPlainObject(u.extraData[a])&&u.extraData[a].hasOwnProperty("name")&&u.extraData[a].hasOwnProperty("value")?i.push(E('<input type="hidden" name="'+u.extraData[a].name+'">').val(u.extraData[a].value).appendTo(s)[0]):i.push(E('<input type="hidden" name="'+a+'">').val(u.extraData[a]).appendTo(s)[0]));u.iframeTarget||h.appendTo("body"),p.attachEvent?p.attachEvent("onload",Y):p.addEventListener("load",Y,!1),setTimeout(function e(){try{var t=M(p).readyState;O("state = "+t),t&&"uninitialized"==t.toLowerCase()&&setTimeout(e,50)}catch(e){O("Server abort: ",e," (",e.name,")"),Y(v),f&&clearTimeout(f),f=void 0}},15);try{s.submit()}catch(e){document.createElement("form").submit.apply(s)}}finally{s.setAttribute("action",t),s.setAttribute("enctype",n),e?s.setAttribute("target",e):H.removeAttr("target"),E(i).remove()}}l&&o&&(u.extraData=u.extraData||{},u.extraData[l]=o),u.forceSync?d():setTimeout(d,10);var L,w,b,k=50;function Y(e){if(!m.aborted&&!b){if((w=M(p))||(O("cannot access response document"),e=v),e===y&&m)return m.abort("timeout"),void g.reject(m,"timeout");if(e==v&&m)return m.abort("server abort"),void g.reject(m,"error","server abort");if(w&&w.location.href!=u.iframeSrc||_){p.detachEvent?p.detachEvent("onload",Y):p.removeEventListener("load",Y,!1);var t,n="success";try{if(_)throw"timeout";var i="xml"==u.dataType||w.XMLDocument||E.isXMLDoc(w);if(O("isXml="+i),!i&&window.opera&&(null===w.body||!w.body.innerHTML)&&--k)return O("requeing onLoad callback, DOM not available"),void setTimeout(Y,250);var a=w.body?w.body:w.documentElement;m.responseText=a?a.innerHTML:null,m.responseXML=w.XMLDocument?w.XMLDocument:w,i&&(u.dataType="xml"),m.getResponseHeader=function(e){return{"content-type":u.dataType}[e.toLowerCase()]},a&&(m.status=Number(a.getAttribute("status"))||m.status,m.statusText=a.getAttribute("statusText")||m.statusText);
1var r=(u.dataType||"").toLowerCase(),s=/(json|script|text)/.test(r);if(s||u.textarea){var o=w.getElementsByTagName("textarea")[0];if(o)m.responseText=o.value,m.status=Number(o.getAttribute("status"))||m.status,m.statusText=o.getAttribute("statusText")||m.statusText;else if(s){var l=w.getElementsByTagName("pre")[0],d=w.getElementsByTagName("body")[0];l?m.responseText=l.textContent?l.textContent:l.innerText:d&&(m.responseText=d.textContent?d.textContent:d.innerText)}}else"xml"==r&&!m.responseXML&&m.responseText&&(m.responseXML=T(m.responseText));try{L=S(m,r,u)}catch(e){n="parsererror",m.error=t=e||n}}catch(e){O("error caught: ",e),n="error",m.error=t=e||n}m.aborted&&(O("upload aborted"),n=null),m.status&&(n=200<=m.status&&m.status<300||304===m.status?"success":"error"),"success"===n?(u.success&&u.success.call(u.context,L,"success",m),g.resolve(m.responseText,"success",m),c&&E.event.trigger("ajaxSuccess",[m,u])):n&&(void 0===t&&(t=m.statusText),u.error&&u.error.call(u.context,m,n,t),g.reject(m,"error",t),c&&E.event.trigger("ajaxError",[m,u,t])),c&&E.event.trigger("ajaxComplete",[m,u]),c&&!--E.active&&E.event.trigger("ajaxStop"),u.complete&&u.complete.call(u.context,m,n),b=!0,u.timeout&&clearTimeout(f),setTimeout(function(){u.iframeTarget?h.attr("src",u.iframeSrc):h.remove(),m.responseXML=null},100)}}}var T=E.parseXML||function(e,t){return window.ActiveXObject?((t=new ActiveXObject("Microsoft.XMLDOM")).async="false",t.loadXML(e)):t=(new DOMParser).parseFromString(e,"text/xml"),t&&t.documentElement&&"parsererror"!=t.documentElement.nodeName?t:null},D=E.parseJSON||function(e){return window.eval("("+e+")")},S=function(e,t,n){var i=e.getResponseHeader("content-type")||"",a="xml"===t||!t&&0<=i.indexOf("xml"),r=a?e.responseXML:e.responseText;return a&&"parsererror"===r.documentElement.nodeName&&E.error&&E.error("parsererror"),n&&n.dataFilter&&(r=n.dataFilter(r,t)),"string"==typeof r&&("json"===t||!t&&0<=i.indexOf("json")?r=D(r):("script"===t||!t&&0<=i.indexOf("javascript"))&&E.globalEval(r)),r};return g}},E.fn.ajaxForm=function(e){if((e=e||{}).delegation=e.delegation&&E.isFunction(E.fn.on),e.delegation||0!==this.length)return e.delegation?(E(document).off("submit.form-plugin",this.selector,n).off("click.form-plugin",this.selector,i).on("submit.form-plugin",this.selector,e,n).on("click.form-plugin",this.selector,e,i),this):this.ajaxFormUnbind().bind("submit.form-plugin",e,n).bind("click.form-plugin",e,i);var t={s:this.selector,c:this.context};return!E.isReady&&t.s?(O("DOM not ready, queuing ajaxForm"),E(function(){E(t.s,t.c).ajaxForm(e)})):O("terminating; zero elements found by selector"+(E.isReady?"":" (DOM not ready)")),this},E.fn.ajaxFormUnbind=function(){return this.unbind("submit.form-plugin click.form-plugin")},E.fn.formToArray=function(e,t){var n=[];if(0===this.length)return n;var i,a,r,s,o,l,d,u,c=this[0],h=this.attr("id"),p=e?c.getElementsByTagName("*"):c.elements;if(p&&!/MSIE [678]/.test(navigator.userAgent)&&(p=E(p).get()),h&&(i=E(':input[form="'+h+'"]').get()).length&&(p=(p||[]).concat(i)),!p||!p.length)return n;for(a=0,d=p.length;a<d;a++)if((s=(l=p[a]).name)&&!l.disabled)if(e&&c.clk&&"image"==l.type)c.clk==l&&(n.push({name:s,value:E(l).val(),type:l.type}),n.push({name:s+".x",value:c.clk_x},{name:s+".y",value:c.clk_y}));else if((o=E.fieldValue(l,!0))&&o.constructor==Array)for(t&&t.push(l),r=0,u=o.length;r<u;r++)n.push({name:s,value:o[r]});else if(v.fileapi&&"file"==l.type){t&&t.push(l);var m=l.files;if(m.length)for(r=0;r<m.length;r++)n.push({name:s,value:m[r],type:l.type});else n.push({name:s,value:"",type:l.type})}else null!=o&&(t&&t.push(l),n.push({name:s,value:o,type:l.type,required:l.required}));if(!e&&c.clk){var _=E(c.clk),f=_[0];(s=f.name)&&!f.disabled&&"image"==f.type&&(n.push({name:s,value:_.val()}),n.push({name:s+".x",value:c.clk_x},{name:s+".y",value:c.clk_y}))}return n},E.fn.formSerialize=function(e){return E.param(this.formToArray(e))},E.fn.fieldSerialize=function(a){var r=[];return this.each(function(){var e=this.name;if(e){var t=E.fieldValue(this,a);if(t&&t.constructor==Array)for(var n=0,i=t.length;n<i;n++)r.push({name:e,value:t[n]});else null!=t&&r.push({name:this.name,value:t})}}),E.param(r)},E.fn.fieldValue=function(e){for(var t=[],n=0,i=this.length;n<i;n++){var a=this[n],r=E.fieldValue(a,e);null==r||r.constructor==Array&&!r.length||(r.constructor==Array?E.merge(t,r):t.push(r))}return t},E.fieldValue=function(e,t){var n=e.name,i=e.type,a=e.tagName.toLowerCase();if(void 0===t&&(t=!0),t&&(!n||e.disabled||"reset"==i||"button"==i||("checkbox"==i||"radio"==i)&&!e.checked||("submit"==i||"image"==i)&&e.form&&e.form.clk!=e||"select"==a&&-1==e.selectedIndex))return null;if("select"!=a)return E(e).val();var r=e.selectedIndex;if(r<0)return null;for(var s=[],o=e.options,l="select-one"==i,d=l?r+1:o.length,u=l?r:0;u<d;u++){var c=o[u];if(c.selected){var h=c.value;if(h||(h=c.attributes&&c.attributes.value&&!c.attributes.value.specified?c.text:c.value),l)return h;s.push(h)}}return s},E.fn.clearForm=function(e){return this.each(function(){E("input,select,textarea",this).clearFields(e)})},E.fn.clearFields=E.fn.clearInputs=function(n){var i=/^(?:color|date|datetime|email|month|number|password|range|search|tel|text|time|url|week)$/i;return this.each(function(){var e=this.type,t=this.tagName.toLowerCase();i.test(e)||"textarea"==t?this.value="":"checkbox"==e||"radio"==e?this.checked=!1:"select"==t?this.selectedIndex=-1:"file"==e?/MSIE/.test(navigator.userAgent)?E(this).replaceWith(E(this).clone(!0)):E(this).val(""):n&&(!0===n&&/hidden/.test(e)||"string"==typeof n&&E(this).is(n))&&(this.value="")}
1)},E.fn.resetForm=function(){return this.each(function(){("function"==typeof this.reset||"object"==typeof this.reset&&!this.reset.nodeType)&&this.reset()})},E.fn.enable=function(e){return void 0===e&&(e=!0),this.each(function(){this.disabled=!e})},E.fn.selected=function(n){return void 0===n&&(n=!0),this.each(function(){var e=this.type;if("checkbox"==e||"radio"==e)this.checked=n;else if("option"==this.tagName.toLowerCase()){var t=E(this).parent("select");n&&t[0]&&"select-one"==t[0].type&&t.find("option").selected(!1),this.selected=n}})},E.fn.ajaxSubmit.debug=!1}),define("mockup-patterns-modal",["jquery","underscore","pat-base","mockup-patterns-backdrop","pat-registry","mockup-router","mockup-utils","translate","jquery.form"],function(c,l,e,i,a,t,r,s){"use strict";return e.extend({name:"plone-modal",trigger:".pat-plone-modal",parser:"mockup",createModal:null,$model:null,defaults:{width:"",height:"",margin:20,position:"center middle",triggers:[],zIndexSelector:".plone-modal-wrapper,.plone-modal-backdrop",backdrop:"body",backdropOptions:{zIndex:"1040",opacity:"0.85",className:"plone-modal-backdrop",classActiveName:"plone-backdrop-active",closeOnEsc:!0,closeOnClick:!0},title:null,titleSelector:"h1:first",buttons:'.formControls > input[type="submit"]',content:"#content",automaticallyAddButtonActions:!0,loadLinksWithinModal:!0,prependContent:".portalMessage",templateOptions:{className:"plone-modal fade",classDialog:"plone-modal-dialog",classModal:"plone-modal-content",classHeaderName:"plone-modal-header",classBodyName:"plone-modal-body",classFooterName:"plone-modal-footer",classWrapperName:"plone-modal-wrapper",classWrapperInnerName:"modal-wrapper-inner",classActiveName:"in",classPrependName:"",classContentName:"",template:'<div class="<%= options.className %>">  <div class="<%= options.classDialog %>">    <div class="<%= options.classModal %>">      <div class="<%= options.classHeaderName %>">        <a class="plone-modal-close">&times;</a>        <% if (title) { %><h2 class="plone-modal-title"><%= title %></h2><% } %>      </div>      <div class="<%= options.classBodyName %>">        <div class="<%= options.classPrependName %>"><%= prepend %></div>         <div class="<%= options.classContentName %>"><%= content %></div>      </div>      <div class="<%= options.classFooterName %>">         <% if (buttons) { %><%= buttons %><% } %>      </div>    </div>  </div></div>'},actions:{},actionOptions:{eventType:"click",disableAjaxFormSubmit:!1,target:null,ajaxUrl:null,modalFunction:null,isForm:!1,timeout:5e3,displayInModal:!0,reloadWindowOnClose:!0,error:".portalMessage.error",formFieldError:".field.error",onSuccess:null,onError:null,onFormError:null,onTimeout:null,redirectOnResponse:!1,redirectToUrl:function(e,t,n){var i;return(i=/<body.*data-view-url=[\"'](.*)[\"'].*/im.exec(t))&&1<i.length?i[1].split('"')[0]:(i=/<body.*data-base-url=[\"'](.*)[\"'].*/im.exec(t))&&1<i.length?i[1].split('"')[0]:(i=/<base.*href=[\"'](.*)[\"'].*/im.exec(t))&&1<i.length?i[1]:""}},routerOptions:{id:null,pathExp:null},form:function(e){var s=this,o=s.$modal;s.options.automaticallyAddButtonActions&&(e[s.options.buttons]={}),e.a={},c.each(e,function(e,n){var t=l.union(l.keys(s.options.actionOptions),["templateOptions"]),i=c.extend(!0,{},s.options.actionOptions,l.pick(n,t));n.templateOptions=c.extend(!0,n.templateOptions,s.options.templateOptions);var a=l.union(l.keys(s.options.actionOptions),["actions","actionOptions"]),r=c.extend(!0,l.omit(n,a),s.options);c(e,c("."+n.templateOptions.classBodyName,o)).each(function(e){var t=c(this);t.on(i.eventType,function(e){e.stopPropagation(),e.preventDefault(),s.loading.show(!1),null!==i.modalFunction?s[i.modalFunction]():c.nodeName(t[0],"input")||c.nodeName(t[0],"button")||!0===n.isForm?s.options.handleFormAction.apply(s,[t,i,r]):(null!==n.ajaxUrl||c.nodeName(t[0],"a"))&&s.options.handleLinkAction.apply(s,[t,i,r])})})})},handleFormAction:function(a,r,s){var e,t,o=this,n={};if(n[a.attr("name")]=a.attr("value"),e=c.nodeName(a[0],"form")?a:a.parents("form:not(.disableAutoSubmit)"),t=null!==r.ajaxUrl?"function"==typeof r.ajaxUrl?r.ajaxUrl.a
1pply(o,[a,r]):r.ajaxUrl:a.parents("form").attr("action"),r.disableAjaxFormSubmit)return a.attr("name")&&a.attr("value")&&e.append(c('<input type="hidden" name="'+a.attr("name")+'" value="'+a.attr("value")+'" />')),void e.trigger("submit");e.on("submit",function(e){e.preventDefault()}),e.trigger("submit"),o.loading.show(!1),e.ajaxSubmit({timeout:r.timeout,data:n,url:t,error:function(e,t,n){o.loading.hide(),"timeout"===t&&r.onTimeout?r.onTimeout.apply(o,e,n):r.onError?r.onError(e,t,n):console.log("error happened do something"),o.emit("formActionError",[e,t,n])},success:function(e,t,n,i){o.loading.hide(),0===c(r.error,e).size()&&0===c(r.formFieldError,e).size()?!0!==r.redirectOnResponse?(r.onSuccess&&r.onSuccess(o,e,t,n,i),!0===r.displayInModal?o.redraw(e,s):(a.trigger("destroy.plone-modal.patterns"),r.reloadWindowOnClose&&o.reloadWindow()),o.emit("formActionSuccess",[e,t,n,i])):"function"==typeof r.redirectToUrl?window.parent.location.href=r.redirectToUrl.apply(o,[a,e,r]):window.parent.location.href=r.redirectToUrl:r.onFormError?r.onFormError(o,e,t,n,i):o.redraw(e,s)}})},handleLinkAction:function(e,i,a){var t,r=this;t=i.ajaxUrl?"function"==typeof i.ajaxUrl?i.ajaxUrl.apply(r,[e,i]):i.ajaxUrl:e.attr("href"),!1!==i.displayInModal?c.ajax({url:t}).fail(function(e,t,n){"timeout"===t&&i.onTimeout?i.onTimeout(r.$modal,e,n):i.onError?i.onError(e,t,n):window.alert(s("There was an error loading modal.")),r.emit("linkActionError",[e,t,n])}).done(function(e,t,n){r.redraw(e,a),i.onSuccess&&i.onSuccess(r,e,t,n),r.emit("linkActionSuccess",[e,t,n])}).always(function(){r.loading.hide()}):"_blank"===e.attr("target")?(window.open(t,"_blank"),r.loading.hide()):window.location=t},render:function(e){var n=this;if(n.emit("before-render"),n.$raw){var t=n.$raw.clone();c("input:checked",t).each(function(){this.setAttribute&&this.setAttribute("checked","checked")});var i={title:"",prepend:"<div />",content:"",buttons:'<div class="pattern-modal-buttons"></div>',options:e.templateOptions};if(null===e.title){var a=c(e.titleSelector,t);i.title=a.html(),c(e.titleSelector,t).remove()}else i.title=e.title;e.prependContent&&(i.prepend=c("<div />").append(c(e.prependContent,t).clone()).html(),c(e.prependContent,t).remove()),e.content?i.content=c(e.content,t).html():i.content=t.html(),n.$modal=c(l.template(n.options.templateOptions.template)(i)),n.$modalDialog=c("> ."+n.options.templateOptions.classDialog,n.$modal),n.$modalContent=c("> ."+n.options.templateOptions.classModal,n.$modalDialog),c("form",n.$modal).on("keydown",function(e){13===e.keyCode&&"TEXTAREA"!==e.target.nodeName&&(e.preventDefault(),c("input[type=submit], button[type=submit], button:not(type)",this).eq(0).trigger("click"))}),c(e.buttons,n.$modal).each(function(){var t=c(this);t.on("click",function(e){e.stopPropagation(),e.preventDefault()}).clone().appendTo(c(".pattern-modal-buttons",n.$modal)).off("click").on("click",function(e){e.stopPropagation(),e.preventDefault(),t.trigger("click")}),t.hide()}),n.emit("before-events-setup"),c(".plone-modal-header > a.plone-modal-close, .plone-modal-footer > a.plone-modal-close",n.$modal).off("click").on("click",function(e){e.stopPropagation(),e.preventDefault(),c(e.target).trigger("destroy.plone-modal.patterns")}),e.form&&e.form.apply(n,[e.actions]),n.$modal.addClass(n.options.templateOptions.className).on("destroy.plone-modal.patterns",function(e){e.stopPropagation(),n.hide()}).on("resize.plone-modal.patterns",function(e){e.stopPropagation(),e.preventDefault(),n.positionModal()}).appendTo(n.$wrapperInner),n.options.loadLinksWithinModal&&n.$modal.on("click",function(e){e.stopPropagation(),c.nodeName(e.target,"a")&&e.preventDefault(),n.$modal.trigger("modal-click")}),n.$modal.data("pattern-"+n.name,n),n.emit("after-render")}}},reloadWindow:function(){window.parent.location.reload()},init:function(){var a=this;a.options.loadLinksWithinModal=c.parseJSON(a.options.loadLinksWithinModal),null!==a.options.routerOptions.id&&t.addRoute("modal",a.options.routerOptions.id,function(){this.show()},a,a.options.routerOptions.pathExp,a.options.routerOptions.expReplace),!0===a.options.backdropOptions.closeOnEsc&&c(document).on("keydown",function(e,t){a.$el.is("."+a.options.templateOptions.classActiveName)&&27===e.ke
1yCode&&a.hide()}),c(window.parent).resize(function(){a.positionModal()}),a.options.triggers&&c.each(a.options.triggers,function(e,t){var n=t.substring(0,t.indexOf(" ")),i=t.substring(t.indexOf(" "),t.length);c(i||a.$el).on(n,function(e){e.stopPropagation(),e.preventDefault(),a.show()})}),a.$el.is("a")&&(a.$el.attr("href")&&!a.options.image&&(a.options.target||"#"!==a.$el.attr("href").substr(0,1)||(a.options.target=a.$el.attr("href"),a.options.content=""),a.options.ajaxUrl||"#"===a.$el.attr("href").substr(0,1)||(a.options.ajaxUrl=function(){return a.$el.attr("href")})),a.$el.on("click",function(e){e.stopPropagation(),e.preventDefault(),a.show()})),a.initModal()},createAjaxModal:function(){var a=this;a.emit("before-ajax"),a.loading.show();var e=a.options.ajaxUrl;"function"==typeof e&&(e=e.apply(a,[a.options])),a.ajaxXHR=c.ajax({url:e,type:a.options.ajaxType}).done(function(e,t,n){a.ajaxXHR=void 0,a.$raw=c("<div />").append(c(r.parseBodyTag(e))),a.emit("after-ajax",a,t,n),a._show()}).fail(function(e,t,n){var i=a.options.actionOptions;"timeout"===t&&i.onTimeout?i.onTimeout(a.$modal,e,n):i.onError?i.onError(e,t,n):(window.alert(s("There was an error loading modal.")),a.hide()),a.emit("linkActionError",[e,t,n])}).always(function(){a.loading.hide()})},createTargetModal:function(){this.$raw=c(this.options.target).clone(),this._show()},createBasicModal:function(){this.$raw=c("<div/>").html(this.$el.clone()),this._show()},createHtmlModal:function(){var e=c(this.options.html);this.$raw=e,this._show()},createImageModal:function(){var e=this;e.$wrapper.addClass("image-modal");var t=e.$el.attr("href"),n=e.$el.attr("data-modal-srcset")||"",i=c.trim(e.$el.context.innerText)||"Image";e.$raw=c("<div><h1>"+i+'</h1><div id="content"><div class="modal-image"><img src="'+t+'" srcset="'+n+'" /></div></div></div>'),e._show()},initModal:function(){var e=this;e.options.ajaxUrl?e.createModal=e.createAjaxModal:e.options.target?e.createModal=e.createTargetModal:e.options.html?e.createModal=e.createHtmlModal:e.options.image?e.createModal=e.createImageModal:e.createModal=e.createBasicModal},findPosition:function(e,t,n,i,a,r,s){var o,l,d,u,c={};return u=d=o=d="auto",c.left="left"===e?(d=n+"px",r<i&&(d="0px"),d):"right"===e?(u=n+"px",r<i&&(u="0px"),c.right=u,"auto"):(d=r/2-i/2-n+"px",r<i&&(d="0px"),d),c.top="top"===t?(o=n+"px",s<a&&(o="0px"),o):"bottom"===t?(l=n+"px",s<a&&(l="0px"),c.bottom=l,"auto"):(o=s/2-a/2-n+"px",s<a&&(o="0px"),o),c},modalInitialized:function(){return null!==this.$modal&&void 0!==this.$modal},positionModal:function(){var e=this;if(e.modalInitialized()){e.$modal.removeAttr("style"),e.$wrapper.parent().is("body")&&e.$wrapper.height(c(window.parent).height());var t="function"==typeof e.options.margin?e.options.margin():e.options.margin;e.$modal.css({position:"absolute",padding:t}),e.$modalDialog.css({margin:"0",padding:"0",width:e.options.width,height:e.options.height}),e.$modalContent.css({width:e.options.width});var n=e.options.position.split(" "),i=n[0],a=n[1],r=e.$modalDialog.outerWidth(!0),s=e.$modalDialog.outerHeight(!0),o=e.$wrapperInner.width(),l=e.$wrapperInner.height(),d=e.findPosition(i,a,t,r,s,o,l);for(var u in d)e.$modalDialog.css(u,d[u])}},render:function(e){this.emit("render"),this.options.render.apply(this,[e]),this.emit("rendered")},show:function(){this.backdrop=this.createBackdrop(),this.createModal()},createBackdrop:function(){var t=this,n=new i(t.$el.parents(t.options.backdrop),t.options.backdropOptions),e=1041;return c(t.options.zIndexSelector).each(function(){e=Math.max(e,parseInt(c(this).css("zIndex"))+1||1041)}),t.$wrapper=c("<div/>").hide().css({"z-index":e,"overflow-y":"auto",position:"fixed",height:"100%",width:"100%",bottom:"0",left:"0",right:"0",top:"0"}).addClass(t.options.templateOptions.classWrapperName).insertBefore(n.$backdrop).on("click",function(e){t.options.backdropOptions.closeOnClick&&(e.stopPropagation(),e.preventDefault(),n.hide())}),n.on("hidden",function(e){void 0!==t.$modal&&t.$modal.hasClass(t.options.templateOptions.classActiveName)&&t.hide()}),t.loading=new r.Loading({backdrop:n}),t.$wrapperInner=c("<div/>
1").addClass(t.options.classWrapperInnerName).css({position:"absolute",bottom:"0",left:"0",right:"0",top:"0"}).appendTo(t.$wrapper),n},_show:function(){var e=this;e.render.apply(e,[e.options]),e.emit("show"),e.backdrop.show(),e.$wrapper.show(),e.loading.hide(),e.$el.addClass(e.options.templateOptions.classActiveName),e.$modal.addClass(e.options.templateOptions.classActiveName),a.scan(e.$modal),e.positionModal(),c(window.parent).on("resize.plone-modal.patterns",function(){e.positionModal()}),c("body").addClass("plone-modal-open"),e.emit("shown")},hide:function(){var e=this;e.ajaxXHR&&e.ajaxXHR.abort(),e.emit("hide"),e._suppressHide&&!window.confirm(e._suppressHide)||(e.loading.hide(),e.$el.removeClass(e.options.templateOptions.classActiveName),void 0!==e.$modal&&(e.$modal.remove(),e.initModal()),e.$wrapper.remove(),c(".plone-modal",c("body")).size()<1&&(e._suppressHide=void 0,e.backdrop.hide(),c("body").removeClass("plone-modal-open"),c(window.parent).off("resize.plone-modal.patterns")),e.emit("hidden"))},redraw:function(e,t){var n=this;n.emit("beforeDraw"),n.$modal.remove(),n.$raw=c("<div />").append(c(r.parseBodyTag(e))),n.render.apply(n,[t||n.options]),n.$modal.addClass(n.options.templateOptions.classActiveName),n.positionModal(),a.scan(n.$modal),n.emit("afterDraw")}})}),define("mockup-patterns-livesearch",["jquery","pat-base","underscore","translate"],function(s,e,o,l){"use strict";return e.extend({name:"livesearch",trigger:".pat-livesearch",parser:"mockup",timeout:null,active:!1,results:null,selectedItem:-1,resultsClass:"livesearch-results",defaults:{ajaxUrl:null,defaultSortOn:"",perPage:7,quietMillis:350,minimumInputLength:4,inputSelector:'input[type="text"]',itemTemplate:'<li class="search-result <%- state %>"><h4 class="title"><a href="<%- url %>"><%- title %></a></h4><p class="description"><%- description %></p></li>'},doSearch:function(t){var a=this;a.active=!0,a.render(),a.$el.addClass("searching");var n=a.$el.serialize();void 0===t&&(t=1);var e=function(){var e=location.search,t=e.indexOf("sort_on");if(-1===t){var n=s("#search-results");return 0<n.length?n.attr("data-default-sort"):a.options.defaultSortOn}var i=e.substring(t);return i=(i=i.split("&")[0]).split("=")[1]}();s.ajax({url:a.options.ajaxUrl+"?"+n+"&page="+t+"&perPage="+a.options.perPage+"&sort_on="+e,dataType:"json"}).done(function(e){a.results=e,a.page=t,n!==a.$el.serialize()&&a.doSearch()}).fail(function(){a.results={items:[{url:"",title:l("Error"),description:l("There was an error searching…"),state:"error",error:!1}],total:1},a.page=1}).always(function(){a.active=!1,a.selectedItem=-1,a.$el.removeClass("searching"),a.render()})},render:function(){var i=this;if(i.$results.empty(),i.active?i.$results.append(s('<li class="searching">'+l("searching…")+"</li>")):null===i.results?i.$results.append(s('<li class="no-results no-search">'+l("enter search phrase")+"</li>")):0===i.results.total?i.$results.append(s('<li class="no-results">'+l("no results found")+"</li>")):i.$results.append(s('<li class="results-summary">'+l("found")+" "+i.results.total+" "+l("results")+"</li>")),null!==i.results){var a=o.template(i.options.itemTemplate);o.each(i.results.items,function(e,t){var n=s(a(s.extend({_t:l},e)));n.attr("data-url",e.url).on("click",function(){e.error||(window.location=e.url)}),t===i.selectedItem&&n.addClass("selected"),i.$results.append(n)});var e=[];if(1<i.page){var t=s('<a href="#" class="prev">'+l("Previous")+"</a>");t.click(function(e){i.disableHiding=!0,e.preventDefault(),i.doSearch(i.page-1)}),e.push(t)}if(i.page*i.options.perPage<i.results.total){var n=s('<a href="#" class="next">'+l("Next")+"</a>");n.click(function(e){i.disableHiding=!0,e.preventDefault(),i.doSearch(i.page+1)}),e.push(n)}if(0<e.length){var r=s('<li class="load-more"><div class="page">'+i.page+"</div></li>");r.prepend(e),i.$results.append(r)}}i.position()},position:function(){var e=this;e.$el.addClass("livesearch-active");var t=e.$input.position();e.$results.width(e.$el.outerWidth()),e.$results.css({top:t.top+e.$input.outerHeight(),left:t.left}),e.$results.show()},hide:function(){this.$results.hide(),this.$el.removeClass("livesearch-active")},init:function(){var n=this;n.$input=n.$el.find(n.options.inputSelector),n.$input.off("focusout").on("focusout",function(){setTimeout(function(){n.disableHiding?(n.disableHiding=!1,n.$input.focus()):n.hide()},200)}).off("focusin").on("focusin",function(){n.onceFocused?n.$results.is(":visible")||n.render():(n.onceFocused=!0,n.$input.val().length>=n.options.minimumInputLength&&n.doSearch())}).attr("autocomplete","off").off("keyup").on("keyup",function(e){var t=e.keyCode||e.which;if(27===t)return n.$input.val(""),void n.hide();if(n.results&&n.results.items&&0<n.results.items.length){if(13===t)return void(-1!==n.selectedItem&&(window.location=n.results.items[n.selectedItem].url));if(38===t)return void(-1!==n.selectedItem&&(n.selectedItem-=1,n.render()));if(40===t)return void(n.selectedItem<n.results.items.length&&(n.selectedItem+=1,n.render()))}null!==n.timeout&&(clearTimeout(n.timeout),n.timeout=null),n.active||(n.$input.val().length>=n.options.minimumInputLength?n.timeout=setTimeout(function(){n.doSearch()},n.options.quietMillis):(n.results=null,n.render()))}),s("#sorting-options a").click(function(e){e.preventDefault(),n.onceFocused=!1}),n.$results=s('<ul class="'+n.resultsClass+'"></ul>').hide().insertAfter(n.$input)}})}),define("mockup-patterns-contentloader",["jquery","pat-base","pat-logger","pat-registry","mockup-utils","underscore"],function(i,e,t,a,r,s){"use strict";var o=t.getLogger("pat-contentloader");return e.extend({name:"contentloader",trigger:".pat-contentloader",parser:"mockup",defaults:{url:null,content:null,trigger:"click",target:null,template:null,dataType:"html"},init:function(){var t=this;"el"===t.options.url&&"A"===t.$el[0].tagName&&(t.options.url=t.$el.attr("href")),t.$el.removeClass("loading-content"),t.$el.removeClass("content-load-error"),"immediate"===t.options.trigger?t._load():t.$el.on(t.o
1ptions.trigger,function(e){e.preventDefault(),t._load()})},_load:function(){this.$el.addClass("loading-content"),this.options.url?this.loadRemote():this.loadLocal()},loadRemote:function(){var n=this;i.ajax({url:n.options.url,dataType:n.options.dataType,success:function(e){var t;if("html"===n.options.dataType)-1!==e.indexOf("<html")&&(e=r.parseBodyTag(e)),t=i("<div>"+e+"</div>");else if(-1!==n.options.dataType.indexOf("json")){e.constructor===Array&&1===e.length&&(e=e[0]);try{t=i(s.template(n.options.template)(e))}catch(e){return n.$el.removeClass("loading-content"),n.$el.addClass("content-load-error"),void o.warn("error rendering template. pat-contentloader will not work")}}null!==n.options.content&&(t=t.find(n.options.content)),n.loadLocal(t)},error:function(){n.$el.removeClass("loading-content"),n.$el.addClass("content-load-error")}})},loadLocal:function(e){var t=this;if(!e&&null===t.options.content)return t.$el.removeClass("loading-content"),t.$el.addClass("content-load-error"),void o.warn("No selector configured");var n=t.$el;if(null!==t.options.target&&0===(n=i(t.options.target)).size())return t.$el.removeClass("loading-content"),t.$el.addClass("content-load-error"),void o.warn("No target nodes found");e||(e=i(t.options.content).clone()),e.length?(e.show(),n.replaceWith(e),a.scan(e)):n.empty(),t.$el.removeClass("loading-content"),t.emit("loading-done")}})}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define("moment",t):e.moment=t()}(this,function(){"use strict";function y(){return lt.apply(null,arguments)}function o(e){return"[object Array]"===Object.prototype.toString.call(e)}function l(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function v(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function d(e,t){for(var n in t)v(t,n)&&(e[n]=t[n]);return v(t,"toString")&&(e.toString=t.toString),v(t,"valueOf")&&(e.valueOf=t.valueOf),e}function s(e,t,n,i){return X(e,t,n,i,!0).utc()}function b(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1}),e._pf}function u(e){if(null==e._isValid){var t=b(e);e._isValid=!(isNaN(e._d.getTime())||!(t.overflow<0)||t.empty||t.invalidMonth||t.invalidWeekday||t.nullInput||t.invalidFormat||t.userInvalidated),e._strict&&(e._isValid=e._isValid&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour)}return e._isValid}function c(e){var t=s(NaN);return null!=e?d(b(t),e):b(t).userInvalidated=!0,t}function h(e,t){var n,i,a;if(void 0!==t._isAMomentObject&&(e._isAMomentObject=t._isAMomentObject),void 0!==t._i&&(e._i=t._i),void 0!==t._f&&(e._f=t._f),void 0!==t._l&&(e._l=t._l),void 0!==t._strict&&(e._strict=t._strict),void 0!==t._tzm&&(e._tzm=t._tzm),void 0!==t._isUTC&&(e._isUTC=t._isUTC),void 0!==t._offset&&(e._offset=t._offset),void 0!==t._pf&&(e._pf=b(t)),void 0!==t._locale&&(e._locale=t._locale),0<ut.length)for(n in ut)void 0!==(a=t[i=ut[n]])&&(e[i]=a);return e}function p(e){h(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),!1===ct&&(ct=!0,y.updateOffset(this),ct=!1)}function m(e){return e instanceof p||null!=e&&null!=e._isAMomentObject}function _(e){return e<0?Math.ceil(e):Math.floor(e)}function f(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=_(t)),n}function g(e,t,n){var i,a=Math.min(e.length,t.length),r=Math.abs(e.length-t.length),s=0;for(i=0;i<a;i++)(n&&e[i]!==t[i]||!n&&f(e[i])!==f(t[i]))&&s++;return s+r}function n(){}function M(e){return e?e.toLowerCase().replace("_","-"):e}function L(e){var t=null;if(!ht[e]&&"undefined"!=typeof module&&module&&module.exports)try{t=dt._abbr,require("./locale/"+e),i(t)}catch(e){}return ht[e]}function i(e,t){var n;return e&&((n=void 0===t?w(e):a(e,t))&&(dt=n)),dt._abbr}function a(e,t){return null!==t?(t.abbr=e,ht[e]=ht[e]||new n,ht[e].set(t),i(e),ht[e]):(delete ht[e],null)}function w(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return dt;if(!o(e)){if(t=L(e))return t;e=[e]}return function(e){for(var t,n,i,a,r=0;r<e.length;){for(t=(a=M(e[r]).split("-")).length,n=(n=M(e[r+1]))?n.split("-"):null;0<t;){if(i=L(a.slice(0,t).join("-")))return i;if(n&&n.length>=t&&g(a,n,!0)>=t-1)break;t--}r++}return null}(e)}function e(e,t){var n=e.toLowerCase();pt[n]=pt[n+"s"]=pt[t]=e}function k(e){return"string"==typeof e?pt[e]||pt[e.toLowerCase()]:void 0}function Y(e){var t,n,i={};for(n in e)v(e,n)&&((t=k(n))&&(i[t]=e[n]));return i}function t(t,n){return function(e){return null!=e?(D(this,t,e),y.updateOffset(this,n),this):T(this,t)}}function T(e,t){return e._d["get"+(e._isUTC?"UTC":"")+t]()}function D(e,t,n){return e._d["set"+(e._isUTC?"UTC":"")+t](n)}function r(e,t){var n;if("object"==typeof e)for(n in e)this.set(n,e[n]);else if("function"==typeof this[e=k(e)])return this[e](t);return this}function S(e,t,n){var i=""+Math.abs(e),a=t-i.length;return(0<=e?n?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+i}function x(e,t,n,i){var a=i;"string"==typeof i&&(a=function(){return this[i]()}),e&&(gt[e]=a),t&&(gt[t[0]]=function(){return S(a.apply(this,arguments),t[1],t[2])}),n&&(gt[n]=function(){return this.localeData().ordinal(a.apply(this,arguments),e)})}function j(e,t){return e.isValid()?(t=H(t,e.localeData()),ft[t]=ft[t]||function(n){var i,a,e,r=n.match(mt);for(i=0,a=r.length;i<a;i++)gt[r[i]]?r[i]=gt[r[i]]:r[i]=(e=r[i]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){var t="";for(i=0;i<a;i++)t+=r[i]instanceof Function?r[i].call(e,n):r[i];return t}}(t),ft[t](e)):e.localeData().invalidDate()}function H(e,t){function n(e){return t.longDateFormat(e)||e}var i=5;for(_t.lastIndex=0;0<=i&&_t.test(e);)e=e.replace(_t,n),_t.lastIndex=0,i-=1;return e}
1function C(e,t,n){var i;Ht[e]="function"==typeof(i=t)&&"[object Function]"===Object.prototype.toString.call(i)?t:function(e){return e&&n?n:t}}function E(e,n){var t,i=n;for("string"==typeof e&&(e=[e]),"number"==typeof n&&(i=function(e,t){t[n]=f(e)}),t=0;t<e.length;t++)Ct[e[t]]=i}function A(e,a){E(e,function(e,t,n,i){n._w=n._w||{},a(e,n._w,n,i)})}function O(e,t){return new Date(Date.UTC(e,t+1,0)).getUTCDate()}function P(e,t){var n;return"string"==typeof t&&"number"!=typeof(t=e.localeData().monthsParse(t))||(n=Math.min(e.date(),O(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n)),e}function $(e){return null!=e?(P(this,e),y.updateOffset(this,!0),this):T(this,"Month")}function F(e){var t,n=e._a;return n&&-2===b(e).overflow&&(t=n[At]<0||11<n[At]?At:n[Ot]<1||n[Ot]>O(n[Et],n[At])?Ot:n[Pt]<0||24<n[Pt]||24===n[Pt]&&(0!==n[$t]||0!==n[Ft]||0!==n[Nt])?Pt:n[$t]<0||59<n[$t]?$t:n[Ft]<0||59<n[Ft]?Ft:n[Nt]<0||999<n[Nt]?Nt:-1,b(e)._overflowDayOfYear&&(t<Et||Ot<t)&&(t=Ot),b(e).overflow=t),e}function N(e){!1===y.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function I(e,t){var n=!0;return d(function(){return n&&(N(e+"\n"+(new Error).stack),n=!1),t.apply(this,arguments)},t)}function W(e){var t,n,i=e._i,a=Rt.exec(i);if(a){for(b(e).iso=!0,t=0,n=Ut.length;t<n;t++)if(Ut[t][1].exec(i)){e._f=Ut[t][0];break}for(t=0,n=Jt.length;t<n;t++)if(Jt[t][1].exec(i)){e._f+=(a[6]||" ")+Jt[t][0];break}i.match(xt)&&(e._f+="Z"),B(e)}else e._isValid=!1}function z(e){var t=new Date(Date.UTC.apply(null,arguments));return e<1970&&t.setUTCFullYear(e),t}function R(e){return U(e)?366:365}function U(e){return e%4==0&&e%100!=0||e%400==0}function J(e,t,n){var i,a=n-t,r=n-e.day();return a<r&&(r-=7),r<a-7&&(r+=7),i=K(e).add(r,"d"),{week:Math.ceil(i.dayOfYear()/7),year:i.year()}}function q(e,t,n){return null!=e?e:null!=t?t:n}function G(e){var t,n,i,a,r,s,o,l,d,u,c,h,p,m,_,f,g,y,v,M,L,w=[];if(!e._d){for(M=e,L=void 0,L=new Date,i=M._useUTC?[L.getUTCFullYear(),L.getUTCMonth(),L.getUTCDate()]:[L.getFullYear(),L.getMonth(),L.getDate()],e._w&&null==e._a[Ot]&&null==e._a[At]&&(v=y=g=f=_=m=p=h=c=u=d=l=o=s=void 0,null!=(s=(r=e)._w).GG||null!=s.W||null!=s.E?(u=1,c=4,o=q(s.GG,r._a[Et],J(K(),1,4).year),l=q(s.W,1),d=q(s.E,1)):(u=r._locale._week.dow,c=r._locale._week.doy,o=q(s.gg,r._a[Et],J(K(),u,c).year),l=q(s.w,1),null!=s.d?(d=s.d)<u&&++l:d=null!=s.e?s.e+u:u),m=l,_=d,(v=z(p=o,0,1+(y=6+(f=u)-c)).getUTCDay())<f&&(v+=7),h={year:0<(g=1+y+7*(m-1)-v+(_=null!=_?1*_:f))?p:p-1,dayOfYear:0<g?g:R(p-1)+g},r._a[Et]=h.year,r._dayOfYear=h.dayOfYear),e._dayOfYear&&(a=q(e._a[Et],i[Et]),e._dayOfYear>R(a)&&(b(e)._overflowDayOfYear=!0),n=z(a,0,e._dayOfYear),e._a[At]=n.getUTCMonth(),e._a[Ot]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=w[t]=i[t];for(;t<7;t++)e._a[t]=w[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[Pt]&&0===e._a[$t]&&0===e._a[Ft]&&0===e._a[Nt]&&(e._nextDay=!0,e._a[Pt]=0),e._d=(e._useUTC?z:function(e,t,n,i,a,r,s){var o=new Date(e,t,n,i,a,r,s);return e<1970&&o.setFullYear(e),o}).apply(null,w),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Pt]=24)}}function B(e){if(e._f!==y.ISO_8601){e._a=[],b(e).empty=!0;var t,n,i,a,r,s,o,l,d,u,c,h,p,m,_=""+e._i,f=_.length,g=0;for(i=H(e._f,e._locale).match(mt)||[],t=0;t<i.length;t++)a=i[t],(n=(_.match((d=a,u=e,v(Ht,d)?Ht[d](u._strict,u._locale):new RegExp(d.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,i,a){return t||n||i||a}).replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))))||[])[0])&&(0<(r=_.substr(0,_.indexOf(n))).length&&b(e).unusedInput.push(r),_=_.slice(_.indexOf(n)+n.length),g+=n.length),gt[a]?(n?b(e).empty=!1:b(e).unusedTokens.push(a),s=a,l=e,null!=(o=n)&&v(Ct,s)&&Ct[s](o,l._a,l,s)):e._strict&&!n&&b(e).unusedTokens.push(a);b(e).charsLeftOver=f-g,0<_.length&&b(e).unusedInput.push(_),!0===b(e).bigHour&&e._a[Pt]<=12&&0<e._a[Pt]&&(b(e).bigHour=void 0),e._a[Pt]=(c=e._locale,h=e._a[Pt],null==(p=e._meridiem)?h:null!=c.meridiemHour?c.meridiemHour(h,p):(null!=c.isPM&&((m=c.isPM(p))&&h<12&&(h+=12),m||12!==h||(h=0)),h)),G(e),F(e)}else W(e)}function V(e){var t,n,i,a,r=e._i,s=e._f;return e._locale=e._locale||w(e._l),null===r||void 0===s&&""===r?c({nullInput:!0}):("string"==typeof r&&(e._i=r=e._locale.preparse(r)),m(r)?new p(F(r)):(o(s)?function(e){var t,n,i,a,r;if(0===e._f.length)return b(e).invalidFormat=!0,e._d=new Date(NaN);for(a=0;a<e._f.length;a++)r=0,t=h({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[a],B(t),u(t)&&(r+=b(t).charsLeftOver,r+=10*b(t).unusedTokens.length,b(t).score=r,(null==i||r<i)&&(i=r,n=t));d(e,n||t)}(e):s?B(e):l(r)?e._d=r:void 0===(n=(t=e)._i)?t._d=new Date:l(n)?t._d=new Date(+n):"string"==typeof n?(i=t,null!==(a=qt.exec(i._i))?i._d=new Date(+a[1]):(W(i),!1===i._isValid&&
1(delete i._isValid,y.createFromInputFallback(i)))):o(n)?(t._a=function(e,t){var n,i=[];for(n=0;n<e.length;++n)i.push(t(e[n],n));return i}(n.slice(0),function(e){return parseInt(e,10)}),G(t)):"object"==typeof n?function(e){if(!e._d){var t=Y(e._i);e._a=[t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],G(e)}}(t):"number"==typeof n?t._d=new Date(n):y.createFromInputFallback(t),e))}function X(e,t,n,i,a){var r,s={};return"boolean"==typeof n&&(i=n,n=void 0),s._isAMomentObject=!0,s._useUTC=s._isUTC=a,s._l=n,s._i=e,s._f=t,s._strict=i,(r=new p(F(V(s))))._nextDay&&(r.add(1,"d"),r._nextDay=void 0),r}function K(e,t,n,i){return X(e,t,n,i,!1)}function Q(e,t){var n,i;if(1===t.length&&o(t[0])&&(t=t[0]),!t.length)return K();for(n=t[0],i=1;i<t.length;++i)(!t[i].isValid()||t[i][e](n))&&(n=t[i]);return n}function Z(e){var t=Y(e),n=t.year||0,i=t.quarter||0,a=t.month||0,r=t.week||0,s=t.day||0,o=t.hour||0,l=t.minute||0,d=t.second||0,u=t.millisecond||0;this._milliseconds=+u+1e3*d+6e4*l+36e5*o,this._days=+s+7*r,this._months=+a+3*i+12*n,this._data={},this._locale=w(),this._bubble()}function ee(e){return e instanceof Z}function te(e,n){x(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+S(~~(e/60),2)+n+S(~~e%60,2)})}function ne(e){var t=(e||"").match(xt)||[],n=((t[t.length-1]||[])+"").match(Xt)||["-",0,0],i=60*n[1]+f(n[2]);return"+"===n[0]?i:-i}function ie(e,t){var n,i;return t._isUTC?(n=t.clone(),i=(m(e)||l(e)?+e:+K(e))-+n,n._d.setTime(+n._d+i),y.updateOffset(n,!1),n):K(e).local()}function ae(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function re(){return this._isUTC&&0===this._offset}function se(e,t){var n,i,a,r,s,o,l=e,d=null;return ee(e)?l={ms:e._milliseconds,d:e._days,M:e._months}:"number"==typeof e?(l={},t?l[t]=e:l.milliseconds=e):(d=Kt.exec(e))?(n="-"===d[1]?-1:1,l={y:0,d:f(d[Ot])*n,h:f(d[Pt])*n,m:f(d[$t])*n,s:f(d[Ft])*n,ms:f(d[Nt])*n}):(d=Qt.exec(e))?(n="-"===d[1]?-1:1,l={y:oe(d[2],n),M:oe(d[3],n),d:oe(d[4],n),h:oe(d[5],n),m:oe(d[6],n),s:oe(d[7],n),w:oe(d[8],n)}):null==l?l={}:"object"==typeof l&&("from"in l||"to"in l)&&(r=K(l.from),s=ie(s=K(l.to),r),r.isBefore(s)?o=le(r,s):((o=le(s,r)).milliseconds=-o.milliseconds,o.months=-o.months),(l={}).ms=(a=o).milliseconds,l.M=a.months),i=new Z(l),ee(e)&&v(e,"_locale")&&(i._locale=e._locale),i}function oe(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function le(e,t){var n={milliseconds:0,months:0};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function de(r,s){return function(e,t){var n,i,a;return null===t||isNaN(+t)||(a="moment()."+(i=s)+"(period, number) is deprecated. Please use moment()."+s+"(number, period).",zt[i]||(N(a),zt[i]=!0),n=e,e=t,t=n),ue(this,se(e="string"==typeof e?+e:e,t),r),this}}function ue(e,t,n,i){var a=t._milliseconds,r=t._days,s=t._months;i=null==i||i,a&&e._d.setTime(+e._d+a*n),r&&D(e,"Date",T(e,"Date")+r*n),s&&P(e,T(e,"Month")+s*n),i&&y.updateOffset(e,r||s)}function ce(){var e=this.clone().utc();return 0<e.year()&&e.year()<=9999?"function"==typeof Date.prototype.toISOString?this.toDate().toISOString():j(e,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):j(e,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]")}function he(e){var t;return void 0===e?this._locale._abbr:(null!=(t=w(e))&&(this._locale=t),this)}function pe(){return this._locale}function me(e,t){x(0,[e,e.length],0,t)}function _e(e,t,n){return J(K([e,11,31+t-n]),t,n).week}function fe(e,t){x(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function ge(e,t){return t._meridiemParse}function ye(e,t){t[Nt]=f(1e3*("0."+e))}function ve(e){return e}function Me(e,t,n,i){var a=w(),r=s().set(i,t);return a[n](r,e)}function Le(e,t,n,i,a){if("number"==typeof e&&(t=e,e=void 0),e=e||"",null!=t)return Me(e,t,n,a);var r,s=[];for(r=0;r<i;r++)s[r]=Me(e,r,n,a);return s}function we(e,t,n,i){var a=se(t,n);return e._milliseconds+=i*a._milliseconds,e._days+=i*a._days,e._months+=i*a._months,e._bubble()}function be(e){return e<0?Math.floor(e):Math.ceil(e)}function ke(e){return 4800*e/146097}function Ye(e){return 146097*e/4800}function Te(e){return function(){return this.as(e)}}function De(e){return function(){return this._data[e]}}function Se(){var e,t,n=En(this._milliseconds)/1e3,i=En(this._days),a=En(this._months);t=_((e=_(n/60))/60),n%=60,e%=60;var r=_(a/12),s=a%=12,o=i,l=t,d=e,u=n,c=this.asSeconds();return c?(c<0?"-":"")+"P"+(r?r+"Y":"")+(s?s+"M":"")+(o?o+"D":"")+(l||d||u?"T":"")+(l?l+"H":"")+(d?d+"M":"")+(u?u+"S":""):"P0D"}function xe(e,t,n){var i,a;return"m"===n?t?"хвіліна":"хвіліну":"h"===n?t?"гадзіна":"гадзіну":e+" "+(i=+e,a={mm:t?"хвіліна_хвіліны_хвілін":"хвіліну_хвіліны_хвілін",hh:t?"гадзіна_гадзіны_гадзін":"гадзіну_гадзіны_гадзін",dd:"дзень_дні_дзён",MM:"месяц_месяцы_месяцаў",yy:"год_гады_гадоў"}[n].split("_"),i%10==1&&i%100!=11?a[0]:2<=i%10&&i%10<=4&&(i%100<10||20<=i%100)?a[1]:a[2])}function je(e,t,n){var i,a,r;return e+" "+(i={mm:"munutenn",MM:"miz",dd:"devezh"}[n],2===e?void 0===(r={m:"v",b:"v",d:"z"})[(a=i).charAt(0)]?a:r[a.charAt(0)]+a.substring(1):i)}function He(e,t,n){var i=e+" ";switch(n){case"m":return t?"jedna minuta":"jedne minute";case"mm":return i+(1===e?"minuta":2===e||3===e||4===e?"minute":"minuta");case"h":return t?"jedan sat":"jednog sata";case"hh":return i+(1===e?"sat":2===e||3===e||4===e?"sata":"sati");case"dd":return i+(1===e?"dan":"dana");case"MM":return i+(1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci");case"yy":return i+(1===e?"godina":2===e||3===e||4===e?"godine":"godina")}}function Ce(e){return 1<e&&e<5&&1!=~~(e/10)}function Ee(e,t,n,i){var a=e+" ";switch(n){case"s":return t||i?"pár sekund":"pár sekundami";case"m":return t?"minuta":i?"minutu":"minutou";case"mm":return t||i?a+(Ce(e)?"minuty":"minut"):a+"minutami";case"h":return t?"hodina":i?"hodinu":"hodinou";case"hh":return t||i?a+(Ce(e)?"hodiny":"hodin"):a+"hodinami";case"d":return t||i?"den":"dnem";case"dd":return t||i?a+(Ce(e)?"dny":"dní"):a+"dny";case"M":return t||i?"měsíc":"měsícem";case"MM":return t||i?a+(Ce(e)?"měsíce":"měsíců"):a+"měsíci";case"y":return t||i?"rok":"rokem";case"yy":return t||i?a+(Ce(e)?"roky":"let"):a+"lety"}}function Ae(e,t,n,i){var a={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?a[n][0]:a[n][1]}function Oe(e,t,n,i){var a={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?a[n][0]:a[n][1]}function Pe(e,t,n,i){var a={s:["mõne sekundi","mõni sekund","paar sekundit"],m:["ühe minuti","üks minut"],mm:[e+" minuti",e+" minutit"],h:["ühe tunni","tund aega","üks tund"],hh:[e+" tunni",e+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:[e+" kuu",e+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[e+" aasta",e+" aastat"]};return t?a[n][2]?a[n][2]:a[n][1]:i?a[n][0]:a[n][1]}function $e(e,t,n,i){var a,r,s="";switch(n){case"s":return i?"muutaman sekunnin":"muutama sekunti";case"m":return i?"minuutin":"minuutti";case"mm":s=i?"minuutin":"minuuttia";break;case"h":return i?"tunnin":"tunti";case"hh":s=i?"tunnin":"tuntia";break;case"d":return i?"päivän":"päivä";case"dd":s=i?"päivän":"päivää";break;case"M":return i?"kuukauden":"kuukausi";case"MM":s=i?"kuukauden":"kuukautta";break;case"y":return i?"vuoden":"vuosi";case"yy":s=i?"vuoden":"vuotta"}return r=i,((a=e)<10?r?ni[a]:ti[a]:a)+" "+s}function Fe(e,t,n){var i=e+" ";switch(n){case"m":return t?"jedna minuta":"jedne minute";case"mm":return i+(1===e?"minuta":2===e||3===e||4===e?"minute":"minuta");case"h":return t?"jedan sat":"jednog sata";case"hh":return i+(1===e?"sat":2===e||3===e||4===e?"sata":"sati");case"dd":return i+(1===e?"dan":"dana");case"MM":return i+(1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci");case"yy":return i+(1===e?"godina":2===e||3===e||4===e?"godine":"godina")}}function Ne(e,t,n,i){var a=e;switch(n){case"s":return i||t?"néhány másodperc":"néhány másodperce";case"m":return"egy"+(i||t?" perc":" perce");case"mm":return a+(i||t?" perc":" perce");case"h":return"egy"+(i||t?" óra":" órája");case"hh":return a+(i||t?" óra":" órája");case"d":return"egy"+(i||t?" nap":" napja");case"dd":return a+(i||t?" nap":" napja");case"M":return"egy"+(i||t?" hónap":" hónapja");case"MM":return a+(i||t?" hónap":" hónapja");case"y":return"egy"+(i||t?" év":" éve");case"yy":return a+(i||t?" év":" éve")}return""}function Ie(e){return(e?"":"[múlt] ")+"["+oi[this.day()]+"] LT[-kor]"}function We(e){return e%100==11||e%10!=1}function ze(e,t,n,i){var a=e+" ";switch(n){case"s":return t||i?"nokkrar sekúndur":"nokkrum sekúndum";
1case"m":return t?"mínúta":"mínútu";case"mm":return We(e)?a+(t||i?"mínútur":"mínútum"):t?a+"mínúta":a+"mínútu";case"hh":return We(e)?a+(t||i?"klukkustundir":"klukkustundum"):a+"klukkustund";case"d":return t?"dagur":i?"dag":"degi";case"dd":return We(e)?t?a+"dagar":a+(i?"daga":"dögum"):t?a+"dagur":a+(i?"dag":"degi");case"M":return t?"mánuður":i?"mánuð":"mánuði";case"MM":return We(e)?t?a+"mánuðir":a+(i?"mánuði":"mánuðum"):t?a+"mánuður":a+(i?"mánuð":"mánuði");case"y":return t||i?"ár":"ári";case"yy":return We(e)?a+(t||i?"ár":"árum"):a+(t||i?"ár":"ári")}}function Re(e,t,n,i){var a={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return t?a[n][0]:a[n][1]}function Ue(e){if(e=parseInt(e,10),isNaN(e))return!1;if(e<0)return!0;if(e<10)return 4<=e&&e<=7;if(e<100){var t=e%10;return Ue(0===t?e/10:t)}if(e<1e4){for(;10<=e;)e/=10;return Ue(e)}return Ue(e/=1e3)}function Je(e,t,n,i){return t?Ge(n)[0]:i?Ge(n)[1]:Ge(n)[2]}function qe(e){return e%10==0||10<e&&e<20}function Ge(e){return li[e].split("_")}function Be(e,t,n,i){var a=e+" ";return 1===e?a+Je(0,t,n[0],i):t?a+(qe(e)?Ge(n)[1]:Ge(n)[0]):i?a+Ge(n)[1]:a+(qe(e)?Ge(n)[1]:Ge(n)[2])}function Ve(e,t,n){return n?t%10==1&&11!==t?e[2]:e[3]:t%10==1&&11!==t?e[0]:e[1]}function Xe(e,t,n){return e+" "+Ve(ui[n],e,t)}function Ke(e,t,n){return Ve(ui[n],e,t)}function Qe(e){return e%10<5&&1<e%10&&~~(e/10)%10!=1}function Ze(e,t,n){var i=e+" ";switch(n){case"m":return t?"minuta":"minutę";case"mm":return i+(Qe(e)?"minuty":"minut");case"h":return t?"godzina":"godzinę";case"hh":return i+(Qe(e)?"godziny":"godzin");case"MM":return i+(Qe(e)?"miesiące":"miesięcy");case"yy":return i+(Qe(e)?"lata":"lat")}}function et(e,t,n){var i=" ";return(20<=e%100||100<=e&&e%100==0)&&(i=" de "),e+i+{mm:"minute",hh:"ore",dd:"zile",MM:"luni",yy:"ani"}[n]}function tt(e,t,n){var i,a;return"m"===n?t?"минута":"минуту":e+" "+(i=+e,a={mm:t?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"}[n].split("_"),i%10==1&&i%100!=11?a[0]:2<=i%10&&i%10<=4&&(i%100<10||20<=i%100)?a[1]:a[2])}function nt(e){return 1<e&&e<5}function it(e,t,n,i){var a=e+" ";switch(n){case"s":return t||i?"pár sekúnd":"pár sekundami";case"m":return t?"minúta":i?"minútu":"minútou";case"mm":return t||i?a+(nt(e)?"minúty":"minút"):a+"minútami";case"h":return t?"hodina":i?"hodinu":"hodinou";case"hh":return t||i?a+(nt(e)?"hodiny":"hodín"):a+"hodinami";case"d":return t||i?"deň":"dňom";case"dd":return t||i?a+(nt(e)?"dni":"dní"):a+"dňami";case"M":return t||i?"mesiac":"mesiacom";case"MM":return t||i?a+(nt(e)?"mesiace":"mesiacov"):a+"mesiacmi";case"y":return t||i?"rok":"rokom";case"yy":return t||i?a+(nt(e)?"roky":"rokov"):a+"rokmi"}}function at(e,t,n,i){var a=e+" ";switch(n){case"s":return t||i?"nekaj sekund":"nekaj sekundami";case"m":return t?"ena minuta":"eno minuto";case"mm":return a+(1===e?t?"minuta":"minuto":2===e?t||i?"minuti":"minutama":e<5?t||i?"minute":"minutami":t||i?"minut":"minutami");case"h":return t?"ena ura":"eno uro";case"hh":return a+(1===e?t?"ura":"uro":2===e?t||i?"uri":"urama":e<5?t||i?"ure":"urami":t||i?"ur":"urami");case"d":return t||i?"en dan":"enim dnem";case"dd":return a+(1===e?t||i?"dan":"dnem":2===e?t||i?"dni":"dnevoma":t||i?"dni":"dnevi");case"M":return t||i?"en mesec":"enim mesecem";case"MM":return a+(1===e?t||i?"mesec":"mesecem":2===e?t||i?"meseca":"mesecema":e<5?t||i?"mesece":"meseci":t||i?"mesecev":"meseci");case"y":return t||i?"eno leto":"enim letom";case"yy":return a+(1===e?t||i?"leto":"letom":2===e?t||i?"leti":"letoma":e<5?t||i?"leta":"leti":t||i?"let":"leti")}}function rt(e,t,n,i){var a={s:["viensas secunds","'iensas secunds"],m:["'n míut","'iens míut"],mm:[e+" míuts"," "+e+" míuts"],h:["'n þora","'iensa þora"],hh:[e+" þoras"," "+e+" þoras"],d:["'n ziua","'iensa ziua"],dd:[e+" ziuas"," "+e+" ziuas"],M:["'n mes","'iens mes"],MM:[e+" mesen"," "+e+" mesen"],y:["'n ar","'iens ar"],yy:[e+" ars"," "+e+" ars"]};return i?a[n][0]:t?a[n][0]:a[n][1].trim()}function st(e,t,n){var i,a;return"m"===n?t?"хвилина":"хвилину":"h"===n?t?"година":"годину":e+" "+(i=+e,a={mm:"хвилина_хвилини_хвилин",hh:"година_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"}[n].split("_"),i%10==1&&i%100!=11?a[0]:2<=i%10&&i%10<=4&&(i%100<10||20<=i%100)?a[1]:a[2])}function ot(e){return function(){return e+"о"+(11===this.hours()?"б":"")+"] LT"}}var lt,dt,ut=y.momentProperties=[],ct=!1,ht={},pt={},mt=/(\[[^\[]*\])|(\\)?(Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Q|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|mm?|ss?|S{1,9}
1|x|X|zz?|ZZ?|.)/g,_t=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,ft={},gt={},yt=/\d/,vt=/\d\d/,Mt=/\d{3}/,Lt=/\d{4}/,wt=/[+-]?\d{6}/,bt=/\d\d?/,kt=/\d{1,3}/,Yt=/\d{1,4}/,Tt=/[+-]?\d{1,6}/,Dt=/\d+/,St=/[+-]?\d+/,xt=/Z|[+-]\d\d:?\d\d/gi,jt=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,Ht={},Ct={},Et=0,At=1,Ot=2,Pt=3,$t=4,Ft=5,Nt=6;x("M",["MM",2],"Mo",function(){return this.month()+1}),x("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),x("MMMM",0,0,function(e){return this.localeData().months(this,e)}),e("month","M"),C("M",bt),C("MM",bt,vt),C("MMM",jt),C("MMMM",jt),E(["M","MM"],function(e,t){t[At]=f(e)-1}),E(["MMM","MMMM"],function(e,t,n,i){var a=n._locale.monthsParse(e,i,n._strict);null!=a?t[At]=a:b(n).invalidMonth=e});var It="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Wt="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),zt={};y.suppressDeprecationWarnings=!1;var Rt=/^\s*(?:[+-]\d{6}|\d{4})-(?:(\d\d-\d\d)|(W\d\d$)|(W\d\d-\d)|(\d\d\d))((T| )(\d\d(:\d\d(:\d\d(\.\d+)?)?)?)?([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Ut=[["YYYYYY-MM-DD",/[+-]\d{6}-\d{2}-\d{2}/],["YYYY-MM-DD",/\d{4}-\d{2}-\d{2}/],["GGGG-[W]WW-E",/\d{4}-W\d{2}-\d/],["GGGG-[W]WW",/\d{4}-W\d{2}/],["YYYY-DDD",/\d{4}-\d{3}/]],Jt=[["HH:mm:ss.SSSS",/(T| )\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss",/(T| )\d\d:\d\d:\d\d/],["HH:mm",/(T| )\d\d:\d\d/],["HH",/(T| )\d\d/]],qt=/^\/?Date\((\-?\d+)/i;y.createFromInputFallback=I("moment construction falls back to js Date. This is discouraged and will be removed in upcoming major release. Please refer to https://github.com/moment/moment/issues/1407 for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),x(0,["YY",2],0,function(){return this.year()%100}),x(0,["YYYY",4],0,"year"),x(0,["YYYYY",5],0,"year"),x(0,["YYYYYY",6,!0],0,"year"),e("year","y"),C("Y",St),C("YY",bt,vt),C("YYYY",Yt,Lt),C("YYYYY",Tt,wt),C("YYYYYY",Tt,wt),E(["YYYYY","YYYYYY"],Et),E("YYYY",function(e,t){t[Et]=2===e.length?y.parseTwoDigitYear(e):f(e)}),E("YY",function(e,t){t[Et]=y.parseTwoDigitYear(e)});var Gt=t("FullYear",!(y.parseTwoDigitYear=function(e){return f(e)+(68<f(e)?1900:2e3)}));x("w",["ww",2],"wo","week"),x("W",["WW",2],"Wo","isoWeek"),e("week","w"),e("isoWeek","W"),C("w",bt),C("ww",bt,vt),C("W",bt),C("WW",bt,vt),A(["w","ww","W","WW"],function(e,t,n,i){t[i.substr(0,1)]=f(e)});x("DDD",["DDDD",3],"DDDo","dayOfYear"),e("dayOfYear","DDD"),C("DDD",kt),C("DDDD",Mt),E(["DDD","DDDD"],function(e,t,n){n._dayOfYear=f(e)}),y.ISO_8601=function(){};var Bt=I("moment().min is deprecated, use moment.min instead. https://github.com/moment/moment/issues/1548",function(){var e=K.apply(null,arguments);return e<this?this:e}),Vt=I("moment().max is deprecated, use moment.max instead. https://github.com/moment/moment/issues/1548",function(){var e=K.apply(null,arguments);return this<e?this:e});te("Z",":"),te("ZZ",""),C("Z",xt),C("ZZ",xt),E(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=ne(e)});var Xt=/([\+\-]|\d\d)/gi;y.updateOffset=function(){};var Kt=/(\-)?(?:(\d*)\.)?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?)?/,Qt=/^(-)?P(?:(?:([0-9,.]*)Y)?(?:([0-9,.]*)M)?(?:([0-9,.]*)D)?(?:T(?:([0-9,.]*)H)?(?:([0-9,.]*)M)?(?:([0-9,.]*)S)?)?|([0-9,.]*)W)$/;se.fn=Z.prototype;var Zt=de(1,"add"),en=de(-1,"subtract");y.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";var tn=I("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});x(0,["gg",2],0,function(){return this.weekYear()%100}),x(0,["GG",2],0,function(){return this.isoWeekYear()%100}),me("gggg","weekYear"),me("ggggg","weekYear"),me("GGGG","isoWeekYear"),me("GGGGG","isoWeekYear"),e("weekYear","gg"),e("isoWeekYear","GG"),C("G",St),C("g",St),C("GG",bt,vt),C("gg",bt,vt),C("GGGG",Yt,Lt),C("gggg",Yt,Lt),C("GGGGG",Tt,wt),C("ggggg",Tt,wt),A(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,i){t[i.substr(0,2)]=f(e)}),A(["gg","GG"],function(e,t,n,i){t[i]=y.parseTwoDigitYear(e)}),x("Q",0,0,"quarter"),e("quarter","Q"),C("Q",yt),E("Q",function(e,t){t[At]=3*(f(e)-1)}),x("D",["DD",2],"Do","date"),e("date","D"),C("D",bt),C("DD",bt,vt),C("Do",function(e,t){return e?t._ordinalParse:t._ordinalParseLenient}),E(["D","DD"],Ot),E("Do",function(e,t){t[Ot]=f(e.match(bt)[0])});var nn=t("Date",!0);x("d",0,"do","day"),x("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),x("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),x("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),x("e",0,0,"weekday"),x("E",0,0,"isoWeekday"),e("day","d"),e("weekday","e"),e("isoWeekday","E"),C("d",bt),C("e",bt),C("E",bt),C("dd",jt),C("ddd",jt),C("dddd",jt),A(["dd","ddd","dddd"],function(e,t,n){var i=n._locale.weekdaysParse(e);null!=i?t.d=i:b(n).invalidWeekday=e}),A(["d","e","E"],function(e,t,n,i){t[i]=f(e)});var an="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),rn="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),sn="Su_Mo_Tu_We_Th_Fr_Sa".split("_");x("H",["HH",2],0,"hour"),x("h",["hh",2],0,function(){return this.hours()%12||12}),fe("a",!0),fe("A",!1),e("hour","h"),C("a",ge),C("A",ge),C("H",bt),C("h",bt),C("HH",bt,vt),C("hh",bt,vt),E(["H","HH"],Pt),E(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),E(["h","hh"],function(e,t,n){t[Pt]=f(e),b(n).bigHour=!0});var on=t("Hours",!0);x("m",["mm",2],0,"minute"),e("minute","m"),C("m",bt),C("mm",bt,vt),E(["m","mm"],$t);var ln=t("Minutes",!1);x("s",["ss",2],0,"second"),e("second","s"),C("s",bt),C("ss",bt,vt),E(["s","ss"],Ft);var dn,un=t("Seconds",!1);for(x("S",0,0,function(){return~~(this.millisecond()/100)}),x(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),x(0,["SSS",3],0,"millisecond"),x(0,["SSSS",4],0,function(){return 10*this.millisecond()}),x(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),x(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),x(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),x(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),x(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),e("millisecond","ms"),C("S",kt,yt),C("SS",kt,vt),C("SSS",kt,Mt),dn="SSSS";dn.length<=9;dn+="S")C(dn,Dt);for(dn="S";dn.length<=9;dn+="S")E(dn,ye);var cn=t("Milliseconds",!1);x("z",0,0,"zoneAbbr"),x("zz",0,0,"zoneName");var hn=p.prototype;hn.add=Zt,hn.calendar=function(e,t){var n=e||K(),i=ie(n,this).startOf("day"),a=this.diff(i,"days",!0),r=a<-6?"sameElse":a<-1?"lastWeek":a<0?"lastDay":a<1?"sameDay":a<2?"nextDay":a<
17?"nextWeek":"sameElse";return this.format(t&&t[r]||this.localeData().calendar(r,this,K(n)))},hn.clone=function(){return new p(this)},hn.diff=function(e,t,n){var i,a,r,s,o,l,d,u,c=ie(e,this),h=6e4*(c.utcOffset()-this.utcOffset());return"year"===(t=k(t))||"month"===t||"quarter"===t?(r=this,d=12*((s=c).year()-r.year())+(s.month()-r.month()),u=r.clone().add(d,"months"),l=s-u<0?(o=r.clone().add(d-1,"months"),(s-u)/(u-o)):(o=r.clone().add(d+1,"months"),(s-u)/(o-u)),a=-(d+l),"quarter"===t?a/=3:"year"===t&&(a/=12)):(i=this-c,a="second"===t?i/1e3:"minute"===t?i/6e4:"hour"===t?i/36e5:"day"===t?(i-h)/864e5:"week"===t?(i-h)/6048e5:i),n?a:_(a)},hn.endOf=function(e){return void 0===(e=k(e))||"millisecond"===e?this:this.startOf(e).add(1,"isoWeek"===e?"week":e).subtract(1,"ms")},hn.format=function(e){var t=j(this,e||y.defaultFormat);return this.localeData().postformat(t)},hn.from=function(e,t){return this.isValid()?se({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},hn.fromNow=function(e){return this.from(K(),e)},hn.to=function(e,t){return this.isValid()?se({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},hn.toNow=function(e){return this.to(K(),e)},hn.get=r,hn.invalidAt=function(){return b(this).overflow},hn.isAfter=function(e,t){return"millisecond"===(t=k(void 0!==t?t:"millisecond"))?+(e=m(e)?e:K(e))<+this:(m(e)?+e:+K(e))<+this.clone().startOf(t)},hn.isBefore=function(e,t){var n;return"millisecond"===(t=k(void 0!==t?t:"millisecond"))?+this<+(e=m(e)?e:K(e)):(n=m(e)?+e:+K(e),+this.clone().endOf(t)<n)},hn.isBetween=function(e,t,n){return this.isAfter(e,n)&&this.isBefore(t,n)},hn.isSame=function(e,t){var n;return"millisecond"===(t=k(t||"millisecond"))?+this==+(e=m(e)?e:K(e)):(n=+K(e),+this.clone().startOf(t)<=n&&n<=+this.clone().endOf(t))},hn.isValid=function(){return u(this)},hn.lang=tn,hn.locale=he,hn.localeData=pe,hn.max=Vt,hn.min=Bt,hn.parsingFlags=function(){return d({},b(this))},hn.set=r,hn.startOf=function(e){switch(e=k(e)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===e&&this.weekday(0),"isoWeek"===e&&this.isoWeekday(1),"quarter"===e&&this.month(3*Math.floor(this.month()/3)),this},hn.subtract=en,hn.toArray=function(){return[this.year(),this.month(),this.date(),this.hour(),this.minute(),this.second(),this.millisecond()]},hn.toObject=function(){return{years:this.year(),months:this.month(),date:this.date(),hours:this.hours(),minutes:this.minutes(),seconds:this.seconds(),milliseconds:this.milliseconds()}},hn.toDate=function(){return this._offset?new Date(+this):this._d},hn.toISOString=ce,hn.toJSON=ce,hn.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},hn.unix=function(){return Math.floor(+this/1e3)},hn.valueOf=function(){return+this._d-6e4*(this._offset||0)},hn.year=Gt,hn.isLeapYear=function(){return U(this.year())},hn.weekYear=function(e){var t=J(this,this.localeData()._week.dow,this.localeData()._week.doy).year;return null==e?t:this.add(e-t,"y")},hn.isoWeekYear=function(e){var t=J(this,1,4).year;return null==e?t:this.add(e-t,"y")},hn.quarter=hn.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},hn.month=$,hn.daysInMonth=function(){return O(this.year(),this.month())},hn.week=hn.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},hn.isoWeek=hn.isoWeeks=function(e){var t=J(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},hn.weeksInYear=function(){var e=this.localeData()._week;return _e(this.year(),e.dow,e.doy)},hn.isoWeeksInYear=function(){return _e(this.year(),1,4)},hn.date=nn,hn.day=hn.days=function(e){var t,n,i=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(t=e,n=this.localeData(),e="string"!=typeof t?t:isNaN(t)?"number"==typeof(t=n.weekdaysParse(t))?t:null:parseInt(t,10),this.add(e-i,"d")):i},hn.weekday=function(e){var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},hn.isoWeekday=function(e){return null==e?this.day()||7:this.day(this.day()%7?e:e-7)},hn.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},hn.hour=hn.hours=on,hn.minute=hn.minutes=ln,hn.second=hn.seconds=un,hn.millisecond=hn.milliseconds=cn,hn.utcOffset=function(e,t){var n,i=this._offset||0;return null!=e?("string"==typeof e&&(e=ne(e)),Math.abs(e)<16&&(e*=60),!this._isUTC&&t&&(n=ae(this)),this._offset=e,this._isUTC=!0,null!=n&&this.add(n,"m"),i!==e&&(!t||this._changeInProgress?ue(this,se(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,y.updateOffset(this,!0),this._changeInProgress=null)),this):this._isUTC?i:ae(this)},hn.utc=function(e){return this.utcOffset(0,e)},hn.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(ae(this),"m")),this},hn.parseZone=function(){return this._tzm?this.utcOffset(this._tzm):"string"==typeof this._i&&this.utcOffset(ne(this._i)),this},hn.hasAlignedHourOffset=function(e){return e=e?K(e).utcOffset():0,(this.utcOffset()-e)%60==0},hn.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},hn.isDSTShifted=function(){if(void 0!==this._isDSTShifted)return this._isDSTShifted;var e={};if(h(e,this),(e=V(e))._a){var t=e._isUTC?s(e._a):K(e._a);this._isDSTShifted=this.isValid()&&0<g(e._a,t.toArray())}else this._isDSTShifted=!1;return this._isDSTShifted},hn.isLocal=function(){return!this._isUTC},hn.isUtcOffset=function(){return this._isUTC},hn.isUtc=re,hn.isUTC=re,hn.zoneAbbr=function(){return this._isUTC?"UTC":""},hn.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},hn.dates=I("dates accessor is deprecated. Use date instead.",nn),hn.months=I("months accessor is deprecated. Use month instead",$),hn.years=I("years accessor is deprecated. Use year instead",Gt),hn.zone=I("moment().zone is deprecated, use moment().utcOffset instead. https://github.com/moment/moment/issues/1779",function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()});var pn=hn,mn=n.prototype;mn._calendar={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},mn.calendar=function(e,t,n){var i=this._calendar[e];return"function"==typeof i?i.call(t,n):i},mn._longDateFormat={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},mn.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,function(e){return e.slice(1)}),this._longDateFormat[e])},mn._invalidDate="Invalid date",mn.invalidDate=function(){return this._invalidDate},mn._ordinal="%d",mn.ordinal=function(e){return this._ordinal.replace("%d",e)},mn._ordinalParse=/\d{1,2}/,mn.preparse=ve,mn.postformat=ve,mn._relativeTime={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},mn.relativeTime=function(e,t,n,i){var a=this._relativeTime[n];return"function"==typeof a?a(e,t,n,i):a.replace(/%d/i,e)},mn.pastFuture=function(e,t){var n=this._relativeTime[0<e?"future":"past"];return"function"==typeof n?n(t):n.replace(/%s/i,t)},mn.set=function(e){var t,n;for(n in e)"function"==typeof(t=e[n])?this[n]=t:this["_"+n]=t;this._ordinalParseLenient=new RegExp(this._ordinalParse.source+"|"+/\d{1,2}/.source)},mn.months=function(e){return this._months[e.month()]},mn._months=It,mn.monthsShort=function(e){return this._monthsShort[e.month()]},mn._monthsShort=Wt,mn.monthsParse=function(e,t,n){var i,a,r;for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(a=s([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(r="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[i]=new RegExp(r.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[i].test(e))return i;if(n&&"MMM"===t&&this._shortMonthsParse[i].test(e))return i;if(!n&&this._monthsParse[i].test(e))return i}},mn.week=function(e){return J(e,this._week.dow,this._week.doy).week},mn._week={dow:0,doy:6},mn.firstDayOfYear=function(){return this._week.doy},mn.firstDayOfWeek=function(){return this._week.dow},mn.weekdays=function(e){return this._weekdays[e.day()]},mn._weekdays=an,mn.weekdaysMin=function(e){return this._weekdaysMin[e.day()]},mn._weekdaysMin=sn,mn.weekdaysShort=function(e){return this._weekdaysShort[e.day()]},mn._weekdaysShort=rn,mn.weekdaysParse=function(e){var t,n,i;for(this._weekdaysParse=this._weekdaysParse||[],t=0;t<7;t++)if(this._weekdaysParse[t]||(n=K([2e3,1]).day(t),i="^"+this.weekdays(n,"")+"|^"+this.weekdaysShort(n,"")+"|^"+this.weekdaysMin(n,""),this._weekdaysParse[t]=new RegExp(i.replace(".",""),"i")),this._weekdaysParse[t].test(e))return t},mn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},mn._meridiemParse=/[ap]\.?m?\.?/i,mn.meridiem=function(e,t,n){return 11<e?n?"pm":"PM":n?"am":"AM"},i("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===f(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),y.lang=I("moment.lang is deprecated. Use moment.locale instead.",i),y.langData=I("moment.langData is deprecated. Use moment.localeData instead.",w);var _n=Math.abs,fn=Te("ms"),gn=Te("s"),yn=Te("m"),vn=Te("h"),Mn=Te("d"),Ln=Te("w"),wn=Te("M"),bn=Te("y"),kn=De("milliseconds"),Yn=De("seconds"),Tn=De("minutes"),Dn=De("hours"),Sn=De("days"),xn=De("months"),jn=De("years"),Hn=Math.round,Cn={s:45,m:45,h:22,d:26,M:11},En=Math.abs,An=Z.prototype;An.abs=function(){var e=this._data;return this._milliseconds=_n(this._milliseconds),this._days=_n(this._days),this._months=_n(this._months),e.milliseconds=_n(e.milliseconds),e.seconds=_n(e.seconds),e.minutes=_n(e.minutes),e.hours=_n(e.hours),e.months=_n(e.months),e.years=_n(e.years),this},An.add=function(e,t){return we(this,e,t,1)},An.subtract=function(e,t){return we(this,e,t,-1)},An.as=function(e){var t,n,i=this._milliseconds;if("month"===(e=k(e))||"year"===e)return t=this._days+i/864e5,n=this._months+ke(t),"month"===e?n:n/12;switch(t=this._days+Math.round(Ye(this._months)),e){case"week":return t/7+i/6048e5;case"day":return t+i/864e5;case"hour":return 24*t+i/36e5;case"minute":return 1440*t+i/6e4;case"second":return 86400*t+i/1e3;case"millisecond":return Math.floor(864e5*t)+i;default:throw new Error("Unknown unit "+e)}},An.asMilliseconds=fn,An.asSeconds=gn,An.asMinutes=yn,An.asHours=vn,An.asDays=Mn,An.asWeeks=Ln,An.asMonths=wn,An.asYears=bn,An.valueOf=function(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*f(this._months/12)},An._bubble=function(){var e,t,n,i,a,r=this._milliseconds,s=this._days,o=this._months,l=this._data;return 0<=r&&0<=s&&0<=o||r<=0&&s<=0&&o<=0||(r+=864e5*be(Ye(o)+s),o=s=0),l.milliseconds=r%1e3,e=_(r/1e3),l.seconds=e%60,t=_(e/60),l.minutes=t%60,n=_(t/60),l.hours=n%24,o+=a=_(ke(s+=_(n/24))),s-=be(Ye(a)),i=_(o/12),o%=12,l.days=s,l.months=o,l.years=i,this},An.get=function(e){return this[(e=k(e))+"s"]()},An.milliseconds=kn,An.seconds=Yn,An.minutes=Tn,An.hours=Dn,An.days=Sn,An.weeks=function(){return _(this.days()/7)},An.months=xn,An.years=jn,An.humanize=function(e){var t,n,i,a,r,s,o,l,d,u,c,h=this.localeData(),p=(n=!e,i=h,a=se(t=this).abs(),r=Hn(a.as("s")),s=Hn(a.as("m")),o=Hn(a.as("h")),l=Hn(a.as("d")),d=Hn(a.as("M")),u=Hn(a.as("y")),(c=r<Cn.s&&["s",r]||1===s&&["m"]||s<Cn.m&&["mm",s]||1===o&&["h"]||o<Cn.h&&["hh",o]||1===l&&["d"]||l<Cn.d&&["dd",l]||1===d&&["M"]||d<Cn.M&&["MM",d]||1===u&&["y"]||["yy",u])[2]=n,c[3]=0<+t,c[4]=i,function(e,t,n,i,a){return a.relativeTime(t||1,!!n,e,i)}.apply(null,c));return e&&(p=h.pastFuture(+this,p)),h.postformat(p)},An.toISOString=Se,An.toString=Se,An.toJSON=Se,An.locale=he,An.localeData=pe,An.toIsoString=I("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Se),An.lang=tn,x("X",0,0,"unix"),x("x",0,0,"valueOf"),C("x",St),C("X",/[+-]?\d+(\.\d{1,3})?/),E("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),E("x",function(e,t,n){n._d=new Date(f(e))}),y.version="2.10.6",lt=K,y.fn=pn,y.min=function(){return Q("isBefore",[].slice.call(arguments,0))},y.max=function(){return Q("isAfter",[].slice.call(arguments,0))},y.utc=s,y.unix=function(e){return K(1e3*e)},y.months=function(e,t){return Le(e,t,"months",12,"month")},y.isDate=l,y.locale=i,y.invalid=c,y.duration=se,y.isMoment=m,y.weekdays=function(e,t){return Le(e,t,"weekdays",7,"day")},y.parseZone=function(){return K.apply(null,arguments).parseZone()},y.localeData=w,y.isDuration=ee,y.monthsShort=function(e,t){return Le(e,t,"monthsShort",12,"month")},y.weekdaysMin=function(e,t){return Le(e,t,"weekdaysMin",7,"day")},y.defineLocale=a,y.weekdaysShort=function(e,t){return Le(e,t,"weekdaysShort",7,"day")},y.normalizeUnits=k,y.relativeTimeThreshold=function(e,t){return void 0!==Cn[e]&&(void 0===t?Cn[e]:(Cn[e]=t,!0))};var On=y,Pn=(On.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(e){return/^nm$/i.test(e)},meridiem:function(e,t,n){return e<12?n?"vm":"VM":n?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[Môre om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},ordinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||20<=e?"ste":"de")},week:{dow:1,doy:4}}),On.defineLocale("ar-ma",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"Ø­_ن_Ø«_ر_Ø®_ج_س".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:6,doy:12}}),{1:"Ù¡",2:"Ù¢",3:"Ù£",4:"Ù¤",5:"Ù¥",6:"Ù¦",7:"Ù§",8:"Ù¨",9:"Ù©",0:"Ù "}),$n={"Ù¡":"1","Ù¢":"2","Ù£":"3","Ù¤":"4","Ù¥":"5","Ù¦":"6","Ù§":"7","Ù¨":"8","Ù©":"9","Ù ":"0"},Fn=(On.defineLocale("ar-sa",{months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الØ
1®Ù…يس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"Ø­_ن_Ø«_ر_Ø®_ج_س".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(e){return $n[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return Pn[e]}).replace(/,/g,"،")},week:{dow:6,doy:12}}),On.defineLocale("ar-tn",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"Ø­_ن_Ø«_ر_Ø®_ج_س".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}}),{1:"Ù¡",2:"Ù¢",3:"Ù£",4:"Ù¤",5:"Ù¥",6:"Ù¦",7:"Ù§",8:"Ù¨",9:"Ù©",0:"Ù "}),Nn={"Ù¡":"1","Ù¢":"2","Ù£":"3","Ù¤":"4","Ù¥":"5","Ù¦":"6","Ù§":"7","Ù¨":"8","Ù©":"9","Ù ":"0"},In=function(e){return 0===e?0:1===e?1:2===e?2:3<=e%100&&e%100<=10?3:11<=e%100?4:5},Wn={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},zn=function(s){return function(e,t,n,i){var a=In(e),r=Wn[s][In(e)];return 2===a&&(r=r[t?0:1]),r.replace(/%d/i,e)}},Rn=["كانون الثاني يناير","شباط فبراير","آذار مارس","نيسان أبريل","أيار مايو","حزيران يونيو","تموز يوليو","آب أغسطس","أيلول سبتمبر","تشرين الأول أكتوبر","تشرين الثاني نوفمبر","كانون الأول ديسمبر"],Un=(On.defineLocale("ar",{months:Rn,monthsShort:Rn,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"Ø­_ن_Ø«_ر_Ø®_ج_س".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:zn("s"),m:zn("m"),mm:zn("m"),h:zn("h"),hh:zn("h"),d:zn("d"),dd:zn("d"),M:zn("M"),MM:zn("M"),y:zn("y"),yy:zn("y")},preparse:function(e){return e.replace(/\u200f/g,"").replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(e){return Nn[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return Fn[e]}).replace(/,/g,"،")},week:{dow:6,doy:12}}),{1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-üncü",4:"-üncü",100:"-üncü",6:"-ncı",9:"-uncu",10:"-uncu",30:"-uncu",60:"-ıncı",90:"-ıncı"}),Jn=(On.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə".split("_"),weekdaysShort:"Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən".split("_"),weekdaysMin:"Bz_BE_ÇA_Çə_CA_Cü_Şə".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[gələn həftə] dddd [saat] LT",lastDay:"[dünən] LT",lastWeek:"[keçən həftə] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s əvvəl",s:"birneçə saniyyə",m:"bir dəqiqə",mm:"%d dəqiqə",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gecə|səhər|gündüz|axşam/,isPM:function(e){return/^(gündüz|axşam)$/.test(e)},meridiem:function(e,t,n){return e<4?"gecə":e<12?"səhər":e<17?"gündüz":"axşam"},ordinalParse:/\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,ordinal:function(e){if(0===e)return e+"-ıncı";var t=e%10;return e+(Un[t]||Un[e%100-t]||Un[100<=e?100:null])},week:{dow:1,doy:7}}),On.defineLocale("be",{months:function(e,t){return{nominative:"студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань".split("_"),accusative:"студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня".split("_")}[/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/.test(t)?"accusative":"nominative"][e.month()]},monthsShort:"студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж".split("_"),weekdays:function(e,t){return{nominative:"нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота".split("_"),accusative:"нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу".split("_")}[/\[ ?[Вв] ?(?:мінулую|наступную)? ?\] ?dddd/.test(t)?"accusative":"nominative"][e.day()]},weekdaysShort:"нд_пн_ат_ср_чц_пт_сб".split("_"),weekdaysMin:"нд_пн_ат_ср_чц_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"}
vendor: 6,867 bytes, line 1
1,calendar:{sameDay:"[Сёння ў] LT",nextDay:"[Заўтра ў] LT",lastDay:"[Учора ў] LT",nextWeek:function(){return"[У] dddd [ў] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[У мінулую] dddd [ў] LT";case 1:case 2:case 4:return"[У мінулы] dddd [ў] LT"}},sameElse:"L"},relativeTime:{future:"праз %s",past:"%s таму",s:"некалькі секунд",m:xe,mm:xe,h:xe,hh:xe,d:"дзень",dd:xe,M:"месяц",MM:xe,y:"год",yy:xe},meridiemParse:/ночы|раніцы|дня|вечара/,isPM:function(e){return/^(дня|вечара)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночы":e<12?"раніцы":e<17?"дня":"вечара"},ordinalParse:/\d{1,2}-(і|ы|га)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e%10!=2&&e%10!=3||e%100==12||e%100==13?e+"-ы":e+"-і";case"D":return e+"-га";default:return e}},week:{dow:1,doy:7}}),On.defineLocale("bg",{months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"янр_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Днес в] LT",nextDay:"[Утре в] LT",nextWeek:"dddd [в] LT",lastDay:"[Вчера в] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[В изминалата] dddd [в] LT";case 1:case 2:case 4:case 5:return"[В изминалия] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дни",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"},ordinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,n=e%100;return 0===e?e+"-ев":0===n?e+"-ен":10<n&&n<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}}),{1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"}),qn={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"},Gn=(On.defineLocale("bn",{months:"জানুয়ারী_ফেবুয়ারী_মার্চ_এপ্রিল_মে_জুন_জুলাই_অগাস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব_মার্চ_এপর_মে_জুন_জুল_অগ_সেপ্ট_অক্টো_নভ_ডিসেম্".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পত্তিবার_শুক্রুবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পত্তি_শুক্রু_শনি".split("_"),weekdaysMin:"রব_সম_মঙ্গ_বু_ব্রিহ_শু_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কএক সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,function(e){return qn[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return Jn[e]})},meridiemParse:/রাত|সকাল|দুপুর|বিকেল|রাত/,isPM:function(e){return/^(দুপুর|বিকেল|রাত)$/.test(e)},meridiem:function(e,t,n){return e<4?"রাত":e<10?"সকাল":e<17?"দুপুর":e<20?"বিকেল":"রাত"},week:{dow:0,doy:6}}),{1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"}),Bn={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"},Vn=(On.defineLocale("bo",{months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[དི་རིང] LT",nextDay:"[སང་ཉིན] LT",nextWeek:"[བདུན་ཕྲག་རྗེས་མ], LT",lastDay:"[ཁ་སང] LT",lastWeek:"[བདུན་ཕྲག་མཐའ་མ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ལ་",past:"%s སྔན་ལ",s:"ལམ་སང",m:"སྐར་མ་གཅིག",mm:"%d སྐར་མ",h:"ཆུ་ཚོད་གཅིག",hh:"%
1d ཆུ་ཚོད",d:"ཉིན་གཅིག",dd:"%d ཉིན་",M:"ཟླ་བ་གཅིག",MM:"%d ཟླ་བ",y:"ལོ་གཅིག",yy:"%d ལོ"},preparse:function(e){return e.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,function(e){return Bn[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return Gn[e]})},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,isPM:function(e){return/^(ཉིན་གུང|དགོང་དག|མཚན་མོ)$/.test(e)},meridiem:function(e,t,n){return e<4?"མཚན་མོ":e<10?"ཞོགས་ཀས":e<17?"ཉིན་གུང":e<20?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}}),On.defineLocale("br",{months:"Genver_C'hwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C'hwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc'her_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),longDateFormat:{LT:"h[e]mm A",LTS:"h[e]mm:ss A",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY h[e]mm A",LLLL:"dddd, D [a viz] MMMM YYYY h[e]mm A"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc'hoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec'h da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s 'zo",s:"un nebeud segondennoù",m:"ur vunutenn",mm:je,h:"un eur",hh:"%d eur",d:"un devezh",dd:je,M:"ur miz",MM:je,y:"ur bloaz",yy:function(e){switch(function e(t){return 9<t?e(t%10):t}(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}},ordinalParse:/\d{1,2}(añ|vet)/,ordinal:function(e){return e+(1===e?"añ":"vet")},week:{dow:1,doy:4}}),On.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",m:He,mm:He,h:He,hh:He,d:"dan",dd:He,M:"mjesec",MM:He,y:"godinu",yy:He},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),On.defineLocale("ca",{months:"gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),monthsShort:"gen._febr._mar._abr._mai._jun._jul._ag._set._oct._nov._des.".split("_"),weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"Dg_Dl_Dt_Dc_Dj_Dv_Ds".split("_"),longDateFormat:{LT:"H:mm",LTS:"LT:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd D MMMM YYYY H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[demà a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"fa %s",s:"uns segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},ordinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(e,t){var n=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"è";return("w"===t||"W"===t)&&(n="a"),e+n},week:{dow:1,doy:4}}),"leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_")),Xn="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),Kn=(On.defineLocale("cs",{months:Vn,monthsShort:Xn,monthsParse:function(e,t){var n,i=[];for(n=0;n<12;n++)i[n]=new RegExp("^"+e[n]+"$|^"+t[n]+"$","i");return i}(Vn,Xn),weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %s",s:Ee,m:Ee,mm:Ee,h:Ee,hh:Ee,d:Ee,dd:Ee,M:Ee,MM:Ee,y:Ee,yy:Ee},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),On.defineLocale("cv",{months:"кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав".split("_"),monthsShort:"кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш".split("_"),weekdays:"вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун".split("_"),weekdaysShort:"выр_тун_ытл_юн_кӗҫ_эрн_шӑм".split("_"),weekdaysMin:"вр_тн_ыт_юн_кҫ_эр_шм".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]",LLL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm",LLLL:"dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm"},calendar:{sameDay:"[Паян] LT [сехетре]",nextDay:"[Ыран] LT [сехетре]",lastDay:"[Ӗнер] LT [сехетре]",nextWeek:"[Ҫитес] dddd LT [сехетре]",lastWeek:"[Иртнӗ] dddd LT [сехетре]",sameElse:"L"},relativeTime:{future:function(e){return e+(/сехет$/i.exec(e)?"рен":/ҫул$/i.exec(e)?"тан":"ран")},past:"%s каялла",s:"пӗр-ик ҫеккунт",m:"пӗр минут",mm:"%d минут",h:"пӗр сехет",hh:"%
1d сехет",d:"пӗр кун",dd:"%d кун",M:"пӗр уйӑх",MM:"%d уйӑх",y:"пӗр ҫул",yy:"%d ҫул"},ordinalParse:/\d{1,2}-мӗш/,ordinal:"%d-мӗш",week:{dow:1,doy:7}}),On.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn ôl",s:"ychydig eiliadau",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},ordinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(e){var t="";return 20<e?t=40===e||50===e||60===e||80===e||100===e?"fed":"ain":0<e&&(t=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][e]),e+t},week:{dow:1,doy:4}}),On.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn_man_tir_ons_tor_fre_lør".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY HH:mm"},calendar:{sameDay:"[I dag kl.] LT",nextDay:"[I morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[I går kl.] LT",lastWeek:"[sidste] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),On.defineLocale("de-at",{months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Febr._Mrz._Apr._Mai_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[Heute um] LT [Uhr]",sameElse:"L",nextDay:"[Morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[Gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",m:Ae,mm:"%d Minuten",h:Ae,hh:"%d Stunden",d:Ae,dd:Ae,M:Ae,MM:Ae,y:Ae,yy:Ae},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),On.defineLocale("de",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Apr._Mai_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[Heute um] LT [Uhr]",sameElse:"L",nextDay:"[Morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[Gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",m:Oe,mm:"%d Minuten",h:Oe,hh:"%d Stunden",d:Oe,dd:Oe,M:Oe,MM:Oe,y:Oe,yy:Oe},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),On.defineLocale("el",{monthsNominativeEl:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsGenitiveEl:"Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου".split("_"),months:function(e,t){return/D/.test(t.substring(0,t.indexOf("MMMM")))?this._monthsGenitiveEl[e.month()]:this._monthsNominativeEl[e.month()]},monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split("_"),weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),meridiem:function(e,t,n){return 11<e?n?"μμ":"ΜΜ":n?"πμ":"ΠΜ"},isPM:function(e){return"μ"===(e+"").toLowerCase()[0]},meridiemParse:/[ΠΜ]\.?Μ?\.?/i,longDateFormat:{LT:"h:mm A",LT
1S:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[Σήμερα {}] LT",nextDay:"[Αύριο {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[Χθες {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[το προηγούμενο] dddd [{}] LT";default:return"[την προηγούμενη] dddd [{}] LT"}},sameElse:"L"},calendar:function(e,t){var n=this._calendarEl[e],i=t&&t.hours();return"function"==typeof n&&(n=n.apply(t)),n.replace("{}",i%12==1?"στη":"στις")},relativeTime:{future:"σε %s",past:"%s πριν",s:"λίγα δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:"%d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένας μήνας",MM:"%d μήνες",y:"ένας χρόνος",yy:"%d χρόνια"},ordinalParse:/\d{1,2}η/,ordinal:"%dη",week:{dow:1,doy:4}}),On.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}}),On.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"D MMMM, YYYY",LLL:"D MMMM, YYYY h:mm A",LLLL:"dddd, D MMMM, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),On.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}}),On.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aŭg_sep_okt_nov_dec".split("_"),weekdays:"Dimanĉo_Lundo_Mardo_Merkredo_Ĵaŭdo_Vendredo_Sabato".split("_"),weekdaysShort:"Dim_Lun_Mard_Merk_Ĵaŭ_Ven_Sab".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Ĵa_Ve_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D[-an de] MMMM, YYYY",LLL:"D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd, [la] D[-an de] MMMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(e){return"p"===e.charAt(0).toLowerCase()},meridiem:function(e,t,n){return 11<e?n?"p.t.m.":"P.T.M.":n?"a.t.m."
vendor: 5,162 bytes, line 1
1:"A.T.M."},calendar:{sameDay:"[Hodiaŭ je] LT",nextDay:"[Morgaŭ je] LT",nextWeek:"dddd [je] LT",lastDay:"[Hieraŭ je] LT",lastWeek:"[pasinta] dddd [je] LT",sameElse:"L"},relativeTime:{future:"je %s",past:"antaŭ %s",s:"sekundoj",m:"minuto",mm:"%d minutoj",h:"horo",hh:"%d horoj",d:"tago",dd:"%d tagoj",M:"monato",MM:"%d monatoj",y:"jaro",yy:"%d jaroj"},ordinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}}),"Ene._Feb._Mar._Abr._May._Jun._Jul._Ago._Sep._Oct._Nov._Dic.".split("_")),Qn="Ene_Feb_Mar_Abr_May_Jun_Jul_Ago_Sep_Oct_Nov_Dic".split("_"),Zn=(On.defineLocale("es",{months:"Enero_Febrero_Marzo_Abril_Mayo_Junio_Julio_Agosto_Septiembre_Octubre_Noviembre_Diciembre".split("_"),monthsShort:function(e,t){return/-MMM-/.test(t)?Qn[e.month()]:Kn[e.month()]},weekdays:"Domingo_Lunes_Martes_Miércoles_Jueves_Viernes_Sábado".split("_"),weekdaysShort:"Dom._Lun._Mar._Mié._Jue._Vie._Sáb.".split("_"),weekdaysMin:"Do_Lu_Ma_Mi_Ju_Vi_Sá".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}}),On.defineLocale("et",{months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[Täna,] LT",nextDay:"[Homme,] LT",nextWeek:"[Järgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s pärast",past:"%s tagasi",s:Pe,m:Pe,mm:Pe,h:Pe,hh:Pe,d:Pe,dd:"%d päeva",M:Pe,MM:Pe,y:Pe,yy:Pe},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),On.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),{1:"۱",2:"۲",3:"۳",4:"۴",5:"۵",6:"۶",7:"۷",8:"۸",9:"۹",0:"۰"}),ei={"۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","۰":"0"},ti=(On.defineLocale("fa",{months:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),monthsShort:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),weekdays:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysShort:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ج_ش".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/قبل از ظهر|بعد از ظهر/,isPM:function(e){return/بعد از ظهر/.test(e)},meridiem:function(e,t,n){return e<12?"قبل از ظهر":"بعد از ظهر"},calendar:{sameDay:"[امروز ساعت] LT",nextDay:"[فردا ساعت] LT",nextWeek:"dddd [ساعت] LT",lastDay:"[دیروز ساعت] LT",lastWeek:"dddd [پیش] [ساعت] LT",sameElse:"L"},relativeTime:{future:"در %s",past:"%s پیش",s:"چندین ثانیه",m:"یک دقیقه",mm:"%d دقیقه",h:"یک ساعت",hh:"%
1d ساعت",d:"یک روز",dd:"%d روز",M:"یک ماه",MM:"%d ماه",y:"یک سال",yy:"%d سال"},preparse:function(e){return e.replace(/[۰-۹]/g,function(e){return ei[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return Zn[e]}).replace(/,/g,"،")},ordinalParse:/\d{1,2}م/,ordinal:"%dم",week:{dow:6,doy:12}}),"nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" ")),ni=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",ti[7],ti[8],ti[9]],ii=(On.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[tänään] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s päästä",past:"%s sitten",s:$e,m:$e,mm:$e,h:$e,hh:$e,d:$e,dd:$e,M:$e,MM:$e,y:$e,yy:$e},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),On.defineLocale("fo",{months:"januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur".split("_"),weekdaysShort:"sun_mán_týs_mik_hós_frí_ley".split("_"),weekdaysMin:"su_má_tý_mi_hó_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[Í dag kl.] LT",nextDay:"[Í morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[Í gjár kl.] LT",lastWeek:"[síðstu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s síðani",s:"fá sekund",m:"ein minutt",mm:"%d minuttir",h:"ein tími",hh:"%d tímar",d:"ein dagur",dd:"%d dagar",M:"ein mánaði",MM:"%d mánaðir",y:"eitt ár",yy:"%d ár"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),On.defineLocale("fr-ca",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Je_Ve_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd'hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinalParse:/\d{1,2}(er|e)/,ordinal:function(e){return e+(1===e?"er":"e")}}),On.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Je_Ve_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd'hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinalParse:/\d{1,2}(er|)/,ordinal:function(e){return e+(1===e?"er":"")},week:{dow:1,doy:4}}),"jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_")),ai="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),ri=(On.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(e,t){return/-MMM-/.test(t)?ai[e.month()]:ii[e.month()]},weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[ôfrûne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",m:"ien minút",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},ordinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||20<=e?"ste":"de")},week:{dow:1,doy:4}}),On.defineLocale("gl",{months:"Xaneiro_Febreiro_Marzo_Abril_Maio_Xuño_Xullo_Agosto_Setembro_Outubro_Novembro_Decembro".split("_"),monthsShort:"Xan._Feb._Mar._Abr._Mai._Xuñ._Xul._Ago._Set._Out._Nov._Dec.".split("_"),weekdays:"Domingo_Luns_Martes_Mércores_Xoves_Venres_Sábado".split("_"),weekdaysShort:"Dom._Lun._Mar._Mér._Xov._Ven._Sáb.".split("_"),weekdaysMin:"Do_Lu_Ma_Mé_Xo_Ve_Sá".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd D MMMM YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"ás":"á")+"] LT"},nextDay:function(){return"[mañá "+(1!==this.hours()?"ás":"á")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"ás":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"á":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"ás":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(e){return"uns segundos"===e?"nuns segundos":"en "+e},past:"hai %s",s:"uns segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%
1d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},ordinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:7}}),On.defineLocale("he",{months:"ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),monthsShort:"ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳".split("_"),weekdays:"ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),weekdaysShort:"א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳".split("_"),weekdaysMin:"א_ב_ג_ד_ה_ו_ש".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[היום ב־]LT",nextDay:"[מחר ב־]LT",nextWeek:"dddd [בשעה] LT",lastDay:"[אתמול ב־]LT",lastWeek:"[ביום] dddd [האחרון בשעה] LT",sameElse:"L"},relativeTime:{future:"בעוד %s",past:"לפני %s",s:"מספר שניות",m:"דקה",mm:"%d דקות",h:"שעה",hh:function(e){return 2===e?"שעתיים":e+" שעות"},d:"יום",dd:function(e){return 2===e?"יומיים":e+" ימים"},M:"חודש",MM:function(e){return 2===e?"חודשיים":e+" חודשים"},y:"שנה",yy:function(e){return 2===e?"שנתיים":e%10==0&&10!==e?e+" שנה":e+" שנים"}}}),{1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"}),si={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},oi=(On.defineLocale("hi",{months:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बजे",LLLL:"dddd, D MMMM YYYY, A h:mm बजे"},calendar:{sameDay:"[आज] LT",nextDay:"[कल] LT",nextWeek:"dddd, LT",lastDay:"[कल] LT",lastWeek:"[पिछले] dddd, LT",sameElse:"L"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,function(e){return si[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return ri[e]})},meridiemParse:/रात|सुबह|दोपहर|शाम/,meridiemHour:function(e,t){return 12===e&&(e=0),"रात"===t?e<4?e:e+12:"सुबह"===t?e:"दोपहर"===t?10<=e?e:e+12:"शाम"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"रात":e<10?"सुबह":e<17?"दोपहर":e<20?"शाम":"रात"},week:{dow:0,doy:6}}),On.defineLocale("hr",{months:"siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_"),monthsShort:"sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",m:Fe,mm:Fe,h:Fe,hh:Fe,d:"dan",dd:Fe,M:"mjesec",MM:Fe,y:"godinu",yy:Fe},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),"vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" ")),li=(On.defineLocale("hu",{months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec".split("_"),weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(e){return"u"===e.charAt(1).toLowerCase()},meridiem:function(e,t,n){return e<12?!0===n?"de":"DE":!0===n?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return Ie.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return Ie.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s múlva",past:"%s",s:Ne,m:Ne,mm:Ne,h:Ne,hh:Ne,d:Ne,dd:Ne,M:Ne,MM:Ne,y:Ne,yy:Ne},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),On.defineLocale("hy-am",{months:function(e,t){return{nominative:"հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր".split("_"),accusative:"հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի".split("_")}[/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/.test(t)?"accusative":"nominative"][e.month()]},monthsShort:function(e,t){return"հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ".split("_")[e.month()]},weekdays:function(e,t){return"կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ".split("_")[e.day()]},weekdaysShort:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),weekdaysMin:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY թ.",LLL:"D MMMM YYYY թ., HH:mm",LLLL:"dddd, D MMMM YYYY թ., HH:mm"},calendar:{sameDay:"[այսօր] LT",nextDay:"[վաղը] LT",lastDay:"[երեկ] LT",nextWeek:function(){return"dddd [օրը ժամը] LT"},lastWeek:function(){return"[անցած] dddd [օրը ժամը] LT"},sameElse:"L"},relativeTime:{future:"%s հետո",past:"%s առաջ",s:"մի քանի վայրկյան",m:"րոպե",mm:"%d րոպե",h:"ժամ",hh:"%d ժամ",d:"օր",dd:"%d օր",M:"ամիս",MM:"%d ամիս",y:"տարի",yy:"%d տարի"},meridiemParse:/գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,isPM:function(e){return/^(ցերեկվա|երեկոյան)$/.test(e)},meridiem:function(e){return e<4?"գիշերվա":e<12?"առավոտվա":e<17?"ցերեկվա":"երեկոյան"},ordinalParse:/\d{1,2}|\d{1,2}-(ին|րդ)/,ordinal:function(e,t){switch(t){case"DDD":case"w":case"W":case"DDDo":return 1===e?e+"-ին":e+"-րդ";default:return e}},week:{dow:1,doy:7}}),On.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"siang"===t?11<=e?e:e+12:"sore"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"siang":e<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}}),On.defineLocale("is",{months:"janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember".split("_"),monthsShort:"jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des".split("_"),weekdays:"sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),weekdaysShort:"sun_mán_þri_mið_fim_fös_lau".split("_"),weekdaysMin:"Su_Má_Þr_Mi_Fi_Fö_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[í dag kl.] LT",nextDay:"[á morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[í gær kl.] LT",lastWeek:"[síðasta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s síðan",s:ze,m:ze,mm:ze,h:"klukkustund",hh:ze,d:ze,dd:ze,M:ze,MM:ze,y:ze,yy:ze},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),On.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"Domenica_Lunedì_Martedì_Mercoledì_Giovedì_Venerdì_Sabato".split("_"),weekdaysShort:"Dom_Lun_Mar_Mer_Gio_Ven_Sab".split("_"),weekdaysMin:"D_L_Ma_Me_G_V_S".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},past:"%s fa",s:"alcuni secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%
1d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},ordinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}}),On.defineLocale("ja",{months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),longDateFormat:{LT:"Ah時m分",LTS:"Ah時m分s秒",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah時m分",LLLL:"YYYY年M月D日Ah時m分 dddd"},meridiemParse:/午前|午後/i,isPM:function(e){return"午後"===e},meridiem:function(e,t,n){return e<12?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:"[来週]dddd LT",lastDay:"[昨日] LT",lastWeek:"[前週]dddd LT",sameElse:"L"},relativeTime:{future:"%s後",past:"%s前",s:"数秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}}),On.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(e,t){return 12===e&&(e=0),"enjing"===t?e:"siyang"===t?11<=e?e:e+12:"sonten"===t||"ndalu"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"enjing":e<15?"siyang":e<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}}),On.defineLocale("ka",{months:function(e,t){return{nominative:"იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი".split("_"),accusative:"იანვარს_თებერვალს_მარტს_აპრილის_მაისს_ივნისს_ივლისს_აგვისტს_სექტემბერს_ოქტომბერს_ნოემბერს_დეკემბერს".split("_")}[/D[oD] *MMMM?/.test(t)?"accusative":"nominative"][e.month()]},monthsShort:"იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ".split("_"),weekdays:function(e,t){return{nominative:"კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი".split("_"),accusative:"კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს".split("_")}[/(წინა|შემდეგ)/.test(t)?"accusative":"nominative"][e.day()]},weekdaysShort:"კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ".split("_"),weekdaysMin:"კვ_ორ_სა_ოთ_ხუ_პა_შა".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[დღეს] LT[-ზე]",nextDay:"[ხვალ] LT[-ზე]",lastDay:"[გუშინ] LT[-ზე]",nextWeek:"[შემდეგ] dddd LT[-ზე]",lastWeek:"[წინა] dddd LT-ზე",sameElse:"L"},relativeTime:{future:function(e){return/(წამი|წუთი|საათი|წელი)/.test(e)?e.replace(/ი$/,"ში"):e+"ში"},past:function(e){return/(წამი|წუთი|საათი|დღე|თვე)/.test(e)?e.replace(/(ი|ე)$/,"ის წინ"):/წელი/.test(e)?e.replace(/წელი$/,"წლის წინ"):void 0},s:"რამდენიმე წამი",m:"წუთი",mm:"%d წუთი",h:"საათი",hh:"%d საათი",d:"დღე",dd:"%d დღე",M:"თვე",MM:"%d თვე",y:"წელი",yy:"%d წელი"},ordinalParse:/0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,ordinal:function(e){return 0===e?e:1===e?e+"-ლი":e<20||e<=100&&e%20==0||e%100==0?"მე-"+e:e+"-ე"},week:{dow:1,doy:7}}),On.defineLocale("km",{months:"មករា_កុម្ភៈ_មិនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),monthsShort:"មករា_កុម្ភៈ_មិនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),weekdays:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),weekdaysShort:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),weekdaysMin:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"}
1,calendar:{sameDay:"[ថ្ងៃនៈ ម៉ោង] LT",nextDay:"[ស្អែក ម៉ោង] LT",nextWeek:"dddd [ម៉ោង] LT",lastDay:"[ម្សិលមិញ ម៉ោង] LT",lastWeek:"dddd [សប្តាហ៍មុន] [ម៉ោង] LT",sameElse:"L"},relativeTime:{future:"%sទៀត",past:"%sមុន",s:"ប៉ុន្មានវិនាទី",m:"មួយនាទី",mm:"%d នាទី",h:"មួយម៉ោង",hh:"%d ម៉ោង",d:"មួយថ្ងៃ",dd:"%d ថ្ងៃ",M:"មួយខែ",MM:"%d ខែ",y:"មួយឆ្នាំ",yy:"%d ឆ្នាំ"},week:{dow:1,doy:4}}),On.defineLocale("ko",{months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),longDateFormat:{LT:"A h시 m분",LTS:"A h시 m분 s초",L:"YYYY.MM.DD",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h시 m분",LLLL:"YYYY년 MMMM D일 dddd A h시 m분"},calendar:{sameDay:"오늘 LT",nextDay:"내일 LT",nextWeek:"dddd LT",lastDay:"어제 LT",lastWeek:"지난주 dddd LT",sameElse:"L"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇초",ss:"%d초",m:"일분",mm:"%d분",h:"한시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한달",MM:"%d달",y:"일년",yy:"%d년"},ordinalParse:/\d{1,2}일/,ordinal:"%d일",meridiemParse:/오전|오후/,isPM:function(e){return"오후"===e},meridiem:function(e,t,n){return e<12?"오전":"오후"}}),On.defineLocale("lb",{months:"Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),weekdays:"Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mé_Dë_Më_Do_Fr_Sa".split("_"),longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gëschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function(e){return Ue(e.substr(0,e.indexOf(" ")))?"a "+e:"an "+e},past:function(e){return Ue(e.substr(0,e.indexOf(" ")))?"viru "+e:"virun "+e},s:"e puer Sekonnen",m:Re,mm:"%d Minutten",h:Re,hh:"%d Stonnen",d:Re,dd:"%d Deeg",M:Re,MM:"%d Méint",y:Re,yy:"%d Joer"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),{m:"minutė_minutės_minutę",mm:"minutės_minučių_minutes",h:"valanda_valandos_valandą",hh:"valandos_valandų_valandas",d:"diena_dienos_dieną",dd:"dienos_dienų_dienas",M:"mėnuo_mėnesio_mėnesį",MM:"mėnesiai_mėnesių_mėnesius",y:"metai_metų_metus",yy:"metai_metų_metus"}),di="sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),ui=(On.defineLocale("lt",{months:function(e,t){return{nominative:"sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_"),accusative:"sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_")}[/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/.test(t)?"accusative":"nominative"][e.month()]},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:function(e,t){var n=-1===t.indexOf("dddd HH:mm"),i=di[e.day()];return n?i:i.substring(0,i.length-2)+"į"},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_Šeš".split("_"),weekdaysMin:"S_P_A_T_K_Pn_Š".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[Šiandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Praėjusį] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prieš %s",s:function(e,t,n,i){return t?"kelios sekundės":i?"kelių sekundžių":"kelias sekundes"},m:Je,mm:Be,h:Je,hh:Be,d:Je,dd:Be,M:Je,MM:Be,y:Je,yy:Be},ordinalParse:/\d{1,2}-oji/,ordinal:function(e){return e+"-oji"},week:{dow:1,doy:4}}),{m:"minūtes_minūtēm_minūte_minūtes".split("_"),mm:"minūtes_minūtēm_minūte_minūtes".split("_"),h:"stundas_stundām_stunda_stundas".split("_"),hh:"stundas_stundām_stunda_stundas".split("_"),d:"dienas_die
1nām_diena_dienas".split("_"),dd:"dienas_dienām_diena_dienas".split("_"),M:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),MM:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")}),ci=(On.defineLocale("lv",{months:"janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec".split("_"),weekdays:"svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[Šodien pulksten] LT",nextDay:"[Rīt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pagājušā] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"pēc %s",past:"pirms %s",s:function(e,t){return t?"dažas sekundes":"dažām sekundēm"},m:Ke,mm:Xe,h:Ke,hh:Xe,d:Ke,dd:Xe,M:Ke,MM:Xe,y:Ke,yy:Xe},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),{words:{m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:2<=e&&e<=4?t[1]:t[2]},translate:function(e,t,n){var i=ci.words[n];return 1===n.length?t?i[0]:i[1]:e+" "+ci.correctGrammaticalCase(e,i)}}),hi=(On.defineLocale("me",{months:["januar","februar","mart","april","maj","jun","jul","avgust","septembar","oktobar","novembar","decembar"],monthsShort:["jan.","feb.","mar.","apr.","maj","jun","jul","avg.","sep.","okt.","nov.","dec."],weekdays:["nedjelja","ponedjeljak","utorak","srijeda","četvrtak","petak","subota"],weekdaysShort:["ned.","pon.","uto.","sri.","čet.","pet.","sub."],weekdaysMin:["ne","po","ut","sr","če","pe","su"],longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){return["[prošle] [nedjelje] [u] LT","[prošlog] [ponedjeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srijede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",m:ci.translate,mm:ci.translate,h:ci.translate,hh:ci.translate,d:"dan",dd:ci.translate,M:"mjesec",MM:ci.translate,y:"godinu",yy:ci.translate},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),On.defineLocale("mk",{months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),monthsShort:"јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdays:"недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"),weekdaysShort:"нед_пон_вто_сре_чет_пет_саб".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Денес во] LT",nextDay:"[Утре во] LT",nextWeek:"dddd [во] LT",lastDay:"[Вчера во] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Во изминатата] dddd [во] LT";case 1:case 2:case 4:case 5:return"[Во изминатиот] dddd [во] LT"}},sameElse:"L"},relativeTime:{future:"после %s",past:"пред %s",s:"неколку секунди",m:"минута",mm:"%d минути",h:"час",hh:"%
1d часа",d:"ден",dd:"%d дена",M:"месец",MM:"%d месеци",y:"година",yy:"%d години"},ordinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,n=e%100;return 0===e?e+"-ев":0===n?e+"-ен":10<n&&n<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}}),On.defineLocale("ml",{months:"ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ".split("_"),monthsShort:"ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.".split("_"),weekdays:"ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച".split("_"),weekdaysShort:"ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി".split("_"),weekdaysMin:"ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_à´¶".split("_"),longDateFormat:{LT:"A h:mm -നു",LTS:"A h:mm:ss -നു",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -നു",LLLL:"dddd, D MMMM YYYY, A h:mm -നു"},calendar:{sameDay:"[ഇന്ന്] LT",nextDay:"[നാളെ] LT",nextWeek:"dddd, LT",lastDay:"[ഇന്നലെ] LT",lastWeek:"[കഴിഞ്ഞ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s കഴിഞ്ഞ്",past:"%s മുൻപ്",s:"അൽപ നിമിഷങ്ങൾ",m:"ഒരു മിനിറ്റ്",mm:"%d മിനിറ്റ്",h:"ഒരു മണിക്കൂർ",hh:"%d മണിക്കൂർ",d:"ഒരു ദിവസം",dd:"%d ദിവസം",M:"ഒരു മാസം",MM:"%d മാസം",y:"ഒരു വർഷം",yy:"%d വർഷം"},meridiemParse:/രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,isPM:function(e){return/^(ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി)$/.test(e)},meridiem:function(e,t,n){return e<4?"രാത്രി":e<12?"രാവിലെ":e<17?"ഉച്ച കഴിഞ്ഞ്":e<20?"വൈകുന്നേരം":"രാത്രി"}}),{1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"}),pi={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},mi=(On.defineLocale("mr",{months:"जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),monthsShort:"जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),weekdays:"रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm वाजता",LTS:"A h:mm:ss वाजता",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm वाजता",LLLL:"dddd, D MMMM YYYY, A h:mm वाजता"},calendar:{sameDay:"[आज] LT",nextDay:"[उद्या] LT",nextWeek:"dddd, LT",lastDay:"[काल] LT",lastWeek:"[मागील] dddd, LT",sameElse:"L"},relativeTime:{future:"%s नंतर",past:"%s पूर्वी",s:"सेकंद",m:"एक मिनिट",mm:"%d मिनिटे",h:"एक तास",hh:"%d तास",d:"एक दिवस",dd:"%d दिवस",M:"एक महिना",MM:"%d महिने",y:"एक वर्ष",yy:"%d वर्षे"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,function(e){return pi[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return hi[e]})},meridiemParse:/रात्री|सकाळी|दुपारी|सायंकाळी/,meridiemHour:function(e,t){return 12===e&&(e=0),"राà
1¤¤à¥à¤°à¥€"===t?e<4?e:e+12:"सकाळी"===t?e:"दुपारी"===t?10<=e?e:e+12:"सायंकाळी"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"रात्री":e<10?"सकाळी":e<17?"दुपारी":e<20?"सायंकाळी":"रात्री"},week:{dow:0,doy:6}}),On.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?11<=e?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}}),On.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?11<=e?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}}),{1:"၁",2:"၂",3:"၃",4:"၄",5:"၅",6:"၆",7:"၇",8:"၈",9:"၉",0:"၀"}),_i={"၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","၀":"0"},fi=(On.defineLocale("my",{months:"ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ".split("_"),monthsShort:"ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ".split("_"),weekdays:"တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ".split("_"),weekdaysShort:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),weekdaysMin:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ယနေ.] LT [မှာ]",nextDay:"[မနက်ဖြန်] LT [မှာ]",nextWeek:"dddd LT [မှာ]",lastDay:"[မနေ.က] LT [မှာ]",lastWeek:"[ပြီးခဲ့သော] dddd LT [မှာ]",sameElse:"L"},relativeTime:{future:"လာမည့် %s မှာ",past:"လွန်ခဲ့သော %s က",s:"စက္ကန်.အနညá€
1ºá€¸á€„ယ်",m:"တစ်မိနစ်",mm:"%d မိနစ်",h:"တစ်နာရီ",hh:"%d နာရီ",d:"တစ်ရက်",dd:"%d ရက်",M:"တစ်လ",MM:"%d လ",y:"တစ်နှစ်",yy:"%d နှစ်"},preparse:function(e){return e.replace(/[၁၂၃၄၅၆၇၈၉၀]/g,function(e){return _i[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return mi[e]})},week:{dow:1,doy:4}}),On.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn_man_tirs_ons_tors_fre_lør".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),longDateFormat:{LT:"H.mm",LTS:"H.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H.mm",LLLL:"dddd D. MMMM YYYY [kl.] H.mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i gÃ¥r kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"for %s siden",s:"noen sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",M:"en mÃ¥ned",MM:"%d mÃ¥neder",y:"ett Ã¥r",yy:"%d Ã¥r"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),{1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"}),gi={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},yi=(On.defineLocale("ne",{months:"जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर".split("_"),monthsShort:"जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.".split("_"),weekdays:"आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार".split("_"),weekdaysShort:"आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.".split("_"),weekdaysMin:"आइ._सो._मङ्_बु._बि._शु._श.".split("_"),longDateFormat:{LT:"Aको h:mm बजे",LTS:"Aको h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, Aको h:mm बजे",LLLL:"dddd, D MMMM YYYY, Aको h:mm बजे"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,function(e){return gi[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return fi[e]})},meridiemParse:/राती|बिहान|दिउँसो|बेलुका|साँझ|राती/,meridiemHour:function(e,t){return 12===e&&(e=0),"राती"===t?e<3?e:e+12:"बिहान"===t?e:"दिउँसो"===t?10<=e?e:e+12:"बेलुका"===t||"साँझ"===t?e+12:void 0},meridiem:function(e,t,n){return e<3?"राती":e<10?"बिहान":e<15?"दिउँसो":e<18?"बेलुका":e<20?"साँझ":"राती"},calendar:{sameDay:"[आज] LT",nextDay:"[भोली] LT",nextWeek:"[आउँदो] dddd[,] LT",lastDay:"[हिजो] LT",lastWeek:"[गएको] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%sमा",past:"%s अगाडी",s:"केही समय",m:"एक मिनेट",mm:"%d मिनेट",h:"एक घण्टा",hh:"%d घण्टा",d:"एक दिन",dd:"%d दिन",M:"एक महिना",MM:"%d महिना",y:"एक बर्ष",yy:"%d बर्ष"},week:{dow:1,doy:7}}),"jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_")),vi="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),Mi=(On.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,t){return/-MMM-/.test(t)?vi[e.month()]:yi[e.month()]},weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"Zo_Ma_Di_Wo_Do_Vr_Za".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},ordinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||20<=e?"ste":"de")},week:{dow:1,doy:4}}),On.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sundag_mÃ¥ndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"sun_mÃ¥n_tys_ons_tor_fre_lau".split("_"),weekdaysMin:"su_mÃ¥_ty_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I gÃ¥r klokka] LT",lastWeek:"[FøregÃ¥ande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"for %s sidan",s:"nokre sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",M:"ein mÃ¥nad",MM:"%d mÃ¥nader",y:"eit Ã¥r",yy:"%d Ã¥r"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}
1),"styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_")),Li="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_"),wi=(On.defineLocale("pl",{months:function(e,t){return""===t?"("+Li[e.month()]+"|"+Mi[e.month()]+")":/D MMMM/.test(t)?Li[e.month()]:Mi[e.month()]},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"nie_pon_wt_śr_czw_pt_sb".split("_"),weekdaysMin:"N_Pn_Wt_Śr_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dziś o] LT",nextDay:"[Jutro o] LT",nextWeek:"[W] dddd [o] LT",lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zeszłą niedzielę o] LT";case 3:return"[W zeszłą środę o] LT";case 6:return"[W zeszłą sobotę o] LT";default:return"[W zeszły] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",m:Ze,mm:Ze,h:Ze,hh:Ze,d:"1 dzień",dd:"%d dni",M:"miesiąc",MM:Ze,y:"rok",yy:Ze},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),On.defineLocale("pt-br",{months:"Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingo_Segunda-Feira_Terça-Feira_Quarta-Feira_Quinta-Feira_Sexta-Feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Dom_2ª_3ª_4ª_5ª_6ª_Sáb".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"%s atrás",s:"poucos segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},ordinalParse:/\d{1,2}º/,ordinal:"%dº"}),On.defineLocale("pt",{months:"Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingo_Segunda-Feira_Terça-Feira_Quarta-Feira_Quinta-Feira_Sexta-Feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Dom_2ª_3ª_4ª_5ª_6ª_Sáb".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},ordinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}}),On.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._febr._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),weekdays:"duminică_luni_marți_miercuri_joi_vineri_sâmbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[mâine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s în urmă",s:"câteva secunde",m:"un minut",mm:et,h:"o oră",hh:et,d:"o zi",dd:et,M:"o lună",MM:et,y:"un an",yy:et},week:{dow:1,doy:7}}),On.defineLocale("ru",{months:function(e,t){return{nominative:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),accusative:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_")}[/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/.test(t)?"accusative":"nominative"][e.month()]},monthsShort:function(e,t){return{nominative:"янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек".split("_"),accusative:"янв_фев_мар_апр_мая_июня_июля_авг_сен_окт_ноя_дек".split("_")}[/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/.test(t)?"accusative":"nominative"][e.month()]},weekdays:function(e,t){return{nominative:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),accusative:"воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу".split("_")}[/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?\] ?dddd/.test(t)?"accusative":"nominative"][e.day()]},weekdaysShort:"вс_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[й|я]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"},calendar:{sameDay:"[Сегодня в] LT",nextDay:"[Завтра в] LT",lastDay:"[Вчера в] LT",nextWeek:function(){return 2===this.day()?"[Во] dddd [в] LT":"[В] dddd [в] LT"},lastWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd [в] LT":"[В] dddd [в] LT";switch(this.day()){case 0:return"[В прошлое] dddd [в] LT";case 1:case 2:case 4:return"[В прошлый] dddd [в] LT";
vendor: 6,503 bytes, line 1
1case 3:case 5:case 6:return"[В прошлую] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",m:tt,mm:tt,h:"час",hh:tt,d:"день",dd:tt,M:"месяц",MM:tt,y:"год",yy:tt},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(e){return/^(дня|вечера)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночи":e<12?"утра":e<17?"дня":"вечера"},ordinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":return e+"-й";case"D":return e+"-го";case"w":case"W":return e+"-я";default:return e}},week:{dow:1,doy:7}}),On.defineLocale("si",{months:"ජනවාරි_පෙබරවාරි_මාර්තු_අප්‍රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්".split("_"),monthsShort:"ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ".split("_"),weekdays:"ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්‍රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා".split("_"),weekdaysShort:"ඉරි_සඳු_අඟ_බදා_බ්‍රහ_සිකු_සෙන".split("_"),weekdaysMin:"ඉ_ස_අ_බ_බ්‍ර_සි_සෙ".split("_"),longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [වැනි] dddd, a h:mm:ss"},calendar:{sameDay:"[අද] LT[ට]",nextDay:"[හෙට] LT[ට]",nextWeek:"dddd LT[ට]",lastDay:"[ඊයේ] LT[ට]",lastWeek:"[පසුගිය] dddd LT[ට]",sameElse:"L"},relativeTime:{future:"%sකින්",past:"%sකට පෙර",s:"තත්පර කිහිපය",m:"මිනිත්තුව",mm:"මිනිත්තු %d",h:"පැය",hh:"පැය %d",d:"දිනය",dd:"දින %d",M:"මාසය",MM:"මාස %d",y:"වසර",yy:"වසර %d"},ordinalParse:/\d{1,2} වැනි/,ordinal:function(e){return e+" වැනි"},meridiem:function(e,t,n){return 11<e?n?"ප.ව.":"පස් වරු":n?"පෙ.ව.":"පෙර වරු"}}),"január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_")),bi="jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_"),ki=(On.defineLocale("sk",{months:wi,monthsShort:bi,monthsParse:function(e,t){var n,i=[];for(n=0;n<12;n++)i[n]=new RegExp("^"+e[n]+"$|^"+t[n]+"$","i");return i}(wi,bi),weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nedeľu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo štvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[včera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulú nedeľu o] LT";case 1:case 2:return"[minulý] dddd [o] LT";case 3:return"[minulú stredu o] LT";case 4:case 5:return"[minulý] dddd [o] LT";case 6:return"[minulú sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:it,m:it,mm:it,h:it,hh:it,d:it,dd:it,M:it,MM:it,y:it,yy:it},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),On.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),weekdays:"nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._čet._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_če_pe_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[včeraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prejšnjo] [nedeljo] [ob] LT";case 3:return"[prejšnjo] [sredo] [ob] LT";case 6:return"[prejšnjo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prejšnji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"čez %s",past:"pred %s",s:at,m:at,mm:at,h:at,hh:at,d:at,dd:at,M:at,MM:at,y:at,yy:at},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),On.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj".split("_"),weekdays:"E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë".split("_"),weekdaysShort:"Die_Hën_Mar_Mër_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_Më_E_P_Sh".split("_"),meridiemParse:/PD|MD/,isPM:function(e){return"M"===e.charAt(0)},meridiem:function(e,t,n){return e<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot në] LT",nextDay:"[Nesër në] LT",nextWeek:"dddd [në] LT",lastDay:"[Dje në] LT",lastWeek:"dddd [e kaluar në] LT",sameElse:"L"},relativeTime:{future:"në %s",past:"%s më parë",s:"disa sekonda",m:"një minutë",mm:"%d minuta",h:"një orë",hh:"%d orë",d:"një ditë",dd:"%d ditë",M:"një muaj",MM:"%d muaj",y:"një vit",yy:"%d vite"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),{words:{m:["један минут","једне минуте"],mm:["минут","минуте","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],dd:["дан","дана","дана"],MM:["месец","месеца","месеци"],yy:["година","године","година"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:2<=e&&e<=4?t[1]:t[2]},translate:function(e,t,n){var i=ki.words[n];return 1===n.length?t?i[0]:i[1]:e+" "+ki.correctGrammaticalCase(e,i
vendor: 4,672 bytes, line 1
1)}}),Yi=(On.defineLocale("sr-cyrl",{months:["јануар","фебруар","март","април","мај","јун","јул","август","септембар","октобар","новембар","децембар"],monthsShort:["јан.","феб.","мар.","апр.","мај","јун","јул","авг.","сеп.","окт.","нов.","дец."],weekdays:["недеља","понедељак","уторак","среда","четвртак","петак","субота"],weekdaysShort:["нед.","пон.","уто.","сре.","чет.","пет.","суб."],weekdaysMin:["не","по","ут","ср","че","пе","су"],longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[данас у] LT",nextDay:"[сутра у] LT",nextWeek:function(){switch(this.day()){case 0:return"[у] [недељу] [у] LT";case 3:return"[у] [среду] [у] LT";case 6:return"[у] [суботу] [у] LT";case 1:case 2:case 4:case 5:return"[у] dddd [у] LT"}},lastDay:"[јуче у] LT",lastWeek:function(){return["[прошле] [недеље] [у] LT","[прошлог] [понедељка] [у] LT","[прошлог] [уторка] [у] LT","[прошле] [среде] [у] LT","[прошлог] [четвртка] [у] LT","[прошлог] [петка] [у] LT","[прошле] [суботе] [у] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",m:ki.translate,mm:ki.translate,h:ki.translate,hh:ki.translate,d:"дан",dd:ki.translate,M:"месец",MM:ki.translate,y:"годину",yy:ki.translate},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),{words:{m:["jedan minut","jedne minute"],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:2<=e&&e<=4?t[1]:t[2]},translate:function(e,t,n){var i=Yi.words[n];return 1===n.length?t?i[0]:i[1]:e+" "+Yi.correctGrammaticalCase(e,i)}}),Ti=(On.defineLocale("sr",{months:["januar","februar","mart","april","maj","jun","jul","avgust","septembar","oktobar","novembar","decembar"],monthsShort:["jan.","feb.","mar.","apr.","maj","jun","jul","avg.","sep.","okt.","nov.","dec."],weekdays:["nedelja","ponedeljak","utorak","sreda","četvrtak","petak","subota"],weekdaysShort:["ned.","pon.","uto.","sre.","čet.","pet.","sub."],weekdaysMin:["ne","po","ut","sr","če","pe","su"],longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){return["[prošle] [nedelje] [u] LT","[prošlog] [ponedeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",m:Yi.translate,mm:Yi.translate,h:Yi.translate,hh:Yi.translate,d:"dan",dd:Yi.translate,M:"mesec",MM:Yi.translate,y:"godinu",yy:Yi.translate},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),On.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Igår] LT",nextWeek:"[På] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"},ordinalParse:/\d{1,2}(e|a)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"e":1===t?"a":2===t?"a":"e")},week:{dow:1,doy:4}}),On.defineLocale("ta",{months:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்ப
1ர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),monthsShort:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdays:"ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை".split("_"),weekdaysShort:"ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி".split("_"),weekdaysMin:"ஞா_தி_செ_பு_வி_வெ_ச".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[இன்று] LT",nextDay:"[நாளை] LT",nextWeek:"dddd, LT",lastDay:"[நேற்று] LT",lastWeek:"[கடந்த வாரம்] dddd, LT",sameElse:"L"},relativeTime:{future:"%s இல்",past:"%s முன்",s:"ஒரு சில விநாடிகள்",m:"ஒரு நிமிடம்",mm:"%d நிமிடங்கள்",h:"ஒரு மணி நேரம்",hh:"%d மணி நேரம்",d:"ஒரு நாள்",dd:"%d நாட்கள்",M:"ஒரு மாதம்",MM:"%d மாதங்கள்",y:"ஒரு வருடம்",yy:"%d ஆண்டுகள்"},ordinalParse:/\d{1,2}வது/,ordinal:function(e){return e+"வது"},meridiemParse:/யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,meridiem:function(e,t,n){return e<2?" யாமம்":e<6?" வைகறை":e<10?" காலை":e<14?" நண்பகல்":e<18?" எற்பாடு":e<22?" மாலை":" யாமம்"},meridiemHour:function(e,t){return 12===e&&(e=0),"யாமம்"===t?e<2?e:e+12:"வைகறை"===t||"காலை"===t?e:"நண்பகல்"===t&&10<=e?e:e+12},week:{dow:0,doy:6}}),On.defineLocale("th",{months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"มกรา_กุมภา_มีนา_เมษา_พฤษภา_มิถุนา_กรกฎา_สิงหา_กันยา_ตุลา_พฤศจิกา_ธันวา".split("_"),weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),longDateFormat:{LT:"H นาฬิกา m นาที",LTS:"H นาฬิกา m นาที s วินาที",L:"YYYY/MM/DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา H นาฬิกา m นาที",LLLL:"วันddddที่ D MMMM YYYY เวลา H นาฬิกา m นาที"},meridiemParse:/ก่อนเที่ยง|หลังเที่ยง/,isPM:function(e){return"หลังเที่ยง"===e},meridiem:function(e,t,n){return e<12?"ก่อนเที่ยง":"หลังเที่ยง"},calendar:{sameDay:"[วันนี้ เวลา] LT",nextDay:"[พรุ่งนี้ เวลา] LT",nextWeek:"dddd[หน้า เวลา] LT",lastDay:"[เมื่อวานนี้ เวลา] LT",lastWeek:"[วัน]dddd[ที่แล้ว เวลา] LT",sameElse:"L"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"}}),On.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"[Ngayon sa] LT",nextDay:"[Bukas sa] LT",nextWeek:"dddd [sa] LT",lastDay:"[Kahapon sa] LT",lastWeek:"dddd [huling linggo] LT",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%
1d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},ordinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}}),{1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu",30:"'uncu",60:"'ıncı",90:"'ıncı"}),Di=(On.defineLocale("tr",{months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_Çar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[haftaya] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen hafta] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinalParse:/\d{1,2}'(inci|nci|üncü|ncı|uncu|ıncı)/,ordinal:function(e){if(0===e)return e+"'ıncı";var t=e%10;return e+(Ti[t]||Ti[e%100-t]||Ti[100<=e?100:null])},week:{dow:1,doy:7}}),On.defineLocale("tzl",{months:"Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi".split("_"),weekdaysShort:"Súl_Lún_Mai_Már_Xhú_Vié_Sát".split("_"),weekdaysMin:"Sú_Lú_Ma_Má_Xh_Vi_Sá".split("_"),longDateFormat:{LT:"HH.mm",LTS:"LT.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY LT",LLLL:"dddd, [li] D. MMMM [dallas] YYYY LT"},meridiem:function(e,t,n){return 11<e?n?"d'o":"D'O":n?"d'a":"D'A"},calendar:{sameDay:"[oxhi à] LT",nextDay:"[demà à] LT",nextWeek:"dddd [à] LT",lastDay:"[ieiri à] LT",lastWeek:"[sür el] dddd [lasteu à] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:rt,m:rt,mm:rt,h:rt,hh:rt,d:rt,dd:rt,M:rt,MM:rt,y:rt,yy:rt},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),On.defineLocale("tzm-latn",{months:"innayr_brˤayrˤ_marˤsˤ_ibr
1ir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",m:"minuḍ",mm:"%d minuḍ",h:"saɛa",hh:"%d tassaɛin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}}),On.defineLocale("tzm",{months:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),monthsShort:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),weekdays:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysShort:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysMin:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ⴰⵙⴷⵅ ⴴ] LT",nextDay:"[ⴰⵙⴽⴰ ⴴ] LT",nextWeek:"dddd [ⴴ] LT",lastDay:"[ⴰⵚⴰⵏⵜ ⴴ] LT",lastWeek:"dddd [ⴴ] LT",sameElse:"L"},relativeTime:{future:"ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s",past:"ⵢⴰⵏ %s",s:"ⵉⵎⵉⴽ",m:"ⵎⵉⵏⵓⴺ",mm:"%d ⵎⵉⵏⵓⴺ",h:"ⵙⴰⵄⴰ",hh:"%d ⵜⴰⵙⵙⴰⵄⵉⵏ",d:"ⴰⵙⵙ",dd:"%d oⵙⵙⴰⵏ",M:"ⴰⵢoⵓⵔ",MM:"%d ⵉⵢⵢⵉⵔⵏ",y:"ⴰⵙⴳⴰⵙ",yy:"%d ⵉⵙⴳⴰⵙⵏ"},week:{dow:6,doy:12}}),On.defineLocale("uk",{months:function(e,t){return{nominative:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_"),accusative:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_")}[/D[oD]? *MMMM?/.test(t)?"accusative":"nominative"][e.month()]},monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekdays:function(e,t){return{nominative:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),accusative:"неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу".split("_"),genitive:"неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи".split("_")}[/(\[[ВвУу]\]) ?dddd/.test(t)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(t)?"genitive":"nominative"][e.day()]},weekdaysShort:"нд_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., HH:mm",LLLL:"dddd, D MMMM YYYY р., HH:mm"},calendar:{sameDay:ot("[Сьогодні "),nextDay:ot("[Завтра "),lastDay:ot("[Вчора "),nextWeek:ot("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 
16:return ot("[Минулої] dddd [").call(this);case 1:case 2:case 4:return ot("[Минулого] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",m:st,mm:st,h:"годину",hh:st,d:"день",dd:st,M:"місяць",MM:st,y:"рік",yy:st},meridiemParse:/ночі|ранку|дня|вечора/,isPM:function(e){return/^(дня|вечора)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночі":e<12?"ранку":e<17?"дня":"вечора"},ordinalParse:/\d{1,2}-(й|го)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e+"-й";case"D":return e+"-го";default:return e}},week:{dow:1,doy:7}}),On.defineLocale("uz",{months:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба".split("_"),weekdaysShort:"Якш_Душ_Сеш_Чор_Пай_Жум_Шан".split("_"),weekdaysMin:"Як_Ду_Се_Чо_Па_Жу_Ша".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Бугун соат] LT [да]",nextDay:"[Эртага] LT [да]",nextWeek:"dddd [куни соат] LT [да]",lastDay:"[Кеча соат] LT [да]",lastWeek:"[Утган] dddd [куни соат] LT [да]",sameElse:"L"},relativeTime:{future:"Якин %s ичида",past:"Бир неча %s олдин",s:"фурсат",m:"бир дакика",mm:"%d дакика",h:"бир соат",hh:"%d соат",d:"бир кун",dd:"%d кун",M:"бир ой",MM:"%d ой",y:"бир йил",yy:"%d йил"},week:{dow:1,doy:7}}),On.defineLocale("vi",{months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),monthsShort:"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[Hôm nay lúc] LT",nextDay:"[Ngày mai lúc] LT",nextWeek:"dddd [tuần tới lúc] LT",lastDay:"[Hôm qua lúc] LT",lastWeek:"dddd [tuần rồi lúc] LT",sameElse:"L"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ",d:"một ngày",dd:"%d ngày",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"},ordinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}}),On.defineLocale("zh-cn",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"Ah点mm分",LTS:"Ah点m分s秒",L:"YYYY-MM-DD",LL:"YYYY年MMMD日",LLL:"YYYY年MMMD日Ah点mm分",LLLL:"YYYY年MMMD日ddddAh点mm分",l:"YYYY-MM-DD",ll:"YYYY年MMMD日",lll:"YYYY年MMMD日Ah点mm分",llll:"YYYY年MMMD日ddddAh点mm分"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"下午"===t||"晚上"===t?e+12:11<=e?e:e+12},meridiem:function(e,t,n){var i=100*e+t;return i<600?"凌晨":i<900?"早上":i<1130?"上午":i<1230?"中午":i<1800?"下午":"晚上"},calendar:{sameDay:function(){return 0===this.minutes()?"[今天]Ah[点整]":"[今天]LT"},nextDay:function(){return 0===this.minutes()?"[明天]Ah[点整]":"[明天]LT"},lastDay:function(){return 0===this.minutes()?"[昨天]Ah[点整]":"[昨天]LT"},nextWeek:function(){var e,t;return e=On().startOf("week"),t=604800<=this.unix()-e.unix()?"[下]":"[本]",0===this.minutes()?t+"dddAh点整":t+"dddAh点mm"},lastWeek:function(){var e,t;return e=On().startOf("week"),t=this.unix()<e.unix()?"[上]":"[本]",0===this.minutes()?t+"dddAh点整":t+"dddAh点mm"},sameElse:"LL"},ordinalParse:/\d{1,2}(日|月|周)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"周";default:return e}},relativeTime:{future:"%s内",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},week:{dow:1,doy:4}}),On.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"Ah點mm分",LTS:"Ah點m分s秒",L:"YYYY年MMMD日",LL:"YYYY年MMMD日",LLL:"YYYY年MMMD日Ah點mm分",LLLL:"YYYY年MMMD日ddddAh點mm分",l:"YYYY年MMMD日",ll:"YYYY年MMMD日",lll:"YYYY年MMMD日Ah點mm分",llll:"YYYY年MMMD日ddddAh點mm分"},meridiemParse:/早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"早上"===t||"上午"===t?e:"中午"===t?11<=e?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var i=100*e+t;return i<900?"早上":i<1130?"上午":i<1230?"中午":i<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},ordinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",m:"一分鐘",mm:"%d分鐘",h:"一小時",hh:"%
1d小時",d:"一天",dd:"%d天",M:"一個月",MM:"%d個月",y:"一年",yy:"%d年"}}),On);return Di.locale("en"),Di}),define("mockup-patterns-moment",["jquery","pat-base","moment","mockup-i18n"],function(i,e,a,r){return e.extend({name:"moment",trigger:".pat-moment",parser:"mockup",moment_i18n_map:{no:"nb"},defaults:{selector:null,format:"LLL",setTitle:!1},convert:function(e){var t=e.attr("data-date");if(t||(t=i.trim(e.html())),t&&"None"!==t){var n=(new r).currentLanguage;n in this.moment_i18n_map&&(n=this.moment_i18n_map[n]),a.locale([n,"en"]),(t=a(t)).isValid()&&(this.options.setTitle&&e.attr("title",t.format("LLLL")),(t="relative"===this.options.format?t.fromNow():"calendar"===this.options.format?t.calendar():t.format(this.options.format))&&e.html(t))}},init:function(){var e=this;e.options.selector?e.$el.find(e.options.selector).each(function(){e.convert(i(this))}):e.convert(e.$el)}})}),function(e){define("bootstrap-dropdown",["jquery"],function(){return function(){!function(s){"use strict";var o='[data-toggle="dropdown"]',i=function(e){s(e).on("click.bs.dropdown",this.toggle)};function l(e){var t=e.attr("data-target");t||(t=(t=e.attr("href"))&&/#[A-Za-z]/.test(t)&&t.replace(/.*(?=#[^\s]*$)/,""));var n=t&&s(t);return n&&n.length?n:e.parent()}function r(i){i&&3===i.which||(s(".dropdown-backdrop").remove(),s(o).each(function(){var e=s(this),t=l(e),n={relatedTarget:this};t.hasClass("open")&&(i&&"click"==i.type&&/input|textarea/i.test(i.target.tagName)&&s.contains(t[0],i.target)||(t.trigger(i=s.Event("hide.bs.dropdown",n)),i.isDefaultPrevented()||(e.attr("aria-expanded","false"),t.removeClass("open").trigger(s.Event("hidden.bs.dropdown",n)))))}))}i.VERSION="3.3.6",i.prototype.toggle=function(e){var t=s(this);if(!t.is(".disabled, :disabled")){var n=l(t),i=n.hasClass("open");if(r(),!i){"ontouchstart"in document.documentElement&&!n.closest(".navbar-nav").length&&s(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(s(this)).on("click",r);var a={relatedTarget:this};if(n.trigger(e=s.Event("show.bs.dropdown",a)),e.isDefaultPrevented())return;t.trigger("focus").attr("aria-expanded","true"),n.toggleClass("open").trigger(s.Event("shown.bs.dropdown",a))}return!1}},i.prototype.keydown=function(e){if(/(38|40|27|32)/.test(e.which)&&!/input|textarea/i.test(e.target.tagName)){var t=s(this);if(e.preventDefault(),e.stopPropagation(),!t.is(".disabled, :disabled")){var n=l(t),i=n.hasClass("open");if(!i&&27!=e.which||i&&27==e.which)return 27==e.which&&n.find(o).trigger("focus"),t.trigger("click");var a=n.find(".dropdown-menu li:not(.disabled):visible a");if(a.length){var r=a.index(e.target);38==e.which&&0<r&&r--,40==e.which&&r<a.length-1&&r++,~r||(r=0),a.eq(r).trigger("focus")}}}};var e=s.fn.dropdown;s.fn.dropdown=function(n){return this.each(function(){var e=s(this),t=e.data("bs.dropdown");t||e.data("bs.dropdown",t=new i(this)),"string"==typeof n&&t[n].call(e)})},s.fn.dropdown.Constructor=i,s.fn.dropdown.noConflict=function(){return s.fn.dropdown=e,this},s(document).on("click.bs.dropdown.data-api",r).on("click.bs.dropdown.data-api",".dropdown form",function(e){e.stopPropagation()}).on("click.bs.dropdown.data-api",o,i.prototype.toggle).on("keydown.bs.dropdown.data-api",o,i.prototype.keydown).on("keydown.bs.dropdown.data-api",".dropdown-menu",i.prototype.keydown)}(jQuery)}.apply(e,arguments)})}(this),function(e){define("bootstrap-collapse",["jquery"],function(){return function(){return function(s){"use strict";var o=function(e,t){this.$element=s(e),this.options=s.extend({},o.DEFAULTS,t),this.$trigger=s('[data-toggle="collapse"][href="#'+e.id+'"],[data-toggle="collapse"][data-target="#'+e.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};function a(e){var t,n=e.attr("data-target")||(t=e.attr("href"))&&t.replace(/.*(?=#[^\s]+$)/,"");return s(n)}function l(i){return this.each(function(){var e=s(this),t=e.data("bs.collapse"),n=s.extend({},o.DEFAULTS,e.data(),"object"==typeof i&&i);!t&&n.toggle&&/show|hide/.test(i)&&(n.toggle=!1),t||e.data("bs.collapse",t=new o(this,n)),"string"==typeof i&&t[i]()})}o.VERSION="3.3.6",o.TRANSITION_DURATION=350,o.DEFAULTS={toggle:!0},o.prototype.dimension=function(){return this.$element.hasClass("width")?"width":"height"},o.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var e,t=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(t&&t.length&&(e=t.data("bs.collapse"))&&e.transitioning)){var n=s.Event("show.bs.collapse");if(this.$element.trigger(n),!n.isDefaultPrevented()){t&&t.length&&(l.call(t,"hide"),e||t.data("bs.collapse",null));var i=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[i](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var a=function(){this.$element.removeClass("collapsing").addClass("collapse in")[i](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!s.support.transition)return a.call(this);var r=s.camelCase(["scroll",i].join("-"));this.$element.one("bsTransitionEnd",s.proxy(a,this)).emulateTransitionEnd(o.TRANSITION_DURATION)[i](this.$element[0][r])}}}},o.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var e=s.Event("hide.bs.collapse");if(this.$element.trigger(e),!e.isDefaultPrevented()){var t=this.dimension();this.$element[t](this.$element[t]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var n=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};if(!s.support.transition)return n.call(this);this.$element[t](0).one("bsTransitionEnd",s.proxy(n,this)).emulateTransitionEnd(o.TRANSITION_DURATION)}}},o.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},o.prototype.getParent=function(){return s(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(s.proxy(function(e,t){var n=s(t);this.addAriaAndCollapsedClass(a(n),n)},this)).end()},o.prototype.addAriaAndCollapsedClass=function(e,t){var n=e.hasClass("in");e.attr("aria-expanded",n),t.toggleClass("collapsed",!n).attr("aria-expanded",n)};var e=s.fn.collapse;s.fn.collapse=l,s.fn.collapse.Constructor=o,s.fn.collapse.noConflict=function(){return s.fn.collapse=e,this},s(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(e){var t=s(this);t.attr("data-target")||e.preventDefault();var n=a(t),i=n.data("bs.collapse")?"toggle":t.data();l.call(n,i)})}(jQuery),window.jQuery.fn.collapse.Constructor}.apply(e,arguments)})}(this),function(e){define("bootstrap-tooltip",["jquery"],function(){return function(){!function(_){"use strict";var f=function(e,t){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.inState=null,this.init("tooltip",e,t)};f.VERSION="3.3.6",f.TRANSITION_DURATION=150,f.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},f.prototype.init=function(e,t,n){if(this.enabled=!0,this.type=e,this.$element=_(t),this.options=this.getOptions(n),this.$viewport=this.options.viewport&&_(_.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var i=this.options.trigger.split(" "),a=i.length;a--;){var r=i[a];if("click"==r)this.$element.on("click."+this.type,this.options.selector,_.proxy(this.toggle,this));else if("manual"!=r){var s="hover"==r?"mouseenter":"focusin",o="hover"==r?"mouseleave":"focusout";this.$element.on(s+"."+this.type,this.options.selector,_.proxy(this.enter,this)),this.$element.on(o+"."+this.type,this.options.selector,_.proxy(this.leave,this))}}this.options.selector?this._options=_.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},f.prototype.getDefaults=function(){return f.DEFAULTS},f.prototype.getOptions=function(e){return(e=_.extend({},this.getDefaults(),this.$element.data(),e)).delay&&"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),e},f.prototype.getDelegateOptions=function(){var n={},i=this.getDefaults();return this._options&&_.each(this._options,function(e,t){i[e]!=t&&(n[e]=t)}),n},f.prototype.enter=function(e){var t=e instanceof this.constructor?e:_(e.currentTarget).data("bs."+this.type);if(t||(t=new this.constructor(e.currentTarget,this.getDelegateOptions()),_(e.currentTarget).data("bs."+this.type,t)),e instanceof _.Event&&(t.inState["focusin"==e.type?"focu
1s":"hover"]=!0),t.tip().hasClass("in")||"in"==t.hoverState)t.hoverState="in";else{if(clearTimeout(t.timeout),t.hoverState="in",!t.options.delay||!t.options.delay.show)return t.show();t.timeout=setTimeout(function(){"in"==t.hoverState&&t.show()},t.options.delay.show)}},f.prototype.isInStateTrue=function(){for(var e in this.inState)if(this.inState[e])return!0;return!1},f.prototype.leave=function(e){var t=e instanceof this.constructor?e:_(e.currentTarget).data("bs."+this.type);if(t||(t=new this.constructor(e.currentTarget,this.getDelegateOptions()),_(e.currentTarget).data("bs."+this.type,t)),e instanceof _.Event&&(t.inState["focusout"==e.type?"focus":"hover"]=!1),!t.isInStateTrue()){if(clearTimeout(t.timeout),t.hoverState="out",!t.options.delay||!t.options.delay.hide)return t.hide();t.timeout=setTimeout(function(){"out"==t.hoverState&&t.hide()},t.options.delay.hide)}},f.prototype.show=function(){var e=_.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(e);var t=_.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(e.isDefaultPrevented()||!t)return;var n=this,i=this.tip(),a=this.getUID(this.type);this.setContent(),i.attr("id",a),this.$element.attr("aria-describedby",a),this.options.animation&&i.addClass("fade");var r="function"==typeof this.options.placement?this.options.placement.call(this,i[0],this.$element[0]):this.options.placement,s=/\s?auto?\s?/i,o=s.test(r);o&&(r=r.replace(s,"")||"top"),i.detach().css({top:0,left:0,display:"block"}).addClass(r).data("bs."+this.type,this),this.options.container?i.appendTo(this.options.container):i.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var l=this.getPosition(),d=i[0].offsetWidth,u=i[0].offsetHeight;if(o){var c=r,h=this.getPosition(this.$viewport);r="bottom"==r&&l.bottom+u>h.bottom?"top":"top"==r&&l.top-u<h.top?"bottom":"right"==r&&l.right+d>h.width?"left":"left"==r&&l.left-d<h.left?"right":r,i.removeClass(c).addClass(r)}var p=this.getCalculatedOffset(r,l,d,u);this.applyPlacement(p,r);var m=function(){var e=n.hoverState;n.$element.trigger("shown.bs."+n.type),n.hoverState=null,"out"==e&&n.leave(n)};_.support.transition&&this.$tip.hasClass("fade")?i.one("bsTransitionEnd",m).emulateTransitionEnd(f.TRANSITION_DURATION):m()}},f.prototype.applyPlacement=function(e,t){var n=this.tip(),i=n[0].offsetWidth,a=n[0].offsetHeight,r=parseInt(n.css("margin-top"),10),s=parseInt(n.css("margin-left"),10);isNaN(r)&&(r=0),isNaN(s)&&(s=0),e.top+=r,e.left+=s,_.offset.setOffset(n[0],_.extend({using:function(e){n.css({top:Math.round(e.top),left:Math.round(e.left)})}},e),0),n.addClass("in");var o=n[0].offsetWidth,l=n[0].offsetHeight;"top"==t&&l!=a&&(e.top=e.top+a-l);var d=this.getViewportAdjustedDelta(t,e,o,l);d.left?e.left+=d.left:e.top+=d.top;var u=/top|bottom/.test(t),c=u?2*d.left-i+o:2*d.top-a+l,h=u?"offsetWidth":"offsetHeight";n.offset(e),this.replaceArrow(c,n[0][h],u)},f.prototype.replaceArrow=function(e,t,n){this.arrow().css(n?"left":"top",50*(1-e/t)+"%").css(n?"top":"left","")},f.prototype.setContent=function(){var e=this.tip(),t=this.getTitle();e.find(".tooltip-inner")[this.options.html?"html":"text"](t),e.removeClass("fade in top bottom left right")},f.prototype.hide=function(e){var t=this,n=_(this.$tip),i=_.Event("hide.bs."+this.type);function a(){"in"!=t.hoverState&&n.detach(),t.$element.removeAttr("aria-describedby").trigger("hidden.bs."+t.type),e&&e()}if(this.$element.trigger(i),!i.isDefaultPrevented())return n.removeClass("in"),_.support.transition&&n.hasClass("fade")?n.one("bsTransitionEnd",a).emulateTransitionEnd(f.TRANSITION_DURATION):a(),this.hoverState=null,this},f.prototype.fixTitle=function(){var e=this.$element;(e.attr("title")||"string"!=typeof e.attr("data-original-title"))&&e.attr("data-original-title",e.attr("title")||"").attr("title","")},f.prototype.hasContent=function(){return this.getTitle()},f.prototype.getPosition=function(e){var t=(e=e||this.$element)[0],n="BODY"==t.tagName,i=t.getBoundingClientRect();null==i.width&&(i=_.extend({},i,{width:i.right-i.left,height:i.bottom-i.top}));var a=n?{top:0,left:0}:e.offset(),r={scroll:n?document.documentElement.scrollTop||document.body.scrollTop:e.scrollTop()},s=n?{width:_(window).width(),height:_(window).height()}:null;return _.extend({},i,r,s,a)},f.prototype.getCalculatedOffset=function(e,t,n,i){return"bottom"==e?{top:t.top+t.height,left:t.left+t.width/2-n/2}:"top"==e?{top:t.top-i,left:t.left+t.width/2-n/2}:"left"==e?{top:t.top+t.height/2-i/2,left:t.left-n}:{top:t.top+t.height/2-i/2,left:t.left+t.width}},f.prototype.getViewportAdjustedDelta=function(e,t,n,i){var a={top:0,left:0};if(!this.$viewport)return a;var r=this.options.viewport&&this.options.viewport.padding||0,s=this.getPosition(this.$viewport);if(/right|left/.test(e)){var o=t.top-r-s.scroll,l=t.top+r-s.scroll+i;o<s.top?a.top=s.top-o:l>s.top+s.height&&(a.top=s.top+s.height-l)}else{var d=t.left-r,u=t.left+r+n;
1d<s.left?a.left=s.left-d:u>s.right&&(a.left=s.left+s.width-u)}return a},f.prototype.getTitle=function(){var e=this.$element,t=this.options;return e.attr("data-original-title")||("function"==typeof t.title?t.title.call(e[0]):t.title)},f.prototype.getUID=function(e){for(;e+=~~(1e6*Math.random()),document.getElementById(e););return e},f.prototype.tip=function(){if(!this.$tip&&(this.$tip=_(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},f.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},f.prototype.enable=function(){this.enabled=!0},f.prototype.disable=function(){this.enabled=!1},f.prototype.toggleEnabled=function(){this.enabled=!this.enabled},f.prototype.toggle=function(e){var t=this;e&&((t=_(e.currentTarget).data("bs."+this.type))||(t=new this.constructor(e.currentTarget,this.getDelegateOptions()),_(e.currentTarget).data("bs."+this.type,t))),e?(t.inState.click=!t.inState.click,t.isInStateTrue()?t.enter(t):t.leave(t)):t.tip().hasClass("in")?t.leave(t):t.enter(t)},f.prototype.destroy=function(){var e=this;clearTimeout(this.timeout),this.hide(function(){e.$element.off("."+e.type).removeData("bs."+e.type),e.$tip&&e.$tip.detach(),e.$tip=null,e.$arrow=null,e.$viewport=null})};var e=_.fn.tooltip;_.fn.tooltip=function(i){return this.each(function(){var e=_(this),t=e.data("bs.tooltip"),n="object"==typeof i&&i;!t&&/destroy|hide/.test(i)||(t||e.data("bs.tooltip",t=new f(this,n)),"string"==typeof i&&t[i]())})},_.fn.tooltip.Constructor=f,_.fn.tooltip.noConflict=function(){return _.fn.tooltip=e,this}}(jQuery)}.apply(e,arguments)})}(this),window.jQuery&&define("jquery",[],function(){"use strict";return window.jQuery}),require(["jquery","pat-registry","mockup-patterns-base","mockup-patterns-select2","mockup-patterns-pickadate","mockup-patterns-autotoc","mockup-patterns-cookietrigger","mockup-patterns-formunloadalert","mockup-patterns-preventdoublesubmit","mockup-patterns-formautofocus","mockup-patterns-markspeciallinks","mockup-patterns-modal","mockup-patterns-livesearch","mockup-patterns-contentloader","mockup-patterns-moment","bootstrap-dropdown","bootstrap-collapse","bootstrap-tooltip"],function(a,e,t){"use strict";window.parent!==window&&"IFRAME"!==window.frameElement.nodeName||a(document).ready(function(){a("body").addClass("pat-plone"),e.initialized||e.init()}),a(document).ready(function(){!0!==("selected"===a("#form-widgets-use_cookie_negotiation > input").value)?a("#formfield-form-widgets-authenticated_users_only").hide():a("#formfield-form-widgets-authenticated_users_only").show()}),a(document).ready(function(){function e(e){var t=a("#form-widgets-highpixeldensity_scales option:selected").attr("value"),n=a('div[data-fieldname="form.widgets.quality_2x"]'),i=a('div[data-fieldname="form.widgets.quality_3x"]');"disabled"==t?(n.fadeOut(),i.fadeOut()):"2x"==t?(n.fadeIn(),i.fadeOut()):"3x"==t&&(n.fadeIn(),i.fadeIn())}a("#ImagingSettings")&&(a('div[data-fieldname="form.widgets.quality_2x"]').hide(),a('div[data-fieldname="form.widgets.quality_3x"]').hide(),e(),a("#form-widgets-highpixeldensity_scales").change(e))})}),define("/Users/esteele/projects/plone_5.1/src/Products.CMFPlone/Products/CMFPlone/static/plone.js",function(){});
2//# sourceMappingURL=plone-compiled.min.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.