Plugin Directory

Changeset 2981413


Ignore:
Timestamp:
10/19/2023 09:02:02 PM (2 years ago)
Author:
thatdevgirl
Message:

WP 6.4 support

Location:
block-controller
Files:
38 added
6 edited

Legend:

Unmodified
Added
Removed
  • block-controller/trunk/block-controller.php

    r2932393 r2981413  
    44 * Plugin Name: Block Controller
    55 * Description: Allow site administrators to control editor access to content blocks.
    6  * Version: 1.4
     6 * Version: 1.4.1
    77 * Author: Joni Halabi
    88 * Author URI: https://jhalabi.com
  • block-controller/trunk/build/block-controller-admin.min.js

    r2482804 r2981413  
    1 !function n(o,c,i){function u(t,e){if(!c[t]){if(!o[t]){var r="function"==typeof require&&require;if(!e&&r)return r(t,!0);if(f)return f(t,!0);throw(r=new Error("Cannot find module '"+t+"'")).code="MODULE_NOT_FOUND",r}r=c[t]={exports:{}},o[t][0].call(r.exports,function(e){return u(o[t][1][e]||e)},r,r.exports,n,o,c,i)}return c[t].exports}for(var f="function"==typeof require&&require,e=0;e<i.length;e++)u(i[e]);return u}({1:[function(e,t,r){"use strict";var n,o;n=jQuery,o=n("#block-controller-settings"),n(".toggle-all-on",o).click(function(e){e.preventDefault();for(var t=c(e.target),r=0;r<t.length;r++)n(t[r]).attr("disabled")||n(t[r]).prop("checked",!1)}),n(".toggle-all-off",o).click(function(e){e.preventDefault();for(var t=c(e.target),r=0;r<t.length;r++)n(t[r]).attr("disabled")||n(t[r]).prop("checked",!0)}),n('input[value="core/embed"]').click(function(e){var t=c(e.target);if(n(e.target).prop("checked"))for(var r=0;r<t.length;r++)n(t[r]).attr("disabled")||n(t[r]).prop("checked",!0)});function c(e){e=n(e).closest("fieldset");return n("input[type=checkbox]",e)}},{}]},{},[1]);
     1!function n(o,c,i){function u(t,e){if(!c[t]){if(!o[t]){var r="function"==typeof require&&require;if(!e&&r)return r(t,!0);if(f)return f(t,!0);throw(e=new Error("Cannot find module '"+t+"'")).code="MODULE_NOT_FOUND",e}r=c[t]={exports:{}},o[t][0].call(r.exports,function(e){return u(o[t][1][e]||e)},r,r.exports,n,o,c,i)}return c[t].exports}for(var f="function"==typeof require&&require,e=0;e<i.length;e++)u(i[e]);return u}({1:[function(e,t,r){"use strict";var n,o;n=jQuery,o=n("#block-controller-settings"),n(".toggle-all-on",o).click(function(e){e.preventDefault();for(var t=c(e.target),r=0;r<t.length;r++)n(t[r]).attr("disabled")||n(t[r]).prop("checked",!1)}),n(".toggle-all-off",o).click(function(e){e.preventDefault();for(var t=c(e.target),r=0;r<t.length;r++)n(t[r]).attr("disabled")||n(t[r]).prop("checked",!0)}),n('input[value="core/embed"]').click(function(e){var t=c(e.target);if(n(e.target).prop("checked"))for(var r=0;r<t.length;r++)n(t[r]).attr("disabled")||n(t[r]).prop("checked",!0)});function c(e){e=n(e).closest("fieldset");return n("input[type=checkbox]",e)}},{}]},{},[1]);
  • block-controller/trunk/build/block-controller-editor.min.js

    r2818558 r2981413  
    1 !function n(t,i,c){function s(r,e){if(!i[r]){if(!t[r]){var o="function"==typeof require&&require;if(!e&&o)return o(r,!0);if(u)return u(r,!0);throw(o=new Error("Cannot find module '"+r+"'")).code="MODULE_NOT_FOUND",o}o=i[r]={exports:{}},t[r][0].call(o.exports,function(e){return s(t[r][1][e]||e)},o,o.exports,n,t,i,c)}return i[r].exports}for(var u="function"==typeof require&&require,e=0;e<c.length;e++)s(c[e]);return s}({1:[function(e,r,o){"use strict";wp.hooks.addFilter("blocks.registerBlockType","tpmBlockController",function(e,r){return TPM_BC_GLOBAL.disabledBlocks.includes(r)?lodash.assign({},e,{supports:{inserter:!1}}):e});document.addEventListener("DOMContentLoaded",void 0)},{}],2:[function(e,r,o){"use strict";wp.domReady(function(){TPM_BC_GLOBAL.disabledBlocks.includes("core/embed")||TPM_BC_GLOBAL.disabledBlocks.forEach(function(e){e=e.split("/");"core-embed"==e[0]&&wp.blocks.unregisterBlockVariation("core/embed",e[1])})})},{}]},{},[1,2]);
     1!function e(u,i,o){function f(t,n){if(!i[t]){if(!u[t]){var r="function"==typeof require&&require;if(!n&&r)return r(t,!0);if(c)return c(t,!0);throw(n=new Error("Cannot find module '"+t+"'")).code="MODULE_NOT_FOUND",n}r=i[t]={exports:{}},u[t][0].call(r.exports,function(n){return f(u[t][1][n]||n)},r,r.exports,e,u,i,o)}return i[t].exports}for(var c="function"==typeof require&&require,n=0;n<o.length;n++)f(o[n]);return f}({1:[function(n,t,r){"use strict";var e=n("lodash");wp.hooks.addFilter("blocks.registerBlockType","tpmBlockController",function(n,t){return TPM_BC_GLOBAL.disabledBlocks.includes(t)?(0,e.assign)({},n,{supports:{inserter:!1}}):n});document.addEventListener("DOMContentLoaded",void 0)},{lodash:3}],2:[function(n,t,r){"use strict";wp.domReady(function(){TPM_BC_GLOBAL.disabledBlocks.includes("core/embed")||TPM_BC_GLOBAL.disabledBlocks.forEach(function(n){n=n.split("/");"core-embed"==n[0]&&wp.blocks.unregisterBlockVariation("core/embed",n[1])})})},{}],3:[function(n,z,S){!function(R){!function(){!function(){var Mi,Fi="Expected a function",yo="__lodash_hash_undefined__",bo="__lodash_placeholder__",wo=16,Ni=32,Pi=64,qi=128,mo=256,Zi=9007199254740991,xo=NaN,Gi=4294967295,jo=[["ary",qi],["bind",1],["bindKey",2],["curry",8],["curryRight",wo],["flip",512],["partial",Ni],["partialRight",Pi],["rearg",mo]],Ki="[object Arguments]",Ao="[object Array]",Vi="[object Boolean]",Hi="[object Date]",ko="[object Error]",Oo="[object Function]",Eo="[object GeneratorFunction]",Ji="[object Map]",Yi="[object Number]",Qi="[object Object]",Io="[object Promise]",Xi="[object RegExp]",no="[object Set]",Ro="[object String]",zo="[object Symbol]",So="[object WeakMap]",Lo="[object ArrayBuffer]",to="[object DataView]",Bo="[object Float32Array]",Co="[object Float64Array]",Wo="[object Int8Array]",To="[object Int16Array]",Uo="[object Int32Array]",Do="[object Uint8Array]",$o="[object Uint8ClampedArray]",Mo="[object Uint16Array]",Fo="[object Uint32Array]",No=/\b__p \+= '';/g,Po=/\b(__p \+=) '' \+/g,qo=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Zo=/&(?:amp|lt|gt|quot|#39);/g,Go=/[&<>"']/g,Ko=RegExp(Zo.source),Vo=RegExp(Go.source),Ho=/<%-([\s\S]+?)%>/g,Jo=/<%([\s\S]+?)%>/g,Yo=/<%=([\s\S]+?)%>/g,Qo=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Xo=/^\w*$/,nf=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,tf=/[\\^$.*+?()[\]{}|]/g,rf=RegExp(tf.source),ef=/^\s+/,i=/\s/,uf=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,of=/\{\n\/\* \[wrapped with (.+)\] \*/,ff=/,? & /,cf=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,af=/[()=,{}\[\]\/\s]/,lf=/\\(\\)?/g,sf=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,hf=/\w*$/,pf=/^[-+]0x[0-9a-f]+$/i,_f=/^0b[01]+$/i,vf=/^\[object .+?Constructor\]$/,gf=/^0o[0-7]+$/i,yf=/^(?:0|[1-9]\d*)$/,df=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,bf=/($^)/,wf=/['\n\r\u2028\u2029\\]/g,o="\\ud800-\\udfff",f="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",c="\\u2700-\\u27bf",n="a-z\\xdf-\\xf6\\xf8-\\xff",t="A-Z\\xc0-\\xd6\\xd8-\\xde",a="\\ufe0e\\ufe0f",l="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",s="['’]",r="["+o+"]",h="["+l+"]",p="["+f+"]",_="["+c+"]",v="["+n+"]",l="[^"+o+l+"\\d+"+c+n+t+"]",c="\\ud83c[\\udffb-\\udfff]",n="[^"+o+"]",g="(?:\\ud83c[\\udde6-\\uddff]){2}",e="[\\ud800-\\udbff][\\udc00-\\udfff]",t="["+t+"]",y="\\u200d",d="(?:"+v+"|"+l+")",l="(?:"+t+"|"+l+")",b="(?:['’](?:d|ll|m|re|s|t|ve))?",w="(?:['’](?:D|LL|M|RE|S|T|VE))?",m="(?:"+p+"|"+c+")"+"?",x="["+a+"]?",x=x+m+("(?:"+y+"(?:"+[n,g,e].join("|")+")"+x+m+")*"),m="(?:"+[_,g,e].join("|")+")"+x,_="(?:"+[n+p+"?",p,g,e,r].join("|")+")",mf=RegExp(s,"g"),xf=RegExp(p,"g"),j=RegExp(c+"(?="+c+")|"+_+x,"g"),jf=RegExp([t+"?"+v+"+"+b+"(?="+[h,t,"$"].join("|")+")",l+"+"+w+"(?="+[h,t+d,"$"].join("|")+")",t+"?"+d+"+"+b,t+"+"+w,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])","\\d+",m].join("|"),"g"),A=RegExp("["+y+o+f+a+"]"),Af=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,kf=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Of=-1,ro={},eo=(ro[Bo]=ro[Co]=ro[Wo]=ro[To]=ro[Uo]=ro[Do]=ro[$o]=ro[Mo]=ro[Fo]=!0,ro[Ki]=ro[Ao]=ro[Lo]=ro[Vi]=ro[to]=ro[Hi]=ro[ko]=ro[Oo]=ro[Ji]=ro[Yi]=ro[Qi]=ro[Xi]=ro[no]=ro[Ro]=ro[So]=!1,{}),k=(eo[Ki]=eo[Ao]=eo[Lo]=eo[to]=eo[Vi]=eo[Hi]=eo[Bo]=eo[Co]=eo[Wo]=eo[To]=eo[Uo]=eo[Ji]=eo[Yi]=eo[Qi]=eo[Xi]=eo[no]=eo[Ro]=eo[zo]=eo[Do]=eo[$o]=eo[Mo]=eo[Fo]=!0,eo[ko]=eo[Oo]=eo[So]=!1,{"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"}),Ef=parseFloat,If=parseInt,n="object"==typeof R&&R&&R.Object===Object&&R,g="object"==typeof self&&self&&self.Object===Object&&self,uo=n||g||Function("return this")(),e="object"==typeof S&&S&&!S.nodeType&&S,u=e&&"object"==typeof z&&z&&!z.nodeType&&z,Rf=u&&u.exports===e,O=Rf&&n.process,r=function(){try{var n=u&&u.require&&u.require("util").types;return n?n:O&&O.binding&&O.binding("util")}catch(n){}}(),zf=r&&r.isArrayBuffer,Sf=r&&r.isDate,Lf=r&&r.isMap,Bf=r&&r.isRegExp,Cf=r&&r.isSet,Wf=r&&r.isTypedArray;function io(n,t,r){switch(r.length){case 0:return n.call(t);case 1:return n.call(t,r[0]);case 2:return n.call(t,r[0],r[1]);case 3:return n.call(t,r[0],r[1],r[2])}return n.apply(t,r)}function Tf(n,t,r,e){for(var u=-1,i=null==n?0:n.length;++u<i;){var o=n[u];t(e,o,r(o),n)}return e}function oo(n,t){for(var r=-1,e=null==n?0:n.length;++r<e&&!1!==t(n[r],r,n););return n}function Uf(n,t){for(var r=null==n?0:n.length;r--&&!1!==t(n[r],r,n););return n}function Df(n,t){for(var r=-1,e=null==n?0:n.length;++r<e;)if(!t(n[r],r,n))return!1;return!0}function fo(n,t){for(var r=-1,e=null==n?0:n.length,u=0,i=[];++r<e;){var o=n[r];t(o,r,n)&&(i[u++]=o)}return i}function $f(n,t){return!!(null==n?0:n.length)&&-1<lo(n,t,0)}function Mf(n,t,r){for(var e=-1,u=null==n?0:n.length;++e<u;)if(r(t,n[e]))return!0;return!1}function co(n,t){for(var r=-1,e=null==n?0:n.length,u=Array(e);++r<e;)u[r]=t(n[r],r,n);return u}function ao(n,t){for(var r=-1,e=t.length,u=n.length;++r<e;)n[u+r]=t[r];return n}function Ff(n,t,r,e){var u=-1,i=null==n?0:n.length;for(e&&i&&(r=n[++u]);++u<i;)r=t(r,n[u],u,n);return r}function Nf(n,t,r,e){var u=null==n?0:n.length;for(e&&u&&(r=n[--u]);u--;)r=t(r,n[u],u,n);return r}function Pf(n,t){for(var r=-1,e=null==n?0:n.length;++r<e;)if(t(n[r],r,n))return!0;return!1}var E=Hf("length");function qf(n,e,t){var u;return t(n,function(n,t,r){if(e(n,t,r))return u=t,!1}),u}function Zf(n,t,r,e){for(var u=n.length,i=r+(e?1:-1);e?i--:++i<u;)if(t(n[i],i,n))return i;return-1}function lo(n,t,r){if(t!=t)return Zf(n,Kf,r);for(var e=n,u=t,i=r-1,o=e.length;++i<o;)if(e[i]===u)return i;return-1}function Gf(n,t,r,e){for(var u=r-1,i=n.length;++u<i;)if(e(n[u],t))return u;return-1}function Kf(n){return n!=n}function Vf(n,t){var r=null==n?0:n.length;return r?Yf(n,t)/r:xo}function Hf(t){return function(n){return null==n?Mi:n[t]}}function I(t){return function(n){return null==t?Mi:t[n]}}function Jf(n,e,u,i,t){return t(n,function(n,t,r){u=i?(i=!1,n):e(u,n,t,r)}),u}function Yf(n,t){for(var r,e=-1,u=n.length;++e<u;){var i=t(n[e]);i!==Mi&&(r=r===Mi?i:r+i)}return r}function Qf(n,t){for(var r=-1,e=Array(n);++r<n;)e[r]=t(r);return e}function Xf(n){return n&&n.slice(0,lc(n)+1).replace(ef,"")}function so(t){return function(n){return t(n)}}function nc(t,n){return co(n,function(n){return t[n]})}function tc(n,t){return n.has(t)}function rc(n,t){for(var r=-1,e=n.length;++r<e&&-1<lo(t,n[r],0););return r}function ec(n,t){for(var r=n.length;r--&&-1<lo(t,n[r],0););return r}var uc=I({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),ic=I({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function oc(n){return"\\"+k[n]}function ho(n){return A.test(n)}function fc(n){var r=-1,e=Array(n.size);return n.forEach(function(n,t){e[++r]=[t,n]}),e}function cc(t,r){return function(n){return t(r(n))}}function po(n,t){for(var r=-1,e=n.length,u=0,i=[];++r<e;){var o=n[r];o!==t&&o!==bo||(n[r]=bo,i[u++]=r)}return i}function ac(n){var t=-1,r=Array(n.size);return n.forEach(function(n){r[++t]=n}),r}function _o(n){return(ho(n)?function(n){var t=j.lastIndex=0;for(;j.test(n);)++t;return t}:E)(n)}function vo(n){return ho(n)?n.match(j)||[]:n.split("")}function lc(n){for(var t=n.length;t--&&i.test(n.charAt(t)););return t}var sc=I({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"});var go=function u(n){var x=(n=null==n?uo:go.defaults(uo.Object(),n,go.pick(uo,kf))).Array,i=n.Date,L=n.Error,B=n.Function,C=n.Math,v=n.Object,W=n.RegExp,N=n.String,j=n.TypeError,P=x.prototype,q=B.prototype,Z=v.prototype,G=n["__core-js_shared__"],K=q.toString,T=Z.hasOwnProperty,V=0,H=(q=/[^.]+$/.exec(G&&G.keys&&G.keys.IE_PROTO||""))?"Symbol(src)_1."+q:"",J=Z.toString,Y=K.call(v),Q=uo._,X=W("^"+K.call(T).replace(tf,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),q=Rf?n.Buffer:Mi,t=n.Symbol,nn=n.Uint8Array,tn=q?q.allocUnsafe:Mi,rn=cc(v.getPrototypeOf,v),en=v.create,un=Z.propertyIsEnumerable,on=P.splice,fn=t?t.isConcatSpreadable:Mi,cn=t?t.iterator:Mi,an=t?t.toStringTag:Mi,ln=function(){try{var n=Qr(v,"defineProperty");return n({},"",{}),n}catch(n){}}(),sn=n.clearTimeout!==uo.clearTimeout&&n.clearTimeout,hn=i&&i.now!==uo.Date.now&&i.now,pn=n.setTimeout!==uo.setTimeout&&n.setTimeout,_n=C.ceil,vn=C.floor,gn=v.getOwnPropertySymbols,q=q?q.isBuffer:Mi,yn=n.isFinite,dn=P.join,bn=cc(v.keys,v),A=C.max,k=C.min,wn=i.now,mn=n.parseInt,xn=C.random,jn=P.reverse,i=Qr(n,"DataView"),An=Qr(n,"Map"),kn=Qr(n,"Promise"),On=Qr(n,"Set"),n=Qr(n,"WeakMap"),En=Qr(v,"create"),In=n&&new n,Rn={},zn=je(i),Sn=je(An),Ln=je(kn),Bn=je(On),Cn=je(n),t=t?t.prototype:Mi,Wn=t?t.valueOf:Mi,Tn=t?t.toString:Mi;function _(n){if(F(n)&&!M(n)&&!(n instanceof y)){if(n instanceof g)return n;if(T.call(n,"__wrapped__"))return Ae(n)}return new g(n)}var Un=function(n){if(!m(n))return{};if(en)return en(n);Dn.prototype=n;n=new Dn;return Dn.prototype=Mi,n};function Dn(){}function $n(){}function g(n,t){this.__wrapped__=n,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=Mi}function y(n){this.__wrapped__=n,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Gi,this.__views__=[]}function Mn(n){var t=-1,r=null==n?0:n.length;for(this.clear();++t<r;){var e=n[t];this.set(e[0],e[1])}}function Fn(n){var t=-1,r=null==n?0:n.length;for(this.clear();++t<r;){var e=n[t];this.set(e[0],e[1])}}function Nn(n){var t=-1,r=null==n?0:n.length;for(this.clear();++t<r;){var e=n[t];this.set(e[0],e[1])}}function Pn(n){var t=-1,r=null==n?0:n.length;for(this.__data__=new Nn;++t<r;)this.add(n[t])}function U(n){n=this.__data__=new Fn(n);this.size=n.size}function qn(n,t){var r,e=M(n),u=!e&&yu(n),i=!e&&!u&&bu(n),o=!e&&!u&&!i&&zu(n),f=e||u||i||o,c=f?Qf(n.length,N):[],a=c.length;for(r in n)!t&&!T.call(n,r)||f&&("length"==r||i&&("offset"==r||"parent"==r)||o&&("buffer"==r||"byteLength"==r||"byteOffset"==r)||ue(r,a))||c.push(r);return c}function Zn(n){var t=n.length;return t?n[$t(0,t-1)]:Mi}function Gn(n,t){return be(O(n),tt(t,0,n.length))}function Kn(n){return be(O(n))}function Vn(n,t,r){(r===Mi||$(n[t],r))&&(r!==Mi||t in n)||Xn(n,t,r)}function Hn(n,t,r){var e=n[t];T.call(n,t)&&$(e,r)&&(r!==Mi||t in n)||Xn(n,t,r)}function Jn(n,t){for(var r=n.length;r--;)if($(n[r][0],t))return r;return-1}function Yn(n,e,u,i){return it(n,function(n,t,r){e(i,n,u(n),r)}),i}function Qn(n,t){return n&&gr(t,R(t),n)}function Xn(n,t,r){"__proto__"==t&&ln?ln(n,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):n[t]=r}function nt(n,t){for(var r=-1,e=t.length,u=x(e),i=null==n;++r<e;)u[r]=i?Mi:qu(n,t[r]);return u}function tt(n,t,r){return n=n==n&&(r!==Mi&&(n=n<=r?n:r),t!==Mi)?t<=n?n:t:n}function d(r,e,u,n,t,i){var o,f=1&e,c=2&e,a=4&e;if((o=u?t?u(r,n,t,i):u(r):o)===Mi){if(!m(r))return r;var l,n=M(r);if(n){if(o=function(n){var t=n.length,r=new n.constructor(t);t&&"string"==typeof n[0]&&T.call(n,"index")&&(r.index=n.index,r.input=n.input);return r}(r),!f)return O(r,o)}else{var s=D(r),h=s==Oo||s==Eo;if(bu(r))return lr(r,f);if(s==Qi||s==Ki||h&&!t){if(o=c||h?{}:re(r),!f)return c?(p=h=r,p=(l=o)&&gr(p,z(p),l),gr(h,ne(h),p)):(h=Qn(o,l=r),gr(l,Xr(l),h))}else{if(!eo[s])return t?r:{};o=function(n,t,r){var e=n.constructor;switch(t){case Lo:return sr(n);case Vi:case Hi:return new e(+n);case to:return function(n,t){t=t?sr(n.buffer):n.buffer;return new n.constructor(t,n.byteOffset,n.byteLength)}(n,r);case Bo:case Co:case Wo:case To:case Uo:case Do:case $o:case Mo:case Fo:return hr(n,r);case Ji:return new e;case Yi:case Ro:return new e(n);case Xi:return function(n){var t=new n.constructor(n.source,hf.exec(n));return t.lastIndex=n.lastIndex,t}(n);case no:return new e;case zo:return function(n){return Wn?v(Wn.call(n)):{}}(n)}}(r,s,f)}}var p=(i=i||new U).get(r);if(p)return p;i.set(r,o),Iu(r)?r.forEach(function(n){o.add(d(n,e,u,n,r,i))}):Au(r)&&r.forEach(function(n,t){o.set(t,d(n,e,u,t,r,i))});var _=n?Mi:(a?c?Gr:Zr:c?z:R)(r);oo(_||r,function(n,t){_&&(n=r[t=n]),Hn(o,t,d(n,e,u,t,r,i))})}return o}function rt(n,t,r){var e=r.length;if(null==n)return!e;for(n=v(n);e--;){var u=r[e],i=t[u],o=n[u];if(o===Mi&&!(u in n)||!i(o))return!1}return!0}function et(n,t,r){if("function"!=typeof n)throw new j(Fi);return ve(function(){n.apply(Mi,r)},t)}function ut(n,t,r,e){var u=-1,i=$f,o=!0,f=n.length,c=[],a=t.length;if(f){r&&(t=co(t,so(r))),e?(i=Mf,o=!1):200<=t.length&&(i=tc,o=!1,t=new Pn(t));n:for(;++u<f;){var l=n[u],s=null==r?l:r(l),l=e||0!==l?l:0;if(o&&s==s){for(var h=a;h--;)if(t[h]===s)continue n;c.push(l)}else i(t,s,e)||c.push(l)}}return c}_.templateSettings={escape:Ho,evaluate:Jo,interpolate:Yo,variable:"",imports:{_:_}},(_.prototype=$n.prototype).constructor=_,(g.prototype=Un($n.prototype)).constructor=g,(y.prototype=Un($n.prototype)).constructor=y,Mn.prototype.clear=function(){this.__data__=En?En(null):{},this.size=0},Mn.prototype.delete=function(n){return n=this.has(n)&&delete this.__data__[n],this.size-=n?1:0,n},Mn.prototype.get=function(n){var t,r=this.__data__;return En?(t=r[n])===yo?Mi:t:T.call(r,n)?r[n]:Mi},Mn.prototype.has=function(n){var t=this.__data__;return En?t[n]!==Mi:T.call(t,n)},Mn.prototype.set=function(n,t){var r=this.__data__;return this.size+=this.has(n)?0:1,r[n]=En&&t===Mi?yo:t,this},Fn.prototype.clear=function(){this.__data__=[],this.size=0},Fn.prototype.delete=function(n){var t=this.__data__;return!((n=Jn(t,n))<0||(n==t.length-1?t.pop():on.call(t,n,1),--this.size,0))},Fn.prototype.get=function(n){var t=this.__data__;return(n=Jn(t,n))<0?Mi:t[n][1]},Fn.prototype.has=function(n){return-1<Jn(this.__data__,n)},Fn.prototype.set=function(n,t){var r=this.__data__,e=Jn(r,n);return e<0?(++this.size,r.push([n,t])):r[e][1]=t,this},Nn.prototype.clear=function(){this.size=0,this.__data__={hash:new Mn,map:new(An||Fn),string:new Mn}},Nn.prototype.delete=function(n){return n=Jr(this,n).delete(n),this.size-=n?1:0,n},Nn.prototype.get=function(n){return Jr(this,n).get(n)},Nn.prototype.has=function(n){return Jr(this,n).has(n)},Nn.prototype.set=function(n,t){var r=Jr(this,n),e=r.size;return r.set(n,t),this.size+=r.size==e?0:1,this},Pn.prototype.add=Pn.prototype.push=function(n){return this.__data__.set(n,yo),this},Pn.prototype.has=function(n){return this.__data__.has(n)},U.prototype.clear=function(){this.__data__=new Fn,this.size=0},U.prototype.delete=function(n){var t=this.__data__,n=t.delete(n);return this.size=t.size,n},U.prototype.get=function(n){return this.__data__.get(n)},U.prototype.has=function(n){return this.__data__.has(n)},U.prototype.set=function(n,t){var r=this.__data__;if(r instanceof Fn){var e=r.__data__;if(!An||e.length<199)return e.push([n,t]),this.size=++r.size,this;r=this.__data__=new Nn(e)}return r.set(n,t),this.size=r.size,this};var it=br(ht),ot=br(pt,!0);function ft(n,e){var u=!0;return it(n,function(n,t,r){return u=!!e(n,t,r)}),u}function ct(n,t,r){for(var e=-1,u=n.length;++e<u;){var i,o,f=n[e],c=t(f);null!=c&&(i===Mi?c==c&&!b(c):r(c,i))&&(i=c,o=f)}return o}function at(n,e){var u=[];return it(n,function(n,t,r){e(n,t,r)&&u.push(n)}),u}function c(n,t,r,e,u){var i=-1,o=n.length;for(r=r||ee,u=u||[];++i<o;){var f=n[i];0<t&&r(f)?1<t?c(f,t-1,r,e,u):ao(u,f):e||(u[u.length]=f)}return u}var lt=wr(),st=wr(!0);function ht(n,t){return n&&lt(n,t,R)}function pt(n,t){return n&&st(n,t,R)}function _t(t,n){return fo(n,function(n){return mu(t[n])})}function vt(n,t){for(var r=0,e=(t=or(t,n)).length;null!=n&&r<e;)n=n[xe(t[r++])];return r&&r==e?n:Mi}function gt(n,t,r){t=t(n);return M(n)?t:ao(t,r(n))}function r(n){if(null==n)return n===Mi?"[object Undefined]":"[object Null]";if(an&&an in v(n)){var t=n,r=T.call(t,an),e=t[an];try{t[an]=Mi;var u=!0}catch(n){}var i=J.call(t);return u&&(r?t[an]=e:delete t[an]),i}return J.call(n)}function yt(n,t){return t<n}function dt(n,t){return null!=n&&T.call(n,t)}function bt(n,t){return null!=n&&t in v(n)}function wt(n,t,r){for(var e=r?Mf:$f,u=n[0].length,i=n.length,o=i,f=x(i),c=1/0,a=[];o--;){var l=n[o];o&&t&&(l=co(l,so(t))),c=k(l.length,c),f[o]=!r&&(t||120<=u&&120<=l.length)?new Pn(o&&l):Mi}var l=n[0],s=-1,h=f[0];n:for(;++s<u&&a.length<c;){var p=l[s],_=t?t(p):p,p=r||0!==p?p:0;if(!(h?tc(h,_):e(a,_,r))){for(o=i;--o;){var v=f[o];if(!(v?tc(v,_):e(n[o],_,r)))continue n}h&&h.push(_),a.push(p)}}return a}function mt(n,t,r){t=null==(n=he(n,t=or(t,n)))?n:n[xe(e(t))];return null==t?Mi:io(t,n,r)}function xt(n){return F(n)&&r(n)==Ki}function jt(n,t,r,e,u){if(n===t)return!0;if(null==n||null==t||!F(n)&&!F(t))return n!=n&&t!=t;var i=jt,o=M(n),f=M(t),c=o?Ao:D(n),f=f?Ao:D(t),a=(c=c==Ki?Qi:c)==Qi,l=(f=f==Ki?Qi:f)==Qi;if((f=c==f)&&bu(n)){if(!bu(t))return!1;a=!(o=!0)}if(f&&!a){u=u||new U;if(o||zu(n))return Pr(n,t,r,e,i,u);else{var s=n;var h=t;var p=c;var _=r;var v=e;var g=i;var y=u;switch(p){case to:if(s.byteLength!=h.byteLength||s.byteOffset!=h.byteOffset)return!1;s=s.buffer,h=h.buffer;case Lo:return s.byteLength==h.byteLength&&g(new nn(s),new nn(h))?!0:!1;case Vi:case Hi:case Yi:return $(+s,+h);case ko:return s.name==h.name&&s.message==h.message;case Xi:case Ro:return s==h+"";case Ji:var d=fc;case no:var b=1&_;if(d=d||ac,s.size!=h.size&&!b)return!1;b=y.get(s);if(b)return b==h;_|=2,y.set(s,h);b=Pr(d(s),d(h),_,v,g,y);return y.delete(s),b;case zo:if(Wn)return Wn.call(s)==Wn.call(h)}return!1;return}}if(!(1&r)){o=a&&T.call(n,"__wrapped__"),c=l&&T.call(t,"__wrapped__");if(o||c)return a=o?n.value():n,l=c?t.value():t,u=u||new U,i(a,l,r,e,u)}if(f){u=u||new U;var w=n,m=t,x=r,j=e,A=i,k=u,O=1&x,E=Zr(w),I=E.length,o=Zr(m).length;if(I!=o&&!O)return!1;for(var R=I;R--;){var z=E[R];if(!(O?z in m:T.call(m,z)))return!1}o=k.get(w),c=k.get(m);if(o&&c)return o==m&&c==w;for(var S=!0,L=(k.set(w,m),k.set(m,w),O);++R<I;){z=E[R];var B,C=w[z],W=m[z];if(!((B=j?O?j(W,C,z,m,w,k):j(C,W,z,w,m,k):B)===Mi?C===W||A(C,W,x,j,k):B)){S=!1;break}L=L||"constructor"==z}return S&&!L&&(o=w.constructor,c=m.constructor,o!=c)&&"constructor"in w&&"constructor"in m&&!("function"==typeof o&&o instanceof o&&"function"==typeof c&&c instanceof c)&&(S=!1),k.delete(w),k.delete(m),S}return!1}function At(n,t,r,e){var u=r.length,i=u,o=!e;if(null==n)return!i;for(n=v(n);u--;){var f=r[u];if(o&&f[2]?f[1]!==n[f[0]]:!(f[0]in n))return!1}for(;++u<i;){var c=(f=r[u])[0],a=n[c],l=f[1];if(o&&f[2]){if(a===Mi&&!(c in n))return!1}else{var s,h=new U;if(!((s=e?e(a,l,c,n,t,h):s)===Mi?jt(l,a,3,e,h):s))return!1}}return!0}function kt(n){var t;return!(!m(n)||(t=n,H&&H in t))&&(mu(n)?X:vf).test(je(n))}function Ot(n){return"function"==typeof n?n:null==n?S:"object"==typeof n?M(n)?Lt(n[0],n[1]):St(n):Ei(n)}function Et(n){if(!ce(n))return bn(n);var t,r=[];for(t in v(n))T.call(n,t)&&"constructor"!=t&&r.push(t);return r}function It(n){if(!m(n)){var t=n,r=[];if(null!=t)for(var e in v(t))r.push(e);return r}var u,i=ce(n),o=[];for(u in n)("constructor"!=u||!i&&T.call(n,u))&&o.push(u);return o}function Rt(n,t){return n<t}function zt(n,e){var u=-1,i=l(n)?x(n.length):[];return it(n,function(n,t,r){i[++u]=e(n,t,r)}),i}function St(t){var r=Yr(t);return 1==r.length&&r[0][2]?le(r[0][0],r[0][1]):function(n){return n===t||At(n,t,r)}}function Lt(r,e){return ie(r)&&ae(e)?le(xe(r),e):function(n){var t=qu(n,r);return t===Mi&&t===e?Zu(n,r):jt(e,t,3)}}function Bt(v,g,y,d,b){v!==g&&lt(g,function(n,t){var r,e,u,i,o,f,c,a,l,s,h,p,_;b=b||new U,m(n)?(e=g,i=y,o=Bt,f=d,c=b,h=pe(r=v,u=t),p=pe(e,u),(_=c.get(p))?Vn(r,u,_):(_=f?f(h,p,u+"",r,e,c):Mi,(e=_===Mi)&&(a=M(p),l=!a&&bu(p),s=!a&&!l&&zu(p),_=p,a||l||s?_=M(h)?h:w(h)?O(h):l?lr(p,!(e=!1)):s?hr(p,!(e=!1)):[]:Ou(p)||yu(p)?yu(_=h)?_=Tu(h):m(h)&&!mu(h)||(_=re(p)):e=!1),e&&(c.set(p,_),o(_,p,i,f,c),c.delete(p)),Vn(r,u,_))):(a=d?d(pe(v,t),n,t+"",v,g,b):Mi,Vn(v,t,a=a===Mi?n:a))},z)}function Ct(n,t){var r=n.length;if(r)return ue(t+=t<0?r:0,r)?n[t]:Mi}function Wt(n,e,l){e=e.length?co(e,function(t){return M(t)?function(n){return vt(n,1===t.length?t[0]:t)}:t}):[S];var u=-1;e=co(e,so(s()));var t=zt(n,function(t,n,r){return{criteria:co(e,function(n){return n(t)}),index:++u,value:t}}),n=function(n,t){for(var r=l,e=-1,u=n.criteria,i=t.criteria,o=u.length,f=r.length;++e<o;){var c,a=pr(u[e],i[e]);if(a)return f<=e?a:(c=r[e],a*("desc"==c?-1:1))}return n.index-t.index},r=t.length;for(t.sort(n);r--;)t[r]=t[r].value;return t}function Tt(n,t,r){for(var e=-1,u=t.length,i={};++e<u;){var o=t[e],f=vt(n,o);r(f,o)&&Pt(i,or(o,n),f)}return i}function Ut(n,t,r,e){var u=e?Gf:lo,i=-1,o=t.length,f=n;for(n===t&&(t=O(t)),r&&(f=co(n,so(r)));++i<o;)for(var c=0,a=t[i],l=r?r(a):a;-1<(c=u(f,l,c,e));)f!==n&&on.call(f,c,1),on.call(n,c,1);return n}function Dt(n,t){for(var r=n?t.length:0,e=r-1;r--;){var u,i=t[r];r!=e&&i===u||(ue(u=i)?on.call(n,i,1):Qt(n,i))}}function $t(n,t){return n+vn(xn()*(t-n+1))}function Mt(n,t){var r="";if(!(!n||t<1||Zi<t))for(;t%2&&(r+=n),(t=vn(t/2))&&(n+=n),t;);return r}function o(n,t){return ge(se(n,t,S),n+"")}function Ft(n){return Zn(ri(n))}function Nt(n,t){n=ri(n);return be(n,tt(t,0,n.length))}function Pt(n,t,r,e){if(m(n))for(var u=-1,i=(t=or(t,n)).length,o=i-1,f=n;null!=f&&++u<i;){var c,a=xe(t[u]),l=r;if("__proto__"===a||"constructor"===a||"prototype"===a)return n;Hn(f,a,l=u!=o&&(c=f[a],(l=e?e(c,a,f):Mi)===Mi)?m(c)?c:ue(t[u+1])?[]:{}:l),f=f[a]}return n}var qt=In?function(n,t){return In.set(n,t),n}:S,t=ln?function(n,t){return ln(n,"toString",{configurable:!0,enumerable:!1,value:gi(t),writable:!0})}:S;function Zt(n){return be(ri(n))}function f(n,t,r){for(var e=-1,u=n.length,i=((r=u<r?u:r)<0&&(r+=u),u=r<(t=t<0?u<-t?0:u+t:t)?0:r-t>>>0,t>>>=0,x(u));++e<u;)i[e]=n[e+t];return i}function Gt(n,e){var u;return it(n,function(n,t,r){return!(u=e(n,t,r))}),!!u}function Kt(n,t,r){var e=0,u=null==n?e:n.length;if("number"==typeof t&&t==t&&u<=2147483647){for(;e<u;){var i=e+u>>>1,o=n[i];null!==o&&!b(o)&&(r?o<=t:o<t)?e=1+i:u=i}return u}return Vt(n,t,S,r)}function Vt(n,t,r,e){var u=0,i=null==n?0:n.length;if(0===i)return 0;for(var o=(t=r(t))!=t,f=null===t,c=b(t),a=t===Mi;u<i;){var l=vn((u+i)/2),s=r(n[l]),h=s!==Mi,p=null===s,_=s==s,v=b(s),_=o?e||_:a?_&&(e||h):f?_&&h&&(e||!p):c?_&&h&&!p&&(e||!v):!p&&!v&&(e?s<=t:s<t);_?u=l+1:i=l}return k(i,4294967294)}function Ht(n,t){for(var r=-1,e=n.length,u=0,i=[];++r<e;){var o,f=n[r],c=t?t(f):f;r&&$(c,o)||(o=c,i[u++]=0===f?0:f)}return i}function Jt(n){return"number"==typeof n?n:b(n)?xo:+n}function a(n){var t;return"string"==typeof n?n:M(n)?co(n,a)+"":b(n)?Tn?Tn.call(n):"":"0"==(t=n+"")&&1/n==-1/0?"-0":t}function Yt(n,t,r){var e=-1,u=$f,i=n.length,o=!0,f=[],c=f;if(r)o=!1,u=Mf;else if(200<=i){var a=t?null:Ur(n);if(a)return ac(a);o=!1,u=tc,c=new Pn}else c=t?[]:f;n:for(;++e<i;){var l=n[e],s=t?t(l):l,l=r||0!==l?l:0;if(o&&s==s){for(var h=c.length;h--;)if(c[h]===s)continue n;t&&c.push(s),f.push(l)}else u(c,s,r)||(c!==f&&c.push(s),f.push(l))}return f}function Qt(n,t){return null==(n=he(n,t=or(t,n)))||delete n[xe(e(t))]}function Xt(n,t,r,e){return Pt(n,t,r(vt(n,t)),e)}function nr(n,t,r,e){for(var u=n.length,i=e?u:-1;(e?i--:++i<u)&&t(n[i],i,n););return r?f(n,e?0:i,e?i+1:u):f(n,e?i+1:0,e?u:i)}function tr(n,t){var r=n;return Ff(t,function(n,t){return t.func.apply(t.thisArg,ao([n],t.args))},r=n instanceof y?n.value():r)}function rr(n,t,r){var e=n.length;if(e<2)return e?Yt(n[0]):[];for(var u=-1,i=x(e);++u<e;)for(var o=n[u],f=-1;++f<e;)f!=u&&(i[u]=ut(i[u]||o,n[f],t,r));return Yt(c(i,1),t,r)}function er(n,t,r){for(var e=-1,u=n.length,i=t.length,o={};++e<u;){var f=e<i?t[e]:Mi;r(o,n[e],f)}return o}function ur(n){return w(n)?n:[]}function ir(n){return"function"==typeof n?n:S}function or(n,t){return M(n)?n:ie(n,t)?[n]:me(p(n))}var fr=o;function cr(n,t,r){var e=n.length;return r=r===Mi?e:r,!t&&e<=r?n:f(n,t,r)}var ar=sn||function(n){return uo.clearTimeout(n)};function lr(n,t){return t?n.slice():(t=n.length,t=tn?tn(t):new n.constructor(t),n.copy(t),t)}function sr(n){var t=new n.constructor(n.byteLength);return new nn(t).set(new nn(n)),t}function hr(n,t){t=t?sr(n.buffer):n.buffer;return new n.constructor(t,n.byteOffset,n.length)}function pr(n,t){if(n!==t){var r=n!==Mi,e=null===n,u=n==n,i=b(n),o=t!==Mi,f=null===t,c=t==t,a=b(t);if(!f&&!a&&!i&&t<n||i&&o&&c&&!f&&!a||e&&o&&c||!r&&c||!u)return 1;if(!e&&!i&&!a&&n<t||a&&r&&u&&!e&&!i||f&&r&&u||!o&&u||!c)return-1}return 0}function _r(n,t,r,e){for(var u=-1,i=n.length,o=r.length,f=-1,c=t.length,a=A(i-o,0),l=x(c+a),s=!e;++f<c;)l[f]=t[f];for(;++u<o;)(s||u<i)&&(l[r[u]]=n[u]);for(;a--;)l[f++]=n[u++];return l}function vr(n,t,r,e){for(var u=-1,i=n.length,o=-1,f=r.length,c=-1,a=t.length,l=A(i-f,0),s=x(l+a),h=!e;++u<l;)s[u]=n[u];for(var p=u;++c<a;)s[p+c]=t[c];for(;++o<f;)(h||u<i)&&(s[p+r[o]]=n[u++]);return s}function O(n,t){var r=-1,e=n.length;for(t=t||x(e);++r<e;)t[r]=n[r];return t}function gr(n,t,r,e){for(var u=!r,i=(r=r||{},-1),o=t.length;++i<o;){var f=t[i],c=e?e(r[f],n[f],f,r,n):Mi;(u?Xn:Hn)(r,f,c=c===Mi?n[f]:c)}return r}function yr(u,i){return function(n,t){var r=M(n)?Tf:Yn,e=i?i():{};return r(n,u,s(t,2),e)}}function dr(f){return o(function(n,t){var r=-1,e=t.length,u=1<e?t[e-1]:Mi,i=2<e?t[2]:Mi,u=3<f.length&&"function"==typeof u?(e--,u):Mi;for(i&&h(t[0],t[1],i)&&(u=e<3?Mi:u,e=1),n=v(n);++r<e;){var o=t[r];o&&f(n,o,r,u)}return n})}function br(i,o){return function(n,t){if(null!=n){if(!l(n))return i(n,t);for(var r=n.length,e=o?r:-1,u=v(n);(o?e--:++e<r)&&!1!==t(u[e],e,u););}return n}}function wr(c){return function(n,t,r){for(var e=-1,u=v(n),i=r(n),o=i.length;o--;){var f=i[c?o:++e];if(!1===t(u[f],f,u))break}return n}}function mr(e){return function(n){var t=ho(n=p(n))?vo(n):Mi,r=t?t[0]:n.charAt(0),t=t?cr(t,1).join(""):n.slice(1);return r[e]()+t}}function xr(t){return function(n){return Ff(pi(ii(n).replace(mf,"")),t,"")}}function jr(e){return function(){var n=arguments;switch(n.length){case 0:return new e;case 1:return new e(n[0]);case 2:return new e(n[0],n[1]);case 3:return new e(n[0],n[1],n[2]);case 4:return new e(n[0],n[1],n[2],n[3]);case 5:return new e(n[0],n[1],n[2],n[3],n[4]);case 6:return new e(n[0],n[1],n[2],n[3],n[4],n[5]);case 7:return new e(n[0],n[1],n[2],n[3],n[4],n[5],n[6])}var t=Un(e.prototype),r=e.apply(t,n);return m(r)?r:t}}function Ar(i,o,f){var c=jr(i);return function n(){for(var t=arguments.length,r=x(t),e=t,u=Hr(n);e--;)r[e]=arguments[e];u=t<3&&r[0]!==u&&r[t-1]!==u?[]:po(r,u);return(t-=u.length)<f?Wr(i,o,Er,n.placeholder,Mi,r,u,Mi,Mi,f-t):io(this&&this!==uo&&this instanceof n?c:i,this,r)}}function kr(i){return function(n,t,r){var e,u=v(n),t=(l(n)||(e=s(t,3),n=R(n),t=function(n){return e(u[n],n,u)}),i(n,t,r));return-1<t?u[e?n[t]:t]:Mi}}function Or(c){return qr(function(u){var i=u.length,n=i,t=g.prototype.thru;for(c&&u.reverse();n--;){var r=u[n];if("function"!=typeof r)throw new j(Fi);t&&!f&&"wrapper"==Vr(r)&&(f=new g([],!0))}for(n=f?n:i;++n<i;)var e=Vr(r=u[n]),o="wrapper"==e?Kr(r):Mi,f=o&&oe(o[0])&&424==o[1]&&!o[4].length&&1==o[9]?f[Vr(o[0])].apply(f,o[3]):1==r.length&&oe(r)?f[e]():f.thru(r);return function(){var n=arguments,t=n[0];if(f&&1==n.length&&M(t))return f.plant(t).value();for(var r=0,e=i?u[r].apply(this,n):t;++r<i;)e=u[r].call(this,e);return e}})}function Er(o,f,c,a,l,s,h,p,_,v){var g=f&qi,y=1&f,d=2&f,b=24&f,w=512&f,m=d?Mi:jr(o);return function n(){for(var t,r,e,u=x(e=arguments.length),i=e;i--;)u[i]=arguments[i];return b&&(r=function(n,t){for(var r=n.length,e=0;r--;)n[r]===t&&++e;return e}(u,t=Hr(n))),a&&(u=_r(u,a,l,b)),s&&(u=vr(u,s,h,b)),e-=r,b&&e<v?(r=po(u,t),Wr(o,f,Er,n.placeholder,c,u,r,p,_,v-e)):(t=y?c:this,r=d?t[o]:o,e=u.length,p?u=function(n,t){for(var r=n.length,e=k(t.length,r),u=O(n);e--;){var i=t[e];n[e]=ue(i,r)?u[i]:Mi}return n}(u,p):w&&1<e&&u.reverse(),g&&_<e&&(u.length=_),(r=this&&this!==uo&&this instanceof n?m||jr(r):r).apply(t,u))}}function Ir(r,o){return function(n,t){return n=n,e=r,u=o(t),i={},ht(n,function(n,t,r){e(i,u(n),t,r)}),i;var e,u,i}}function Rr(e,u){return function(n,t){var r;if(n===Mi&&t===Mi)return u;if(n!==Mi&&(r=n),t!==Mi){if(r===Mi)return t;t=("string"==typeof n||"string"==typeof t?(n=a(n),a):(n=Jt(n),Jt))(t),r=e(n,t)}return r}}function zr(e){return qr(function(n){return n=co(n,so(s())),o(function(t){var r=this;return e(n,function(n){return io(n,r,t)})})})}function Sr(n,t){var r=(t=t===Mi?" ":a(t)).length;return r<2?r?Mt(t,n):t:(r=Mt(t,_n(n/_o(t))),ho(t)?cr(vo(r),0,n).join(""):r.slice(0,n))}function Lr(f,n,c,a){var l=1&n,s=jr(f);return function n(){for(var t=-1,r=arguments.length,e=-1,u=a.length,i=x(u+r),o=this&&this!==uo&&this instanceof n?s:f;++e<u;)i[e]=a[e];for(;r--;)i[e++]=arguments[++t];return io(o,l?c:this,i)}}function Br(a){return function(n,t,r){r&&"number"!=typeof r&&h(n,t,r)&&(t=r=Mi),n=Cu(n),t===Mi?(t=n,n=0):t=Cu(t),r=r===Mi?n<t?1:-1:Cu(r);for(var e=n,u=r,i=a,o=-1,f=A(_n((t-e)/(u||1)),0),c=x(f);f--;)c[i?f:++o]=e,e+=u;return c}}function Cr(r){return function(n,t){return"string"==typeof n&&"string"==typeof t||(n=I(n),t=I(t)),r(n,t)}}function Wr(n,t,r,e,u,i,o,f,c,a){var l=8&t,u=(4&(t=(t|(l?Ni:Pi))&~(l?Pi:Ni))||(t&=-4),[n,t,u,l?i:Mi,l?o:Mi,l?Mi:i,l?Mi:o,f,c,a]),i=r.apply(Mi,u);return oe(n)&&_e(i,u),i.placeholder=e,ye(i,n,t)}function Tr(n){var e=C[n];return function(n,t){var r;return n=I(n),(t=null==t?0:k(E(t),292))&&yn(n)?(r=(p(n)+"e").split("e"),+((r=(p(e(r[0]+"e"+(+r[1]+t)))+"e").split("e"))[0]+"e"+(+r[1]-t))):e(n)}}var Ur=On&&1/ac(new On([,-0]))[1]==1/0?function(n){return new On(n)}:ji;function Dr(i){return function(n){var t,r,e,u=D(n);return u==Ji?fc(n):u==no?(u=n,t=-1,r=Array(u.size),u.forEach(function(n){r[++t]=[n,n]}),r):co(i(e=n),function(n){return[n,e[n]]})}}function $r(n,t,r,e,u,i,o,f){var c,a,l,s,h,p,_,v,g,y,d,b,w,m=2&t;if(m||"function"==typeof n)return(c=e?e.length:0)||(t&=-97,e=u=Mi),o=o===Mi?o:A(E(o),0),f=f===Mi?f:E(f),c-=u?u.length:0,t&Pi&&(l=e,s=u,e=u=Mi),a=m?Mi:Kr(n),l=[n,t,r,e,u,l,s,i,o,f],a&&(s=a,o=(i=l)[1],p=s[1],v=(_=o|p)<131,g=p==qi&&8==o||p==qi&&o==mo&&i[7].length<=s[8]||384==p&&s[7].length<=s[8]&&8==o,v||g)&&(1&p&&(i[2]=s[2],_|=1&o?0:4),(v=s[3])&&(h=i[3],i[3]=h?_r(h,v,s[4]):v,i[4]=h?po(i[3],bo):s[4]),(v=s[5])&&(h=i[5],i[5]=h?vr(h,v,s[6]):v,i[6]=h?po(i[5],bo):s[6]),(v=s[7])&&(i[7]=v),p&qi&&(i[8]=null==i[8]?s[8]:k(i[8],s[8])),null==i[9]&&(i[9]=s[9]),i[0]=s[0],i[1]=_),n=l[0],t=l[1],r=l[2],e=l[3],u=l[4],!(f=l[9]=l[9]===Mi?m?0:n.length:A(l[9]-c,0))&&24&t&&(t&=-25),g=t&&1!=t?8==t||t==wo?Ar(n,t,f):t!=Ni&&33!=t||u.length?Er.apply(Mi,l):Lr(n,t,r,e):(d=r,b=1&t,w=jr(y=n),function n(){return(this&&this!==uo&&this instanceof n?w:y).apply(b?d:this,arguments)}),ye((a?qt:_e)(g,l),n,t);throw new j(Fi)}function Mr(n,t,r,e){return n===Mi||$(n,Z[r])&&!T.call(e,r)?t:n}function Fr(n,t,r,e,u,i){return m(n)&&m(t)&&(i.set(t,n),Bt(n,t,Mi,Fr,i),i.delete(t)),n}function Nr(n){return Ou(n)?Mi:n}function Pr(n,t,r,e,u,i){var o=1&r,f=n.length,c=t.length;if(f!=c&&!(o&&f<c))return!1;var c=i.get(n),a=i.get(t);if(c&&a)return c==t&&a==n;var l=-1,s=!0,h=2&r?new Pn:Mi;for(i.set(n,t),i.set(t,n);++l<f;){var p,_=n[l],v=t[l];if((p=e?o?e(v,_,l,t,n,i):e(_,v,l,n,t,i):p)!==Mi){if(p)continue;s=!1;break}if(h){if(!Pf(t,function(n,t){return!tc(h,t)&&(_===n||u(_,n,r,e,i))&&h.push(t)})){s=!1;break}}else if(_!==v&&!u(_,v,r,e,i)){s=!1;break}}return i.delete(n),i.delete(t),s}function qr(n){return ge(se(n,Mi,Ee),n+"")}function Zr(n){return gt(n,R,Xr)}function Gr(n){return gt(n,z,ne)}var Kr=In?function(n){return In.get(n)}:ji;function Vr(n){for(var t=n.name+"",r=Rn[t],e=T.call(Rn,t)?r.length:0;e--;){var u=r[e],i=u.func;if(null==i||i==n)return u.name}return t}function Hr(n){return(T.call(_,"placeholder")?_:n).placeholder}function s(){var n=(n=_.iteratee||bi)===bi?Ot:n;return arguments.length?n(arguments[0],arguments[1]):n}function Jr(n,t){var r,e,n=n.__data__;return("string"==(e=typeof(r=t))||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==r:null===r)?n["string"==typeof t?"string":"hash"]:n.map}function Yr(n){for(var t=R(n),r=t.length;r--;){var e=t[r],u=n[e];t[r]=[e,u,ae(u)]}return t}function Qr(n,t){t=t;n=null==(n=n)?Mi:n[t];return kt(n)?n:Mi}var Xr=gn?function(t){return null==t?[]:(t=v(t),fo(gn(t),function(n){return un.call(t,n)}))}:zi,ne=gn?function(n){for(var t=[];n;)ao(t,Xr(n)),n=rn(n);return t}:zi,D=r;function te(n,t,r){for(var e=-1,u=(t=or(t,n)).length,i=!1;++e<u;){var o=xe(t[e]);if(!(i=null!=n&&r(n,o)))break;n=n[o]}return i||++e!=u?i:!!(u=null==n?0:n.length)&&ju(u)&&ue(o,u)&&(M(n)||yu(n))}function re(n){return"function"!=typeof n.constructor||ce(n)?{}:Un(rn(n))}function ee(n){return M(n)||yu(n)||!!(fn&&n&&n[fn])}function ue(n,t){var r=typeof n;return!!(t=null==t?Zi:t)&&("number"==r||"symbol"!=r&&yf.test(n))&&-1<n&&n%1==0&&n<t}function h(n,t,r){var e;if(m(r))return("number"==(e=typeof t)?l(r)&&ue(t,r.length):"string"==e&&t in r)&&$(r[t],n)}function ie(n,t){var r;if(!M(n))return"number"==(r=typeof n)||"symbol"==r||"boolean"==r||null==n||b(n)||Xo.test(n)||!Qo.test(n)||null!=t&&n in v(t)}function oe(n){var t=Vr(n),r=_[t];return"function"==typeof r&&t in y.prototype&&(n===r||(t=Kr(r))&&n===t[0])}(i&&D(new i(new ArrayBuffer(1)))!=to||An&&D(new An)!=Ji||kn&&D(kn.resolve())!=Io||On&&D(new On)!=no||n&&D(new n)!=So)&&(D=function(n){var t=r(n),n=t==Qi?n.constructor:Mi,n=n?je(n):"";if(n)switch(n){case zn:return to;case Sn:return Ji;case Ln:return Io;case Bn:return no;case Cn:return So}return t});var fe=G?mu:Si;function ce(n){var t=n&&n.constructor;return n===("function"==typeof t&&t.prototype||Z)}function ae(n){return n==n&&!m(n)}function le(t,r){return function(n){return null!=n&&n[t]===r&&(r!==Mi||t in v(n))}}function se(i,o,f){return o=A(o===Mi?i.length-1:o,0),function(){for(var n=arguments,t=-1,r=A(n.length-o,0),e=x(r);++t<r;)e[t]=n[o+t];for(var t=-1,u=x(o+1);++t<o;)u[t]=n[t];return u[o]=f(e),io(i,this,u)}}function he(n,t){return t.length<2?n:vt(n,f(t,0,-1))}function pe(n,t){if(("constructor"!==t||"function"!=typeof n[t])&&"__proto__"!=t)return n[t]}var _e=de(qt),ve=pn||function(n,t){return uo.setTimeout(n,t)},ge=de(t);function ye(n,t,r){var e,u,i,t=t+"";return ge(n,(u=(t=(t=n=t).match(of))?t[1].split(ff):[],i=r,oo(jo,function(n){var t="_."+n[0];i&n[1]&&!$f(u,t)&&u.push(t)}),t=u.sort(),(r=t.length)?(t[e=r-1]=(1<r?"& ":"")+t[e],t=t.join(2<r?", ":" "),n.replace(uf,"{\n/* [wrapped with "+t+"] */\n")):n))}function de(r){var e=0,u=0;return function(){var n=wn(),t=16-(n-u);if(u=n,0<t){if(800<=++e)return arguments[0]}else e=0;return r.apply(Mi,arguments)}}function be(n,t){var r=-1,e=n.length,u=e-1;for(t=t===Mi?e:t;++r<t;){var i=$t(r,u),o=n[i];n[i]=n[r],n[r]=o}return n.length=t,n}we=(sn=lu(sn=function(n){var u=[];return 46===n.charCodeAt(0)&&u.push(""),n.replace(nf,function(n,t,r,e){u.push(r?e.replace(lf,"$1"):t||n)}),u},function(n){return 500===we.size&&we.clear(),n})).cache;var we,me=sn;function xe(n){var t;return"string"==typeof n||b(n)?n:"0"==(t=n+"")&&1/n==-1/0?"-0":t}function je(n){if(null!=n){try{return K.call(n)}catch(n){}try{return n+""}catch(n){}}return""}function Ae(n){var t;return n instanceof y?n.clone():((t=new g(n.__wrapped__,n.__chain__)).__actions__=O(n.__actions__),t.__index__=n.__index__,t.__values__=n.__values__,t)}i=o(function(n,t){return w(n)?ut(n,c(t,1,w,!0)):[]}),kn=o(function(n,t){var r=e(t);return w(r)&&(r=Mi),w(n)?ut(n,c(t,1,w,!0),s(r,2)):[]}),n=o(function(n,t){var r=e(t);return w(r)&&(r=Mi),w(n)?ut(n,c(t,1,w,!0),Mi,r):[]});function ke(n,t,r){var e=null==n?0:n.length;return e?((r=null==r?0:E(r))<0&&(r=A(e+r,0)),Zf(n,s(t,3),r)):-1}function Oe(n,t,r){var e,u=null==n?0:n.length;return u?(e=u-1,r!==Mi&&(e=E(r),e=r<0?A(u+e,0):k(e,u-1)),Zf(n,s(t,3),e,!0)):-1}function Ee(n){return(null==n?0:n.length)?c(n,1):[]}function Ie(n){return n&&n.length?n[0]:Mi}G=o(function(n){var t=co(n,ur);return t.length&&t[0]===n[0]?wt(t):[]}),pn=o(function(n){var t=e(n),r=co(n,ur);return t===e(r)?t=Mi:r.pop(),r.length&&r[0]===n[0]?wt(r,s(t,2)):[]}),t=o(function(n){var t=e(n),r=co(n,ur);return(t="function"==typeof t?t:Mi)&&r.pop(),r.length&&r[0]===n[0]?wt(r,Mi,t):[]});function e(n){var t=null==n?0:n.length;return t?n[t-1]:Mi}sn=o(Re);function Re(n,t){return n&&n.length&&t&&t.length?Ut(n,t):n}var ze=qr(function(n,t){var r=null==n?0:n.length,e=nt(n,t);return Dt(n,co(t,function(n){return ue(n,r)?+n:n}).sort(pr)),e});function Se(n){return null==n?n:jn.call(n)}var Le=o(function(n){return Yt(c(n,1,w,!0))}),Be=o(function(n){var t=e(n);return w(t)&&(t=Mi),Yt(c(n,1,w,!0),s(t,2))}),Ce=o(function(n){var t="function"==typeof(t=e(n))?t:Mi;return Yt(c(n,1,w,!0),Mi,t)});function We(t){var r;return t&&t.length?(r=0,t=fo(t,function(n){return w(n)&&(r=A(n.length,r),1)}),Qf(r,function(n){return co(t,Hf(n))})):[]}function Te(n,t){return n&&n.length?(n=We(n),null==t?n:co(n,function(n){return io(t,Mi,n)})):[]}var Ue=o(function(n,t){return w(n)?ut(n,t):[]}),De=o(function(n){return rr(fo(n,w))}),$e=o(function(n){var t=e(n);return w(t)&&(t=Mi),rr(fo(n,w),s(t,2))}),Me=o(function(n){var t="function"==typeof(t=e(n))?t:Mi;return rr(fo(n,w),Mi,t)}),Fe=o(We);var Ne=o(function(n){var t=n.length,t="function"==typeof(t=1<t?n[t-1]:Mi)?(n.pop(),t):Mi;return Te(n,t)});function Pe(n){n=_(n);return n.__chain__=!0,n}function qe(n,t){return t(n)}var Ze=qr(function(t){function n(n){return nt(n,t)}var r=t.length,e=r?t[0]:0,u=this.__wrapped__;return!(1<r||this.__actions__.length)&&u instanceof y&&ue(e)?((u=u.slice(e,+e+(r?1:0))).__actions__.push({func:qe,args:[n],thisArg:Mi}),new g(u,this.__chain__).thru(function(n){return r&&!n.length&&n.push(Mi),n})):this.thru(n)});var Ge=yr(function(n,t,r){T.call(n,r)?++n[r]:Xn(n,r,1)});var Ke=kr(ke),Ve=kr(Oe);function He(n,t){return(M(n)?oo:it)(n,s(t,3))}function Je(n,t){return(M(n)?Uf:ot)(n,s(t,3))}var Ye=yr(function(n,t,r){T.call(n,r)?n[r].push(t):Xn(n,r,[t])});var Qe=o(function(n,t,r){var e=-1,u="function"==typeof t,i=l(n)?x(n.length):[];return it(n,function(n){i[++e]=u?io(t,n,r):mt(n,t,r)}),i}),Xe=yr(function(n,t,r){Xn(n,r,t)});function nu(n,t){return(M(n)?co:zt)(n,s(t,3))}var tu=yr(function(n,t,r){n[r?0:1].push(t)},function(){return[[],[]]});var ru=o(function(n,t){var r;return null==n?[]:(1<(r=t.length)&&h(n,t[0],t[1])?t=[]:2<r&&h(t[0],t[1],t[2])&&(t=[t[0]]),Wt(n,c(t,1),[]))}),eu=hn||function(){return uo.Date.now()};function uu(n,t,r){return t=r?Mi:t,t=n&&null==t?n.length:t,$r(n,qi,Mi,Mi,Mi,Mi,t)}function iu(n,t){var r;if("function"!=typeof t)throw new j(Fi);return n=E(n),function(){return 0<--n&&(r=t.apply(this,arguments)),n<=1&&(t=Mi),r}}var ou=o(function(n,t,r){var e,u=1;return r.length&&(e=po(r,Hr(ou)),u|=Ni),$r(n,u,t,r,e)}),fu=o(function(n,t,r){var e,u=3;return r.length&&(e=po(r,Hr(fu)),u|=Ni),$r(t,u,n,r,e)});function cu(e,r,n){var u,i,o,f,c,a,l=0,s=!1,h=!1,t=!0;if("function"!=typeof e)throw new j(Fi);function p(n){var t=u,r=i;return u=i=Mi,l=n,f=e.apply(r,t)}function _(n){var t=n-a;return a===Mi||r<=t||t<0||h&&o<=n-l}function v(){var n,t=eu();if(_(t))return g(t);c=ve(v,(n=r-((t=t)-a),h?k(n,o-(t-l)):n))}function g(n){return c=Mi,t&&u?p(n):(u=i=Mi,f)}function y(){var n=eu(),t=_(n);if(u=arguments,i=this,a=n,t){if(c===Mi)return l=n=a,c=ve(v,r),s?p(n):f;if(h)return ar(c),c=ve(v,r),p(a)}return c===Mi&&(c=ve(v,r)),f}return r=I(r)||0,m(n)&&(s=!!n.leading,h="maxWait"in n,o=h?A(I(n.maxWait)||0,r):o,t="trailing"in n?!!n.trailing:t),y.cancel=function(){c!==Mi&&ar(c),l=0,u=a=i=c=Mi},y.flush=function(){return c===Mi?f:g(eu())},y}var hn=o(function(n,t){return et(n,1,t)}),au=o(function(n,t,r){return et(n,I(t)||0,r)});function lu(e,u){if("function"!=typeof e||null!=u&&"function"!=typeof u)throw new j(Fi);function i(){var n=arguments,t=u?u.apply(this,n):n[0],r=i.cache;return r.has(t)?r.get(t):(n=e.apply(this,n),i.cache=r.set(t,n)||r,n)}return i.cache=new(lu.Cache||Nn),i}function su(t){if("function"!=typeof t)throw new j(Fi);return function(){var n=arguments;switch(n.length){case 0:return!t.call(this);case 1:return!t.call(this,n[0]);case 2:return!t.call(this,n[0],n[1]);case 3:return!t.call(this,n[0],n[1],n[2])}return!t.apply(this,n)}}lu.Cache=Nn;var fr=fr(function(e,u){var i=(u=1==u.length&&M(u[0])?co(u[0],so(s())):co(c(u,1),so(s()))).length;return o(function(n){for(var t=-1,r=k(n.length,i);++t<r;)n[t]=u[t].call(this,n[t]);return io(e,this,n)})}),hu=o(function(n,t){var r=po(t,Hr(hu));return $r(n,Ni,Mi,t,r)}),pu=o(function(n,t){var r=po(t,Hr(pu));return $r(n,Pi,Mi,t,r)}),_u=qr(function(n,t){return $r(n,mo,Mi,Mi,Mi,t)});function $(n,t){return n===t||n!=n&&t!=t}var vu=Cr(yt),gu=Cr(function(n,t){return t<=n}),yu=xt(function(){return arguments}())?xt:function(n){return F(n)&&T.call(n,"callee")&&!un.call(n,"callee")},M=x.isArray,du=zf?so(zf):function(n){return F(n)&&r(n)==Lo};function l(n){return null!=n&&ju(n.length)&&!mu(n)}function w(n){return F(n)&&l(n)}var bu=q||Si,q=Sf?so(Sf):function(n){return F(n)&&r(n)==Hi};function wu(n){var t;return!!F(n)&&((t=r(n))==ko||"[object DOMException]"==t||"string"==typeof n.message&&"string"==typeof n.name&&!Ou(n))}function mu(n){return!!m(n)&&((n=r(n))==Oo||n==Eo||"[object AsyncFunction]"==n||"[object Proxy]"==n)}function xu(n){return"number"==typeof n&&n==E(n)}function ju(n){return"number"==typeof n&&-1<n&&n%1==0&&n<=Zi}function m(n){var t=typeof n;return null!=n&&("object"==t||"function"==t)}function F(n){return null!=n&&"object"==typeof n}var Au=Lf?so(Lf):function(n){return F(n)&&D(n)==Ji};function ku(n){return"number"==typeof n||F(n)&&r(n)==Yi}function Ou(n){return!(!F(n)||r(n)!=Qi)&&(null===(n=rn(n))||"function"==typeof(n=T.call(n,"constructor")&&n.constructor)&&n instanceof n&&K.call(n)==Y)}var Eu=Bf?so(Bf):function(n){return F(n)&&r(n)==Xi};var Iu=Cf?so(Cf):function(n){return F(n)&&D(n)==no};function Ru(n){return"string"==typeof n||!M(n)&&F(n)&&r(n)==Ro}function b(n){return"symbol"==typeof n||F(n)&&r(n)==zo}var zu=Wf?so(Wf):function(n){return F(n)&&ju(n.length)&&!!ro[r(n)]};var Su=Cr(Rt),Lu=Cr(function(n,t){return n<=t});function Bu(n){if(!n)return[];if(l(n))return(Ru(n)?vo:O)(n);if(cn&&n[cn]){for(var t,r=n[cn](),e=[];!(t=r.next()).done;)e.push(t.value);return e}var u=D(n);return(u==Ji?fc:u==no?ac:ri)(n)}function Cu(n){return n?(n=I(n))===1/0||n===-1/0?17976931348623157e292*(n<0?-1:1):n==n?n:0:0===n?n:0}function E(n){var n=Cu(n),t=n%1;return n==n?t?n-t:n:0}function Wu(n){return n?tt(E(n),0,Gi):0}function I(n){if("number"==typeof n)return n;if(b(n))return xo;if("string"!=typeof(n=m(n)?m(t="function"==typeof n.valueOf?n.valueOf():n)?t+"":t:n))return 0===n?n:+n;n=Xf(n);var t=_f.test(n);return t||gf.test(n)?If(n.slice(2),t?2:8):pf.test(n)?xo:+n}function Tu(n){return gr(n,z(n))}function p(n){return null==n?"":a(n)}var Uu=dr(function(n,t){if(ce(t)||l(t))gr(t,R(t),n);else for(var r in t)T.call(t,r)&&Hn(n,r,t[r])}),Du=dr(function(n,t){gr(t,z(t),n)}),$u=dr(function(n,t,r,e){gr(t,z(t),n,e)}),Mu=dr(function(n,t,r,e){gr(t,R(t),n,e)}),Fu=qr(nt);var Nu=o(function(n,t){n=v(n);var r=-1,e=t.length,u=2<e?t[2]:Mi;for(u&&h(t[0],t[1],u)&&(e=1);++r<e;)for(var i=t[r],o=z(i),f=-1,c=o.length;++f<c;){var a=o[f],l=n[a];(l===Mi||$(l,Z[a])&&!T.call(n,a))&&(n[a]=i[a])}return n}),Pu=o(function(n){return n.push(Mi,Fr),io(Ju,Mi,n)});function qu(n,t,r){n=null==n?Mi:vt(n,t);return n===Mi?r:n}function Zu(n,t){return null!=n&&te(n,t,bt)}var Gu=Ir(function(n,t,r){n[t=null!=t&&"function"!=typeof t.toString?J.call(t):t]=r},gi(S)),Ku=Ir(function(n,t,r){null!=t&&"function"!=typeof t.toString&&(t=J.call(t)),T.call(n,t)?n[t].push(r):n[t]=[r]},s),Vu=o(mt);function R(n){return(l(n)?qn:Et)(n)}function z(n){return l(n)?qn(n,!0):It(n)}var Hu=dr(function(n,t,r){Bt(n,t,r)}),Ju=dr(function(n,t,r,e){Bt(n,t,r,e)}),Yu=qr(function(t,n){var r={};if(null!=t)for(var e=!1,u=(n=co(n,function(n){return n=or(n,t),e=e||1<n.length,n}),gr(t,Gr(t),r),e&&(r=d(r,7,Nr)),n.length);u--;)Qt(r,n[u]);return r});var Qu=qr(function(n,t){return null==n?{}:Tt(r=n,t,function(n,t){return Zu(r,t)});var r});function Xu(n,r){var t;return null==n?{}:(t=co(Gr(n),function(n){return[n]}),r=s(r),Tt(n,t,function(n,t){return r(n,t[0])}))}var ni=Dr(R),ti=Dr(z);function ri(n){return null==n?[]:nc(n,R(n))}var ei=xr(function(n,t,r){return t=t.toLowerCase(),n+(r?ui(t):t)});function ui(n){return hi(p(n).toLowerCase())}function ii(n){return(n=p(n))&&n.replace(df,uc).replace(xf,"")}var oi=xr(function(n,t,r){return n+(r?"-":"")+t.toLowerCase()}),fi=xr(function(n,t,r){return n+(r?" ":"")+t.toLowerCase()}),ci=mr("toLowerCase");var ai=xr(function(n,t,r){return n+(r?"_":"")+t.toLowerCase()});var li=xr(function(n,t,r){return n+(r?" ":"")+hi(t)});var si=xr(function(n,t,r){return n+(r?" ":"")+t.toUpperCase()}),hi=mr("toUpperCase");function pi(n,t,r){return n=p(n),(t=r?Mi:t)===Mi?(r=n,Af.test(r)?n.match(jf)||[]:n.match(cf)||[]):n.match(t)||[]}var _i=o(function(n,t){try{return io(n,Mi,t)}catch(n){return wu(n)?n:new L(n)}}),vi=qr(function(t,n){return oo(n,function(n){n=xe(n),Xn(t,n,ou(t[n],t))}),t});function gi(n){return function(){return n}}var yi=Or(),di=Or(!0);function S(n){return n}function bi(n){return Ot("function"==typeof n?n:d(n,1))}var wi=o(function(t,r){return function(n){return mt(n,t,r)}}),mi=o(function(t,r){return function(n){return mt(t,n,r)}});function xi(e,t,n){var r=R(t),u=_t(t,r),i=(null!=n||m(t)&&(u.length||!r.length)||(n=t,t=e,e=this,u=_t(t,R(t))),!(m(n)&&"chain"in n&&!n.chain)),o=mu(e);return oo(u,function(n){var r=t[n];e[n]=r,o&&(e.prototype[n]=function(){var n,t=this.__chain__;return i||t?(((n=e(this.__wrapped__)).__actions__=O(this.__actions__)).push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n):r.apply(e,ao([this.value()],arguments))})}),e}function ji(){}var Ai=zr(co),ki=zr(Df),Oi=zr(Pf);function Ei(n){return ie(n)?Hf(xe(n)):(t=n,function(n){return vt(n,t)});var t}var Ii=Br(),Ri=Br(!0);function zi(){return[]}function Si(){return!1}var Li=Rr(function(n,t){return n+t},0),Bi=Tr("ceil"),Ci=Rr(function(n,t){return n/t},1),Wi=Tr("floor");var Ti,Ui=Rr(function(n,t){return n*t},1),Di=Tr("round"),$i=Rr(function(n,t){return n-t},0);return _.after=function(n,t){if("function"!=typeof t)throw new j(Fi);return n=E(n),function(){if(--n<1)return t.apply(this,arguments)}},_.ary=uu,_.assign=Uu,_.assignIn=Du,_.assignInWith=$u,_.assignWith=Mu,_.at=Fu,_.before=iu,_.bind=ou,_.bindAll=vi,_.bindKey=fu,_.castArray=function(){var n;return arguments.length?M(n=arguments[0])?n:[n]:[]},_.chain=Pe,_.chunk=function(n,t,r){t=(r?h(n,t,r):t===Mi)?1:A(E(t),0);var e=null==n?0:n.length;if(!e||t<1)return[];for(var u=0,i=0,o=x(_n(e/t));u<e;)o[i++]=f(n,u,u+=t);return o},_.compact=function(n){for(var t=-1,r=null==n?0:n.length,e=0,u=[];++t<r;){var i=n[t];i&&(u[e++]=i)}return u},_.concat=function(){var n=arguments.length;if(!n)return[];for(var t=x(n-1),r=arguments[0],e=n;e--;)t[e-1]=arguments[e];return ao(M(r)?O(r):[r],c(t,1))},_.cond=function(e){var u=null==e?0:e.length,t=s();return e=u?co(e,function(n){if("function"!=typeof n[1])throw new j(Fi);return[t(n[0]),n[1]]}):[],o(function(n){for(var t=-1;++t<u;){var r=e[t];if(io(r[0],this,n))return io(r[1],this,n)}})},_.conforms=function(n){return t=d(n,1),r=R(t),function(n){return rt(n,t,r)};var t,r},_.constant=gi,_.countBy=Ge,_.create=function(n,t){return n=Un(n),null==t?n:Qn(n,t)},_.curry=function n(t,r,e){t=$r(t,8,Mi,Mi,Mi,Mi,Mi,r=e?Mi:r);return t.placeholder=n.placeholder,t},_.curryRight=function n(t,r,e){t=$r(t,wo,Mi,Mi,Mi,Mi,Mi,r=e?Mi:r);return t.placeholder=n.placeholder,t},_.debounce=cu,_.defaults=Nu,_.defaultsDeep=Pu,_.defer=hn,_.delay=au,_.difference=i,_.differenceBy=kn,_.differenceWith=n,_.drop=function(n,t,r){var e=null==n?0:n.length;return e?f(n,(t=r||t===Mi?1:E(t))<0?0:t,e):[]},_.dropRight=function(n,t,r){var e=null==n?0:n.length;return e?f(n,0,(t=e-(t=r||t===Mi?1:E(t)))<0?0:t):[]},_.dropRightWhile=function(n,t){return n&&n.length?nr(n,s(t,3),!0,!0):[]},_.dropWhile=function(n,t){return n&&n.length?nr(n,s(t,3),!0):[]},_.fill=function(n,t,r,e){if(!(c=null==n?0:n.length))return[];r&&"number"!=typeof r&&h(n,t,r)&&(r=0,e=c);var u=n,i=t,o=r,f=e,c=u.length;for((o=E(o))<0&&(o=c<-o?0:c+o),(f=f===Mi||c<f?c:E(f))<0&&(f+=c),f=f<o?0:Wu(f);o<f;)u[o++]=i;return u},_.filter=function(n,t){return(M(n)?fo:at)(n,s(t,3))},_.flatMap=function(n,t){return c(nu(n,t),1)},_.flatMapDeep=function(n,t){return c(nu(n,t),1/0)},_.flatMapDepth=function(n,t,r){return r=r===Mi?1:E(r),c(nu(n,t),r)},_.flatten=Ee,_.flattenDeep=function(n){return(null==n?0:n.length)?c(n,1/0):[]},_.flattenDepth=function(n,t){return(null==n?0:n.length)?c(n,t=t===Mi?1:E(t)):[]},_.flip=function(n){return $r(n,512)},_.flow=yi,_.flowRight=di,_.fromPairs=function(n){for(var t=-1,r=null==n?0:n.length,e={};++t<r;){var u=n[t];e[u[0]]=u[1]}return e},_.functions=function(n){return null==n?[]:_t(n,R(n))},_.functionsIn=function(n){return null==n?[]:_t(n,z(n))},_.groupBy=Ye,_.initial=function(n){return(null==n?0:n.length)?f(n,0,-1):[]},_.intersection=G,_.intersectionBy=pn,_.intersectionWith=t,_.invert=Gu,_.invertBy=Ku,_.invokeMap=Qe,_.iteratee=bi,_.keyBy=Xe,_.keys=R,_.keysIn=z,_.map=nu,_.mapKeys=function(n,e){var u={};return e=s(e,3),ht(n,function(n,t,r){Xn(u,e(n,t,r),n)}),u},_.mapValues=function(n,e){var u={};return e=s(e,3),ht(n,function(n,t,r){Xn(u,t,e(n,t,r))}),u},_.matches=function(n){return St(d(n,1))},_.matchesProperty=function(n,t){return Lt(n,d(t,1))},_.memoize=lu,_.merge=Hu,_.mergeWith=Ju,_.method=wi,_.methodOf=mi,_.mixin=xi,_.negate=su,_.nthArg=function(t){return t=E(t),o(function(n){return Ct(n,t)})},_.omit=Yu,_.omitBy=function(n,t){return Xu(n,su(s(t)))},_.once=function(n){return iu(2,n)},_.orderBy=function(n,t,r,e){return null==n?[]:Wt(n,t=M(t)?t:null==t?[]:[t],r=M(r=e?Mi:r)?r:null==r?[]:[r])},_.over=Ai,_.overArgs=fr,_.overEvery=ki,_.overSome=Oi,_.partial=hu,_.partialRight=pu,_.partition=tu,_.pick=Qu,_.pickBy=Xu,_.property=Ei,_.propertyOf=function(t){return function(n){return null==t?Mi:vt(t,n)}},_.pull=sn,_.pullAll=Re,_.pullAllBy=function(n,t,r){return n&&n.length&&t&&t.length?Ut(n,t,s(r,2)):n},_.pullAllWith=function(n,t,r){return n&&n.length&&t&&t.length?Ut(n,t,Mi,r):n},_.pullAt=ze,_.range=Ii,_.rangeRight=Ri,_.rearg=_u,_.reject=function(n,t){return(M(n)?fo:at)(n,su(s(t,3)))},_.remove=function(n,t){var r=[];if(n&&n.length){var e=-1,u=[],i=n.length;for(t=s(t,3);++e<i;){var o=n[e];t(o,e,n)&&(r.push(o),u.push(e))}Dt(n,u)}return r},_.rest=function(n,t){if("function"!=typeof n)throw new j(Fi);return o(n,t=t===Mi?t:E(t))},_.reverse=Se,_.sampleSize=function(n,t,r){return t=(r?h(n,t,r):t===Mi)?1:E(t),(M(n)?Gn:Nt)(n,t)},_.set=function(n,t,r){return null==n?n:Pt(n,t,r)},_.setWith=function(n,t,r,e){return e="function"==typeof e?e:Mi,null==n?n:Pt(n,t,r,e)},_.shuffle=function(n){return(M(n)?Kn:Zt)(n)},_.slice=function(n,t,r){var e=null==n?0:n.length;return e?(r=r&&"number"!=typeof r&&h(n,t,r)?(t=0,e):(t=null==t?0:E(t),r===Mi?e:E(r)),f(n,t,r)):[]},_.sortBy=ru,_.sortedUniq=function(n){return n&&n.length?Ht(n):[]},_.sortedUniqBy=function(n,t){return n&&n.length?Ht(n,s(t,2)):[]},_.split=function(n,t,r){return r&&"number"!=typeof r&&h(n,t,r)&&(t=r=Mi),(r=r===Mi?Gi:r>>>0)?(n=p(n))&&("string"==typeof t||null!=t&&!Eu(t))&&!(t=a(t))&&ho(n)?cr(vo(n),0,r):n.split(t,r):[]},_.spread=function(r,e){if("function"!=typeof r)throw new j(Fi);return e=null==e?0:A(E(e),0),o(function(n){var t=n[e],n=cr(n,0,e);return t&&ao(n,t),io(r,this,n)})},_.tail=function(n){var t=null==n?0:n.length;return t?f(n,1,t):[]},_.take=function(n,t,r){return n&&n.length?f(n,0,(t=r||t===Mi?1:E(t))<0?0:t):[]},_.takeRight=function(n,t,r){var e=null==n?0:n.length;return e?f(n,(t=e-(t=r||t===Mi?1:E(t)))<0?0:t,e):[]},_.takeRightWhile=function(n,t){return n&&n.length?nr(n,s(t,3),!1,!0):[]},_.takeWhile=function(n,t){return n&&n.length?nr(n,s(t,3)):[]},_.tap=function(n,t){return t(n),n},_.throttle=function(n,t,r){var e=!0,u=!0;if("function"!=typeof n)throw new j(Fi);return m(r)&&(e="leading"in r?!!r.leading:e,u="trailing"in r?!!r.trailing:u),cu(n,t,{leading:e,maxWait:t,trailing:u})},_.thru=qe,_.toArray=Bu,_.toPairs=ni,_.toPairsIn=ti,_.toPath=function(n){return M(n)?co(n,xe):b(n)?[n]:O(me(p(n)))},_.toPlainObject=Tu,_.transform=function(n,e,u){var t,r=M(n),i=r||bu(n)||zu(n);return e=s(e,4),null==u&&(t=n&&n.constructor,u=i?r?new t:[]:m(n)&&mu(t)?Un(rn(n)):{}),(i?oo:ht)(n,function(n,t,r){return e(u,n,t,r)}),u},_.unary=function(n){return uu(n,1)},_.union=Le,_.unionBy=Be,_.unionWith=Ce,_.uniq=function(n){return n&&n.length?Yt(n):[]},_.uniqBy=function(n,t){return n&&n.length?Yt(n,s(t,2)):[]},_.uniqWith=function(n,t){return t="function"==typeof t?t:Mi,n&&n.length?Yt(n,Mi,t):[]},_.unset=function(n,t){return null==n||Qt(n,t)},_.unzip=We,_.unzipWith=Te,_.update=function(n,t,r){return null==n?n:Xt(n,t,ir(r))},_.updateWith=function(n,t,r,e){return e="function"==typeof e?e:Mi,null==n?n:Xt(n,t,ir(r),e)},_.values=ri,_.valuesIn=function(n){return null==n?[]:nc(n,z(n))},_.without=Ue,_.words=pi,_.wrap=function(n,t){return hu(ir(t),n)},_.xor=De,_.xorBy=$e,_.xorWith=Me,_.zip=Fe,_.zipObject=function(n,t){return er(n||[],t||[],Hn)},_.zipObjectDeep=function(n,t){return er(n||[],t||[],Pt)},_.zipWith=Ne,_.entries=ni,_.entriesIn=ti,_.extend=Du,_.extendWith=$u,xi(_,_),_.add=Li,_.attempt=_i,_.camelCase=ei,_.capitalize=ui,_.ceil=Bi,_.clamp=function(n,t,r){return r===Mi&&(r=t,t=Mi),r!==Mi&&(r=(r=I(r))==r?r:0),t!==Mi&&(t=(t=I(t))==t?t:0),tt(I(n),t,r)},_.clone=function(n){return d(n,4)},_.cloneDeep=function(n){return d(n,5)},_.cloneDeepWith=function(n,t){return d(n,5,t="function"==typeof t?t:Mi)},_.cloneWith=function(n,t){return d(n,4,t="function"==typeof t?t:Mi)},_.conformsTo=function(n,t){return null==t||rt(n,t,R(t))},_.deburr=ii,_.defaultTo=function(n,t){return null==n||n!=n?t:n},_.divide=Ci,_.endsWith=function(n,t,r){n=p(n),t=a(t);var e=n.length,e=r=r===Mi?e:tt(E(r),0,e);return 0<=(r-=t.length)&&n.slice(r,e)==t},_.eq=$,_.escape=function(n){return(n=p(n))&&Vo.test(n)?n.replace(Go,ic):n},_.escapeRegExp=function(n){return(n=p(n))&&rf.test(n)?n.replace(tf,"\\$&"):n},_.every=function(n,t,r){return(M(n)?Df:ft)(n,s(t=r&&h(n,t,r)?Mi:t,3))},_.find=Ke,_.findIndex=ke,_.findKey=function(n,t){return qf(n,s(t,3),ht)},_.findLast=Ve,_.findLastIndex=Oe,_.findLastKey=function(n,t){return qf(n,s(t,3),pt)},_.floor=Wi,_.forEach=He,_.forEachRight=Je,_.forIn=function(n,t){return null==n?n:lt(n,s(t,3),z)},_.forInRight=function(n,t){return null==n?n:st(n,s(t,3),z)},_.forOwn=function(n,t){return n&&ht(n,s(t,3))},_.forOwnRight=function(n,t){return n&&pt(n,s(t,3))},_.get=qu,_.gt=vu,_.gte=gu,_.has=function(n,t){return null!=n&&te(n,t,dt)},_.hasIn=Zu,_.head=Ie,_.identity=S,_.includes=function(n,t,r,e){return n=l(n)?n:ri(n),r=r&&!e?E(r):0,e=n.length,r<0&&(r=A(e+r,0)),Ru(n)?r<=e&&-1<n.indexOf(t,r):!!e&&-1<lo(n,t,r)},_.indexOf=function(n,t,r){var e=null==n?0:n.length;return e?lo(n,t,n=(n=null==r?0:E(r))<0?A(e+n,0):n):-1},_.inRange=function(n,t,r){return t=Cu(t),r===Mi?(r=t,t=0):r=Cu(r),(n=n=I(n))>=k(t=t,r=r)&&n<A(t,r)},_.invoke=Vu,_.isArguments=yu,_.isArray=M,_.isArrayBuffer=du,_.isArrayLike=l,_.isArrayLikeObject=w,_.isBoolean=function(n){return!0===n||!1===n||F(n)&&r(n)==Vi},_.isBuffer=bu,_.isDate=q,_.isElement=function(n){return F(n)&&1===n.nodeType&&!Ou(n)},_.isEmpty=function(n){if(null!=n){if(l(n)&&(M(n)||"string"==typeof n||"function"==typeof n.splice||bu(n)||zu(n)||yu(n)))return!n.length;var t,r=D(n);if(r==Ji||r==no)return!n.size;if(ce(n))return!Et(n).length;for(t in n)if(T.call(n,t))return!1}return!0},_.isEqual=function(n,t){return jt(n,t)},_.isEqualWith=function(n,t,r){var e=(r="function"==typeof r?r:Mi)?r(n,t):Mi;return e===Mi?jt(n,t,Mi,r):!!e},_.isError=wu,_.isFinite=function(n){return"number"==typeof n&&yn(n)},_.isFunction=mu,_.isInteger=xu,_.isLength=ju,_.isMap=Au,_.isMatch=function(n,t){return n===t||At(n,t,Yr(t))},_.isMatchWith=function(n,t,r){return r="function"==typeof r?r:Mi,At(n,t,Yr(t),r)},_.isNaN=function(n){return ku(n)&&n!=+n},_.isNative=function(n){if(fe(n))throw new L("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return kt(n)},_.isNil=function(n){return null==n},_.isNull=function(n){return null===n},_.isNumber=ku,_.isObject=m,_.isObjectLike=F,_.isPlainObject=Ou,_.isRegExp=Eu,_.isSafeInteger=function(n){return xu(n)&&-Zi<=n&&n<=Zi},_.isSet=Iu,_.isString=Ru,_.isSymbol=b,_.isTypedArray=zu,_.isUndefined=function(n){return n===Mi},_.isWeakMap=function(n){return F(n)&&D(n)==So},_.isWeakSet=function(n){return F(n)&&"[object WeakSet]"==r(n)},_.join=function(n,t){return null==n?"":dn.call(n,t)},_.kebabCase=oi,_.last=e,_.lastIndexOf=function(n,t,r){var e=null==n?0:n.length;if(!e)return-1;var u=e;if(r!==Mi&&(u=(u=E(r))<0?A(e+u,0):k(u,e-1)),t!=t)return Zf(n,Kf,u,!0);for(var i=n,o=t,f=u+1;f--;)if(i[f]===o)return f;return f},_.lowerCase=fi,_.lowerFirst=ci,_.lt=Su,_.lte=Lu,_.max=function(n){return n&&n.length?ct(n,S,yt):Mi},_.maxBy=function(n,t){return n&&n.length?ct(n,s(t,2),yt):Mi},_.mean=function(n){return Vf(n,S)},_.meanBy=function(n,t){return Vf(n,s(t,2))},_.min=function(n){return n&&n.length?ct(n,S,Rt):Mi},_.minBy=function(n,t){return n&&n.length?ct(n,s(t,2),Rt):Mi},_.stubArray=zi,_.stubFalse=Si,_.stubObject=function(){return{}},_.stubString=function(){return""},_.stubTrue=function(){return!0},_.multiply=Ui,_.nth=function(n,t){return n&&n.length?Ct(n,E(t)):Mi},_.noConflict=function(){return uo._===this&&(uo._=Q),this},_.noop=ji,_.now=eu,_.pad=function(n,t,r){n=p(n);var e=(t=E(t))?_o(n):0;return!t||t<=e?n:Sr(vn(t=(t-e)/2),r)+n+Sr(_n(t),r)},_.padEnd=function(n,t,r){n=p(n);var e=(t=E(t))?_o(n):0;return t&&e<t?n+Sr(t-e,r):n},_.padStart=function(n,t,r){n=p(n);var e=(t=E(t))?_o(n):0;return t&&e<t?Sr(t-e,r)+n:n},_.parseInt=function(n,t,r){return t=r||null==t?0:t&&+t,mn(p(n).replace(ef,""),t||0)},_.random=function(n,t,r){var e;return r&&"boolean"!=typeof r&&h(n,t,r)&&(t=r=Mi),r===Mi&&("boolean"==typeof t?(r=t,t=Mi):"boolean"==typeof n&&(r=n,n=Mi)),n===Mi&&t===Mi?(n=0,t=1):(n=Cu(n),t===Mi?(t=n,n=0):t=Cu(t)),t<n&&(e=n,n=t,t=e),r||n%1||t%1?(e=xn(),k(n+e*(t-n+Ef("1e-"+((e+"").length-1))),t)):$t(n,t)},_.reduce=function(n,t,r){var e=M(n)?Ff:Jf,u=arguments.length<3;return e(n,s(t,4),r,u,it)},_.reduceRight=function(n,t,r){var e=M(n)?Nf:Jf,u=arguments.length<3;return e(n,s(t,4),r,u,ot)},_.repeat=function(n,t,r){return t=(r?h(n,t,r):t===Mi)?1:E(t),Mt(p(n),t)},_.replace=function(){var n=arguments,t=p(n[0]);return n.length<3?t:t.replace(n[1],n[2])},_.result=function(n,t,r){var e=-1,u=(t=or(t,n)).length;for(u||(u=1,n=Mi);++e<u;){var i=null==n?Mi:n[xe(t[e])];i===Mi&&(e=u,i=r),n=mu(i)?i.call(n):i}return n},_.round=Di,_.runInContext=u,_.sample=function(n){return(M(n)?Zn:Ft)(n)},_.size=function(n){var t;return null==n?0:l(n)?Ru(n)?_o(n):n.length:(t=D(n))==Ji||t==no?n.size:Et(n).length},_.snakeCase=ai,_.some=function(n,t,r){return(M(n)?Pf:Gt)(n,s(t=r&&h(n,t,r)?Mi:t,3))},_.sortedIndex=function(n,t){return Kt(n,t)},_.sortedIndexBy=function(n,t,r){return Vt(n,t,s(r,2))},_.sortedIndexOf=function(n,t){var r=null==n?0:n.length;if(r){var e=Kt(n,t);if(e<r&&$(n[e],t))return e}return-1},_.sortedLastIndex=function(n,t){return Kt(n,t,!0)},_.sortedLastIndexBy=function(n,t,r){return Vt(n,t,s(r,2),!0)},_.sortedLastIndexOf=function(n,t){if(null==n?0:n.length){var r=Kt(n,t,!0)-1;if($(n[r],t))return r}return-1},_.startCase=li,_.startsWith=function(n,t,r){return n=p(n),r=null==r?0:tt(E(r),0,n.length),t=a(t),n.slice(r,r+t.length)==t},_.subtract=$i,_.sum=function(n){return n&&n.length?Yf(n,S):0},_.sumBy=function(n,t){return n&&n.length?Yf(n,s(t,2)):0},_.template=function(o,n,t){var f,c,r=_.templateSettings;t&&h(o,n,t)&&(n=Mi),o=p(o),n=$u({},n,r,Mr);var e=R(t=$u({},n.imports,r.imports,Mr)),u=nc(t,e),a=0,r=n.interpolate||bf,l="__p += '",t=W((n.escape||bf).source+"|"+r.source+"|"+(r===Yo?sf:bf).source+"|"+(n.evaluate||bf).source+"|$","g"),i="//# sourceURL="+(T.call(n,"sourceURL")?(n.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Of+"]")+"\n";if(o.replace(t,function(n,t,r,e,u,i){return r=r||e,l+=o.slice(a,i).replace(wf,oc),t&&(f=!0,l+="' +\n__e("+t+") +\n'"),u&&(c=!0,l+="';\n"+u+";\n__p += '"),r&&(l+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),a=i+n.length,n}),l+="';\n",r=T.call(n,"variable")&&n.variable){if(af.test(r))throw new L("Invalid `variable` option passed into `_.template`")}else l="with (obj) {\n"+l+"\n}\n";if(l=(c?l.replace(No,""):l).replace(Po,"$1").replace(qo,"$1;"),l="function("+(r||"obj")+") {\n"+(r?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(f?", __e = _.escape":"")+(c?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+l+"return __p\n}",(t=_i(function(){return B(e,i+"return "+l).apply(Mi,u)})).source=l,wu(t))throw t;return t},_.times=function(n,t){if((n=E(n))<1||Zi<n)return[];for(var r=Gi,e=k(n,Gi),e=(t=s(t),n-=Gi,Qf(e,t));++r<n;)t(r);return e},_.toFinite=Cu,_.toInteger=E,_.toLength=Wu,_.toLower=function(n){return p(n).toLowerCase()},_.toNumber=I,_.toSafeInteger=function(n){return n?tt(E(n),-Zi,Zi):0===n?n:0},_.toString=p,_.toUpper=function(n){return p(n).toUpperCase()},_.trim=function(n,t,r){return(n=p(n))&&(r||t===Mi)?Xf(n):n&&(t=a(t))?cr(r=vo(n),rc(r,t=vo(t)),ec(r,t)+1).join(""):n},_.trimEnd=function(n,t,r){return(n=p(n))&&(r||t===Mi)?n.slice(0,lc(n)+1):n&&(t=a(t))?cr(r=vo(n),0,ec(r,vo(t))+1).join(""):n},_.trimStart=function(n,t,r){return(n=p(n))&&(r||t===Mi)?n.replace(ef,""):n&&(t=a(t))?cr(r=vo(n),rc(r,vo(t))).join(""):n},_.truncate=function(n,t){var r,e=30,u="...",t=(m(t)&&(r="separator"in t?t.separator:r,e="length"in t?E(t.length):e,u="omission"in t?a(t.omission):u),(n=p(n)).length);if((t=ho(n)?(i=vo(n)).length:t)<=e)return n;if((t=e-_o(u))<1)return u;var i,e=i?cr(i,0,t).join(""):n.slice(0,t);if(r!==Mi)if(i&&(t+=e.length-t),Eu(r)){if(n.slice(t).search(r)){var o,f=e;for((r=r.global?r:W(r.source,p(hf.exec(r))+"g")).lastIndex=0;o=r.exec(f);)var c=o.index;e=e.slice(0,c===Mi?t:c)}}else n.indexOf(a(r),t)!=t&&-1<(i=e.lastIndexOf(r))&&(e=e.slice(0,i));return e+u},_.unescape=function(n){return(n=p(n))&&Ko.test(n)?n.replace(Zo,sc):n},_.uniqueId=function(n){var t=++V;return p(n)+t},_.upperCase=si,_.upperFirst=hi,_.each=He,_.eachRight=Je,_.first=Ie,xi(_,(Ti={},ht(_,function(n,t){T.call(_.prototype,t)||(Ti[t]=n)}),Ti),{chain:!1}),_.VERSION="4.17.21",oo(["bind","bindKey","curry","curryRight","partial","partialRight"],function(n){_[n].placeholder=_}),oo(["drop","take"],function(r,e){y.prototype[r]=function(n){n=n===Mi?1:A(E(n),0);var t=this.__filtered__&&!e?new y(this):this.clone();return t.__filtered__?t.__takeCount__=k(n,t.__takeCount__):t.__views__.push({size:k(n,Gi),type:r+(t.__dir__<0?"Right":"")}),t},y.prototype[r+"Right"]=function(n){return this.reverse()[r](n).reverse()}}),oo(["filter","map","takeWhile"],function(n,t){var r=t+1,e=1==r||3==r;y.prototype[n]=function(n){var t=this.clone();return t.__iteratees__.push({iteratee:s(n,3),type:r}),t.__filtered__=t.__filtered__||e,t}}),oo(["head","last"],function(n,t){var r="take"+(t?"Right":"");y.prototype[n]=function(){return this[r](1).value()[0]}}),oo(["initial","tail"],function(n,t){var r="drop"+(t?"":"Right");y.prototype[n]=function(){return this.__filtered__?new y(this):this[r](1)}}),y.prototype.compact=function(){return this.filter(S)},y.prototype.find=function(n){return this.filter(n).head()},y.prototype.findLast=function(n){return this.reverse().find(n)},y.prototype.invokeMap=o(function(t,r){return"function"==typeof t?new y(this):this.map(function(n){return mt(n,t,r)})}),y.prototype.reject=function(n){return this.filter(su(s(n)))},y.prototype.slice=function(n,t){n=E(n);var r=this;return r.__filtered__&&(0<n||t<0)?new y(r):(n<0?r=r.takeRight(-n):n&&(r=r.drop(n)),t!==Mi?(t=E(t))<0?r.dropRight(-t):r.take(t-n):r)},y.prototype.takeRightWhile=function(n){return this.reverse().takeWhile(n).reverse()},y.prototype.toArray=function(){return this.take(Gi)},ht(y.prototype,function(a,n){var l=/^(?:filter|find|map|reject)|While$/.test(n),s=/^(?:head|last)$/.test(n),h=_[s?"take"+("last"==n?"Right":""):n],p=s||/^find/.test(n);h&&(_.prototype[n]=function(){function n(n){return n=h.apply(_,ao([n],e)),s&&f?n[0]:n}var t,r=this.__wrapped__,e=s?[1]:arguments,u=r instanceof y,i=e[0],o=u||M(r),f=(o&&l&&"function"==typeof i&&1!=i.length&&(u=o=!1),this.__chain__),i=!!this.__actions__.length,c=p&&!f,u=u&&!i;return!p&&o?(r=u?r:new y(this),(t=a.apply(r,e)).__actions__.push({func:qe,args:[n],thisArg:Mi}),new g(t,f)):c&&u?a.apply(this,e):(t=this.thru(n),c?s?t.value()[0]:t.value():t)})}),oo(["pop","push","shift","sort","splice","unshift"],function(n){var r=P[n],e=/^(?:push|sort|unshift)$/.test(n)?"tap":"thru",u=/^(?:pop|shift)$/.test(n);_.prototype[n]=function(){var n,t=arguments;return u&&!this.__chain__?(n=this.value(),r.apply(M(n)?n:[],t)):this[e](function(n){return r.apply(M(n)?n:[],t)})}}),ht(y.prototype,function(n,t){var r,e=_[t];e&&(r=e.name+"",T.call(Rn,r)||(Rn[r]=[]),Rn[r].push({name:t,func:e}))}),Rn[Er(Mi,2).name]=[{name:"wrapper",func:Mi}],y.prototype.clone=function(){var n=new y(this.__wrapped__);return n.__actions__=O(this.__actions__),n.__dir__=this.__dir__,n.__filtered__=this.__filtered__,n.__iteratees__=O(this.__iteratees__),n.__takeCount__=this.__takeCount__,n.__views__=O(this.__views__),n},y.prototype.reverse=function(){var n;return this.__filtered__?((n=new y(this)).__dir__=-1,n.__filtered__=!0):(n=this.clone()).__dir__*=-1,n},y.prototype.value=function(){var n=this.__wrapped__.value(),t=this.__dir__,r=M(n),e=t<0,u=r?n.length:0,i=function(n,t,r){var e=-1,u=r.length;for(;++e<u;){var i=r[e],o=i.size;switch(i.type){case"drop":n+=o;break;case"dropRight":t-=o;break;case"take":t=k(t,n+o);break;case"takeRight":n=A(n,t-o)}}return{start:n,end:t}}(0,u,this.__views__),o=i.start,f=(i=i.end)-o,c=e?i:o-1,a=this.__iteratees__,l=a.length,s=0,h=k(f,this.__takeCount__);if(!r||!e&&u==f&&h==f)return tr(n,this.__actions__);var p=[];n:for(;f--&&s<h;){for(var _=-1,v=n[c+=t];++_<l;){var g=a[_],y=g.iteratee,g=g.type,y=y(v);if(2==g)v=y;else if(!y){if(1==g)continue n;break n}}p[s++]=v}return p},_.prototype.at=Ze,_.prototype.chain=function(){return Pe(this)},_.prototype.commit=function(){return new g(this.value(),this.__chain__)},_.prototype.next=function(){this.__values__===Mi&&(this.__values__=Bu(this.value()));var n=this.__index__>=this.__values__.length;return{done:n,value:n?Mi:this.__values__[this.__index__++]}},_.prototype.plant=function(n){for(var t,r=this;r instanceof $n;)var e=Ae(r),u=(e.__index__=0,e.__values__=Mi,t?u.__wrapped__=e:t=e,e),r=r.__wrapped__;return u.__wrapped__=n,t},_.prototype.reverse=function(){var n=this.__wrapped__;return n instanceof y?(n=n,(n=(n=this.__actions__.length?new y(this):n).reverse()).__actions__.push({func:qe,args:[Se],thisArg:Mi}),new g(n,this.__chain__)):this.thru(Se)},_.prototype.toJSON=_.prototype.valueOf=_.prototype.value=function(){return tr(this.__wrapped__,this.__actions__)},_.prototype.first=_.prototype.head,cn&&(_.prototype[cn]=function(){return this}),_}();"function"==typeof define&&"object"==typeof define.amd&&define.amd?(uo._=go,define(function(){return go})):u?((u.exports=go)._=go,e._=go):uo._=go}.call(this)}.call(this)}.call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1,2]);
  • block-controller/trunk/inc/packages.php

    r2931546 r2981413  
    1616      'core/freeform'        => 'Classic',
    1717      'core/code'            => 'Code',
     18      'core/details'         => 'Details',
     19      'core/footnotes'       => 'Footnotes',
    1820      'core/heading'         => 'Heading',
    1921      'core/list'            => 'List',
     
    6264      'core/post-navigation-link'  => 'Post Navigation Link',
    6365      'core/post-terms'            => 'Post Terms',
     66      'core/post-time-to-read'     => 'Post Time To Read',
    6467      'core/post-title'            => 'Post Title',
    6568      'core/query'                 => 'Query',
  • block-controller/trunk/readme.txt

    r2943229 r2981413  
    55Requires at least: 5.0
    66Requires PHP: 7.0
    7 Tested up to: 6.3
    8 Stable tag: 1.4
     7Tested up to: 6.4
     8Stable tag: 1.4.1
    99
    1010Allow site administrators to control editor access to content blocks.
     
    3939
    4040== Changelog ==
     41
     42= 1.4.1 =
     43* Tested with WordPress 6.4.
     44* Fixed "lodash is not defined" error.
     45* Added options for blocks added with WP 6.4.
    4146
    4247= 1.4 =
  • block-controller/trunk/source/js/disable-blocks.js

    r2818558 r2981413  
    88 * a block from the Block Inserter.
    99 */
     10
     11import { assign } from 'lodash';
    1012
    1113const tpmDisableBlocks = ( () => {
     
    2123    if ( TPM_BC_GLOBAL.disabledBlocks.includes( name ) ) {
    2224      // Hide block by setting the inserter attribute in block supports to false.
    23       return lodash.assign( {}, settings, {
     25      return assign( {}, settings, {
    2426        supports: {
    2527          inserter: false,
Note: See TracChangeset for help on using the changeset viewer.