diff --git a/dist/css/style.min.css b/dist/css/style.min.css index 51571aaba..2ba19721d 100644 --- a/dist/css/style.min.css +++ b/dist/css/style.min.css @@ -3,7 +3,7 @@ * Page Type API with custom fields * http://github.com/ * @author Fredrik Forsmo - * @version 2.3.0-dev + * @version 2.3.1 * Copyright 2015. MIT licensed. */ @charset "UTF-8";.papi-clear,.pika-single:after,.pika-time-container{clear:both}#papi-hidden-editor,#wp-papiHiddenEditor-wrap,label[for=papi-hidden-editor-hide]{display:none!important}.papi-search{font-size:16px;font-weight:300;left:20px;line-height:1.5;position:relative;top:-2px;width:280px}@media only screen and (max-width:650px){.papi-search{clear:both;float:none;left:0;margin:10px 0;right:0;top:0;width:100%}}.papi-fullwidth,.papi-table{width:100%}.papi-halfwidth{width:50%}.papi-panel{background:#fff;border:1px solid #eaeaea;margin:10px 0 -5px -2px;padding:10px}.papi-panel p{margin:0}.papi-box-list{clear:both;margin-top:20px}@media only screen and (max-width:480px){.papi-box-list{margin-left:0}}.papi-box-list .papi-box-item{background:#fff;border:1px solid #dedede;box-shadow:0 1px 1px -1px rgba(0,0,0,.1);box-sizing:border-box;cursor:pointer;display:block;float:left;margin:0 2.3% 3% 0;position:relative;width:22.7%}@media only screen and (max-width:1120px){.papi-box-list .papi-box-item{margin-right:2%;width:48%}}@media only screen and (max-width:480px){.papi-box-list .papi-box-item{margin-right:0;width:100%}}.papi-box-list .papi-box-item .papi-post-type-screenshot{background-size:100%;border-bottom:1px #eaeaea solid;display:inline-block;height:200px;width:100%}.papi-box-list .papi-box-item img{border-bottom:1px solid #dedede;height:auto;left:0;top:0;-webkit-transform:translateZ(0);transition:opacity .2s ease-in-out;width:100%}.papi-box-list .papi-box-item .papi-post-type-info{margin-top:-4px;max-width:240px;padding:15px;position:relative;word-break:break-word}.papi-box-list .papi-box-item .papi-post-type-info h3{border:0;color:#23282d;font-weight:400;margin:0 0 5px}.papi-box-list .papi-box-item .papi-post-type-info p{border:0;color:#777;margin:0}.papi-box-list .papi-box-item .papi-post-type-actions{background-color:#fafafa;border-top:1px solid #dedede;height:38px;padding:9px 10px 0}.papi-box h3{font-size:14px;line-height:1.4;margin:0;padding:8px 12px}#poststuff .papi-box .inside{margin-right:-13px!important;padding-right:0}#poststuff .papi-box .inside>.papi-table{margin:-7px -12px -12px}#side-sortables .papi-box>.papi-table tr td{float:left;padding:10px 0;width:99.5%}#side-sortables .papi-box>.papi-table tr td>label{padding-left:12px}#side-sortables .papi-box>.papi-table tr td select,#side-sortables .papi-box>.papi-table tr td textarea,#side-sortables .papi-box>.papi-table tr td>input{margin-left:12px;width:90.5%}.papi-management-box .inside{margin-bottom:0;margin-right:-25px;padding-bottom:0}.papi-management-box .inside .papi-table{margin-left:-13px;margin-top:-11px}.papi-management-box .inside .papi-table thead{background:#f9f9f9}.papi-management-box .inside .papi-table thead tr th{border:1px solid #eaeaea;border-right:0;border-top:0;padding:10px 10px 10px 15px;text-align:left}.papi-management-box .inside .papi-table tbody tr td{background:#fff;border:1px solid #eaeaea;border-right:0;border-top:0}.papi-management-box .inside .papi-table tbody tr td .papi-table{padding:20px 10px 10px}.papi-management-box .inside .papi-table tbody tr td .papi-table tr th{border:1px solid #eaeaea;border-right:0}.papi-management-box .inside .papi-table tbody tr td .papi-table tr th:first-child{border-left:1px #eaeaea solid}.papi-management-box .inside .papi-table tbody tr td .papi-table td{border-left:0;border-right:1px solid #eaeaea}.papi-management-box .inside .papi-table tbody tr td .papi-table td:first-child{border-left:1px solid #eaeaea}.papi-options-logo{background:url(../images/logotype.png) no-repeat;background-size:cover;border-radius:5px;float:left;height:50px;margin:0 10px 10px 0;width:50px}.papi-options-table tr:nth-child(2n){background:#fcfcfc}.papi-options-description{margin-top:-12px}.papi-options-postbox-outer{float:left;margin-right:10px;position:static;width:250px}.papi-options-postbox{width:250px}.papi-options-postbox label{display:block;font-size:1em;font-weight:600;margin:1.33em 0}.papi-table{border-spacing:0;cursor:default!important}.papi-table *{word-wrap:break-word}.papi-table tr{box-shadow:0 1px 1px rgba(0,0,0,.04);margin:0}.papi-table tr td{border-bottom:0;border-top:1px solid #eaeaea;padding:10px 16px 10px 15px;vertical-align:top}.papi-table tr td:first-child{background:#f9f9f9;border-right:1px solid #eaeaea;border-top:1px solid #eaeaea;width:15%}.papi-table tr td:first-child label{color:#333;display:block;font-size:13px;font-weight:700;line-height:1.4em;margin:0 0 3px;padding:0}.papi-table tr td:first-child>p{color:#899194;font-size:12px;font-style:normal;font-weight:400;line-height:16px;margin:3px 0 0!important;padding:0!important}.papi-table tr td[colspan="2"]{background:#fff}.papi-table tr td label{font-size:13px;font-weight:600;line-height:1.5;padding-top:4px;word-break:break-word}.papi-table tr td label.light{font-weight:400;padding:0}.papi-table tr td input,.papi-table tr td select,.papi-table tr td textarea{width:99.5%}.papi-table tr td input[type=radio]{margin-top:0}.papi-table tr td input[type=radio],.papi-table tr td input[type=checkbox]{width:auto}.papi-table .wp-editor-wrap input{width:auto!important}.papi-tabs-wrapper{float:left;width:100%}.papi-tabs-wrapper .papi-tabs-back{background:#f4f2f2;border-right:1px solid #dfdfdf;bottom:0;left:0;position:absolute;top:0;width:139px}.papi-tabs-wrapper .papi-tabs{background:#f4f2f2;border-right:1px solid #dedede;border-top:1px solid #eaeaea;float:left;line-height:22px;margin:-7px 0 -12px -10px;padding:0 0 10px;position:relative;width:137px}.papi-tabs-wrapper .papi-tabs li{display:block;margin:0;padding:0}.papi-tabs-wrapper .papi-tabs li a{background:#f4f2f2;border-bottom:1px solid #eaeaea;border-top:1px solid transparent;color:#899194;display:block;font-weight:700;line-height:18px;margin:0 0 0 -1px;padding:10px;text-decoration:none}.papi-tabs-wrapper .papi-tabs li a img{float:left;height:13px;margin-top:2px;padding:0 5px;width:13px}.papi-tabs-wrapper .papi-tabs li.active a{background-color:#f9f9f9;border-color:#dedede;border-top:1px solid transparent;border-right:1px #eaeaea solid;color:#333;margin:0 -1px;position:relative}.papi-tabs-wrapper .papi-tabs li:first-child.active a{border-top:1px solid transparent}.papi-tabs-wrapper .papi-tabs-table-back{background:#f9f9f9;border-right:1px solid #eaeaea;bottom:0;left:0;position:absolute;top:0;width:246px}.papi-tabs-wrapper .papi-tabs-content{margin-left:131px;padding-left:10px;position:relative}.papi-tabs-wrapper .papi-tabs-content>div{display:none}.papi-tabs-wrapper .papi-tabs-content>div.active{display:block}.papi-tabs-wrapper .papi-tabs-content>div .papi-table{margin:-7px 0 -12px -13px;min-height:100%}.papi-tabs-wrapper .papi-tabs-content>div .papi-table tr td:first-child{width:75px}.papi-tabs-wrapper .papi-tabs-content>div .papi-table tr td:first-child label{padding-left:2px}.papi-pull-left{float:left}.papi-pull-right{float:right}.papi-hide{display:none!important}.papi-visually-hidden{clip:rect(0 0 0 0);clip:rect(0,0,0,0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.papi-property-color-picker .wp-picker-input-wrap{margin-top:-1px}.papi-property-color-picker .wp-picker-input-wrap .button{width:auto!important}.papi-property-file .attachment{cursor:move;margin:0 5px 0 -8px;max-height:150px;max-width:150px}.papi-property-file .attachment.ui-sortable-placeholder{background:#f9f9f9;border:1px solid #dfdfdf;margin:8px 13px 0 0;max-height:134px;max-width:134px;visibility:visible!important}.papi-property-file .attachment .check{background:#a00;color:#fff;font-size:14px;height:21px;padding-top:3px;text-decoration:none;text-transform:uppercase}.papi-property-file .attachment .thumbnail{cursor:move}.papi-property-file .attachment .thumbnail :after{box-shadow:none}.papi-property-repeater .papi-property-file .attachment{width:150px}.papi-property-flexible .papi-table .flexible-column{padding:0}.papi-property-flexible .papi-table .flexible-column.flexible-layout-table{border-bottom:1px solid #eaeaea}.papi-property-flexible .papi-table .flexible-column.flexible-layout-row{border-top:0}.papi-property-flexible .papi-table .flexible-column.flexible-layout-row .papi-table{border-bottom:0;margin:0;table-layout:fixed}.papi-property-flexible .papi-table .flexible-column.flexible-layout-row .papi-table tr td{border-right:0;max-width:100%;padding:20px 15px 20px 18px}.papi-property-flexible .papi-table .flexible-column.flexible-layout-row .papi-table tr td:first-child{border-right:1px solid #eaeaea;padding:10px 16px 10px 15px;width:15%}.papi-property-flexible .papi-table .flexible-column .flexible-table{border-spacing:0;margin:-1px 0;table-layout:fixed;width:100%}.papi-property-flexible .papi-table .flexible-column .flexible-table .wp-editor-tools{margin-bottom:-4px!important}.papi-property-flexible .papi-table .flexible-column .flexible-table thead th{background:#f9f9f9;border:1px solid #eaeaea;border-left:0;color:#444;padding:5px 15px}.papi-property-flexible .papi-table .flexible-column .flexible-table tbody td:last-child,.papi-property-flexible .papi-table .flexible-column .flexible-table thead th:last-child{border-right:0}.papi-property-flexible .papi-table .flexible-column .flexible-table thead th:first-child{border-left:0;width:auto}.papi-property-flexible .papi-table .flexible-column .flexible-table tbody td{border-top:0;padding:20px 15px 20px 18px}.papi-property-flexible .papi-table .flexible-column .flexible-table tbody td:first-child{background:0 0;border-left:0;font-weight:400;width:auto}.papi-property-flexible .bottom{text-align:right}.papi-property-flexible .flexible-layouts-btn-wrap{display:inline-block;position:relative}.papi-property-flexible .flexible-layouts{background:#23282d;border-radius:4px;bottom:140%;color:#fff;float:right;left:50%;min-width:150px;opacity:1;position:absolute;text-align:left;-webkit-transform:translateX(-50%);transform:translateX(-50%);width:100%}.papi-property-flexible .flexible-layouts:after{border:solid transparent;border-color:rgba(213,0,0,0);border-top-color:#23282d;border-width:5px;content:' ';height:0;left:50%;margin-left:-5px;pointer-events:none;position:absolute;top:100%;width:0}.papi-property-link .link-table,.papi-property-link .link-table tr{border-bottom:1px #eaeaea solid!important}.papi-property-flexible .flexible-layouts ul{color:#fff;padding:0 8px;text-decoration:none}.papi-property-flexible .flexible-layouts ul li{border-top:1px #32373c solid;padding:5px 8px 0}.papi-property-flexible .flexible-layouts ul li:first-child{border-top:0;margin-top:-5px}.papi-property-flexible .flexible-layouts ul li a{color:#fff;display:block;float:none;text-decoration:none}.papi-property-flexible .flexible-layouts ul li a:hover{color:#00b9eb}.papi-property-link .link-table td{border-left:1px #eaeaea solid!important}.papi-property-link .link-table td:first-child{font-weight:700;border-left:1px #eaeaea solid!important;border-right:0!important}.papi-property-link .link-table td:last-child{border-right:1px #eaeaea solid!important}.papi-property-repeater .link-table{margin:0!important}.papi-property-repeater .link-table td:first-child{padding:10px 16px 10px 15px!important;width:15%!important}.papi-property-reference .page-types ul,.papi-property-reference li{float:left;width:100%}.papi-property-reference li .handlediv,.papi-property-reference li:first-child{margin-top:-10px}.papi-property-reference li.closed .handlediv:before{content:'\f140'!important}.papi-property-reference li h3{background:#f9f9f9;border:1px solid #eaeaea;margin-top:5px!important}.papi-property-reference li h3+.handlediv{margin-top:-38px}.papi-property-reference li h4{float:left;margin:0 10px 0 0}.papi-property-reference .page-types{border:1px solid #eaeaea;border-top:0;margin-top:-6px;padding:20px 15px 10px}.papi-property-reference .page-types .heading-border{border-bottom:1px #eaeaea solid;padding-bottom:5px}.papi-property-reference .box{margin:0 0 15px -5px}.papi-property-reference .box a{background:#f8f8f8;border:1px solid #eaeaea;float:left;margin:5px;padding:5px 10px;text-decoration:none;width:auto}.papi-property-reference .box a:hover{background:#2ea2cc;border:1px solid #fff;color:#fff;text-decoration:none}.papi-property-relationship{background:#fafafa;border:1px solid #eaeaea}.papi-property-relationship .relationship-inner{padding:5px}.papi-property-relationship .relationship-inner .relationship-top-left{float:left;max-width:49%;padding:10px 0;width:49%}.papi-property-relationship .relationship-inner .relationship-top-left input[type=search]{margin-top:5px;padding:5px;width:100%}.papi-property-relationship .relationship-inner .relationship-top-right{float:right;max-width:49%;padding:10px 0;width:49%}.papi-property-relationship .relationship-inner .relationship-top-right select{margin-top:5px}.papi-property-relationship .relationship-inner .relationship-left{background:#fff;border:1px solid #eaeaea;float:left;height:250px;max-height:250px;max-width:49%;min-height:250px;overflow:scroll;overflow-x:hidden;width:49%}.papi-property-relationship .relationship-inner .relationship-right{background:#fff;border:1px solid #eaeaea;float:right;height:250px;max-height:250px;max-width:49%;min-height:250px;overflow:scroll;overflow-x:hidden;width:49%}.papi-property-relationship .relationship-inner ul{margin:0;padding:5px 0}.papi-property-relationship .relationship-inner ul .ui-state-highlight{border-bottom:1px #eaeaea solid}.papi-property-relationship .relationship-inner ul li{background:#fff;border-bottom:1px #eaeaea solid;cursor:pointer;padding:5px 10px 10px 5px}.papi-property-relationship .relationship-inner ul li span.icon{background:url(../images/plus-minus.png) no-repeat;cursor:pointer;float:right;height:16px;width:16px;margin:0 3px 0 0}.papi-property-relationship .relationship-inner ul li span.icon.minus{background-position:-16px 0;margin:0}.papi-property-relationship .relationship-inner ul li a{text-decoration:none}.papi-property-relationship .relationship-inner ul li.sortable{border:1px solid #eaeaea}.papi-property-relationship .relationship-inner ul li.sortable span.icon{margin-top:2px}.papi-property-flexible,.papi-property-repeater{margin-right:-31px}.papi-property-flexible .papi-table,.papi-property-repeater .papi-table{border-bottom:1px solid #eaeaea;margin:-11px 0 -13px -15px;table-layout:fixed}.papi-property-flexible .papi-table tr,.papi-property-repeater .papi-table tr{background:#fff}.papi-property-flexible .papi-table tr.closed .handle .count,.papi-property-repeater .papi-table tr.closed .handle .count{top:68%}.papi-property-flexible .papi-table tr.closed .handle .toggle,.papi-property-repeater .papi-table tr.closed .handle .toggle{margin-top:0;padding:0}.papi-property-flexible .papi-table tr.closed .handle .toggle:before,.papi-property-repeater .papi-table tr.closed .handle .toggle:before{content:'\f140'}.papi-property-flexible .papi-table tr.closed .repeater-column,.papi-property-repeater .papi-table tr.closed .repeater-column{background:#f9f9f9;border-bottom:0;border-top:1px solid #eaeaea;text-align:center}.papi-property-flexible .papi-table tr.closed .repeater-content-open,.papi-property-repeater .papi-table tr.closed .repeater-content-open{display:none}.papi-property-flexible .papi-table tr.closed .repeater-content-closed,.papi-property-repeater .papi-table tr.closed .repeater-content-closed{color:#afafaf;display:block;font-size:12px;font-weight:700;line-height:1.4em;padding-top:12px;text-align:center;width:100%}.papi-property-flexible .papi-table tr.closed .repeater-layout-row,.papi-property-repeater .papi-table tr.closed .repeater-layout-row{background:#f9f9f9;border-bottom:0;border-top:1px solid #eaeaea;padding:0;text-align:center}.papi-property-flexible .papi-table tr th,.papi-property-repeater .papi-table tr th{background:#f9f9f9;border:1px solid #eaeaea;border-bottom:0;border-left:0;font-size:12px;padding:10px 15px}.papi-property-flexible .papi-table tr th.last,.papi-property-flexible .papi-table tr th:first-child,.papi-property-repeater .papi-table tr th.last,.papi-property-repeater .papi-table tr th:first-child{background:#fff;border-left:0;color:#afafaf;font-weight:700;padding-left:0;padding-right:0;position:relative;width:5%}.papi-property-flexible .papi-table tr th.last>span,.papi-property-flexible .papi-table tr th:first-child>span,.papi-property-repeater .papi-table tr th.last>span,.papi-property-repeater .papi-table tr th:first-child>span{overflow:hidden;position:absolute;text-align:center;text-overflow:ellipsis;top:50%;white-space:nowrap;width:100%}.papi-property-flexible .papi-table tr th.last,.papi-property-repeater .papi-table tr th.last{border-right:1px solid #eaeaea}.papi-property-flexible .papi-table tr td,.papi-property-repeater .papi-table tr td{border-right:1px solid #eaeaea;padding:20px 15px 20px 18px}.papi-property-flexible .papi-table tr td.handle,.papi-property-repeater .papi-table tr td.handle{cursor:move}.papi-property-flexible .papi-table tr td.handle .toggle,.papi-property-repeater .papi-table tr td.handle .toggle{cursor:pointer;border-bottom:1px #f9f9f9 solid;font:400 20px/1 dashicons;margin-top:2px;padding-bottom:4px;top:0}.papi-property-flexible .papi-table tr td.handle .toggle:before,.papi-property-repeater .papi-table tr td.handle .toggle:before{content:'\f142';margin-left:-2px}.papi-property-flexible .papi-table tr td.last,.papi-property-flexible .papi-table tr td:first-child,.papi-property-repeater .papi-table tr td.last,.papi-property-repeater .papi-table tr td:first-child{background:#f9f9f9;border-left:0;font-weight:700;padding-left:0;padding-right:0;position:relative;width:5%}.papi-property-flexible .papi-table tr td.last>span,.papi-property-flexible .papi-table tr td:first-child>span,.papi-property-repeater .papi-table tr td.last>span,.papi-property-repeater .papi-table tr td:first-child>span{color:#afafaf;margin-top:-10px;overflow:hidden;position:absolute;text-align:center;text-overflow:ellipsis;top:50%;white-space:nowrap;width:100%}.papi-property-flexible .papi-table tr td .repeater-content-closed,.papi-property-repeater .papi-table tr td .repeater-content-closed{display:none}.papi-property-flexible .papi-table tr td .repeater-remove-item,.papi-property-repeater .papi-table tr td .repeater-remove-item{color:#afafaf;text-decoration:none}.papi-property-flexible .papi-table tr td.repeater-layout-row,.papi-property-repeater .papi-table tr td.repeater-layout-row{padding:10px 0}.papi-property-flexible .papi-table tr td.repeater-layout-row .papi-table,.papi-property-repeater .papi-table tr td.repeater-layout-row .papi-table{margin-bottom:-11px;margin-left:0;table-layout:fixed}.papi-property-flexible .papi-table tr td.repeater-layout-row .papi-table tr td,.papi-property-repeater .papi-table tr td.repeater-layout-row .papi-table tr td{border-right:0;max-width:100%;padding:20px 15px 20px 18px}.papi-property-flexible .papi-table tr td.repeater-layout-row .papi-table tr td:first-child,.papi-property-repeater .papi-table tr td.repeater-layout-row .papi-table tr td:first-child{border-right:1px solid #eaeaea;padding:10px 16px 10px 15px;width:15%}.papi-property-flexible .bottom,.papi-property-repeater .bottom{margin-top:25px;width:95%}.papi-property-flexible .bottom a,.papi-property-repeater .bottom a{float:right}.papi-table td[colspan="2"] .papi-property-repeater-top .repeater-tbody>tr>td.last{border-right:0}.papi-property-divider h3{border-bottom:none;font-size:13px!important;margin-bottom:-8px;padding-top:0!important;padding-bottom:2px!important;width:100%}.papi-property-divider h3 span{margin-left:-12px}.papi-property-divider p{color:#899194;font-size:12px;font-style:normal;line-height:16px;margin:2px 0 0}.papi-property-text{height:250px;width:100%}.papi-divider-text{padding-left:0!important}.papi-url-media-input{width:82.5%!important}.papi-url-media-button{float:right;margin-top:-1px;max-width:15%!important}.papi-rq{color:red}.metabox-prefs .papi-rq{display:none!important}.papi-box .hndle .papi-rq{color:#000!important}/*! diff --git a/dist/js/main.min.js b/dist/js/main.min.js index 2db95dead..d2cd163e5 100644 --- a/dist/js/main.min.js +++ b/dist/js/main.min.js @@ -3,7 +3,7 @@ * Page Type API with custom fields * http://github.com/ * @author Fredrik Forsmo - * @version 2.3.0-dev + * @version 2.3.1 * Copyright 2015. MIT licensed. */ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.moment=t()}(this,function(){"use strict";function e(){return Ln.apply(null,arguments)}function t(e){Ln=e}function n(e){return"[object Array]"===Object.prototype.toString.call(e)}function i(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function r(e,t){var n,i=[];for(n=0;n0)for(n in jn)i=jn[n],r=t[i],"undefined"!=typeof r&&(e[i]=r);return e}function f(t){h(this,t),this._d=new Date(null!=t._d?t._d.getTime():0/0),Un===!1&&(Un=!0,e.updateOffset(this),Un=!1)}function p(e){return e instanceof f||null!=e&&null!=e._isAMomentObject}function m(e){return 0>e?Math.ceil(e):Math.floor(e)}function g(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=m(t)),n}function y(e,t,n){var i,r=Math.min(e.length,t.length),s=Math.abs(e.length-t.length),o=0;for(i=0;r>i;i++)(n&&e[i]!==t[i]||!n&&g(e[i])!==g(t[i]))&&o++;return o+s}function _(){}function v(e){return e?e.toLowerCase().replace("_","-"):e}function w(e){for(var t,n,i,r,s=0;s0;){if(i=b(r.slice(0,t).join("-")))return i;if(n&&n.length>=t&&y(r,n,!0)>=t-1)break;t--}s++}return null}function b(e){var t=null;if(!In[e]&&"undefined"!=typeof module&&module&&module.exports)try{t=Pn._abbr,require("./locale/"+e),D(t)}catch(n){}return In[e]}function D(e,t){var n;return e&&(n="undefined"==typeof t?S(e):M(e,t),n&&(Pn=n)),Pn._abbr}function M(e,t){return null!==t?(t.abbr=e,In[e]=In[e]||new _,In[e].set(t),D(e),In[e]):(delete In[e],null)}function S(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Pn;if(!n(e)){if(t=b(e))return t;e=[e]}return w(e)}function x(e,t){var n=e.toLowerCase();Hn[n]=Hn[n+"s"]=Hn[t]=e}function $(e){return"string"==typeof e?Hn[e]||Hn[e.toLowerCase()]:void 0}function T(e){var t,n,i={};for(n in e)s(e,n)&&(t=$(n),t&&(i[t]=e[n]));return i}function k(t,n){return function(i){return null!=i?(Y(this,t,i),e.updateOffset(this,n),this):O(this,t)}}function O(e,t){return e._d["get"+(e._isUTC?"UTC":"")+t]()}function Y(e,t,n){return e._d["set"+(e._isUTC?"UTC":"")+t](n)}function C(e,t){var n;if("object"==typeof e)for(n in e)this.set(n,e[n]);else if(e=$(e),"function"==typeof this[e])return this[e](t);return this}function A(e,t,n){var i=""+Math.abs(e),r=t-i.length,s=e>=0;return(s?n?"+":"":"-")+Math.pow(10,Math.max(0,r)).toString().substr(1)+i}function E(e,t,n,i){var r=i;"string"==typeof i&&(r=function(){return this[i]()}),e&&(Rn[e]=r),t&&(Rn[t[0]]=function(){return A(r.apply(this,arguments),t[1],t[2])}),n&&(Rn[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),e)})}function L(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function P(e){var t,n,i=e.match(qn);for(t=0,n=i.length;n>t;t++)i[t]=Rn[i[t]]?Rn[i[t]]:L(i[t]);return function(r){var s="";for(t=0;n>t;t++)s+=i[t]instanceof Function?i[t].call(r,e):i[t];return s}}function j(e,t){return e.isValid()?(t=U(t,e.localeData()),Fn[t]=Fn[t]||P(t),Fn[t](e)):e.localeData().invalidDate()}function U(e,t){function n(e){return t.longDateFormat(e)||e}var i=5;for(Wn.lastIndex=0;i>=0&&Wn.test(e);)e=e.replace(Wn,n),Wn.lastIndex=0,i-=1;return e}function I(e){return"function"==typeof e&&"[object Function]"===Object.prototype.toString.call(e)}function H(e,t,n){ri[e]=I(t)?t:function(e){return e&&n?n:t}}function q(e,t){return s(ri,e)?ri[e](t._strict,t._locale):new RegExp(W(e))}function W(e){return e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,i,r){return t||n||i||r}).replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function F(e,t){var n,i=t;for("string"==typeof e&&(e=[e]),"number"==typeof t&&(i=function(e,n){n[t]=g(e)}),n=0;ni;i++){if(r=a([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(s="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[i]=new RegExp(s.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}}function V(e,t){var n;return"string"==typeof t&&(t=e.localeData().monthsParse(t),"number"!=typeof t)?e:(n=Math.min(e.date(),z(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e)}function K(t){return null!=t?(V(this,t),e.updateOffset(this,!0),this):O(this,"Month")}function J(){return z(this.year(),this.month())}function Q(e){var t,n=e._a;return n&&-2===u(e).overflow&&(t=n[ai]<0||n[ai]>11?ai:n[li]<1||n[li]>z(n[oi],n[ai])?li:n[ui]<0||n[ui]>24||24===n[ui]&&(0!==n[ci]||0!==n[di]||0!==n[hi])?ui:n[ci]<0||n[ci]>59?ci:n[di]<0||n[di]>59?di:n[hi]<0||n[hi]>999?hi:-1,u(e)._overflowDayOfYear&&(oi>t||t>li)&&(t=li),u(e).overflow=t),e}function X(t){e.suppressDeprecationWarnings===!1&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function ee(e,t){var n=!0;return o(function(){return n&&(X(e+"\n"+(new Error).stack),n=!1),t.apply(this,arguments)},t)}function te(e,t){mi[e]||(X(t),mi[e]=!0)}function ne(e){var t,n,i=e._i,r=gi.exec(i);if(r){for(u(e).iso=!0,t=0,n=yi.length;n>t;t++)if(yi[t][1].exec(i)){e._f=yi[t][0];break}for(t=0,n=_i.length;n>t;t++)if(_i[t][1].exec(i)){e._f+=(r[6]||" ")+_i[t][0];break}i.match(ti)&&(e._f+="Z"),be(e)}else e._isValid=!1}function ie(t){var n=vi.exec(t._i);return null!==n?void(t._d=new Date(+n[1])):(ne(t),void(t._isValid===!1&&(delete t._isValid,e.createFromInputFallback(t))))}function re(e,t,n,i,r,s,o){var a=new Date(e,t,n,i,r,s,o);return 1970>e&&a.setFullYear(e),a}function se(e){var t=new Date(Date.UTC.apply(null,arguments));return 1970>e&&t.setUTCFullYear(e),t}function oe(e){return ae(e)?366:365}function ae(e){return e%4===0&&e%100!==0||e%400===0}function le(){return ae(this.year())}function ue(e,t,n){var i,r=n-t,s=n-e.day();return s>r&&(s-=7),r-7>s&&(s+=7),i=Oe(e).add(s,"d"),{week:Math.ceil(i.dayOfYear()/7),year:i.year()}}function ce(e){return ue(e,this._week.dow,this._week.doy).week}function de(){return this._week.dow}function he(){return this._week.doy}function fe(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function pe(e){var t=ue(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function me(e,t,n,i,r){var s,o=6+r-i,a=se(e,0,1+o),l=a.getUTCDay();return r>l&&(l+=7),n=null!=n?1*n:r,s=1+o+7*(t-1)-l+n,{year:s>0?e:e-1,dayOfYear:s>0?s:oe(e-1)+s}}function ge(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}function ye(e,t,n){return null!=e?e:null!=t?t:n}function _e(e){var t=new Date;return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function ve(e){var t,n,i,r,s=[];if(!e._d){for(i=_e(e),e._w&&null==e._a[li]&&null==e._a[ai]&&we(e),e._dayOfYear&&(r=ye(e._a[oi],i[oi]),e._dayOfYear>oe(r)&&(u(e)._overflowDayOfYear=!0),n=se(r,0,e._dayOfYear),e._a[ai]=n.getUTCMonth(),e._a[li]=n.getUTCDate()),t=0;3>t&&null==e._a[t];++t)e._a[t]=s[t]=i[t];for(;7>t;t++)e._a[t]=s[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[ui]&&0===e._a[ci]&&0===e._a[di]&&0===e._a[hi]&&(e._nextDay=!0,e._a[ui]=0),e._d=(e._useUTC?se:re).apply(null,s),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[ui]=24)}}function we(e){var t,n,i,r,s,o,a;t=e._w,null!=t.GG||null!=t.W||null!=t.E?(s=1,o=4,n=ye(t.GG,e._a[oi],ue(Oe(),1,4).year),i=ye(t.W,1),r=ye(t.E,1)):(s=e._locale._week.dow,o=e._locale._week.doy,n=ye(t.gg,e._a[oi],ue(Oe(),s,o).year),i=ye(t.w,1),null!=t.d?(r=t.d,s>r&&++i):r=null!=t.e?t.e+s:s),a=me(n,i,r,o,s),e._a[oi]=a.year,e._dayOfYear=a.dayOfYear}function be(t){if(t._f===e.ISO_8601)return void ne(t);t._a=[],u(t).empty=!0;var n,i,r,s,o,a=""+t._i,l=a.length,c=0;for(r=U(t._f,t._locale).match(qn)||[],n=0;n0&&u(t).unusedInput.push(o),a=a.slice(a.indexOf(i)+i.length),c+=i.length),Rn[s]?(i?u(t).empty=!1:u(t).unusedTokens.push(s),N(s,i,t)):t._strict&&!i&&u(t).unusedTokens.push(s);u(t).charsLeftOver=l-c,a.length>0&&u(t).unusedInput.push(a),u(t).bigHour===!0&&t._a[ui]<=12&&t._a[ui]>0&&(u(t).bigHour=void 0),t._a[ui]=De(t._locale,t._a[ui],t._meridiem),ve(t),Q(t)}function De(e,t,n){var i;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(i=e.isPM(n),i&&12>t&&(t+=12),i||12!==t||(t=0),t):t}function Me(e){var t,n,i,r,s;if(0===e._f.length)return u(e).invalidFormat=!0,void(e._d=new Date(0/0));for(r=0;rs)&&(i=s,n=t));o(e,n||t)}function Se(e){if(!e._d){var t=T(e._i);e._a=[t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],ve(e)}}function xe(e){var t=new f(Q($e(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function $e(e){var t=e._i,r=e._f;return e._locale=e._locale||S(e._l),null===t||void 0===r&&""===t?d({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),p(t)?new f(Q(t)):(n(r)?Me(e):r?be(e):i(t)?e._d=t:Te(e),e))}function Te(t){var s=t._i;void 0===s?t._d=new Date:i(s)?t._d=new Date(+s):"string"==typeof s?ie(t):n(s)?(t._a=r(s.slice(0),function(e){return parseInt(e,10)}),ve(t)):"object"==typeof s?Se(t):"number"==typeof s?t._d=new Date(s):e.createFromInputFallback(t)}function ke(e,t,n,i,r){var s={};return"boolean"==typeof n&&(i=n,n=void 0),s._isAMomentObject=!0,s._useUTC=s._isUTC=r,s._l=n,s._i=e,s._f=t,s._strict=i,xe(s)}function Oe(e,t,n,i){return ke(e,t,n,i,!1)}function Ye(e,t){var i,r;if(1===t.length&&n(t[0])&&(t=t[0]),!t.length)return Oe();for(i=t[0],r=1;re&&(e=-e,n="-"),n+A(~~(e/60),2)+t+A(~~e%60,2)})}function je(e){var t=(e||"").match(ti)||[],n=t[t.length-1]||[],i=(n+"").match(Si)||["-",0,0],r=+(60*i[1])+g(i[2]);return"+"===i[0]?r:-r}function Ue(t,n){var r,s;return n._isUTC?(r=n.clone(),s=(p(t)||i(t)?+t:+Oe(t))-+r,r._d.setTime(+r._d+s),e.updateOffset(r,!1),r):Oe(t).local()}function Ie(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function He(t,n){var i,r=this._offset||0;return null!=t?("string"==typeof t&&(t=je(t)),Math.abs(t)<16&&(t=60*t),!this._isUTC&&n&&(i=Ie(this)),this._offset=t,this._isUTC=!0,null!=i&&this.add(i,"m"),r!==t&&(!n||this._changeInProgress?tt(this,Ke(t-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,e.updateOffset(this,!0),this._changeInProgress=null)),this):this._isUTC?r:Ie(this)}function qe(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function We(e){return this.utcOffset(0,e)}function Fe(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Ie(this),"m")),this}function Re(){return this._tzm?this.utcOffset(this._tzm):"string"==typeof this._i&&this.utcOffset(je(this._i)),this}function Ne(e){return e=e?Oe(e).utcOffset():0,(this.utcOffset()-e)%60===0}function ze(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Ge(){if("undefined"!=typeof this._isDSTShifted)return this._isDSTShifted;var e={};if(h(e,this),e=$e(e),e._a){var t=e._isUTC?a(e._a):Oe(e._a);this._isDSTShifted=this.isValid()&&y(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function Be(){return!this._isUTC}function Ze(){return this._isUTC}function Ve(){return this._isUTC&&0===this._offset}function Ke(e,t){var n,i,r,o=e,a=null;return Le(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:"number"==typeof e?(o={},t?o[t]=e:o.milliseconds=e):(a=xi.exec(e))?(n="-"===a[1]?-1:1,o={y:0,d:g(a[li])*n,h:g(a[ui])*n,m:g(a[ci])*n,s:g(a[di])*n,ms:g(a[hi])*n}):(a=$i.exec(e))?(n="-"===a[1]?-1:1,o={y:Je(a[2],n),M:Je(a[3],n),d:Je(a[4],n),h:Je(a[5],n),m:Je(a[6],n),s:Je(a[7],n),w:Je(a[8],n)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(r=Xe(Oe(o.from),Oe(o.to)),o={},o.ms=r.milliseconds,o.M=r.months),i=new Ee(o),Le(e)&&s(e,"_locale")&&(i._locale=e._locale),i}function Je(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Qe(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 Xe(e,t){var n;return t=Ue(t,e),e.isBefore(t)?n=Qe(e,t):(n=Qe(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n}function et(e,t){return function(n,i){var r,s;return null===i||isNaN(+i)||(te(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period)."),s=n,n=i,i=s),n="string"==typeof n?+n:n,r=Ke(n,i),tt(this,r,e),this}}function tt(t,n,i,r){var s=n._milliseconds,o=n._days,a=n._months;r=null==r?!0:r,s&&t._d.setTime(+t._d+s*i),o&&Y(t,"Date",O(t,"Date")+o*i),a&&V(t,O(t,"Month")+a*i),r&&e.updateOffset(t,o||a)}function nt(e,t){var n=e||Oe(),i=Ue(n,this).startOf("day"),r=this.diff(i,"days",!0),s=-6>r?"sameElse":-1>r?"lastWeek":0>r?"lastDay":1>r?"sameDay":2>r?"nextDay":7>r?"nextWeek":"sameElse";return this.format(t&&t[s]||this.localeData().calendar(s,this,Oe(n)))}function it(){return new f(this)}function rt(e,t){var n;return t=$("undefined"!=typeof t?t:"millisecond"),"millisecond"===t?(e=p(e)?e:Oe(e),+this>+e):(n=p(e)?+e:+Oe(e),n<+this.clone().startOf(t))}function st(e,t){var n;return t=$("undefined"!=typeof t?t:"millisecond"),"millisecond"===t?(e=p(e)?e:Oe(e),+e>+this):(n=p(e)?+e:+Oe(e),+this.clone().endOf(t)t-s?(n=e.clone().add(r-1,"months"),i=(t-s)/(s-n)):(n=e.clone().add(r+1,"months"),i=(t-s)/(n-s)),-(r+i)}function ct(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function dt(){var e=this.clone().utc();return 0t;t++)if(this._weekdaysParse[t]||(n=Oe([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}function Wt(e){var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=jt(e,this.localeData()),this.add(e-t,"d")):t}function Ft(e){var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function Rt(e){return null==e?this.day()||7:this.day(this.day()%7?e:e-7)}function Nt(e,t){E(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function zt(e,t){return t._meridiemParse}function Gt(e){return"p"===(e+"").toLowerCase().charAt(0)}function Bt(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}function Zt(e,t){t[hi]=g(1e3*("0."+e))}function Vt(){return this._isUTC?"UTC":""}function Kt(){return this._isUTC?"Coordinated Universal Time":""}function Jt(e){return Oe(1e3*e)}function Qt(){return Oe.apply(null,arguments).parseZone()}function Xt(e,t,n){var i=this._calendar[e];return"function"==typeof i?i.call(t,n):i}function en(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])}function tn(){return this._invalidDate}function nn(e){return this._ordinal.replace("%d",e)}function rn(e){return e}function sn(e,t,n,i){var r=this._relativeTime[n];return"function"==typeof r?r(e,t,n,i):r.replace(/%d/i,e)}function on(e,t){var n=this._relativeTime[e>0?"future":"past"];return"function"==typeof n?n(t):n.replace(/%s/i,t)}function an(e){var t,n;for(n in e)t=e[n],"function"==typeof t?this[n]=t:this["_"+n]=t;this._ordinalParseLenient=new RegExp(this._ordinalParse.source+"|"+/\d{1,2}/.source)}function ln(e,t,n,i){var r=S(),s=a().set(i,t);return r[n](s,e)}function un(e,t,n,i,r){if("number"==typeof e&&(t=e,e=void 0),e=e||"",null!=t)return ln(e,t,n,r);var s,o=[];for(s=0;i>s;s++)o[s]=ln(e,s,n,r);return o}function cn(e,t){return un(e,t,"months",12,"month")}function dn(e,t){return un(e,t,"monthsShort",12,"month")}function hn(e,t){return un(e,t,"weekdays",7,"day")}function fn(e,t){return un(e,t,"weekdaysShort",7,"day")}function pn(e,t){return un(e,t,"weekdaysMin",7,"day")}function mn(){var e=this._data;return this._milliseconds=Vi(this._milliseconds),this._days=Vi(this._days),this._months=Vi(this._months),e.milliseconds=Vi(e.milliseconds),e.seconds=Vi(e.seconds),e.minutes=Vi(e.minutes),e.hours=Vi(e.hours),e.months=Vi(e.months),e.years=Vi(e.years),this}function gn(e,t,n,i){var r=Ke(t,n);return e._milliseconds+=i*r._milliseconds,e._days+=i*r._days,e._months+=i*r._months,e._bubble()}function yn(e,t){return gn(this,e,t,1)}function _n(e,t){return gn(this,e,t,-1)}function vn(e){return 0>e?Math.floor(e):Math.ceil(e)}function wn(){var e,t,n,i,r,s=this._milliseconds,o=this._days,a=this._months,l=this._data;return s>=0&&o>=0&&a>=0||0>=s&&0>=o&&0>=a||(s+=864e5*vn(Dn(a)+o),o=0,a=0),l.milliseconds=s%1e3,e=m(s/1e3),l.seconds=e%60,t=m(e/60),l.minutes=t%60,n=m(t/60),l.hours=n%24,o+=m(n/24),r=m(bn(o)),a+=r,o-=vn(Dn(r)),i=m(a/12),a%=12,l.days=o,l.months=a,l.years=i,this}function bn(e){return 4800*e/146097}function Dn(e){return 146097*e/4800}function Mn(e){var t,n,i=this._milliseconds;if(e=$(e),"month"===e||"year"===e)return t=this._days+i/864e5,n=this._months+bn(t),"month"===e?n:n/12;switch(t=this._days+Math.round(Dn(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)}}function Sn(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*g(this._months/12)}function xn(e){return function(){return this.as(e)}}function $n(e){return e=$(e),this[e+"s"]()}function Tn(e){return function(){return this._data[e]}}function kn(){return m(this.days()/7)}function On(e,t,n,i,r){return r.relativeTime(t||1,!!n,e,i)}function Yn(e,t,n){var i=Ke(e).abs(),r=dr(i.as("s")),s=dr(i.as("m")),o=dr(i.as("h")),a=dr(i.as("d")),l=dr(i.as("M")),u=dr(i.as("y")),c=r0,c[4]=n,On.apply(null,c)}function Cn(e,t){return void 0===hr[e]?!1:void 0===t?hr[e]:(hr[e]=t,!0)}function An(e){var t=this.localeData(),n=Yn(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}function En(){var e,t,n,i=fr(this._milliseconds)/1e3,r=fr(this._days),s=fr(this._months);e=m(i/60),t=m(e/60),i%=60,e%=60,n=m(s/12),s%=12;var o=n,a=s,l=r,u=t,c=e,d=i,h=this.asSeconds();return h?(0>h?"-":"")+"P"+(o?o+"Y":"")+(a?a+"M":"")+(l?l+"D":"")+(u||c||d?"T":"")+(u?u+"H":"")+(c?c+"M":"")+(d?d+"S":""):"P0D"}var Ln,Pn,jn=e.momentProperties=[],Un=!1,In={},Hn={},qn=/(\[[^\[]*\])|(\\)?(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}|x|X|zz?|ZZ?|.)/g,Wn=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Fn={},Rn={},Nn=/\d/,zn=/\d\d/,Gn=/\d{3}/,Bn=/\d{4}/,Zn=/[+-]?\d{6}/,Vn=/\d\d?/,Kn=/\d{1,3}/,Jn=/\d{1,4}/,Qn=/[+-]?\d{1,6}/,Xn=/\d+/,ei=/[+-]?\d+/,ti=/Z|[+-]\d\d:?\d\d/gi,ni=/[+-]?\d+(\.\d{1,3})?/,ii=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,ri={},si={},oi=0,ai=1,li=2,ui=3,ci=4,di=5,hi=6;E("M",["MM",2],"Mo",function(){return this.month()+1}),E("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),E("MMMM",0,0,function(e){return this.localeData().months(this,e)}),x("month","M"),H("M",Vn),H("MM",Vn,zn),H("MMM",ii),H("MMMM",ii),F(["M","MM"],function(e,t){t[ai]=g(e)-1}),F(["MMM","MMMM"],function(e,t,n,i){var r=n._locale.monthsParse(e,i,n._strict);null!=r?t[ai]=r:u(n).invalidMonth=e});var fi="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),pi="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),mi={};e.suppressDeprecationWarnings=!1;var gi=/^\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)?)?$/,yi=[["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}/]],_i=[["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/]],vi=/^\/?Date\((\-?\d+)/i;e.createFromInputFallback=ee("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":""))}),E(0,["YY",2],0,function(){return this.year()%100}),E(0,["YYYY",4],0,"year"),E(0,["YYYYY",5],0,"year"),E(0,["YYYYYY",6,!0],0,"year"),x("year","y"),H("Y",ei),H("YY",Vn,zn),H("YYYY",Jn,Bn),H("YYYYY",Qn,Zn),H("YYYYYY",Qn,Zn),F(["YYYYY","YYYYYY"],oi),F("YYYY",function(t,n){n[oi]=2===t.length?e.parseTwoDigitYear(t):g(t)}),F("YY",function(t,n){n[oi]=e.parseTwoDigitYear(t)}),e.parseTwoDigitYear=function(e){return g(e)+(g(e)>68?1900:2e3)};var wi=k("FullYear",!1);E("w",["ww",2],"wo","week"),E("W",["WW",2],"Wo","isoWeek"),x("week","w"),x("isoWeek","W"),H("w",Vn),H("ww",Vn,zn),H("W",Vn),H("WW",Vn,zn),R(["w","ww","W","WW"],function(e,t,n,i){t[i.substr(0,1)]=g(e)});var bi={dow:0,doy:6};E("DDD",["DDDD",3],"DDDo","dayOfYear"),x("dayOfYear","DDD"),H("DDD",Kn),H("DDDD",Gn),F(["DDD","DDDD"],function(e,t,n){n._dayOfYear=g(e)}),e.ISO_8601=function(){};var Di=ee("moment().min is deprecated, use moment.min instead. https://github.com/moment/moment/issues/1548",function(){var e=Oe.apply(null,arguments);return this>e?this:e}),Mi=ee("moment().max is deprecated, use moment.max instead. https://github.com/moment/moment/issues/1548",function(){var e=Oe.apply(null,arguments);return e>this?this:e});Pe("Z",":"),Pe("ZZ",""),H("Z",ti),H("ZZ",ti),F(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=je(e)});var Si=/([\+\-]|\d\d)/gi;e.updateOffset=function(){};var xi=/(\-)?(?:(\d*)\.)?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?)?/,$i=/^(-)?P(?:(?:([0-9,.]*)Y)?(?:([0-9,.]*)M)?(?:([0-9,.]*)D)?(?:T(?:([0-9,.]*)H)?(?:([0-9,.]*)M)?(?:([0-9,.]*)S)?)?|([0-9,.]*)W)$/;Ke.fn=Ee.prototype;var Ti=et(1,"add"),ki=et(-1,"subtract");e.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";var Oi=ee("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)});E(0,["gg",2],0,function(){return this.weekYear()%100}),E(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Ot("gggg","weekYear"),Ot("ggggg","weekYear"),Ot("GGGG","isoWeekYear"),Ot("GGGGG","isoWeekYear"),x("weekYear","gg"),x("isoWeekYear","GG"),H("G",ei),H("g",ei),H("GG",Vn,zn),H("gg",Vn,zn),H("GGGG",Jn,Bn),H("gggg",Jn,Bn),H("GGGGG",Qn,Zn),H("ggggg",Qn,Zn),R(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,i){t[i.substr(0,2)]=g(e)}),R(["gg","GG"],function(t,n,i,r){n[r]=e.parseTwoDigitYear(t)}),E("Q",0,0,"quarter"),x("quarter","Q"),H("Q",Nn),F("Q",function(e,t){t[ai]=3*(g(e)-1)}),E("D",["DD",2],"Do","date"),x("date","D"),H("D",Vn),H("DD",Vn,zn),H("Do",function(e,t){return e?t._ordinalParse:t._ordinalParseLenient}),F(["D","DD"],li),F("Do",function(e,t){t[li]=g(e.match(Vn)[0],10)});var Yi=k("Date",!0);E("d",0,"do","day"),E("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),E("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),E("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),E("e",0,0,"weekday"),E("E",0,0,"isoWeekday"),x("day","d"),x("weekday","e"),x("isoWeekday","E"),H("d",Vn),H("e",Vn),H("E",Vn),H("dd",ii),H("ddd",ii),H("dddd",ii),R(["dd","ddd","dddd"],function(e,t,n){var i=n._locale.weekdaysParse(e);null!=i?t.d=i:u(n).invalidWeekday=e}),R(["d","e","E"],function(e,t,n,i){t[i]=g(e)});var Ci="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ai="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ei="Su_Mo_Tu_We_Th_Fr_Sa".split("_");E("H",["HH",2],0,"hour"),E("h",["hh",2],0,function(){return this.hours()%12||12}),Nt("a",!0),Nt("A",!1),x("hour","h"),H("a",zt),H("A",zt),H("H",Vn),H("h",Vn),H("HH",Vn,zn),H("hh",Vn,zn),F(["H","HH"],ui),F(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),F(["h","hh"],function(e,t,n){t[ui]=g(e),u(n).bigHour=!0});var Li=/[ap]\.?m?\.?/i,Pi=k("Hours",!0);E("m",["mm",2],0,"minute"),x("minute","m"),H("m",Vn),H("mm",Vn,zn),F(["m","mm"],ci);var ji=k("Minutes",!1);E("s",["ss",2],0,"second"),x("second","s"),H("s",Vn),H("ss",Vn,zn),F(["s","ss"],di);var Ui=k("Seconds",!1);E("S",0,0,function(){return~~(this.millisecond()/100)}),E(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),E(0,["SSS",3],0,"millisecond"),E(0,["SSSS",4],0,function(){return 10*this.millisecond()}),E(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),E(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),E(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),E(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),E(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),x("millisecond","ms"),H("S",Kn,Nn),H("SS",Kn,zn),H("SSS",Kn,Gn);var Ii;for(Ii="SSSS";Ii.length<=9;Ii+="S")H(Ii,Xn);for(Ii="S";Ii.length<=9;Ii+="S")F(Ii,Zt);var Hi=k("Milliseconds",!1);E("z",0,0,"zoneAbbr"),E("zz",0,0,"zoneName");var qi=f.prototype;qi.add=Ti,qi.calendar=nt,qi.clone=it,qi.diff=lt,qi.endOf=wt,qi.format=ht,qi.from=ft,qi.fromNow=pt,qi.to=mt,qi.toNow=gt,qi.get=C,qi.invalidAt=kt,qi.isAfter=rt,qi.isBefore=st,qi.isBetween=ot,qi.isSame=at,qi.isValid=$t,qi.lang=Oi,qi.locale=yt,qi.localeData=_t,qi.max=Mi,qi.min=Di,qi.parsingFlags=Tt,qi.set=C,qi.startOf=vt,qi.subtract=ki,qi.toArray=St,qi.toObject=xt,qi.toDate=Mt,qi.toISOString=dt,qi.toJSON=dt,qi.toString=ct,qi.unix=Dt,qi.valueOf=bt,qi.year=wi,qi.isLeapYear=le,qi.weekYear=Ct,qi.isoWeekYear=At,qi.quarter=qi.quarters=Pt,qi.month=K,qi.daysInMonth=J,qi.week=qi.weeks=fe,qi.isoWeek=qi.isoWeeks=pe,qi.weeksInYear=Lt,qi.isoWeeksInYear=Et,qi.date=Yi,qi.day=qi.days=Wt,qi.weekday=Ft,qi.isoWeekday=Rt,qi.dayOfYear=ge,qi.hour=qi.hours=Pi,qi.minute=qi.minutes=ji,qi.second=qi.seconds=Ui, diff --git a/package.json b/package.json index 9b20382e5..84563590f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "papi", - "version": "2.3.0", + "version": "2.3.1", "repository": "wp-papi/papi", "description": "Page Type API with custom fields", "author": "Fredrik Forsmo ", diff --git a/papi-loader.php b/papi-loader.php index 40760b385..7702c5b2f 100644 --- a/papi-loader.php +++ b/papi-loader.php @@ -5,7 +5,7 @@ * Description: Page Type API with custom fields * Author: Fredrik Forsmo * Author URI: http://forsmo.me - * Version: 2.3.0 + * Version: 2.3.1 * Plugin URI: https://wp-papi.github.io * Textdomain: papi */ diff --git a/src/includes/admin/class-papi-admin.php b/src/includes/admin/class-papi-admin.php index bfa0fd35b..b191dc2ed 100644 --- a/src/includes/admin/class-papi-admin.php +++ b/src/includes/admin/class-papi-admin.php @@ -50,7 +50,7 @@ public function __clone() { _doing_it_wrong( __FUNCTION__, __( 'Cheatin’ huh?', 'papi' ), - '2.3.0' + '2.3.1' ); } @@ -63,7 +63,7 @@ public function __wakeup() { _doing_it_wrong( __FUNCTION__, __( 'Cheatin’ huh?', 'papi' ), - '2.3.0' + '2.3.1' ); } diff --git a/src/papi-loader.php b/src/papi-loader.php index e05f6ff6f..1b71c07a0 100644 --- a/src/papi-loader.php +++ b/src/papi-loader.php @@ -60,7 +60,7 @@ public function __clone() { _doing_it_wrong( __FUNCTION__, __( 'Cheatin’ huh?', 'papi' ), - '2.3.0' + '2.3.1' ); } @@ -73,7 +73,7 @@ public function __wakeup() { _doing_it_wrong( __FUNCTION__, __( 'Cheatin’ huh?', 'papi' ), - '2.3.0' + '2.3.1' ); }