PluginProbe
WP Ultimate Post Grid / 3.4.0
WP Ultimate Post Grid v3.4.0
4.1.1 trunk 1.5 1.6 1.7 1.7.1 1.7.2 1.8 1.9 2.0 2.1 2.2 2.3 2.4.0 2.5.0 2.6.0 2.7.0 2.8.0 2.8.2 3.0.0 3.3.0 3.4.0 3.5.0 3.6.0 3.7.0 All 32 releases
wp-ultimate-post-grid / dist / blocks.js

blocks.js in WP Ultimate Post Grid 3.4.0, at dist/blocks.js

4 lines 35.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 var WPUltimatePostGrid="object"==typeof WPUltimatePostGrid?WPUltimatePostGrid:{};WPUltimatePostGrid.blocks=function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=926)}({113:function(t,e){t.exports=!1},114:function(t,e){t.exports={}},115:function(t,e,r){"use strict";var n=r(14),o=r(150);n({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},116:function(t,e,r){var n=r(15),o=r(62),i="".split;t.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},117:function(t,e,r){var n=r(141),o=r(116),i=r(54),a=r(55),c=r(187),u=[].push,l=function(t){var e=1==t,r=2==t,l=3==t,s=4==t,f=6==t,p=5==t||f;return function(d,v,g,m){for(var y,h,b=i(d),w=o(b),E=n(v,g,3),x=a(w.length),S=0,P=m||c,O=e?P(d,x):r?P(d,0):void 0;x>S;S++)if((p||S in w)&&(h=E(y=w[S],S,b),t))if(e)O[S]=h;else if(h)switch(t){case 3:return!0;case 5:return y;case 6:return S;case 2:u.call(O,y)}else if(s)return!1;return f?-1:l||s?s:O}};t.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6)}},12:function(t,e,r){(function(e){var r=function(t){return t&&t.Math==Math&&t};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof e&&e)||Function("return this")()}).call(this,r(85))},122:function(t,e,r){var n=r(138),o=r(139),i=n("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},123:function(t,e,r){var n=r(183),o=r(140);t.exports=Object.keys||function(t){return n(t,o)}},130:function(t,e,r){var n=r(12),o=r(34);t.exports=function(t,e){try{o(n,t,e)}catch(r){n[t]=e}return e}},131:function(t,e,r){var n=r(183),o=r(140).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},132:function(t,e,r){"use strict";var n={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!n.call({1:2},1);e.f=i?function(t){var e=o(this,t);return!!e&&e.enumerable}:n},133:function(t,e,r){var n=r(62);t.exports=Array.isArray||function(t){return"Array"==n(t)}},134:function(t,e,r){"use strict";var n=r(94),o=r(29),i=r(89);t.exports=function(t,e,r){var a=n(e);a in t?o.f(t,a,i(0,r)):t[a]=r}},135:function(t,e,r){var n=r(15),o=r(16),i=r(166),a=o("species");t.exports=function(t){return i>=51||!n((function(){var e=[];return(e.constructor={})[a]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},137:function(t,e,r){var n=r(162),o=Function.toString;"function"!=typeof n.inspectSource&&(n.inspectSource=function(t){return o.call(t)}),t.exports=n.inspectSource},138:function(t,e,r){var n=r(113),o=r(162);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.6.5",mode:n?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},139:function(t,e){var r=0,n=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++r+n).toString(36)}},14:function(t,e,r){var n=r(12),o=r(70).f,i=r(34),a=r(61),c=r(130),u=r(186),l=r(165);t.exports=function(t,e){var r,s,f,p,d,v=t.target,g=t.global,m=t.stat;if(r=g?n:m?n[v]||c(v,{}):(n[v]||{}).prototype)for(s in e){if(p=e[s],f=t.noTargetGet?(d=o(r,s))&&d.value:r[s],!l(g?s:v+(m?".":"#")+s,t.forced)&&void 0!==f){if(typeof p==typeof f)continue;u(p,f)}(t.sham||f&&f.sham)&&i(p,"sham",!0),a(r,s,p,t)}}},140:function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},141:function(t,e,r){var n=r(97);t.exports=function(t,e,r){if(n(t),void 0===e)return t;switch(r){case 0:return function(){return t.call(e)};case 1:return function(r){return t.call(e,r)};case 2:return function(r,n){return t.call(e,r,n)};case 3:return function(r,n,o){return t.call(e,r,n,o)}}return function(){return t.apply(e,arguments)}}},149:function(t,e,r){var n=r(12),o=r(23),i=n.document,a=o(i)&&o(i.createElement);t.exports=function(t){return a?i.createElement(t):{}}},15:function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},150:function(t,e,r){"use strict";var n,o,i=r(190),a=r(259),c=RegExp.prototype.exec,u=String.prototype.replace,l=c,s=(n=/a/,o=/b*/g,c.call(n,"a"),c.call(o,"a"),0!==n.lastIndex||0!==o.lastIndex),f=a.UNSUPPORTED_Y||a.BROKEN_CARET,p=void 0!==/()??/.exec("")[1];(s||p||f)&&(l=function(t){var e,r,n,o,a=this,l=f&&a.sticky,d=i.call(a),v=a.source,g=0,m=t;return l&&(-1===(d=d.replace("y","")).indexOf("g")&&(d+="g"),m=String(t).slice(a.lastIndex),a.lastIndex>0&&(!a.multiline||a.multiline&&"\n"!==t[a.lastIndex-1])&&(v="(?: "+v+")",m=" "+m,g++),r=new RegExp("^(?:"+v+")",d)),p&&(r=new RegExp("^"+v+"$(?!\\s)",d)),s&&(e=a.lastIndex),n=c.call(l?r:a,m),l?n?(n.input=n.input.slice(g),n[0]=n[0].slice(g),n.index=a.lastIndex,a.lastIndex+=n[0].length):a.lastIndex=0:s&&n&&(a.lastIndex=a.global?n.index+n[0].length:e),p&&n&&n.length>1&&u.call(n[0],r,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(n[o]=void 0)})),n}),t.exports=l},151:function(t,e,r){"use strict";var n=r(15);t.exports=function(t,e){var r=[][t];return!!r&&n((function(){r.call(null,e||function(){throw 1},1)}))}},152:function(t,e,r){var n,o=r(25),i=r(310),a=r(140),c=r(114),u=r(234),l=r(149),s=r(122),f=s("IE_PROTO"),p=function(){},d=function(t){return"<script>"+t+"<\/script>"},v=function(){try{n=document.domain&&new ActiveXObject("htmlfile")}catch(o){}var t,e;v=n?function(t){t.write(d("")),t.close();var e=t.parentWindow.Object;return t=null,e}(n):((e=l("iframe")).style.display="none",u.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(d("document.F=Object")),t.close(),t.F);for(var r=a.length;r--;)delete v.prototype[a[r]];return v()};c[f]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(p.prototype=o(t),r=new p,p.prototype=null,r[f]=t):r=v(),void 0===e?r:i(r,e)}},153:function(t,e,r){var n=r(29).f,o=r(24),i=r(16)("toStringTag");t.exports=function(t,e,r){t&&!o(t=r?t:t.prototype,i)&&n(t,i,{configurable:!0,value:e})}},154:function(t,e){e.f=Object.getOwnPropertySymbols},155:function(t,e,r){var n=r(15);t.exports=!!Object.getOwnPropertySymbols&&!n((function(){return!String(Symbol())}))},156:function(t,e,r){"use strict";var n=r(191),o=r(25),i=r(54),a=r(55),c=r(96),u=r(63),l=r(232),s=r(192),f=Math.max,p=Math.min,d=Math.floor,v=/\$([$&'`]|\d\d?|<[^>]*>)/g,g=/\$([$&'`]|\d\d?)/g;n("replace",2,(function(t,e,r,n){var m=n.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,y=n.REPLACE_KEEPS_$0,h=m?"$":"$0";return[function(r,n){var o=u(this),i=null==r?void 0:r[t];return void 0!==i?i.call(r,o,n):e.call(String(o),r,n)},function(t,n){if(!m&&y||"string"==typeof n&&-1===n.indexOf(h)){var i=r(e,t,this,n);if(i.done)return i.value}var u=o(t),d=String(this),v="function"==typeof n;v||(n=String(n));var g=u.global;if(g){var w=u.unicode;u.lastIndex=0}for(var E=[];;){var x=s(u,d);if(null===x)break;if(E.push(x),!g)break;""===String(x[0])&&(u.lastIndex=l(d,a(u.lastIndex),w))}for(var S,P="",O=0,R=0;R<E.length;R++){x=E[R];for(var k=String(x[0]),C=f(p(c(x.index),d.length),0),_=[],j=1;j<x.length;j++)_.push(void 0===(S=x[j])?S:String(S));var T=x.groups;if(v){var I=[k].concat(_,C,d);void 0!==T&&I.push(T);var A=String(n.apply(void 0,I))}else A=b(k,d,C,_,T,n);C>=O&&(P+=d.slice(O,C)+A,O=C+k.length)}return P+d.slice(O)}];function b(t,r,n,o,a,c){var u=n+t.length,l=o.length,s=g;return void 0!==a&&(a=i(a),s=v),e.call(c,s,(function(e,i){var c;switch(i.charAt(0)){case"$":return"$";case"&":return t;case"`":return r.slice(0,n);case"'":return r.slice(u);case"<":c=a[i.slice(1,-1)];break;default:var s=+i;if(0===s)return e;if(s>l){var f=d(s/10);return 0===f?e:f<=l?void 0===o[f-1]?i.charAt(1):o[f-1]+i.charAt(1):e}c=o[s-1]}return void 0===c?"":c}))}}))},16:function(t,e,r){var n=r(12),o=r(138),i=r(24),a=r(139),c=r(155),u=r(189),l=o("wks"),s=n.Symbol,f=u?s:s&&s.withoutSetter||a;t.exports=function(t){return i(l,t)||(c&&i(s,t)?l[t]=s[t]:l[t]=f("Symbol."+t)),l[t]}},161:function(t,e,r){var n=r(22),o=r(15),i=r(149);t.exports=!n&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},162:function(t,e,r){var n=r(12),o=r(130),i=n["__core-js_shared__"]||o("__core-js_shared__",{});t.exports=i},163:function(t,e,r){var n=r(12);t.exports=n},164:function(t,e,r){var n=r(28),o=r(55),i=r(184),a=function(t){return function(e,r,a){var c,u=n(e),l=o(u.length),s=i(a,l);if(t&&r!=r){for(;l>s;)if((c=u[s++])!=c)return!0}else for(;l>s;s++)if((t||s in u)&&u[s]===r)return t||s||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},165:function(t,e,r){var n=r(15),o=/#|\.prototype\./,i=function(t,e){var r=c[a(t)];return r==l||r!=u&&("function"==typeof e?n(e):!!e)},a=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},c=i.data={},u=i.NATIVE="N",l=i.POLYFILL="P";t.exports=i},166:function(t,e,r){var n,o,i=r(12),a=r(231),c=i.process,u=c&&c.versions,l=u&&u.v8;l?o=(n=l.split("."))[0]+n[1]:a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(o=n[1]),t.exports=o&&+o},182:function(t,e,r){var n=r(73),o=r(131),i=r(154),a=r(25);t.exports=n("Reflect","ownKeys")||function(t){var e=o.f(a(t)),r=i.f;return r?e.concat(r(t)):e}},183:function(t,e,r){var n=r(24),o=r(28),i=r(164).indexOf,a=r(114);t.exports=function(t,e){var r,c=o(t),u=0,l=[];for(r in c)!n(a,r)&&n(c,r)&&l.push(r);for(;e.length>u;)n(c,r=e[u++])&&(~i(l,r)||l.push(r));return l}},184:function(t,e,r){var n=r(96),o=Math.max,i=Math.min;t.exports=function(t,e){var r=n(t);return r<0?o(r+e,0):i(r,e)}},186:function(t,e,r){var n=r(24),o=r(182),i=r(70),a=r(29);t.exports=function(t,e){for(var r=o(e),c=a.f,u=i.f,l=0;l<r.length;l++){var s=r[l];n(t,s)||c(t,s,u(e,s))}}},187:function(t,e,r){var n=r(23),o=r(133),i=r(16)("species");t.exports=function(t,e){var r;return o(t)&&("function"!=typeof(r=t.constructor)||r!==Array&&!o(r.prototype)?n(r)&&null===(r=r[i])&&(r=void 0):r=void 0),new(void 0===r?Array:r)(0===e?0:e)}},189:function(t,e,r){var n=r(155);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},190:function(t,e,r){"use strict";var n=r(25);t.exports=function(){var t=n(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},191:function(t,e,r){"use strict";r(115);var n=r(61),o=r(15),i=r(16),a=r(150),c=r(34),u=i("species"),l=!o((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),s="$0"==="a".replace(/./,"$0"),f=i("replace"),p=!!/./[f]&&""===/./[f]("a","$0"),d=!o((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var r="ab".split(t);return 2!==r.length||"a"!==r[0]||"b"!==r[1]}));t.exports=function(t,e,r,f){var v=i(t),g=!o((function(){var e={};return e[v]=function(){return 7},7!=""[t](e)})),m=g&&!o((function(){var e=!1,r=/a/;return"split"===t&&((r={}).constructor={},r.constructor[u]=function(){return r},r.flags="",r[v]=/./[v]),r.exec=function(){return e=!0,null},r[v](""),!e}));if(!g||!m||"replace"===t&&(!l||!s||p)||"split"===t&&!d){var y=/./[v],h=r(v,""[t],(function(t,e,r,n,o){return e.exec===a?g&&!o?{done:!0,value:y.call(e,r,n)}:{done:!0,value:t.call(r,e,n)}:{done:!1}}),{REPLACE_KEEPS_$0:s,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:p}),b=h[0],w=h[1];n(String.prototype,t,b),n(RegExp.prototype,v,2==e?function(t,e){return w.call(t,this,e)}:function(t){return w.call(t,this)})}f&&c(RegExp.prototype[v],"sham",!0)}},192:function(t,e,r){var n=r(62),o=r(150);t.exports=function(t,e){var r=t.exec;if("function"==typeof r){var i=r.call(t,e);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==n(t))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(t,e)}},193:function(t,e,r){var n=r(16);e.f=n},194:function(t,e,r){"use strict";var n=r(117).forEach,o=r(151),i=r(77),a=o("forEach"),c=i("forEach");t.exports=a&&c?[].forEach:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}},22:function(t,e,r){var n=r(15);t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},23:function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},231:function(t,e,r){var n=r(73);t.exports=n("navigator","userAgent")||""},232:function(t,e,r){"use strict";var n=r(233).charAt;t.exports=function(t,e,r){return e+(r?n(t,e).length:1)}},233:function(t,e,r){var n=r(96),o=r(63),i=function(t){return function(e,r){var i,a,c=String(o(e)),u=n(r),l=c.length;return u<0||u>=l?t?"":void 0:(i=c.charCodeAt(u))<55296||i>56319||u+1===l||(a=c.charCodeAt(u+1))<56320||a>57343?t?c.charAt(u):i:t?c.slice(u,u+2):a-56320+(i-55296<<10)+65536}};t.exports={codeAt:i(!1),charAt:i(!0)}},234:function(t,e,r){var n=r(73);t.exports=n("document","documentElement")},235:function(t,e,r){var n=r(163),o=r(24),i=r(193),a=r(29).f;t.exports=function(t){var e=n.Symbol||(n.Symbol={});o(e,t)||a(e,t,{value:i.f(t)})}},236:function(t,e){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},24:function(t,e){var r={}.hasOwnProperty;t.exports=function(t,e){return r.call(t,e)}},241:function(t,e,r){var n=r(12),o=r(137),i=n.WeakMap;t.exports="function"==typeof i&&/native code/.test(o(i))},242:function(t,e,r){"use strict";var n=r(14),o=r(116),i=r(28),a=r(151),c=[].join,u=o!=Object,l=a("join",",");n({target:"Array",proto:!0,forced:u||!l},{join:function(t){return c.call(i(this),void 0===t?",":t)}})},25:function(t,e,r){var n=r(23);t.exports=function(t){if(!n(t))throw TypeError(String(t)+" is not an object");return t}},259:function(t,e,r){"use strict";var n=r(15);function o(t,e){return RegExp(t,e)}e.UNSUPPORTED_Y=n((function(){var t=o("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),e.BROKEN_CARET=n((function(){var t=o("^r","gy");return t.lastIndex=2,null!=t.exec("str")}))},27:function(t,e,r){"use strict";var n=r(14),o=r(12),i=r(73),a=r(113),c=r(22),u=r(155),l=r(189),s=r(15),f=r(24),p=r(133),d=r(23),v=r(25),g=r(54),m=r(28),y=r(94),h=r(89),b=r(152),w=r(123),E=r(131),x=r(311),S=r(154),P=r(70),O=r(29),R=r(132),k=r(34),C=r(61),_=r(138),j=r(122),T=r(114),I=r(139),A=r(16),L=r(193),G=r(235),D=r(153),M=r(95),U=r(117).forEach,F=j("hidden"),N=A("toPrimitive"),B=M.set,W=M.getterFor("Symbol"),$=Object.prototype,V=o.Symbol,z=i("JSON","stringify"),K=P.f,H=O.f,q=x.f,X=R.f,Y=_("symbols"),J=_("op-symbols"),Q=_("string-to-symbol-registry"),Z=_("symbol-to-string-registry"),tt=_("wks"),et=o.QObject,rt=!et||!et.prototype||!et.prototype.findChild,nt=c&&s((function(){return 7!=b(H({},"a",{get:function(){return H(this,"a",{value:7}).a}})).a}))?function(t,e,r){var n=K($,e);n&&delete $[e],H(t,e,r),n&&t!==$&&H($,e,n)}:H,ot=function(t,e){var r=Y[t]=b(V.prototype);return B(r,{type:"Symbol",tag:t,description:e}),c||(r.description=e),r},it=l?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof V},at=function(t,e,r){t===$&&at(J,e,r),v(t);var n=y(e,!0);return v(r),f(Y,n)?(r.enumerable?(f(t,F)&&t[F][n]&&(t[F][n]=!1),r=b(r,{enumerable:h(0,!1)})):(f(t,F)||H(t,F,h(1,{})),t[F][n]=!0),nt(t,n,r)):H(t,n,r)},ct=function(t,e){v(t);var r=m(e),n=w(r).concat(ft(r));return U(n,(function(e){c&&!ut.call(r,e)||at(t,e,r[e])})),t},ut=function(t){var e=y(t,!0),r=X.call(this,e);return!(this===$&&f(Y,e)&&!f(J,e))&&(!(r||!f(this,e)||!f(Y,e)||f(this,F)&&this[F][e])||r)},lt=function(t,e){var r=m(t),n=y(e,!0);if(r!==$||!f(Y,n)||f(J,n)){var o=K(r,n);return!o||!f(Y,n)||f(r,F)&&r[F][n]||(o.enumerable=!0),o}},st=function(t){var e=q(m(t)),r=[];return U(e,(function(t){f(Y,t)||f(T,t)||r.push(t)})),r},ft=function(t){var e=t===$,r=q(e?J:m(t)),n=[];return U(r,(function(t){!f(Y,t)||e&&!f($,t)||n.push(Y[t])})),n};(u||(C((V=function(){if(this instanceof V)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,e=I(t),r=function(t){this===$&&r.call(J,t),f(this,F)&&f(this[F],e)&&(this[F][e]=!1),nt(this,e,h(1,t))};return c&&rt&&nt($,e,{configurable:!0,set:r}),ot(e,t)}).prototype,"toString",(function(){return W(this).tag})),C(V,"withoutSetter",(function(t){return ot(I(t),t)})),R.f=ut,O.f=at,P.f=lt,E.f=x.f=st,S.f=ft,L.f=function(t){return ot(A(t),t)},c&&(H(V.prototype,"description",{configurable:!0,get:function(){return W(this).description}}),a||C($,"propertyIsEnumerable",ut,{unsafe:!0}))),n({global:!0,wrap:!0,forced:!u,sham:!u},{Symbol:V}),U(w(tt),(function(t){G(t)})),n({target:"Symbol",stat:!0,forced:!u},{for:function(t){var e=String(t);if(f(Q,e))return Q[e];var r=V(e);return Q[e]=r,Z[r]=e,r},keyFor:function(t){if(!it(t))throw TypeError(t+" is not a symbol");if(f(Z,t))return Z[t]},useSetter:function(){rt=!0},useSimple:function(){rt=!1}}),n({target:"Object",stat:!0,forced:!u,sham:!c},{create:function(t,e){return void 0===e?b(t):ct(b(t),e)},defineProperty:at,defineProperties:ct,getOwnPropertyDescriptor:lt}),n({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:st,getOwnPropertySymbols:ft}),n({target:"Object",stat:!0,forced:s((function(){S.f(1)}))},{getOwnPropertySymbols:function(t){return S.f(g(t))}}),z)&&n({target:"JSON",stat:!0,forced:!u||s((function(){var t=V();return"[null]"!=z([t])||"{}"!=z({a:t})||"{}"!=z(Object(t))}))},{stringify:function(t,e,r){for(var n,o=[t],i=1;arguments.length>i;)o.push(arguments[i++]);if(n=e,(d(e)||void 0!==t)&&!it(t))return p(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!it(e))return e}),o[1]=e,z.apply(null,o)}});V.prototype[N]||k(V.prototype,N,V.prototype.valueOf),D(V,"Symbol"),T[F]=!0},28:function(t,e,r){var n=r(116),o=r(63);t.exports=function(t){return n(o(t))}},29:function(t,e,r){var n=r(22),o=r(161),i=r(25),a=r(94),c=Object.defineProperty;e.f=n?c:function(t,e,r){if(i(t),e=a(e,!0),i(r),o)try{return c(t,e,r)}catch(n){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},309:function(t,e){t.exports="\t\n\v\f\r        �
2         \u2028\u2029\ufeff"},310:function(t,e,r){var n=r(22),o=r(29),i=r(25),a=r(123);t.exports=n?Object.defineProperties:function(t,e){i(t);for(var r,n=a(e),c=n.length,u=0;c>u;)o.f(t,r=n[u++],e[r]);return t}},311:function(t,e,r){var n=r(28),o=r(131).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return a&&"[object Window]"==i.call(t)?function(t){try{return o(t)}catch(e){return a.slice()}}(t):o(n(t))}},34:function(t,e,r){var n=r(22),o=r(29),i=r(89);t.exports=n?function(t,e,r){return o.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},340:function(t,e){},341:function(t,e){},342:function(t,e,r){"use strict";var n=r(14),o=r(343).trim;n({target:"String",proto:!0,forced:r(620)("trim")},{trim:function(){return o(this)}})},343:function(t,e,r){var n=r(63),o="["+r(309)+"]",i=RegExp("^"+o+o+"*"),a=RegExp(o+o+"*$"),c=function(t){return function(e){var r=String(n(e));return 1&t&&(r=r.replace(i,"")),2&t&&(r=r.replace(a,"")),r}};t.exports={start:c(1),end:c(2),trim:c(3)}},53:function(t,e,r){"use strict";var n=r(14),o=r(15),i=r(133),a=r(23),c=r(54),u=r(55),l=r(134),s=r(187),f=r(135),p=r(16),d=r(166),v=p("isConcatSpreadable"),g=d>=51||!o((function(){var t=[];return t[v]=!1,t.concat()[0]!==t})),m=f("concat"),y=function(t){if(!a(t))return!1;var e=t[v];return void 0!==e?!!e:i(t)};n({target:"Array",proto:!0,forced:!g||!m},{concat:function(t){var e,r,n,o,i,a=c(this),f=s(a,0),p=0;for(e=-1,n=arguments.length;e<n;e++)if(i=-1===e?a:arguments[e],y(i)){if(p+(o=u(i.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(r=0;r<o;r++,p++)r in i&&l(f,p,i[r])}else{if(p>=9007199254740991)throw TypeError("Maximum allowed index exceeded");l(f,p++,i)}return f.length=p,f}})},54:function(t,e,r){var n=r(63);t.exports=function(t){return Object(n(t))}},55:function(t,e,r){var n=r(96),o=Math.min;t.exports=function(t){return t>0?o(n(t),9007199254740991):0}},608:function(t,e,r){"use strict";var n=r(14),o=r(621);n({target:"String",proto:!0,forced:r(622)("link")},{link:function(t){return o(this,"a","href",t)}})},61:function(t,e,r){var n=r(12),o=r(34),i=r(24),a=r(130),c=r(137),u=r(95),l=u.get,s=u.enforce,f=String(String).split("String");(t.exports=function(t,e,r,c){var u=!!c&&!!c.unsafe,l=!!c&&!!c.enumerable,p=!!c&&!!c.noTargetGet;"function"==typeof r&&("string"!=typeof e||i(r,"name")||o(r,"name",e),s(r).source=f.join("string"==typeof e?e:"")),t!==n?(u?!p&&t[e]&&(l=!0):delete t[e],l?t[e]=r:o(t,e,r)):l?t[e]=r:a(e,r)})(Function.prototype,"toString",(function(){return"function"==typeof this&&l(this).source||c(this)}))},62:function(t,e){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},620:function(t,e,r){var n=r(15),o=r(309);t.exports=function(t){return n((function(){return!!o[t]()||"​�
3 ᠎"!="​�
4 "[t]()||o[t].name!==t}))}},621:function(t,e,r){var n=r(63),o=/"/g;t.exports=function(t,e,r,i){var a=String(n(t)),c="<"+e;return""!==r&&(c+=" "+r+'="'+String(i).replace(o,"&quot;")+'"'),c+">"+a+"</"+e+">"}},622:function(t,e,r){var n=r(15);t.exports=function(t){return n((function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}))}},63:function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},64:function(t,e,r){"use strict";var n=r(14),o=r(117).filter,i=r(135),a=r(77),c=i("filter"),u=a("filter");n({target:"Array",proto:!0,forced:!c||!u},{filter:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},70:function(t,e,r){var n=r(22),o=r(132),i=r(89),a=r(28),c=r(94),u=r(24),l=r(161),s=Object.getOwnPropertyDescriptor;e.f=n?s:function(t,e){if(t=a(t),e=c(e,!0),l)try{return s(t,e)}catch(r){}if(u(t,e))return i(!o.f.call(t,e),t[e])}},71:function(t,e,r){var n=r(14),o=r(54),i=r(123);n({target:"Object",stat:!0,forced:r(15)((function(){i(1)}))},{keys:function(t){return i(o(t))}})},73:function(t,e,r){var n=r(163),o=r(12),i=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?i(n[t])||i(o[t]):n[t]&&n[t][e]||o[t]&&o[t][e]}},77:function(t,e,r){var n=r(22),o=r(15),i=r(24),a=Object.defineProperty,c={},u=function(t){throw t};t.exports=function(t,e){if(i(c,t))return c[t];e||(e={});var r=[][t],l=!!i(e,"ACCESSORS")&&e.ACCESSORS,s=i(e,0)?e[0]:u,f=i(e,1)?e[1]:void 0;return c[t]=!!r&&!o((function(){if(l&&!n)return!0;var t={length:-1};l?a(t,1,{enumerable:!0,get:u}):t[1]=1,r.call(t,s,f)}))}},78:function(t,e,r){"use strict";var n=r(14),o=r(194);n({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},79:function(t,e,r){var n=r(12),o=r(236),i=r(194),a=r(34);for(var c in o){var u=n[c],l=u&&u.prototype;if(l&&l.forEach!==i)try{a(l,"forEach",i)}catch(s){l.forEach=i}}},813:function(t,e){},844:function(t,e){},85:function(t,e){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(n){"object"==typeof window&&(r=window)}t.exports=r},89:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},926:function(t,e,r){"use strict";r.r(e);r(340),r(341),r(53),r(115),r(156),r(342),r(242),r(71);var n,o,i,a=wp.i18n.__,c=wp.components,u=(c.Button,c.PanelBody),l=c.TextareaControl,s=function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:" ",r=[],n=0,o=Object.keys(t);n<o.length;n++){var i=o[n];if(i){var a=t[i];a&&r.push("".concat(i,'="').concat(a,'"'))}}return r.join(e)},f=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"grid";return(React.createElement(u,{title:a("grid"===r?"Dynamic Filters":"Default Filter Selections")},React.createElement("p",null,!wpupg_admin.addons.premium&&React.createElement("span",{style:{color:"darkred"}},"This feature is only available in WP Ultimate Post Grid Premium.",React.createElement("br",null)),"grid"===r?React.createElement("a",{href:"https://help.bootstrapped.ventures/article/238-limit-items-dynamically",target:"_blank"},"Learn More"):React.createElement("a",{href:"https://help.bootstrapped.ventures/article/247-default-filter-selections",target:"_blank"},"Learn More")),React.createElement(l,{value:t.dynamic,onChange:function(t){t=(t=(t=t.replace("\n"," ")).replace("\r"," ")).replace(" "," "),e({dynamic:t})}})))},p=(r(813),wp.i18n.__),d=wp.blocks.registerBlockType,v=wp.components,g=v.Button,m=v.Disabled,y=v.PanelBody,h=v.Toolbar,b=v.TextControl,w=wp.element.Fragment;wp.hasOwnProperty("blockEditor")?(n=wp.blockEditor.InspectorControls,o=wp.blockEditor.BlockControls):(n=wp.editor.InspectorControls,o=wp.editor.BlockControls),i=wp.hasOwnProperty("serverSideRender")?wp.serverSideRender:wp.components.ServerSideRender,d("wp-ultimate-post-grid/grid-with-filters",{title:p("Grid with Filters"),description:p("Display an entire WP Ultimate Post Grid with filters. Take note that"),icon:"grid-view",keywords:["wpupg"],category:"wp-ultimate-post-grid",supports:{html:!1,align:!0},transforms:{from:[{type:"shortcode",tag:"wpupg-grid-with-filters",attributes:{id:{type:"string",shortcode:function(t){var e=t.named.id;return(void 0===e?"":e).replace("id","")}},dynamic:{type:"string",shortcode:function(t){var e=t.named;return delete e.id,delete e.align,s(e)}}}}]},edit:function(t){var e=t.attributes,r=t.setAttributes,a=t.className,c=function(){WPUPG_Modal.open("select",{title:p("Insert Grid with Filters"),button:p("Insert"),fields:{grid:!0,filters:!1},insertCallback:function(t){r({id:""+t.grid,updated:Date.now()})}},!0)};return React.createElement("div",{className:a},e.id?React.createElement(w,null,React.createElement(o,null,React.createElement(h,{controls:[{icon:"edit",title:p("Change Grid"),onClick:c}]})),React.createElement(n,null,React.createElement(y,{title:p("Grid Details")},React.createElement(b,{label:p("Grid ID"),value:e.id,disabled:!0})),f(e,r)),React.createElement(m,null,React.createElement("div",{style:{fontSize:10,textAlign:"center"}},p("(This is just a preview and will look different on the actual site)")),React.createElement(i,{block:"wp-ultimate-post-grid/grid-with-filters",attributes:e}))):React.createElement(w,null,React.createElement("h5",null,"WP Ultimate Post Grid - ",p("Grid with Filters")),React.createElement(g,{isPrimary:!0,isLarge:!0,onClick:c},p("Insert Existing Grid"))))},save:function(t){var e=t.attributes;if(e.id){var r=e.dynamic.trim();return'[wpupg-grid-with-filters id="'.concat(e.id,'"').concat(r?" ".concat(r):"","]")}return null}});var E,x,S,P=wp.i18n.__,O=wp.blocks.registerBlockType,R=wp.components,k=R.Button,C=R.Disabled,_=R.PanelBody,j=R.Toolbar,T=R.TextControl,I=wp.element.Fragment;wp.hasOwnProperty("blockEditor")?(E=wp.blockEditor.InspectorControls,x=wp.blockEditor.BlockControls):(E=wp.editor.InspectorControls,x=wp.editor.BlockControls),S=wp.hasOwnProperty("serverSideRender")?wp.serverSideRender:wp.components.ServerSideRender,O("wp-ultimate-post-grid/grid",{title:P("Grid"),description:P("Display a WP Ultimate Post Grid."),icon:"grid-view",keywords:["wpupg"],category:"wp-ultimate-post-grid",supports:{html:!1,align:!0},transforms:{from:[{type:"shortcode",tag:"wpupg-grid",attributes:{id:{type:"string",shortcode:function(t){var e=t.named.id;return(void 0===e?"":e).replace("id","")}},dynamic:{type:"string",shortcode:function(t){var e=t.named;return delete e.id,delete e.align,s(e)}}}}]},edit:function(t){var e=t.attributes,r=t.setAttributes,n=t.className,o=function(){WPUPG_Modal.open("select",{title:P("Insert Grid"),button:P("Insert"),fields:{grid:!0,filters:!1},insertCallback:function(t){r({id:""+t.grid,updated:Date.now()})}},!0)};return React.createElement("div",{className:n},e.id?React.createElement(I,null,React.createElement(x,null,React.createElement(j,{controls:[{icon:"edit",title:P("Change Grid"),onClick:o}]})),React.createElement(E,null,React.createElement(_,{title:P("Grid Details")},React.createElement(T,{label:P("Grid ID"),value:e.id,disabled:!0})),f(e,r)),React.createElement(C,null,React.createElement("div",{style:{fontSize:10,textAlign:"center"}},P("(This is just a preview and will look different on the actual site)")),React.createElement(S,{block:"wp-ultimate-post-grid/grid",attributes:e}))):React.createElement(I,null,React.createElement("h5",null,"WP Ultimate Post Grid - ",P("Grid")),React.createElement(k,{isPrimary:!0,isLarge:!0,onClick:o},P("Insert Existing Grid"))))},save:function(t){var e=t.attributes;if(e.id){var r=e.dynamic.trim();return'[wpupg-grid id="'.concat(e.id,'"').concat(r?" ".concat(r):"","]")}return null}});r(64);var A,L,G,D=wp.i18n.__,M=wp.blocks.registerBlockType,U=wp.components,F=U.Button,N=U.Disabled,B=U.PanelBody,W=U.Toolbar,$=U.TextControl,V=(U.SelectControl,wp.element.Fragment);wp.hasOwnProperty("blockEditor")?(A=wp.blockEditor.InspectorControls,L=wp.blockEditor.BlockControls):(A=wp.editor.InspectorControls,L=wp.editor.BlockControls),G=wp.hasOwnProperty("serverSideRender")?wp.serverSideRender:wp.components.ServerSideRender,M("wp-ultimate-post-grid/filter",{title:D("Grid Filter"),description:D("Display filter for a WP Ultimate Post Grid with filters."),icon:"grid-view",keywords:["wpupg"],category:"wp-ultimate-post-grid",supports:{html:!1,align:!0},transforms:{from:[{type:"shortcode",tag:"wpupg-filter",attributes:{id:{type:"string",shortcode:function(t){var e=t.named.id;return(void 0===e?"":e).replace("id","")}},filter:{type:"string",shortcode:function(t){var e=t.named.filter;return(void 0===e?"":e).replace("filter","")}},dynamic:{type:"string",shortcode:function(t){var e=t.named;return delete e.id,delete e.align,delete e.filter,s(e)}}}}]},edit:function(t){var e=t.attributes,r=t.setAttributes,n=t.className,o=function(){WPUPG_Modal.open("select",{title:D("Insert Grid Filter"),button:D("Insert"),fields:{grid:!0,filter:!0},insertCallback:function(t){r({id:""+t.grid,filter:!0===t.filter?"":""+t.filter,updated:Date.now()})}},!0)};return React.createElement("div",{className:n},e.id?React.createElement(V,null,React.createElement(L,null,React.createElement(W,{controls:[{icon:"edit",title:D("Change Filter"),onClick:o}]})),React.createElement(A,null,React.createElement(B,{title:D("Filter Details")},React.createElement($,{label:D("Grid ID"),value:e.id,disabled:!0}),React.createElement($,{label:D("Filter ID"),value:e.filter?e.filter:D("All Filters"),disabled:!0})),f(e,r,"filter")),React.createElement(N,null,React.createElement(G,{block:"wp-ultimate-post-grid/filter",attributes:e}))):React.createElement(V,null,React.createElement("h5",null,"WP Ultimate Post Grid - ",D("Filter")),React.createElement(F,{isPrimary:!0,isLarge:!0,onClick:o},D("Insert Existing Filter"))))},save:function(t){var e=t.attributes;if(e.id){var r=e.dynamic.trim();return e.filter?'[wpupg-filter id="'.concat(e.id,'" filter="').concat(e.filter,'"').concat(r?" ".concat(r):"","]"):'[wpupg-filter id="'.concat(e.id,'"').concat(r?" ".concat(r):"","]")}return null}});r(27),r(78),r(98),r(99),r(608),r(79),r(844);function z(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function K(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var H,q=wp.i18n.__,X=wp.element.Fragment,Y=wp.editPost,J=Y.PluginSidebar,Q=Y.PluginSidebarMoreMenuItem,Z=wp.compose.compose,tt=wp.data,et=tt.withSelect,rt=tt.withDispatch,nt=wp.components,ot=nt.Panel,it=nt.PanelBody,at=nt.Button,ct=nt.withFocusReturn,ut=nt.TextControl,lt=nt.SelectControl,st=wp.plugins.registerPlugin;H=wp.hasOwnProperty("blockEditor")?wp.blockEditor.MediaUpload:wp.editor.MediaUpload,st("wp-ultimate-post-grid",{render:Z(et((function(t,e){var r=t("core/editor").getEditedPostAttribute("meta");if(!r)return{};var n=r.wpupg_custom_link,o=n instanceof Array?n[0]:n,i=r.wpupg_custom_link_behaviour,a=i instanceof Array?i[0]:i,c=r.wpupg_custom_image,u=c instanceof Array?c[0]:c,l=r.wpupg_custom_image_id;return{meta:r,link:o,linkBehaviour:a,image:u,imageId:l instanceof Array?l[0]:l}})),rt((function(t,e){var r=t("core/editor").editPost;return{onChangeMeta:function(t){var n=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?z(Object(r),!0).forEach((function(e){K(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):z(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({},e.meta,{},t);return r({meta:n})}}})),ct)((function(t){return React.createElement(X,null,React.createElement(Q,{name:"menu-wp-ultimate-post-grid",target:"sidebar-wp-ultimate-post-grid",icon:"grid-view"},"WP Ultimate Post Grid"),React.createElement(J,{name:"sidebar-wp-ultimate-post-grid",title:"WP Ultimate Post Grid",icon:"grid-view"},React.createElement(ot,null,React.createElement(it,{title:q("Custom Grid Link")},React.createElement(ut,{label:q("Custom Link URL"),value:t.link,onChange:function(e){return t.onChangeMeta({wpupg_custom_link:[e]})}}),React.createElement(lt,{label:q("Custom Link Behaviour"),value:t.linkBehaviour,options:[{value:"default",label:q("Use grid default")},{value:"_self",label:q("Open in same tab")},{value:"_blank",label:q("Open in new tab")},{value:"none",label:q("Don't use links")}],onChange:function(e){return t.onChangeMeta({wpupg_custom_link_behaviour:[e]})}})),React.createElement(it,{title:q("Custom Grid Image")},React.createElement(ut,{label:q("Custom Image URL"),value:t.image,onChange:function(e){return t.onChangeMeta({wpupg_custom_image:[e],wpupg_custom_image_id:[0]})}}),React.createElement(ut,{label:q("Custom Image ID"),value:t.imageId?t.imageId:"",disabled:!0}),React.createElement(H,{onSelect:function(e){t.onChangeMeta({wpupg_custom_image:[e.url],wpupg_custom_image_id:[e.id]})},type:"image",value:t.imageId,render:function(t){var e=t.open;return(React.createElement(at,{isDefault:!0,onClick:e},q("Choose Image")))}}),t.image?React.createElement("img",{className:"wpupg-sidebar-custom-image-preview",src:t.image}):null))))}))})},94:function(t,e,r){var n=r(23);t.exports=function(t,e){if(!n(t))return t;var r,o;if(e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;if("function"==typeof(r=t.valueOf)&&!n(o=r.call(t)))return o;if(!e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},95:function(t,e,r){var n,o,i,a=r(241),c=r(12),u=r(23),l=r(34),s=r(24),f=r(122),p=r(114),d=c.WeakMap;if(a){var v=new d,g=v.get,m=v.has,y=v.set;n=function(t,e){return y.call(v,t,e),e},o=function(t){return g.call(v,t)||{}},i=function(t){return m.call(v,t)}}else{var h=f("state");p[h]=!0,n=function(t,e){return l(t,h,e),e},o=function(t){return s(t,h)?t[h]:{}},i=function(t){return s(t,h)}}t.exports={set:n,get:o,has:i,enforce:function(t){return i(t)?o(t):n(t,{})},getterFor:function(t){return function(e){var r;if(!u(e)||(r=o(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return r}}}},96:function(t,e){var r=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:r)(t)}},97:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},98:function(t,e,r){var n=r(14),o=r(15),i=r(28),a=r(70).f,c=r(22),u=o((function(){a(1)}));n({target:"Object",stat:!0,forced:!c||u,sham:!c},{getOwnPropertyDescriptor:function(t,e){return a(i(t),e)}})},99:function(t,e,r){var n=r(14),o=r(22),i=r(182),a=r(28),c=r(70),u=r(134);n({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(t){for(var e,r,n=a(t),o=c.f,l=i(n),s={},f=0;l.length>f;)void 0!==(r=o(n,e=l[f++]))&&u(s,e,r);return s}})}});