Version Description
(2020-11-15) =
- Fixed MariaDB support (removed subqueries from the SQL)
- Fixed migration of imported settings
- Fixed the "post_in" and "postnot_in" options of the glsr_getreviews() helper function
Download this release
Release Info
Developer | geminilabs |
Plugin | Site Reviews |
Version | 5.2.1 |
Comparing to | |
See all releases |
Code changes from version 5.2.0 to 5.2.1
- assets/scripts/site-reviews-admin.js +1 -1
- assets/styles/admin/admin.css +1 -1
- languages/site-reviews-en_US.po +10 -10
- languages/site-reviews.pot +10 -10
- plugin/Commands/ImportSettings.php +2 -0
- plugin/Controllers/MetaboxController.php +1 -0
- plugin/Database/Query.php +6 -5
- plugin/Database/ReviewManager.php +1 -1
- plugin/Database/Sql.php +20 -0
- readme.txt +7 -1
- site-reviews.php +1 -1
- views/partials/editor/metabox-details.php +1 -1
assets/scripts/site-reviews-admin.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
/*! For license information please see site-reviews-admin.js.LICENSE.txt */
|
2 |
-
!function(t){var i={};function n(e){if(i[e])return i[e].exports;var s=i[e]={i:e,l:!1,exports:{}};return t[e].call(s.exports,s,s.exports,n),s.l=!0,s.exports}n.m=t,n.c=i,n.d=function(t,i,e){n.o(t,i)||Object.defineProperty(t,i,{enumerable:!0,get:e})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,i){if(1&i&&(t=n(t)),8&i)return t;if(4&i&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(n.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&i&&"string"!=typeof t)for(var s in t)n.d(e,s,function(i){return t[i]}.bind(null,s));return e},n.n=function(t){var i=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(i,"a",i),i},n.o=function(t,i){return Object.prototype.hasOwnProperty.call(t,i)},n.p="/",n(n.s=8)}([,function(t,i){function n(i){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?t.exports=n=function(t){return typeof t}:t.exports=n=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(i)}t.exports=n},function(t,i,n){var e;!function(n,s,r){"use strict";var o=function(t,i){var n={}.toString.call(t);this.selects="[object String]"===n?s.querySelectorAll(t):"[object NodeList]"===n?t:[t],this.destroy=function(){this.widgets.forEach((function(t){t.u()}))},this.rebuild=function(){this.widgets.forEach((function(t){t.h()}))},this.widgets=[];for(var e=0;e<this.selects.length;e++)if("SELECT"===this.selects[e].tagName&&!this.selects[e]["star-rating"]){var r=new a(this.selects[e],i);void 0!==r.direction&&this.widgets.push(r)}},a=function(t,i){this.el=t,this.v=this.g({},this._,i||{},JSON.parse(t.getAttribute("data-options"))),this.j(),this.stars<1||this.stars>this.v.maxStars||this.h()};a.prototype={_:{classname:"gl-star-rating",clearable:!0,initialText:"Select a Rating",maxStars:10,showText:!0},k:function(){this.S(),this.current=this.selected=this.F(),this.P(),this.A(),this.R(),this.$(this.current),this.L("add"),this.el["star-rating"]=!0},C:function(){this.v.showText&&(this.textEl=this.G(this.widgetEl,{class:this.v.classname+"-text"},!0))},A:function(){var t=this.T(),i=this.G(this.el,{class:this.v.classname+"-stars"},!0);for(var n in t){var e=this.O({"data-value":n,"data-text":t[n]});i.innerHTML+=e.outerHTML}this.widgetEl=i,this.C()},D:function(t){(t<0||isNaN(t))&&(t=0),t>this.stars&&(t=this.stars),this.widgetEl.classList.remove("s"+10*this.current),this.widgetEl.classList.add("s"+10*t),this.v.showText&&(this.textEl.textContent=t<1?this.v.initialText:this.widgetEl.childNodes[t-1].dataset.text),this.current=t},O:function(t){var i=s.createElement("span");for(var n in t=t||{})i.setAttribute(n,t[n]);return i},u:function(){this.L("remove");var t=this.el.parentNode;t.parentNode.replaceChild(this.el,t),delete this.el["star-rating"]},I:function(t,i,n,e){e=e||!1,n.forEach(function(n){this.events&&t[i+"EventListener"](n,this.events[n],e)}.bind(this))},g:function(){var t=[].slice.call(arguments),i=t[0],n=t.slice(1);return Object.keys(n).forEach((function(t){for(var e in n[t])n[t].hasOwnProperty(e)&&(i[e]=n[t][e])})),i},N:function(){var t=!1;try{var i=Object.defineProperty({},"passive",{get:function(){t={passive:!1}}});n.addEventListener("test",null,i)}catch(t){}return t},M:function(t){var i={},n=t.pageX||t.changedTouches[0].pageX,e=this.widgetEl.offsetWidth;return i.ltr=Math.max(n-this.offsetLeft,1),i.rtl=e-i.ltr,Math.min(Math.ceil(i[this.direction]/Math.round(e/this.stars)),this.stars)},T:function(){for(var t=this.el,i={},n={},e=0;e<t.length;e++)this.V(t[e])||(i[t[e].value]=t[e].text);return Object.keys(i).sort().forEach((function(t){n[t]=i[t]})),n},F:function(){return parseInt(this.el.options[Math.max(this.el.selectedIndex,0)].value)||0},L:function(t){var i=this.el.closest("form");i&&"FORM"===i.tagName&&this.I(i,t,["reset"]),"add"===t&&this.el.disabled||(this.I(this.el,t,["change","keydown"]),this.I(this.widgetEl,t,["mousedown","mouseleave","mousemove","mouseover","touchend","touchmove","touchstart"],this.N()))},S:function(){this.events={change:this.Z.bind(this),keydown:this.W.bind(this),mousedown:this.q.bind(this),mouseleave:this.B.bind(this),mousemove:this.H.bind(this),mouseover:this.K.bind(this),reset:this.U.bind(this),touchend:this.q.bind(this),touchmove:this.H.bind(this),touchstart:this.K.bind(this)}},G:function(t,i,n){var e=this.O(i);return t.parentNode.insertBefore(e,!0===n?t.nextSibling:t),e},V:function(t){return null===t.getAttribute("value")||""===t.value},Z:function(){this.D(this.F())},W:function(t){if(~["ArrowLeft","ArrowRight"].indexOf(t.key)){var i="ArrowLeft"===t.key?-1:1;"rtl"===this.direction&&(i*=-1),this.$(Math.min(Math.max(this.F()+i,0),this.stars)),this.J()}},q:function(t){t.preventDefault();var i=this.M(t);0!==this.current&&parseFloat(this.selected)===i&&this.v.clearable&&(i=0),this.$(i),this.J()},B:function(t){t.preventDefault(),this.D(this.selected)},H:function(t){t.preventDefault(),this.D(this.M(t))},K:function(t){t.preventDefault();var i=this.widgetEl.getBoundingClientRect();this.offsetLeft=i.left+s.body.scrollLeft},U:function(){var t=this.el.querySelector("[selected]"),i=t?t.value:"";this.el.value=i,this.selected=parseInt(i)||0,this.D(i)},h:function(){this.el.parentNode.classList.contains(this.v.classname)&&this.u(),this.k()},R:function(){var t=this.el.parentNode;this.direction=n.getComputedStyle(t,null).getPropertyValue("direction"),t.classList.add(this.v.classname+"-"+this.direction)},$:function(t){this.el.value=this.selected=t,this.D(t)},j:function(){var t=this.el;this.stars=0;for(var i=0;i<t.length;i++)if(!this.V(t[i])){if(isNaN(parseFloat(t[i].value))||!isFinite(t[i].value))return void(this.stars=0);this.stars++}},J:function(){this.el.dispatchEvent(new Event("change"))},P:function(){this.G(this.el,{class:this.v.classname,"data-star-rating":""}).appendChild(this.el)}},void 0===(e=function(){return o}.apply(i,[]))||(t.exports=e)}(window,document)},function(t,i,n){(function(i){var n=function(t){var i=/\blang(?:uage)?-([\w-]+)\b/i,n=0,e={manual:t.Prism&&t.Prism.manual,disableWorkerMessageHandler:t.Prism&&t.Prism.disableWorkerMessageHandler,util:{encode:function t(i){return i instanceof s?new s(i.type,t(i.content),i.alias):Array.isArray(i)?i.map(t):i.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(t){return Object.prototype.toString.call(t).slice(8,-1)},objId:function(t){return t.__id||Object.defineProperty(t,"__id",{value:++n}),t.__id},clone:function t(i,n){var s,r;switch(n=n||{},e.util.type(i)){case"Object":if(r=e.util.objId(i),n[r])return n[r];for(var o in s={},n[r]=s,i)i.hasOwnProperty(o)&&(s[o]=t(i[o],n));return s;case"Array":return r=e.util.objId(i),n[r]?n[r]:(s=[],n[r]=s,i.forEach((function(i,e){s[e]=t(i,n)})),s);default:return i}},getLanguage:function(t){for(;t&&!i.test(t.className);)t=t.parentElement;return t?(t.className.match(i)||[,"none"])[1].toLowerCase():"none"},currentScript:function(){if("undefined"==typeof document)return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(e){var t=(/at [^(\r\n]*\((.*):.+:.+\)$/i.exec(e.stack)||[])[1];if(t){var i=document.getElementsByTagName("script");for(var n in i)if(i[n].src==t)return i[n]}return null}},isActive:function(t,i,n){for(var e="no-"+i;t;){var s=t.classList;if(s.contains(i))return!0;if(s.contains(e))return!1;t=t.parentElement}return!!n}},languages:{extend:function(t,i){var n=e.util.clone(e.languages[t]);for(var s in i)n[s]=i[s];return n},insertBefore:function(t,i,n,s){var r=(s=s||e.languages)[t],o={};for(var a in r)if(r.hasOwnProperty(a)){if(a==i)for(var u in n)n.hasOwnProperty(u)&&(o[u]=n[u]);n.hasOwnProperty(a)||(o[a]=r[a])}var c=s[t];return s[t]=o,e.languages.DFS(e.languages,(function(i,n){n===c&&i!=t&&(this[i]=o)})),o},DFS:function t(i,n,s,r){r=r||{};var o=e.util.objId;for(var a in i)if(i.hasOwnProperty(a)){n.call(i,a,i[a],s||a);var u=i[a],c=e.util.type(u);"Object"!==c||r[o(u)]?"Array"!==c||r[o(u)]||(r[o(u)]=!0,t(u,n,a,r)):(r[o(u)]=!0,t(u,n,null,r))}}},plugins:{},highlightAll:function(t,i){e.highlightAllUnder(document,t,i)},highlightAllUnder:function(t,i,n){var s={callback:n,container:t,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};e.hooks.run("before-highlightall",s),s.elements=Array.prototype.slice.apply(s.container.querySelectorAll(s.selector)),e.hooks.run("before-all-elements-highlight",s);for(var r,o=0;r=s.elements[o++];)e.highlightElement(r,!0===i,s.callback)},highlightElement:function(n,s,r){var o=e.util.getLanguage(n),a=e.languages[o];n.className=n.className.replace(i,"").replace(/\s+/g," ")+" language-"+o;var u=n.parentElement;u&&"pre"===u.nodeName.toLowerCase()&&(u.className=u.className.replace(i,"").replace(/\s+/g," ")+" language-"+o);var c={element:n,language:o,grammar:a,code:n.textContent};function h(t){c.highlightedCode=t,e.hooks.run("before-insert",c),c.element.innerHTML=c.highlightedCode,e.hooks.run("after-highlight",c),e.hooks.run("complete",c),r&&r.call(c.element)}if(e.hooks.run("before-sanity-check",c),!c.code)return e.hooks.run("complete",c),void(r&&r.call(c.element));if(e.hooks.run("before-highlight",c),c.grammar)if(s&&t.Worker){var l=new Worker(e.filename);l.onmessage=function(t){h(t.data)},l.postMessage(JSON.stringify({language:c.language,code:c.code,immediateClose:!0}))}else h(e.highlight(c.code,c.grammar,c.language));else h(e.util.encode(c.code))},highlight:function(t,i,n){var r={code:t,grammar:i,language:n};return e.hooks.run("before-tokenize",r),r.tokens=e.tokenize(r.code,r.grammar),e.hooks.run("after-tokenize",r),s.stringify(e.util.encode(r.tokens),r.language)},tokenize:function(t,i){var n=i.rest;if(n){for(var u in n)i[u]=n[u];delete i.rest}var c=new r;return o(c,c.head,t),function t(i,n,r,u,c,h){for(var l in r)if(r.hasOwnProperty(l)&&r[l]){var d=r[l];d=Array.isArray(d)?d:[d];for(var f=0;f<d.length;++f){if(h&&h.cause==l+","+f)return;var p=d[f],v=p.inside,g=!!p.lookbehind,m=!!p.greedy,y=0,b=p.alias;if(m&&!p.pattern.global){var w=p.pattern.toString().match(/[imsuy]*$/)[0];p.pattern=RegExp(p.pattern.source,w+"g")}for(var _=p.pattern||p,j=u.next,k=c;j!==n.tail&&!(h&&k>=h.reach);k+=j.value.length,j=j.next){var S=j.value;if(n.length>i.length)return;if(!(S instanceof s)){var Q=1;if(m&&j!=n.tail.prev){if(_.lastIndex=k,!(R=_.exec(i)))break;var x=R.index+(g&&R[1]?R[1].length:0),F=R.index+R[0].length,P=k;for(P+=j.value.length;x>=P;)j=j.next,P+=j.value.length;if(P-=j.value.length,k=P,j.value instanceof s)continue;for(var A=j;A!==n.tail&&(P<F||"string"==typeof A.value);A=A.next)Q++,P+=A.value.length;Q--,S=i.slice(k,P),R.index-=k}else{_.lastIndex=0;var R=_.exec(S)}if(R){g&&(y=R[1]?R[1].length:0);x=R.index+y;var $=R[0].slice(y),L=(F=x+$.length,S.slice(0,x)),C=S.slice(F),z=k+S.length;h&&z>h.reach&&(h.reach=z);var E=j.prev;L&&(E=o(n,E,L),k+=L.length),a(n,E,Q);var G=new s(l,v?e.tokenize($,v):$,b,$);j=o(n,E,G),C&&o(n,j,C),Q>1&&t(i,n,r,j.prev,k,{cause:l+","+f,reach:z})}}}}}}(t,c,i,c.head,0),function(t){var i=[],n=t.head.next;for(;n!==t.tail;)i.push(n.value),n=n.next;return i}(c)},hooks:{all:{},add:function(t,i){var n=e.hooks.all;n[t]=n[t]||[],n[t].push(i)},run:function(t,i){var n=e.hooks.all[t];if(n&&n.length)for(var s,r=0;s=n[r++];)s(i)}},Token:s};function s(t,i,n,e){this.type=t,this.content=i,this.alias=n,this.length=0|(e||"").length}function r(){var t={value:null,prev:null,next:null},i={value:null,prev:t,next:null};t.next=i,this.head=t,this.tail=i,this.length=0}function o(t,i,n){var e=i.next,s={value:n,prev:i,next:e};return i.next=s,e.prev=s,t.length++,s}function a(t,i,n){for(var e=i.next,s=0;s<n&&e!==t.tail;s++)e=e.next;i.next=e,e.prev=i,t.length-=s}if(t.Prism=e,s.stringify=function t(i,n){if("string"==typeof i)return i;if(Array.isArray(i)){var s="";return i.forEach((function(i){s+=t(i,n)})),s}var r={type:i.type,content:t(i.content,n),tag:"span",classes:["token",i.type],attributes:{},language:n},o=i.alias;o&&(Array.isArray(o)?Array.prototype.push.apply(r.classes,o):r.classes.push(o)),e.hooks.run("wrap",r);var a="";for(var u in r.attributes)a+=" "+u+'="'+(r.attributes[u]||"").replace(/"/g,""")+'"';return"<"+r.tag+' class="'+r.classes.join(" ")+'"'+a+">"+r.content+"</"+r.tag+">"},!t.document)return t.addEventListener?(e.disableWorkerMessageHandler||t.addEventListener("message",(function(i){var n=JSON.parse(i.data),s=n.language,r=n.code,o=n.immediateClose;t.postMessage(e.highlight(r,e.languages[s],s)),o&&t.close()}),!1),e):e;var u=e.util.currentScript();function c(){e.manual||e.highlightAll()}if(u&&(e.filename=u.src,u.hasAttribute("data-manual")&&(e.manual=!0)),!e.manual){var h=document.readyState;"loading"===h||"interactive"===h&&u&&u.defer?document.addEventListener("DOMContentLoaded",c):window.requestAnimationFrame?window.requestAnimationFrame(c):window.setTimeout(c,16)}return e}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});t.exports&&(t.exports=n),void 0!==i&&(i.Prism=n)}).call(this,n(9))},,,,,function(t,i,n){t.exports=n(26)},function(t,i){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,i){Prism.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|interface|extends|implements|trait|instanceof|new)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\b/,boolean:/\b(?:true|false)\b/,function:/\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+\.?\d*|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}},function(t,i){Prism.languages.markup={comment:/<!--[\s\S]*?-->/,prolog:/<\?[\s\S]+?\?>/,doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/,name:/[^\s<>'"]+/}},cdata:/<!\[CDATA\[[\s\S]*?]]>/i,tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},Prism.languages.markup.tag.inside["attr-value"].inside.entity=Prism.languages.markup.entity,Prism.languages.markup.doctype.inside["internal-subset"].inside=Prism.languages.markup,Prism.hooks.add("wrap",(function(t){"entity"===t.type&&(t.attributes.title=t.content.replace(/&/,"&"))})),Object.defineProperty(Prism.languages.markup.tag,"addInlined",{value:function(t,i){var n={};n["language-"+i]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:Prism.languages[i]},n.cdata=/^<!\[CDATA\[|\]\]>$/i;var e={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}};e["language-"+i]={pattern:/[\s\S]+/,inside:Prism.languages[i]};var s={};s[t]={pattern:RegExp(/(<__[\s\S]*?>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,(function(){return t})),"i"),lookbehind:!0,greedy:!0,inside:e},Prism.languages.insertBefore("markup","cdata",s)}}),Prism.languages.html=Prism.languages.markup,Prism.languages.mathml=Prism.languages.markup,Prism.languages.svg=Prism.languages.markup,Prism.languages.xml=Prism.languages.extend("markup",{}),Prism.languages.ssml=Prism.languages.xml,Prism.languages.atom=Prism.languages.xml,Prism.languages.rss=Prism.languages.xml},function(t,i){Prism.languages.javascript=Prism.languages.extend("clike",{"class-name":[Prism.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])[_$A-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\.(?:prototype|constructor))/,lookbehind:!0}],keyword:[{pattern:/((?:^|})\s*)(?:catch|finally)\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|for|from|function|(?:get|set)(?=\s*[\[$\w\xA0-\uFFFF])|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],number:/\b(?:(?:0[xX](?:[\dA-Fa-f](?:_[\dA-Fa-f])?)+|0[bB](?:[01](?:_[01])?)+|0[oO](?:[0-7](?:_[0-7])?)+)n?|(?:\d(?:_\d)?)+n|NaN|Infinity)\b|(?:\b(?:\d(?:_\d)?)+\.?(?:\d(?:_\d)?)*|\B\.(?:\d(?:_\d)?)+)(?:[Ee][+-]?(?:\d(?:_\d)?)+)?/,function:/#?[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),Prism.languages.javascript["class-name"][0].pattern=/(\b(?:class|interface|extends|implements|instanceof|new)\s+)[\w.\\]+/,Prism.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*]|\\.|[^/\\\[\r\n])+\/[gimyus]{0,6}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:Prism.languages.regex},"regex-flags":/[a-z]+$/,"regex-delimiter":/^\/|\/$/}},"function-variable":{pattern:/#?[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+[_$A-Za-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*)?\s*\(\s*)(?!\s)(?:[^()]|\([^()]*\))+?(?=\s*\))/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/[_$a-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*=>)/i,inside:Prism.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()]|\([^()]*\))+?(?=\s*\)\s*=>)/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:[_$A-Za-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()]|\([^()]*\))+?(?=\s*\)\s*\{)/,lookbehind:!0,inside:Prism.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),Prism.languages.insertBefore("javascript","string",{"template-string":{pattern:/`(?:\\[\s\S]|\${(?:[^{}]|{(?:[^{}]|{[^}]*})*})+}|(?!\${)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\${(?:[^{}]|{(?:[^{}]|{[^}]*})*})+}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\${|}$/,alias:"punctuation"},rest:Prism.languages.javascript}},string:/[\s\S]+/}}}),Prism.languages.markup&&Prism.languages.markup.tag.addInlined("script","javascript"),Prism.languages.js=Prism.languages.javascript},function(t,i){!function(t){function i(t,i){return"___"+t.toUpperCase()+i+"___"}Object.defineProperties(t.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,e,s,r){if(n.language===e){var o=n.tokenStack=[];n.code=n.code.replace(s,(function(t){if("function"==typeof r&&!r(t))return t;for(var s,a=o.length;-1!==n.code.indexOf(s=i(e,a));)++a;return o[a]=t,s})),n.grammar=t.languages.markup}}},tokenizePlaceholders:{value:function(n,e){if(n.language===e&&n.tokenStack){n.grammar=t.languages[e];var s=0,r=Object.keys(n.tokenStack);!function o(a){for(var u=0;u<a.length&&!(s>=r.length);u++){var c=a[u];if("string"==typeof c||c.content&&"string"==typeof c.content){var h=r[s],l=n.tokenStack[h],d="string"==typeof c?c:c.content,f=i(e,h),p=d.indexOf(f);if(p>-1){++s;var v=d.substring(0,p),g=new t.Token(e,t.tokenize(l,n.grammar),"language-"+e,l),m=d.substring(p+f.length),y=[];v&&y.push.apply(y,o([v])),y.push(g),m&&y.push.apply(y,o([m])),"string"==typeof c?a.splice.apply(a,[u,1].concat(y)):c.content=y}}else c.content&&o(c.content)}return a}(n.tokens)}}}})}(Prism)},function(t,i){!function(t){t.languages.php=t.languages.extend("clike",{keyword:/\b(?:__halt_compiler|abstract|and|array|as|break|callable|case|catch|class|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|eval|exit|extends|final|finally|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|new|or|parent|print|private|protected|public|require|require_once|return|static|switch|throw|trait|try|unset|use|var|while|xor|yield)\b/i,boolean:{pattern:/\b(?:false|true)\b/i,alias:"constant"},constant:[/\b[A-Z_][A-Z0-9_]*\b/,/\b(?:null)\b/i],comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0}}),t.languages.insertBefore("php","string",{"shell-comment":{pattern:/(^|[^\\])#.*/,lookbehind:!0,alias:"comment"}}),t.languages.insertBefore("php","comment",{delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"}}),t.languages.insertBefore("php","keyword",{variable:/\$+(?:\w+\b|(?={))/i,package:{pattern:/(\\|namespace\s+|use\s+)[\w\\]+/,lookbehind:!0,inside:{punctuation:/\\/}}}),t.languages.insertBefore("php","operator",{property:{pattern:/(->)[\w]+/,lookbehind:!0}});var i={pattern:/{\$(?:{(?:{[^{}]+}|[^{}]+)}|[^{}])+}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)*)/,lookbehind:!0,inside:t.languages.php};t.languages.insertBefore("php","string",{"nowdoc-string":{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,greedy:!0,alias:"string",inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},"heredoc-string":{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,greedy:!0,alias:"string",inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:i}},"single-quoted-string":{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0,alias:"string"},"double-quoted-string":{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,alias:"string",inside:{interpolation:i}}}),delete t.languages.php.string,t.hooks.add("before-tokenize",(function(i){if(/<\?/.test(i.code)){t.languages["markup-templating"].buildPlaceholders(i,"php",/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#)(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|\/\*[\s\S]*?(?:\*\/|$))*?(?:\?>|$)/gi)}})),t.hooks.add("after-tokenize",(function(i){t.languages["markup-templating"].tokenizePlaceholders(i,"php")}))}(Prism)},function(t,i){!function(t){var i=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/;t.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-]+[\s\S]*?(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\((?!\s*\))\s*)(?:[^()]|\((?:[^()]|\([^()]*\))*\))+?(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+i.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+i.source+"$"),alias:"url"}}},selector:RegExp("[^{}\\s](?:[^{};\"']|"+i.source+")*?(?=\\s*\\{)"),string:{pattern:i,greedy:!0},property:/[-_a-z\xA0-\uFFFF][-\w\xA0-\uFFFF]*(?=\s*:)/i,important:/!important\b/i,function:/[-a-z0-9]+(?=\()/i,punctuation:/[(){};:,]/},t.languages.css.atrule.inside.rest=t.languages.css;var n=t.languages.markup;n&&(n.tag.addInlined("style","css"),t.languages.insertBefore("inside","attr-value",{"style-attr":{pattern:/\s*style=("|')(?:\\[\s\S]|(?!\1)[^\\])*\1/i,inside:{"attr-name":{pattern:/^\s*style/i,inside:n.tag.inside},punctuation:/^\s*=\s*['"]|['"]\s*$/,"attr-value":{pattern:/.+/i,inside:t.languages.css}},alias:"language-css"}},n.tag))}(Prism)},function(t,i){!function(){if("undefined"!=typeof self&&self.Prism&&self.document){var t=/\n(?!$)/g,i=Prism.plugins.lineNumbers={getLine:function(t,i){if("PRE"===t.tagName&&t.classList.contains("line-numbers")){var n=t.querySelector(".line-numbers-rows"),e=parseInt(t.getAttribute("data-start"),10)||1,s=e+(n.children.length-1);i<e&&(i=e),i>s&&(i=s);var r=i-e;return n.children[r]}},resize:function(t){s([t])},assumeViewportIndependence:!0},n=function(t){return t?window.getComputedStyle?getComputedStyle(t):t.currentStyle||null:null},e=void 0;window.addEventListener("resize",(function(){i.assumeViewportIndependence&&e===window.innerWidth||(e=window.innerWidth,s(Array.prototype.slice.call(document.querySelectorAll("pre.line-numbers"))))})),Prism.hooks.add("complete",(function(i){if(i.code){var n=i.element,e=n.parentNode;if(e&&/pre/i.test(e.nodeName)&&!n.querySelector(".line-numbers-rows")&&Prism.util.isActive(n,"line-numbers")){n.classList.remove("line-numbers"),e.classList.add("line-numbers");var r,o=i.code.match(t),a=o?o.length+1:1,u=new Array(a+1).join("<span></span>");(r=document.createElement("span")).setAttribute("aria-hidden","true"),r.className="line-numbers-rows",r.innerHTML=u,e.hasAttribute("data-start")&&(e.style.counterReset="linenumber "+(parseInt(e.getAttribute("data-start"),10)-1)),i.element.appendChild(r),s([e]),Prism.hooks.run("line-numbers",i)}}})),Prism.hooks.add("line-numbers",(function(t){t.plugins=t.plugins||{},t.plugins.lineNumbers=!0}))}function s(i){if(0!=(i=i.filter((function(t){var i=n(t)["white-space"];return"pre-wrap"===i||"pre-line"===i}))).length){var e=i.map((function(i){var n=i.querySelector("code"),e=i.querySelector(".line-numbers-rows");if(n&&e){var s=i.querySelector(".line-numbers-sizer"),r=n.textContent.split(t);s||((s=document.createElement("span")).className="line-numbers-sizer",n.appendChild(s)),s.innerHTML="0",s.style.display="block";var o=s.getBoundingClientRect().height;return s.innerHTML="",{element:i,lines:r,lineHeights:[],oneLinerHeight:o,sizer:s}}})).filter(Boolean);e.forEach((function(t){var i=t.sizer,n=t.lines,e=t.lineHeights,s=t.oneLinerHeight;e[n.length-1]=void 0,n.forEach((function(t,n){if(t&&t.length>1){var r=i.appendChild(document.createElement("span"));r.style.display="block",r.textContent=t}else e[n]=s}))})),e.forEach((function(t){for(var i=t.sizer,n=t.lineHeights,e=0,s=0;s<n.length;s++)void 0===n[s]&&(n[s]=i.children[e++].getBoundingClientRect().height)})),e.forEach((function(t){var i=t.sizer,n=t.element.querySelector(".line-numbers-rows");i.style.display="none",i.innerHTML="",t.lineHeights.forEach((function(t,i){n.children[i].style.height=t+"px"}))}))}}}()},,,,,,,,,,function(t,i,n){"use strict";n.r(i);var e=function(t){return this.data={},this.form=jQuery(t),this.pushes={},this.init()};e.prototype={patterns:{validate:/^[a-z_-][a-z0-9_-]*(?:\[(?:\d*|[a-z0-9_-]+)\])*$/i,key:/[a-z0-9_-]+|(?=\[\])/gi,named:/^[a-z0-9_-]+$/i,push:/^$/,fixed:/^\d+$/},addPair:function(t){this.patterns.validate.test(t.name)&&(this.data=jQuery.extend(!0,this.data,this.makeObject(t.name,this.encode(t))))},build:function(t,i,n){return t[i]=n,t},encode:function(t){switch(jQuery('[name="'+t.name+'"]',this.form).attr("type")){case"checkbox":return"on"===t.value||t.value;default:return t.value}},incrementPush:function(t){return void 0===this.pushes[t]&&(this.pushes[t]=0),this.pushes[t]++},init:function(){var t=this.form.serializeArray();if(jQuery.isArray(t))for(var i=0,n=t.length;i<n;i++)this.addPair(t[i]);return this.data},makeObject:function(t,i){for(var n,e=t.match(this.patterns.key);void 0!==(n=e.pop());)if(this.patterns.push.test(n)){var s=this.incrementPush(t.replace(/\[\]$/,""));i=this.build([],s,i)}else this.patterns.fixed.test(n)?i=this.build([],n,i):this.patterns.named.test(n)&&(i=this.build({},n,i));return i}};var s=e,r=function(t,i,n){this.event=i||null,this.form=n||null,this.notice=null,this.request=t||{}};r.prototype={post:function(t){this.event?this.Y(t):this.X(t)},tt:function(t){var i={action:GLSR.action,_ajax_request:!0};if(this.form){var n=new s(this.form);n[GLSR.nameprefix]&&(this.request=n[GLSR.nameprefix])}return this.it(t),i[GLSR.nameprefix]=this.request,i},it:function(t){this.request._nonce||(GLSR.nonce[this.request._action]?this.request._nonce=GLSR.nonce[this.request._action]:t&&(this.request._nonce=t.closest("form").find("#_wpnonce").val()))},X:function(t,i){jQuery.post(GLSR.ajaxurl,this.tt(i)).done((function(n){"function"==typeof t&&t(n.data,n.success),i&&i.prop("disabled",!1)})).always((function(t){t.data?t.data.notices&&GLSR.notices.add(t.data.notices):GLSR.notices.add('<div class="notice notice-error inline is-dismissible"><p>Unknown error.</p></div>')}))},Y:function(t){this.event.preventDefault();var i=jQuery(this.event.currentTarget);i.is(":disabled")||(i.prop("disabled",!0),this.X(t,i))}};var o=r,a=n(1),u=n.n(a),c=function(){"object"===u()(jQuery.wp)&&"function"==typeof jQuery.wp.wpColorPicker&&jQuery(document).find("input[type=text].color-picker-hex").each((function(){jQuery(this).wpColorPicker(jQuery(this).data("colorpicker")||{})}))},h=function(t){this.el=document.querySelector(t),this.el&&(this.depends=this.el.querySelectorAll("[data-depends]"),this.depends.length&&this.k())};h.prototype={nt:function(t){var i=t.getAttribute("data-depends");if(i)try{return JSON.parse(i)}catch(t){return}},k:function(){for(var t=this.el.elements,i=0;i<t.length;i++)~["INPUT","SELECT"].indexOf(t[i].nodeName)&&t[i].addEventListener("change",this.Z.bind(this))},et:function(t,i){var n=!1;i=[].concat(i);var e=this.el.querySelectorAll('[name="'+t+'"]');return[].map.call(e,function(t){var e=~this.st(i).indexOf(this.rt(t.value));~["checkbox","radio"].indexOf(t.type)?t.checked&&e&&(n=!0):e&&(n=!0)}.bind(this)),n},rt:function(t){return!!~["true","on","yes","1"].indexOf(t)||!~["false","off","no","0"].indexOf(t)&&t},st:function(t){return t.map(this.rt)},Z:function(t){this.depends.forEach(function(i){var n=this.nt(i);if(n&&~n.map((function(t){return t.name})).indexOf(t.currentTarget.name)){var e=!0;n.forEach(function(t){this.et(t.name,t.value)||(e=!1)}.bind(this)),this.ot(i,e)}}.bind(this))},ot:function(t,i){var n=t.closest(".glsr-setting-field");n&&n.classList[i?"remove":"add"]("hidden")}};var l=h,d=function(){jQuery(".glsr-metabox-field .glsr-toggle__input").on("change",this.at.bind(this)),jQuery(".glsr-metabox-field input[type=url]").on("change",this.ut.bind(this))};d.prototype={ut:function(t){var i=jQuery(t.currentTarget);this.ct(i.parent().find("img"),i.val())},at:function(t){var i=t.currentTarget.checked;jQuery(".glsr-input-value").each(function(t,n){if(i)jQuery(n).data("value",n.value);else{if(n.value=jQuery(n).data("value"),"url"!==n.type)return;this.ct(jQuery(n).parent().find("img"),n.value)}}.bind(this)),jQuery(".glsr-input-value").prop("disabled",!i),GLSR.stars.rebuild()},ct:function(t,i){if(t){var n=new Image;n.src=i,n.onerror=function(){t.attr("src",t.data("fallback"))},n.onload=function(){t.attr("src",n.src)}}}};var f=d,p=function(){this.k()};p.prototype={add:function(t){t&&(jQuery("#glsr-notices").length||(jQuery("#message.notice").remove(),jQuery("hr.wp-header-end").after('<div id="glsr-notices" />')),jQuery("#glsr-notices").html(t),jQuery(document).trigger("wp-updates-notice-added"))},k:function(){jQuery(".glsr-notice[data-dismiss]").on("click.wp-dismiss-notice",this.ht.bind(this))},ht:function(t){var i={};i[GLSR.nameprefix]={_action:"dismiss-notice",notice:jQuery(t.currentTarget).data("dismiss")},wp.ajax.post(GLSR.action,i)}};var v=p,g=function(){this.el=jQuery("#pinned-status-select"),this.el&&(this.cancel=jQuery("a.cancel-pinned-status"),this.cancel.on("click",this.lt.bind(this)),this.edit=jQuery("a.edit-pinned-status"),this.edit.on("click",this.dt.bind(this)),this.save=jQuery("a.save-pinned-status"),this.save.on("click",this.ft.bind(this))),jQuery("td.column-is_pinned i.pin-review").on("click",this.pt.bind(this))};g.prototype={vt:function(){this.el.slideUp("fast"),this.edit.show().focus()},lt:function(t){t.preventDefault(),this.vt(),this.el.find("select").val("0"===jQuery("#hidden-pinned-status").val()?1:0)},dt:function(t){t.preventDefault(),this.el.is(":hidden")&&(this.el.slideDown("fast",function(){this.el.find("select").focus()}.bind(this)),this.edit.hide())},ft:function(t){t.preventDefault(),this.vt(),this.target=t.currentTarget;var i={_action:"toggle-pinned",id:jQuery("#post_ID").val(),pinned:jQuery("#pinned-status").val()};new o(i).post(this.gt.bind(this))},pt:function(t){t.preventDefault(),this.target=t.currentTarget;var i={_action:"toggle-pinned",id:t.currentTarget.getAttribute("data-id")};jQuery(this.target).addClass("spinner is-active").removeClass("dashicons-sticky"),new o(i).post(this.yt.bind(this))},gt:function(t){jQuery("#pinned-status").val(0|!t.pinned),jQuery("#hidden-pinned-status").val(0|t.pinned),jQuery("#pinned-status-text").text(t.pinned?this.target.dataset.yes:this.target.dataset.no),GLSR.notices.add(t.notices)},yt:function(t){this.target.classList[t.pinned?"add":"remove"]("pinned"),jQuery(this.target).removeClass("spinner is-active").addClass("dashicons-sticky")}};var m=g,y=function(){jQuery.each(GLSR.pointers,function(t,i){this.k(i)}.bind(this))};y.prototype={bt:function(t){jQuery.post(GLSR.ajaxurl,{action:"dismiss-wp-pointer",pointer:t})},k:function(t){jQuery(t.target).pointer({content:t.options.content,position:t.options.position,close:this.bt.bind(null,t.id)}).pointer("open").pointer("sendToTop"),jQuery(document).on("wp-window-resized",(function(){jQuery(t.target).pointer("reposition")}))}};var b=y,w=n(3),j=n.n(w),k=(n(10),n(11),n(12),n(13),n(14),n(15),n(16),function(t,i){this.el=jQuery(t),this.options=i,this.searchTerm=null,this.k()});k.prototype={defaults:{action:null,exclude:[],onInit:null,onResultClick:null,results:{},selected:-1,selectedClass:"glsr-selected-result",selectorEntries:".glsr-strings-table tbody",selectorResults:".glsr-search-results",selectorSearch:".glsr-search-input"},k:function(){this.options=jQuery.extend({},this.defaults,this.options),this.el.length&&(this.options.entriesEl=this.el.parent().find(this.options.selectorEntries),this.options.resultsEl=this.el.find(this.options.selectorResults),this.options.searchEl=this.el.find(this.options.selectorSearch),this.options.searchEl.attr("aria-describedby","live-search-desc"),"function"==typeof this.options.onInit&&this.options.onInit.call(this),this.S())},S:function(){this.options.searchEl.on("input",_.debounce(this.wt.bind(this),500)),this.options.searchEl.on("keyup",this._t.bind(this)),this.options.searchEl.on("keydown keypress",(function(t){GLSR.keys.ENTER===t.which&&t.preventDefault()})),jQuery(document).on("click",this.jt.bind(this)),jQuery(document).on("keydown",this.kt.bind(this))},St:function(){void 0!==this.searchRequest&&this.searchRequest.abort()},Qt:function(){this.St(),this.options.resultsEl.empty(),this.options.resultsEl.removeClass("is-active"),this.el.removeClass("is-active"),jQuery("body").removeClass("glsr-focus")},xt:function(t){var i=this.options.entriesEl.children("tr").eq(t),n=this;i.find("td").css({backgroundColor:"#faafaa"}),i.fadeOut(350,(function(){jQuery(this).remove(),n.options.results={},n.Ft(),n.Pt()}))},At:function(t){jQuery("body").addClass("glsr-focus"),this.options.resultsEl.append(t),this.options.resultsEl.children("span").on("click",this.Rt.bind(this))},$t:function(){this.options.entriesEl.on("click","a.delete",this.Lt.bind(this)),this.options.entriesEl.sortable({items:"tr",tolerance:"pointer",start:function(t,i){i.placeholder.height(i.helper[0].scrollHeight)},sort:function(t,i){var n=t.pageY-jQuery(this).offsetParent().offset().top-i.helper.outerHeight(!0)/2;i.helper.css({top:n+"px"})}})},Ct:function(t){this.options.selected+=t,this.options.results.removeClass(this.options.selectedClass),this.options.selected<0&&(this.options.selected=-1,this.options.searchEl.focus()),this.options.selected>=this.options.results.length&&(this.options.selected=this.options.results.length-1),this.options.selected>=0&&this.options.results.eq(this.options.selected).addClass(this.options.selectedClass).focus()},jt:function(t){jQuery(t.target).find(this.el).length&&jQuery("body").hasClass("glsr-focus")&&this.Qt()},kt:function(t){if(!jQuery.isEmptyObject(this.options.results)){if(GLSR.keys.ESC===t.which&&this.Qt(),GLSR.keys.ENTER===t.which||GLSR.keys.SPACE===t.which){var i=this.options.resultsEl.find("."+this.options.selectedClass);i&&i.trigger("click")}GLSR.keys.UP===t.which&&(t.preventDefault(),this.Ct(-1)),GLSR.keys.DOWN===t.which&&(t.preventDefault(),this.Ct(1))}},Lt:function(t){t.preventDefault(),this.xt(jQuery(t.currentTarget).closest("tr").index())},Rt:function(t){t.preventDefault(),"function"==typeof this.options.onResultClick&&this.options.onResultClick.call(this,t),this.Qt()},wt:function(t){if(this.St(),this.searchTerm===t.currentTarget.value&&this.options.results.length)return this.At(this.options.results);if(this.options.resultsEl.empty(),this.options.selected=-1,this.searchTerm=t.currentTarget.value,""===this.searchTerm)return this.zt();this.el.addClass("is-active");var i={};i[GLSR.nameprefix]={_action:this.options.action,_nonce:this.el.find("#_search_nonce").val(),exclude:this.options.exclude,search:this.searchTerm},this.searchRequest=wp.ajax.post(GLSR.action,i).done(function(t){this.el.removeClass("is-active"),this.At(t.items?t.items:t.empty),this.options.results=this.options.resultsEl.children(),this.options.resultsEl.addClass("is-active"),delete this.searchRequest}.bind(this))},_t:function(t){GLSR.keys.ESC===t.which&&this.zt(),GLSR.keys.ENTER===t.which&&(this.wt(t),t.preventDefault())},Et:function(t){t.preventDefault();var i=jQuery(t.currentTarget).closest(".glsr-assigned-entry");i.find("a").css({color:"#c00"}),i.fadeOut("fast",(function(){i.remove()}))},Ft:function(){var t=this;this.options.exclude=[],this.options.entriesEl.children("tr").each((function(i){jQuery(this).find(".glsr-string-td2").children().filter(":input").each((function(){var n=jQuery(this),e=n.attr("name").replace(/\[\d+\]/i,"["+i+"]");n.attr("name",e),n.is("[data-id]")&&t.options.exclude.push({id:n.val()})}))}))},zt:function(){this.Qt(),this.options.results={},this.options.searchEl.val("")},Pt:function(){var t=this.options.entriesEl.children().length>0?"remove":"add";this.options.entriesEl.parent()[t+"Class"]("glsr-hidden")}};var S=k,Q=function(t){this.current=null,this.editor=null,this.create=function(t){if(this.editor=tinymce.get(t),this.editor){var i={_action:"mce-shortcode",shortcode:this.current};new o(i).post(this.Gt.bind(this))}};var i=document.querySelectorAll(t);i.length&&i.forEach(function(t){var i=t.querySelector("button"),n=t.querySelectorAll(".mce-menu-item");i&&n.length&&this.k(t,i,n)}.bind(this))};Q.prototype={Tt:{},Ot:[],k:function(t,i,n){document.addEventListener("click",this.Dt.bind(this,t,i)),i.addEventListener("click",this.It.bind(this,t,i)),n.forEach(function(n){n.addEventListener("click",this.Nt.bind(this,t,i))}.bind(this))},Mt:function(){tinymce.execCommand("GLSR_Shortcode")},Vt:function(){jQuery("#scTemp").length?this.Mt():(jQuery("body").append('<textarea id="scTemp" style="display:none!important;"/>'),tinymce.init({elements:"scTemp",external_plugins:GLSR.tinymce,mode:"exact",plugins:["glsr_shortcode","wplink"]}),setTimeout(function(){this.Mt()}.bind(this),200))},bt:function(t,i){jQuery(i).removeClass("active"),jQuery(t).find(".glsr-mce-menu").hide()},u:function(){var t=jQuery("#scTemp");t.length&&(tinymce.get("scTemp").remove(),t.remove()),this.Tt={},this.Ot=[]},Gt:function(t){if(t){if(0===t.body.length)return window.send_to_editor("["+t.shortcode+"]"),void this.u();var i=this.Zt(t);t.ok.constructor===Array&&(i.buttons[0].text=t.ok[0],i.buttons[0].onclick="close",delete i.buttons[1]),this.editor.windowManager.open(i)}},Wt:function(t){for(var i in this.Tt=t,this.Ot=[],t)t.hasOwnProperty(i)&&(this.qt(i),this.Bt(i),this.Ht(i));this.Tt.hide=this.Ot.join(",")},qt:function(t){"display"!==t||jQuery.isNumeric(this.Tt[t])||(this.Tt[t]="")},Bt:function(t){if(GLSR.hideoptions.hasOwnProperty(this.current)){var i=t.substring("hide_".length);-1!==Object.keys(GLSR.hideoptions[this.current]).indexOf(i)&&(this.Tt[t]&&this.Ot.push(i),delete this.Tt[t])}},Ht:function(t){"id"===t&&(this.Tt[t]=(+new Date).toString(36))},Dt:function(t,i,n){jQuery(n.target).closest(jQuery(t)).length||this.bt(t,i)},It:function(t,i,n){n.preventDefault(),n.currentTarget.classList.contains("active")?this.bt(t,i):this.Kt(t,i)},Nt:function(t,i,n){n.preventDefault(),this.current=n.currentTarget.dataset.shortcode,this.current&&(tinymce.get(window.wpActiveEditor)?this.Mt():this.Vt(),setTimeout(function(){this.bt(t,i)}.bind(this),100))},Kt:function(t,i){jQuery(i).addClass("active"),jQuery(t).find(".glsr-mce-menu").show()},Ut:function(t){return[{classes:"btn glsr-btn primary",onclick:this.Jt.bind(this),text:t.ok},{onclick:"close",text:t.close}]},Zt:function(t){return{title:t.title,body:t.body,classes:"glsr-mce-popup",minWidth:320,buttons:this.Ut(t),onsubmit:this.Yt.bind(this,t),onclose:this.u.bind(this)}},Yt:function(t,i){var n="";for(var e in this.Wt(i.data),this.Tt)this.Tt.hasOwnProperty(e)&&""!==this.Tt[e]&&(n+=" "+e+'="'+this.Tt[e]+'"');window.send_to_editor("["+t.shortcode+n+"]")},Jt:function(){var t=this.editor.windowManager.getWindows()[0];this.Xt(t)&&t.submit()},Xt:function(t){var i,n=!0,e=GLSR.shortcodes[this.current];for(var s in e)if(e.hasOwnProperty(s)&&void 0!==(i=t.find("#"+s)[0])&&""===i.state.data.value){n=!1,alert(e[s]);break}return n}};var x=Q,F=n(2),P=n.n(F),A=function(t){var i=document.querySelectorAll(t);i.length&&i.forEach(function(t){t.addEventListener("click",this.ht)}.bind(this))};A.prototype={ht:function(t){var i=t.currentTarget.href.match(/post=([0-9]+)/),n=t.currentTarget.href.match(/action=([a-z]+)/);if(null!==i&&null!==n){var e={_action:"toggle-status",_nonce:GLSR.nonce["toggle-status"],post_id:i[1],status:n[1]};new o(e,t).post((function(i){if(i.class){var n=jQuery(t.target);n.closest("tr").removeClass("status-pending status-publish").addClass(i.class),n.closest("td.column-title").find("strong").html(i.link),i.counts&&(n.closest(".wrap").find("ul.subsubsub").html(i.counts),jQuery("#menu-posts-site-review").find(".awaiting-mod").removeClass().addClass("awaiting-mod count-"+i.pending).find(".unapproved-count").html(i.pending))}}))}}};var R=A,$=function(){this.button=jQuery("button#sync-reviews"),this.progressbar=jQuery(".glsr-progress"),this.service=null,jQuery("form.glsr-form-sync").on("click","#sync-reviews",this.ti.bind(this)),jQuery(document).on("wp-window-resized",this.ii),jQuery(window).on("hashchange",this.ii),this.ii()};$.prototype={ni:function(t){jQuery(".service-"+this.service+" td.column-last_sync").text(t.last_sync),jQuery(".service-"+this.service+" td.column-total_fetched a").text(t.total),this.ei(!1)},ti:function(t){t.preventDefault(),this.service=jQuery('[name="'+GLSR.nameprefix+'[service]"]').val(),this.service&&(this.ei(!0),this.si())},ii:function(){var t=jQuery(".glsr-progress").width();t&&jQuery(".glsr-progress span").width(t)},si:function(){var t={_action:"sync-reviews",service:this.service,stage:"fetch"};new o(t).post(this.ri.bind(this))},ri:function(t){var i={_action:"sync-reviews",job_id:t.job_id,service:this.service,stage:"progress"},n=t.finished?this.oi.bind(this,t):this.ri.bind(this);this.ai(t.message),this.ui(t.percent),setTimeout((function(){new o(i).post(n)}),1500)},oi:function(t){var i=0;try{i=t.meta.pagination.current_page}catch(t){}var n={_action:"sync-reviews",page:i+1,service:this.service,stage:"reviews"};this.ai(t.message),t.percent_synced&&t.percent_synced>=100?this.ni(t):new o(n).post(this.oi.bind(this))},ai:function(t){jQuery(".glsr-progress-status",this.progressbar).text(t)},ui:function(t){t=(t||0)+"%",jQuery(".glsr-progress-bar",this.progressbar).outerWidth(t)},ei:function(t){if(!0===t&&(this.ai(this.progressbar.data("active-text")),this.ui(),this.button.prop("disabled",!0),window.requestAnimationFrame(function(){this.progressbar.addClass("active")}.bind(this))),!1===t)return this.service=null,this.button.prop("disabled",!1),void this.progressbar.removeClass("active");window.requestAnimationFrame(this.ei.bind(this))}};var L=$,C=function(t){this.options=jQuery.extend({},this.defaults,t),this.active=document.querySelector("input[name=_active_tab]"),this.referrer=document.querySelector("input[name=_wp_http_referer]"),this.tabs=document.querySelectorAll(this.options.tabSelector),this.views=document.querySelectorAll(this.options.viewSelector),this.active&&this.referrer&&this.tabs&&this.views&&this.k()};C.prototype={defaults:{expandSelectors:".glsr-nav-view, .glsr-notice",tabSelector:".glsr-nav-tab",viewSelector:".glsr-nav-view"},k:function(){var t=this;jQuery(window).on("hashchange",t.ci.bind(t)),[].forEach.call(t.tabs,function(i,n){(location.hash?i.getAttribute("href").slice(1)===location.hash.slice(5):0===n)&&t.hi(i),i.addEventListener("click",t.ht.bind(t)),i.addEventListener("touchend",t.ht.bind(t))}.bind(t)),jQuery(t.options.expandSelectors).on("click","a",(function(){var i=jQuery(this).data("expand");localStorage.setItem("glsr-expand",i),t.li(jQuery(i))})),jQuery(window).on("load",(function(){t.li(jQuery(localStorage.getItem("glsr-expand")))}))},di:function(t){return t?"add":"remove"},ht:function(t){t.preventDefault();var i=t.currentTarget;i.blur(),this.fi(i),this.hi(i),location.hash="tab-"+i.getAttribute("href").slice(1)},ci:function(){for(var t=location.hash.split("#tab-")[1],i=0;i<this.views.length;i++)if(t===this.views[i].id){this.hi(this.tabs[i]);break}},li:function(t){if(t.length){var i=t.parent().parent();i.removeClass("collapsed"),this.pi(i),i.removeClass("collapsed"),t.parent().removeClass("closed").find(".glsr-accordion-trigger").attr("aria-expanded",!0),window.setTimeout((function(){t.parent()[0].scrollIntoView({behavior:"smooth",block:"center"}),localStorage.removeItem("glsr-expand")}),10)}},vi:function(t){var i=this.referrer.value.split("#")[0]+"#tab-"+this.views[t].id;this.referrer.value=i},hi:function(t){[].forEach.call(this.tabs,function(i,n){var e=this.di(i===t);"add"===e&&(this.active.value=this.views[n].id,this.vi(n),this.gi(n)),i.classList[e]("nav-tab-active")}.bind(this))},gi:function(t){[].forEach.call(this.views,function(i,n){var e=this.di(n!==t);i.classList[e]("ui-tabs-hide")}.bind(this))},pi:function(t){var i=t.hasClass("collapsed")?"remove":"add";t[i+"Class"]("collapsed").find(".glsr-card.postbox")[i+"Class"]("closed").find(".glsr-accordion-trigger").attr("aria-expanded","add"!==i)},fi:function(t){if(t.classList.contains("nav-tab-active")){var i=jQuery(t.getAttribute("href"));this.pi(i)}}};var z=C,E=function(){var t=document.querySelector("#contentdiv > textarea");t&&(this.mi(t),jQuery(document).on("wp-window-resized.editor-expand",function(){this.mi(t)}.bind(this)))};E.prototype={mi:function(t){var i=t.scrollHeight>320?t.scrollHeight:320;t.style.height="auto",t.style.height=i+"px"}};var G=E,T=function(){jQuery("form").on("click","#clear-console",this.yi,this.ht.bind(this)),jQuery("form").on("click","#fetch-console",this.yi,this.ht.bind(this)),jQuery("form").on("click","[data-ajax-click]",this.ht.bind(this));var t=jQuery("input[data-alt]");t.length&&(jQuery(document).on("keydown",this.bi.bind(this,t)),jQuery(document).on("keyup",this.wi.bind(this,t)))};T.prototype={yi:function(t,i){i&&jQuery("#log-file").val(t.console)},ht:function(t){new o({},t,t.currentTarget.closest("form")).post((function(i,n){"function"==typeof t.data&&t.data(i,n),jQuery("html, body").animate({scrollTop:0},500),jQuery("#glsr-notices").on("click","a",(function(){localStorage.setItem("glsr-expand",jQuery(this).data("expand"))})),jQuery('.glsr-notice[data-notice="'+jQuery(t.currentTarget).data("remove-notice")+'"]').remove()}))},bi:function(t,i){GLSR.keys.ALT!==i.keyCode||i.repeat||(t.closest("form").find("[data-alt-text]").addClass("alt"),t.val(1))},wi:function(t,i){GLSR.keys.ALT===i.keyCode&&(t.closest("form").find("[data-alt-text]").removeClass("alt"),t.val(0))}};var O=T;GLSR.keys={ALT:18,DOWN:40,ENTER:13,ESC:27,SPACE:32,UP:38},jQuery((function(t){j.a.highlightAll(),GLSR.notices=new v,GLSR.shortcode=new x(".glsr-mce"),GLSR.stars=new P.a(document.querySelectorAll("select.glsr-star-rating"),{showText:!1}),c(),new l("form.glsr-form"),new f,new m,new b,new S("#glsr-search-posts",{action:"search-posts",onInit:function(){this.el.find(".glsr-remove-button").on("click",this.Et.bind(this))},onResultClick:function(i){var n=t(i.currentTarget),e=wp.template("glsr-assigned-posts"),s={id:n.data("id"),name:"post_ids[]",url:n.data("url"),title:n.text()};if(e){var r=t(e(s));r.find(".glsr-remove-button").on("click",this.Et.bind(this)),this.el.find(".glsr-selected-entries").append(r),this.zt()}this.options.searchEl.focus()}}),new S("#glsr-search-users",{action:"search-users",onInit:function(){this.el.find(".glsr-remove-button").on("click",this.Et.bind(this))},onResultClick:function(i){var n=t(i.currentTarget),e=wp.template("glsr-assigned-users"),s={id:n.data("id"),name:"user_ids[]",url:n.data("url"),title:n.text()};if(e){var r=t(e(s));r.find(".glsr-remove-button").on("click",this.Et.bind(this)),this.el.find(".glsr-selected-entries").append(r),this.zt()}this.options.searchEl.focus()}}),new S("#glsr-search-translations",{action:"search-translations",onInit:function(){this.$t()},onResultClick:function(i){var n=t(i.currentTarget),e=n.data("entry"),s=wp.template("glsr-string-"+(e.p1?"plural":"single"));e.index=this.options.entriesEl.children().length,e.prefix=this.options.resultsEl.data("prefix"),s&&(this.options.entriesEl.append(s(e)),this.options.exclude.push({id:e.id}),this.options.results=this.options.results.filter((function(t,i){return i!==n.get(0)}))),this.Pt()}}),new R("a.glsr-toggle-status"),new z,new G,new O,new L;var i=function(){this.dataset.glsrTrack=this.value};t("select[data-glsr-track]").each(i),t("select[data-glsr-track]").on("change",i),t(".glsr-card.postbox:not(.open)").addClass("closed").find(".glsr-accordion-trigger").attr("aria-expanded",!1).closest(".glsr-nav-view").addClass("collapsed"),t(".glsr-support-step").not(":checked").length<1&&t(".glsr-card-result").removeClass("hidden"),t(".glsr-support-step").on("change",(function(){var i=t(".glsr-support-step").not(":checked").length>0?"add":"remove";t(".glsr-card-result")[i+"Class"]("hidden")})),t(".glsr-card.postbox .glsr-card-heading").on("click",(function(){var i=t(this).parent(),n=i.closest(".glsr-nav-view"),e=i.hasClass("closed")?"remove":"add";i[e+"Class"]("closed").find(".glsr-accordion-trigger").attr("aria-expanded","add"!==e),e=n.find(".glsr-card.postbox").not(".closed").length>0?"remove":"add",n[e+"Class"]("collapsed")}))}))}]);
|
1 |
/*! For license information please see site-reviews-admin.js.LICENSE.txt */
|
2 |
+
!function(t){var i={};function n(e){if(i[e])return i[e].exports;var s=i[e]={i:e,l:!1,exports:{}};return t[e].call(s.exports,s,s.exports,n),s.l=!0,s.exports}n.m=t,n.c=i,n.d=function(t,i,e){n.o(t,i)||Object.defineProperty(t,i,{enumerable:!0,get:e})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,i){if(1&i&&(t=n(t)),8&i)return t;if(4&i&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(n.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&i&&"string"!=typeof t)for(var s in t)n.d(e,s,function(i){return t[i]}.bind(null,s));return e},n.n=function(t){var i=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(i,"a",i),i},n.o=function(t,i){return Object.prototype.hasOwnProperty.call(t,i)},n.p="/",n(n.s=8)}([,function(t,i){function n(i){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?t.exports=n=function(t){return typeof t}:t.exports=n=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(i)}t.exports=n},function(t,i,n){var e;!function(n,s,r){"use strict";var o=function(t,i){var n={}.toString.call(t);this.selects="[object String]"===n?s.querySelectorAll(t):"[object NodeList]"===n?t:[t],this.destroy=function(){this.widgets.forEach((function(t){t.u()}))},this.rebuild=function(){this.widgets.forEach((function(t){t.h()}))},this.widgets=[];for(var e=0;e<this.selects.length;e++)if("SELECT"===this.selects[e].tagName&&!this.selects[e]["star-rating"]){var r=new a(this.selects[e],i);void 0!==r.direction&&this.widgets.push(r)}},a=function(t,i){this.el=t,this.v=this.g({},this._,i||{},JSON.parse(t.getAttribute("data-options"))),this.j(),this.stars<1||this.stars>this.v.maxStars||this.h()};a.prototype={_:{classname:"gl-star-rating",clearable:!0,initialText:"Select a Rating",maxStars:10,showText:!0},k:function(){this.S(),this.current=this.selected=this.F(),this.P(),this.A(),this.R(),this.$(this.current),this.L("add"),this.el["star-rating"]=!0},C:function(){this.v.showText&&(this.textEl=this.G(this.widgetEl,{class:this.v.classname+"-text"},!0))},A:function(){var t=this.T(),i=this.G(this.el,{class:this.v.classname+"-stars"},!0);for(var n in t){var e=this.O({"data-value":n,"data-text":t[n]});i.innerHTML+=e.outerHTML}this.widgetEl=i,this.C()},D:function(t){(t<0||isNaN(t))&&(t=0),t>this.stars&&(t=this.stars),this.widgetEl.classList.remove("s"+10*this.current),this.widgetEl.classList.add("s"+10*t),this.v.showText&&(this.textEl.textContent=t<1?this.v.initialText:this.widgetEl.childNodes[t-1].dataset.text),this.current=t},O:function(t){var i=s.createElement("span");for(var n in t=t||{})i.setAttribute(n,t[n]);return i},u:function(){this.L("remove");var t=this.el.parentNode;t.parentNode.replaceChild(this.el,t),delete this.el["star-rating"]},I:function(t,i,n,e){e=e||!1,n.forEach(function(n){this.events&&t[i+"EventListener"](n,this.events[n],e)}.bind(this))},g:function(){var t=[].slice.call(arguments),i=t[0],n=t.slice(1);return Object.keys(n).forEach((function(t){for(var e in n[t])n[t].hasOwnProperty(e)&&(i[e]=n[t][e])})),i},N:function(){var t=!1;try{var i=Object.defineProperty({},"passive",{get:function(){t={passive:!1}}});n.addEventListener("test",null,i)}catch(t){}return t},M:function(t){var i={},n=t.pageX||t.changedTouches[0].pageX,e=this.widgetEl.offsetWidth;return i.ltr=Math.max(n-this.offsetLeft,1),i.rtl=e-i.ltr,Math.min(Math.ceil(i[this.direction]/Math.round(e/this.stars)),this.stars)},T:function(){for(var t=this.el,i={},n={},e=0;e<t.length;e++)this.V(t[e])||(i[t[e].value]=t[e].text);return Object.keys(i).sort().forEach((function(t){n[t]=i[t]})),n},F:function(){return parseInt(this.el.options[Math.max(this.el.selectedIndex,0)].value)||0},L:function(t){var i=this.el.closest("form");i&&"FORM"===i.tagName&&this.I(i,t,["reset"]),"add"===t&&this.el.disabled||(this.I(this.el,t,["change","keydown"]),this.I(this.widgetEl,t,["mousedown","mouseleave","mousemove","mouseover","touchend","touchmove","touchstart"],this.N()))},S:function(){this.events={change:this.Z.bind(this),keydown:this.W.bind(this),mousedown:this.q.bind(this),mouseleave:this.B.bind(this),mousemove:this.H.bind(this),mouseover:this.K.bind(this),reset:this.U.bind(this),touchend:this.q.bind(this),touchmove:this.H.bind(this),touchstart:this.K.bind(this)}},G:function(t,i,n){var e=this.O(i);return t.parentNode.insertBefore(e,!0===n?t.nextSibling:t),e},V:function(t){return null===t.getAttribute("value")||""===t.value},Z:function(){this.D(this.F())},W:function(t){if(~["ArrowLeft","ArrowRight"].indexOf(t.key)){var i="ArrowLeft"===t.key?-1:1;"rtl"===this.direction&&(i*=-1),this.$(Math.min(Math.max(this.F()+i,0),this.stars)),this.J()}},q:function(t){t.preventDefault();var i=this.M(t);0!==this.current&&parseFloat(this.selected)===i&&this.v.clearable&&(i=0),this.$(i),this.J()},B:function(t){t.preventDefault(),this.D(this.selected)},H:function(t){t.preventDefault(),this.D(this.M(t))},K:function(t){t.preventDefault();var i=this.widgetEl.getBoundingClientRect();this.offsetLeft=i.left+s.body.scrollLeft},U:function(){var t=this.el.querySelector("[selected]"),i=t?t.value:"";this.el.value=i,this.selected=parseInt(i)||0,this.D(i)},h:function(){this.el.parentNode.classList.contains(this.v.classname)&&this.u(),this.k()},R:function(){var t=this.el.parentNode;this.direction=n.getComputedStyle(t,null).getPropertyValue("direction"),t.classList.add(this.v.classname+"-"+this.direction)},$:function(t){this.el.value=this.selected=t,this.D(t)},j:function(){var t=this.el;this.stars=0;for(var i=0;i<t.length;i++)if(!this.V(t[i])){if(isNaN(parseFloat(t[i].value))||!isFinite(t[i].value))return void(this.stars=0);this.stars++}},J:function(){this.el.dispatchEvent(new Event("change"))},P:function(){this.G(this.el,{class:this.v.classname,"data-star-rating":""}).appendChild(this.el)}},void 0===(e=function(){return o}.apply(i,[]))||(t.exports=e)}(window,document)},function(t,i,n){(function(i){var n=function(t){var i=/\blang(?:uage)?-([\w-]+)\b/i,n=0,e={manual:t.Prism&&t.Prism.manual,disableWorkerMessageHandler:t.Prism&&t.Prism.disableWorkerMessageHandler,util:{encode:function t(i){return i instanceof s?new s(i.type,t(i.content),i.alias):Array.isArray(i)?i.map(t):i.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(t){return Object.prototype.toString.call(t).slice(8,-1)},objId:function(t){return t.__id||Object.defineProperty(t,"__id",{value:++n}),t.__id},clone:function t(i,n){var s,r;switch(n=n||{},e.util.type(i)){case"Object":if(r=e.util.objId(i),n[r])return n[r];for(var o in s={},n[r]=s,i)i.hasOwnProperty(o)&&(s[o]=t(i[o],n));return s;case"Array":return r=e.util.objId(i),n[r]?n[r]:(s=[],n[r]=s,i.forEach((function(i,e){s[e]=t(i,n)})),s);default:return i}},getLanguage:function(t){for(;t&&!i.test(t.className);)t=t.parentElement;return t?(t.className.match(i)||[,"none"])[1].toLowerCase():"none"},currentScript:function(){if("undefined"==typeof document)return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(e){var t=(/at [^(\r\n]*\((.*):.+:.+\)$/i.exec(e.stack)||[])[1];if(t){var i=document.getElementsByTagName("script");for(var n in i)if(i[n].src==t)return i[n]}return null}},isActive:function(t,i,n){for(var e="no-"+i;t;){var s=t.classList;if(s.contains(i))return!0;if(s.contains(e))return!1;t=t.parentElement}return!!n}},languages:{extend:function(t,i){var n=e.util.clone(e.languages[t]);for(var s in i)n[s]=i[s];return n},insertBefore:function(t,i,n,s){var r=(s=s||e.languages)[t],o={};for(var a in r)if(r.hasOwnProperty(a)){if(a==i)for(var u in n)n.hasOwnProperty(u)&&(o[u]=n[u]);n.hasOwnProperty(a)||(o[a]=r[a])}var c=s[t];return s[t]=o,e.languages.DFS(e.languages,(function(i,n){n===c&&i!=t&&(this[i]=o)})),o},DFS:function t(i,n,s,r){r=r||{};var o=e.util.objId;for(var a in i)if(i.hasOwnProperty(a)){n.call(i,a,i[a],s||a);var u=i[a],c=e.util.type(u);"Object"!==c||r[o(u)]?"Array"!==c||r[o(u)]||(r[o(u)]=!0,t(u,n,a,r)):(r[o(u)]=!0,t(u,n,null,r))}}},plugins:{},highlightAll:function(t,i){e.highlightAllUnder(document,t,i)},highlightAllUnder:function(t,i,n){var s={callback:n,container:t,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};e.hooks.run("before-highlightall",s),s.elements=Array.prototype.slice.apply(s.container.querySelectorAll(s.selector)),e.hooks.run("before-all-elements-highlight",s);for(var r,o=0;r=s.elements[o++];)e.highlightElement(r,!0===i,s.callback)},highlightElement:function(n,s,r){var o=e.util.getLanguage(n),a=e.languages[o];n.className=n.className.replace(i,"").replace(/\s+/g," ")+" language-"+o;var u=n.parentElement;u&&"pre"===u.nodeName.toLowerCase()&&(u.className=u.className.replace(i,"").replace(/\s+/g," ")+" language-"+o);var c={element:n,language:o,grammar:a,code:n.textContent};function h(t){c.highlightedCode=t,e.hooks.run("before-insert",c),c.element.innerHTML=c.highlightedCode,e.hooks.run("after-highlight",c),e.hooks.run("complete",c),r&&r.call(c.element)}if(e.hooks.run("before-sanity-check",c),!c.code)return e.hooks.run("complete",c),void(r&&r.call(c.element));if(e.hooks.run("before-highlight",c),c.grammar)if(s&&t.Worker){var l=new Worker(e.filename);l.onmessage=function(t){h(t.data)},l.postMessage(JSON.stringify({language:c.language,code:c.code,immediateClose:!0}))}else h(e.highlight(c.code,c.grammar,c.language));else h(e.util.encode(c.code))},highlight:function(t,i,n){var r={code:t,grammar:i,language:n};return e.hooks.run("before-tokenize",r),r.tokens=e.tokenize(r.code,r.grammar),e.hooks.run("after-tokenize",r),s.stringify(e.util.encode(r.tokens),r.language)},tokenize:function(t,i){var n=i.rest;if(n){for(var u in n)i[u]=n[u];delete i.rest}var c=new r;return o(c,c.head,t),function t(i,n,r,u,c,h){for(var l in r)if(r.hasOwnProperty(l)&&r[l]){var d=r[l];d=Array.isArray(d)?d:[d];for(var f=0;f<d.length;++f){if(h&&h.cause==l+","+f)return;var p=d[f],v=p.inside,g=!!p.lookbehind,m=!!p.greedy,y=0,b=p.alias;if(m&&!p.pattern.global){var w=p.pattern.toString().match(/[imsuy]*$/)[0];p.pattern=RegExp(p.pattern.source,w+"g")}for(var _=p.pattern||p,j=u.next,k=c;j!==n.tail&&!(h&&k>=h.reach);k+=j.value.length,j=j.next){var S=j.value;if(n.length>i.length)return;if(!(S instanceof s)){var Q=1;if(m&&j!=n.tail.prev){if(_.lastIndex=k,!(R=_.exec(i)))break;var x=R.index+(g&&R[1]?R[1].length:0),F=R.index+R[0].length,P=k;for(P+=j.value.length;x>=P;)j=j.next,P+=j.value.length;if(P-=j.value.length,k=P,j.value instanceof s)continue;for(var A=j;A!==n.tail&&(P<F||"string"==typeof A.value);A=A.next)Q++,P+=A.value.length;Q--,S=i.slice(k,P),R.index-=k}else{_.lastIndex=0;var R=_.exec(S)}if(R){g&&(y=R[1]?R[1].length:0);x=R.index+y;var $=R[0].slice(y),L=(F=x+$.length,S.slice(0,x)),C=S.slice(F),z=k+S.length;h&&z>h.reach&&(h.reach=z);var E=j.prev;L&&(E=o(n,E,L),k+=L.length),a(n,E,Q);var G=new s(l,v?e.tokenize($,v):$,b,$);j=o(n,E,G),C&&o(n,j,C),Q>1&&t(i,n,r,j.prev,k,{cause:l+","+f,reach:z})}}}}}}(t,c,i,c.head,0),function(t){var i=[],n=t.head.next;for(;n!==t.tail;)i.push(n.value),n=n.next;return i}(c)},hooks:{all:{},add:function(t,i){var n=e.hooks.all;n[t]=n[t]||[],n[t].push(i)},run:function(t,i){var n=e.hooks.all[t];if(n&&n.length)for(var s,r=0;s=n[r++];)s(i)}},Token:s};function s(t,i,n,e){this.type=t,this.content=i,this.alias=n,this.length=0|(e||"").length}function r(){var t={value:null,prev:null,next:null},i={value:null,prev:t,next:null};t.next=i,this.head=t,this.tail=i,this.length=0}function o(t,i,n){var e=i.next,s={value:n,prev:i,next:e};return i.next=s,e.prev=s,t.length++,s}function a(t,i,n){for(var e=i.next,s=0;s<n&&e!==t.tail;s++)e=e.next;i.next=e,e.prev=i,t.length-=s}if(t.Prism=e,s.stringify=function t(i,n){if("string"==typeof i)return i;if(Array.isArray(i)){var s="";return i.forEach((function(i){s+=t(i,n)})),s}var r={type:i.type,content:t(i.content,n),tag:"span",classes:["token",i.type],attributes:{},language:n},o=i.alias;o&&(Array.isArray(o)?Array.prototype.push.apply(r.classes,o):r.classes.push(o)),e.hooks.run("wrap",r);var a="";for(var u in r.attributes)a+=" "+u+'="'+(r.attributes[u]||"").replace(/"/g,""")+'"';return"<"+r.tag+' class="'+r.classes.join(" ")+'"'+a+">"+r.content+"</"+r.tag+">"},!t.document)return t.addEventListener?(e.disableWorkerMessageHandler||t.addEventListener("message",(function(i){var n=JSON.parse(i.data),s=n.language,r=n.code,o=n.immediateClose;t.postMessage(e.highlight(r,e.languages[s],s)),o&&t.close()}),!1),e):e;var u=e.util.currentScript();function c(){e.manual||e.highlightAll()}if(u&&(e.filename=u.src,u.hasAttribute("data-manual")&&(e.manual=!0)),!e.manual){var h=document.readyState;"loading"===h||"interactive"===h&&u&&u.defer?document.addEventListener("DOMContentLoaded",c):window.requestAnimationFrame?window.requestAnimationFrame(c):window.setTimeout(c,16)}return e}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});t.exports&&(t.exports=n),void 0!==i&&(i.Prism=n)}).call(this,n(9))},,,,,function(t,i,n){t.exports=n(26)},function(t,i){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,i){Prism.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|interface|extends|implements|trait|instanceof|new)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\b/,boolean:/\b(?:true|false)\b/,function:/\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+\.?\d*|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}},function(t,i){Prism.languages.markup={comment:/<!--[\s\S]*?-->/,prolog:/<\?[\s\S]+?\?>/,doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/,name:/[^\s<>'"]+/}},cdata:/<!\[CDATA\[[\s\S]*?]]>/i,tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},Prism.languages.markup.tag.inside["attr-value"].inside.entity=Prism.languages.markup.entity,Prism.languages.markup.doctype.inside["internal-subset"].inside=Prism.languages.markup,Prism.hooks.add("wrap",(function(t){"entity"===t.type&&(t.attributes.title=t.content.replace(/&/,"&"))})),Object.defineProperty(Prism.languages.markup.tag,"addInlined",{value:function(t,i){var n={};n["language-"+i]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:Prism.languages[i]},n.cdata=/^<!\[CDATA\[|\]\]>$/i;var e={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}};e["language-"+i]={pattern:/[\s\S]+/,inside:Prism.languages[i]};var s={};s[t]={pattern:RegExp(/(<__[\s\S]*?>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,(function(){return t})),"i"),lookbehind:!0,greedy:!0,inside:e},Prism.languages.insertBefore("markup","cdata",s)}}),Prism.languages.html=Prism.languages.markup,Prism.languages.mathml=Prism.languages.markup,Prism.languages.svg=Prism.languages.markup,Prism.languages.xml=Prism.languages.extend("markup",{}),Prism.languages.ssml=Prism.languages.xml,Prism.languages.atom=Prism.languages.xml,Prism.languages.rss=Prism.languages.xml},function(t,i){Prism.languages.javascript=Prism.languages.extend("clike",{"class-name":[Prism.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])[_$A-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\.(?:prototype|constructor))/,lookbehind:!0}],keyword:[{pattern:/((?:^|})\s*)(?:catch|finally)\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|for|from|function|(?:get|set)(?=\s*[\[$\w\xA0-\uFFFF])|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],number:/\b(?:(?:0[xX](?:[\dA-Fa-f](?:_[\dA-Fa-f])?)+|0[bB](?:[01](?:_[01])?)+|0[oO](?:[0-7](?:_[0-7])?)+)n?|(?:\d(?:_\d)?)+n|NaN|Infinity)\b|(?:\b(?:\d(?:_\d)?)+\.?(?:\d(?:_\d)?)*|\B\.(?:\d(?:_\d)?)+)(?:[Ee][+-]?(?:\d(?:_\d)?)+)?/,function:/#?[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),Prism.languages.javascript["class-name"][0].pattern=/(\b(?:class|interface|extends|implements|instanceof|new)\s+)[\w.\\]+/,Prism.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*]|\\.|[^/\\\[\r\n])+\/[gimyus]{0,6}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:Prism.languages.regex},"regex-flags":/[a-z]+$/,"regex-delimiter":/^\/|\/$/}},"function-variable":{pattern:/#?[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+[_$A-Za-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*)?\s*\(\s*)(?!\s)(?:[^()]|\([^()]*\))+?(?=\s*\))/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/[_$a-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*=>)/i,inside:Prism.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()]|\([^()]*\))+?(?=\s*\)\s*=>)/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:[_$A-Za-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()]|\([^()]*\))+?(?=\s*\)\s*\{)/,lookbehind:!0,inside:Prism.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),Prism.languages.insertBefore("javascript","string",{"template-string":{pattern:/`(?:\\[\s\S]|\${(?:[^{}]|{(?:[^{}]|{[^}]*})*})+}|(?!\${)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\${(?:[^{}]|{(?:[^{}]|{[^}]*})*})+}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\${|}$/,alias:"punctuation"},rest:Prism.languages.javascript}},string:/[\s\S]+/}}}),Prism.languages.markup&&Prism.languages.markup.tag.addInlined("script","javascript"),Prism.languages.js=Prism.languages.javascript},function(t,i){!function(t){function i(t,i){return"___"+t.toUpperCase()+i+"___"}Object.defineProperties(t.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,e,s,r){if(n.language===e){var o=n.tokenStack=[];n.code=n.code.replace(s,(function(t){if("function"==typeof r&&!r(t))return t;for(var s,a=o.length;-1!==n.code.indexOf(s=i(e,a));)++a;return o[a]=t,s})),n.grammar=t.languages.markup}}},tokenizePlaceholders:{value:function(n,e){if(n.language===e&&n.tokenStack){n.grammar=t.languages[e];var s=0,r=Object.keys(n.tokenStack);!function o(a){for(var u=0;u<a.length&&!(s>=r.length);u++){var c=a[u];if("string"==typeof c||c.content&&"string"==typeof c.content){var h=r[s],l=n.tokenStack[h],d="string"==typeof c?c:c.content,f=i(e,h),p=d.indexOf(f);if(p>-1){++s;var v=d.substring(0,p),g=new t.Token(e,t.tokenize(l,n.grammar),"language-"+e,l),m=d.substring(p+f.length),y=[];v&&y.push.apply(y,o([v])),y.push(g),m&&y.push.apply(y,o([m])),"string"==typeof c?a.splice.apply(a,[u,1].concat(y)):c.content=y}}else c.content&&o(c.content)}return a}(n.tokens)}}}})}(Prism)},function(t,i){!function(t){t.languages.php=t.languages.extend("clike",{keyword:/\b(?:__halt_compiler|abstract|and|array|as|break|callable|case|catch|class|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|eval|exit|extends|final|finally|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|new|or|parent|print|private|protected|public|require|require_once|return|static|switch|throw|trait|try|unset|use|var|while|xor|yield)\b/i,boolean:{pattern:/\b(?:false|true)\b/i,alias:"constant"},constant:[/\b[A-Z_][A-Z0-9_]*\b/,/\b(?:null)\b/i],comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0}}),t.languages.insertBefore("php","string",{"shell-comment":{pattern:/(^|[^\\])#.*/,lookbehind:!0,alias:"comment"}}),t.languages.insertBefore("php","comment",{delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"}}),t.languages.insertBefore("php","keyword",{variable:/\$+(?:\w+\b|(?={))/i,package:{pattern:/(\\|namespace\s+|use\s+)[\w\\]+/,lookbehind:!0,inside:{punctuation:/\\/}}}),t.languages.insertBefore("php","operator",{property:{pattern:/(->)[\w]+/,lookbehind:!0}});var i={pattern:/{\$(?:{(?:{[^{}]+}|[^{}]+)}|[^{}])+}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)*)/,lookbehind:!0,inside:t.languages.php};t.languages.insertBefore("php","string",{"nowdoc-string":{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,greedy:!0,alias:"string",inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},"heredoc-string":{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,greedy:!0,alias:"string",inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:i}},"single-quoted-string":{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0,alias:"string"},"double-quoted-string":{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,alias:"string",inside:{interpolation:i}}}),delete t.languages.php.string,t.hooks.add("before-tokenize",(function(i){if(/<\?/.test(i.code)){t.languages["markup-templating"].buildPlaceholders(i,"php",/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#)(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|\/\*[\s\S]*?(?:\*\/|$))*?(?:\?>|$)/gi)}})),t.hooks.add("after-tokenize",(function(i){t.languages["markup-templating"].tokenizePlaceholders(i,"php")}))}(Prism)},function(t,i){!function(t){var i=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/;t.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-]+[\s\S]*?(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\((?!\s*\))\s*)(?:[^()]|\((?:[^()]|\([^()]*\))*\))+?(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+i.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+i.source+"$"),alias:"url"}}},selector:RegExp("[^{}\\s](?:[^{};\"']|"+i.source+")*?(?=\\s*\\{)"),string:{pattern:i,greedy:!0},property:/[-_a-z\xA0-\uFFFF][-\w\xA0-\uFFFF]*(?=\s*:)/i,important:/!important\b/i,function:/[-a-z0-9]+(?=\()/i,punctuation:/[(){};:,]/},t.languages.css.atrule.inside.rest=t.languages.css;var n=t.languages.markup;n&&(n.tag.addInlined("style","css"),t.languages.insertBefore("inside","attr-value",{"style-attr":{pattern:/\s*style=("|')(?:\\[\s\S]|(?!\1)[^\\])*\1/i,inside:{"attr-name":{pattern:/^\s*style/i,inside:n.tag.inside},punctuation:/^\s*=\s*['"]|['"]\s*$/,"attr-value":{pattern:/.+/i,inside:t.languages.css}},alias:"language-css"}},n.tag))}(Prism)},function(t,i){!function(){if("undefined"!=typeof self&&self.Prism&&self.document){var t=/\n(?!$)/g,i=Prism.plugins.lineNumbers={getLine:function(t,i){if("PRE"===t.tagName&&t.classList.contains("line-numbers")){var n=t.querySelector(".line-numbers-rows"),e=parseInt(t.getAttribute("data-start"),10)||1,s=e+(n.children.length-1);i<e&&(i=e),i>s&&(i=s);var r=i-e;return n.children[r]}},resize:function(t){s([t])},assumeViewportIndependence:!0},n=function(t){return t?window.getComputedStyle?getComputedStyle(t):t.currentStyle||null:null},e=void 0;window.addEventListener("resize",(function(){i.assumeViewportIndependence&&e===window.innerWidth||(e=window.innerWidth,s(Array.prototype.slice.call(document.querySelectorAll("pre.line-numbers"))))})),Prism.hooks.add("complete",(function(i){if(i.code){var n=i.element,e=n.parentNode;if(e&&/pre/i.test(e.nodeName)&&!n.querySelector(".line-numbers-rows")&&Prism.util.isActive(n,"line-numbers")){n.classList.remove("line-numbers"),e.classList.add("line-numbers");var r,o=i.code.match(t),a=o?o.length+1:1,u=new Array(a+1).join("<span></span>");(r=document.createElement("span")).setAttribute("aria-hidden","true"),r.className="line-numbers-rows",r.innerHTML=u,e.hasAttribute("data-start")&&(e.style.counterReset="linenumber "+(parseInt(e.getAttribute("data-start"),10)-1)),i.element.appendChild(r),s([e]),Prism.hooks.run("line-numbers",i)}}})),Prism.hooks.add("line-numbers",(function(t){t.plugins=t.plugins||{},t.plugins.lineNumbers=!0}))}function s(i){if(0!=(i=i.filter((function(t){var i=n(t)["white-space"];return"pre-wrap"===i||"pre-line"===i}))).length){var e=i.map((function(i){var n=i.querySelector("code"),e=i.querySelector(".line-numbers-rows");if(n&&e){var s=i.querySelector(".line-numbers-sizer"),r=n.textContent.split(t);s||((s=document.createElement("span")).className="line-numbers-sizer",n.appendChild(s)),s.innerHTML="0",s.style.display="block";var o=s.getBoundingClientRect().height;return s.innerHTML="",{element:i,lines:r,lineHeights:[],oneLinerHeight:o,sizer:s}}})).filter(Boolean);e.forEach((function(t){var i=t.sizer,n=t.lines,e=t.lineHeights,s=t.oneLinerHeight;e[n.length-1]=void 0,n.forEach((function(t,n){if(t&&t.length>1){var r=i.appendChild(document.createElement("span"));r.style.display="block",r.textContent=t}else e[n]=s}))})),e.forEach((function(t){for(var i=t.sizer,n=t.lineHeights,e=0,s=0;s<n.length;s++)void 0===n[s]&&(n[s]=i.children[e++].getBoundingClientRect().height)})),e.forEach((function(t){var i=t.sizer,n=t.element.querySelector(".line-numbers-rows");i.style.display="none",i.innerHTML="",t.lineHeights.forEach((function(t,i){n.children[i].style.height=t+"px"}))}))}}}()},,,,,,,,,,function(t,i,n){"use strict";n.r(i);var e=function(t){return this.data={},this.form=jQuery(t),this.pushes={},this.init()};e.prototype={patterns:{validate:/^[a-z_-][a-z0-9_-]*(?:\[(?:\d*|[a-z0-9_-]+)\])*$/i,key:/[a-z0-9_-]+|(?=\[\])/gi,named:/^[a-z0-9_-]+$/i,push:/^$/,fixed:/^\d+$/},addPair:function(t){this.patterns.validate.test(t.name)&&(this.data=jQuery.extend(!0,this.data,this.makeObject(t.name,this.encode(t))))},build:function(t,i,n){return t[i]=n,t},encode:function(t){switch(jQuery('[name="'+t.name+'"]',this.form).attr("type")){case"checkbox":return"on"===t.value||t.value;default:return t.value}},incrementPush:function(t){return void 0===this.pushes[t]&&(this.pushes[t]=0),this.pushes[t]++},init:function(){var t=this.form.serializeArray();if(jQuery.isArray(t))for(var i=0,n=t.length;i<n;i++)this.addPair(t[i]);return this.data},makeObject:function(t,i){for(var n,e=t.match(this.patterns.key);void 0!==(n=e.pop());)if(this.patterns.push.test(n)){var s=this.incrementPush(t.replace(/\[\]$/,""));i=this.build([],s,i)}else this.patterns.fixed.test(n)?i=this.build([],n,i):this.patterns.named.test(n)&&(i=this.build({},n,i));return i}};var s=e,r=function(t,i,n){this.event=i||null,this.form=n||null,this.notice=null,this.request=t||{}};r.prototype={post:function(t){this.event?this.Y(t):this.X(t)},tt:function(t){var i={action:GLSR.action,_ajax_request:!0};if(this.form){var n=new s(this.form);n[GLSR.nameprefix]&&(this.request=n[GLSR.nameprefix])}return this.it(t),i[GLSR.nameprefix]=this.request,i},it:function(t){this.request._nonce||(GLSR.nonce[this.request._action]?this.request._nonce=GLSR.nonce[this.request._action]:t&&(this.request._nonce=t.closest("form").find("#_wpnonce").val()))},X:function(t,i){jQuery.post(GLSR.ajaxurl,this.tt(i)).done((function(n){"function"==typeof t&&t(n.data,n.success),i&&i.prop("disabled",!1)})).always((function(t){t.data?t.data.notices&&GLSR.notices.add(t.data.notices):GLSR.notices.add('<div class="notice notice-error inline is-dismissible"><p>Unknown error.</p></div>')}))},Y:function(t){this.event.preventDefault();var i=jQuery(this.event.currentTarget);i.is(":disabled")||(i.prop("disabled",!0),this.X(t,i))}};var o=r,a=n(1),u=n.n(a),c=function(){"object"===u()(jQuery.wp)&&"function"==typeof jQuery.wp.wpColorPicker&&jQuery(document).find("input[type=text].color-picker-hex").each((function(){jQuery(this).wpColorPicker(jQuery(this).data("colorpicker")||{})}))},h=function(t){this.el=document.querySelector(t),this.el&&(this.depends=this.el.querySelectorAll("[data-depends]"),this.depends.length&&this.k())};h.prototype={nt:function(t){var i=t.getAttribute("data-depends");if(i)try{return JSON.parse(i)}catch(t){return}},k:function(){for(var t=this.el.elements,i=0;i<t.length;i++)~["INPUT","SELECT"].indexOf(t[i].nodeName)&&t[i].addEventListener("change",this.Z.bind(this))},et:function(t,i){var n=!1;i=[].concat(i);var e=this.el.querySelectorAll('[name="'+t+'"]');return[].map.call(e,function(t){var e=~this.st(i).indexOf(this.rt(t.value));~["checkbox","radio"].indexOf(t.type)?t.checked&&e&&(n=!0):e&&(n=!0)}.bind(this)),n},rt:function(t){return!!~["true","on","yes","1"].indexOf(t)||!~["false","off","no","0"].indexOf(t)&&t},st:function(t){return t.map(this.rt)},Z:function(t){this.depends.forEach(function(i){var n=this.nt(i);if(n&&~n.map((function(t){return t.name})).indexOf(t.currentTarget.name)){var e=!0;n.forEach(function(t){this.et(t.name,t.value)||(e=!1)}.bind(this)),this.ot(i,e)}}.bind(this))},ot:function(t,i){var n=t.closest(".glsr-setting-field");n&&n.classList[i?"remove":"add"]("hidden")}};var l=h,d=function(){jQuery(".glsr-metabox-field input[data-edit-review]").on("change",this.at.bind(this)),jQuery(".glsr-metabox-field input[type=url]").on("change",this.ut.bind(this))};d.prototype={ut:function(t){var i=jQuery(t.currentTarget);this.ct(i.parent().find("img"),i.val())},at:function(t){var i=t.currentTarget.checked;jQuery(".glsr-input-value").each(function(t,n){if(i)jQuery(n).data("value",n.value);else{if(n.value=jQuery(n).data("value"),"url"!==n.type)return;this.ct(jQuery(n).parent().find("img"),n.value)}}.bind(this)),jQuery(".glsr-input-value").prop("disabled",!i),GLSR.stars.rebuild()},ct:function(t,i){if(t){var n=new Image;n.src=i,n.onerror=function(){t.attr("src",t.data("fallback"))},n.onload=function(){t.attr("src",n.src)}}}};var f=d,p=function(){this.k()};p.prototype={add:function(t){t&&(jQuery("#glsr-notices").length||(jQuery("#message.notice").remove(),jQuery("hr.wp-header-end").after('<div id="glsr-notices" />')),jQuery("#glsr-notices").html(t),jQuery(document).trigger("wp-updates-notice-added"))},k:function(){jQuery(".glsr-notice[data-dismiss]").on("click.wp-dismiss-notice",this.ht.bind(this))},ht:function(t){var i={};i[GLSR.nameprefix]={_action:"dismiss-notice",notice:jQuery(t.currentTarget).data("dismiss")},wp.ajax.post(GLSR.action,i)}};var v=p,g=function(){this.el=jQuery("#pinned-status-select"),this.el&&(this.cancel=jQuery("a.cancel-pinned-status"),this.cancel.on("click",this.lt.bind(this)),this.edit=jQuery("a.edit-pinned-status"),this.edit.on("click",this.dt.bind(this)),this.save=jQuery("a.save-pinned-status"),this.save.on("click",this.ft.bind(this))),jQuery("td.column-is_pinned i.pin-review").on("click",this.pt.bind(this))};g.prototype={vt:function(){this.el.slideUp("fast"),this.edit.show().focus()},lt:function(t){t.preventDefault(),this.vt(),this.el.find("select").val("0"===jQuery("#hidden-pinned-status").val()?1:0)},dt:function(t){t.preventDefault(),this.el.is(":hidden")&&(this.el.slideDown("fast",function(){this.el.find("select").focus()}.bind(this)),this.edit.hide())},ft:function(t){t.preventDefault(),this.vt(),this.target=t.currentTarget;var i={_action:"toggle-pinned",id:jQuery("#post_ID").val(),pinned:jQuery("#pinned-status").val()};new o(i).post(this.gt.bind(this))},pt:function(t){t.preventDefault(),this.target=t.currentTarget;var i={_action:"toggle-pinned",id:t.currentTarget.getAttribute("data-id")};jQuery(this.target).addClass("spinner is-active").removeClass("dashicons-sticky"),new o(i).post(this.yt.bind(this))},gt:function(t){jQuery("#pinned-status").val(0|!t.pinned),jQuery("#hidden-pinned-status").val(0|t.pinned),jQuery("#pinned-status-text").text(t.pinned?this.target.dataset.yes:this.target.dataset.no),GLSR.notices.add(t.notices)},yt:function(t){this.target.classList[t.pinned?"add":"remove"]("pinned"),jQuery(this.target).removeClass("spinner is-active").addClass("dashicons-sticky")}};var m=g,y=function(){jQuery.each(GLSR.pointers,function(t,i){this.k(i)}.bind(this))};y.prototype={bt:function(t){jQuery.post(GLSR.ajaxurl,{action:"dismiss-wp-pointer",pointer:t})},k:function(t){jQuery(t.target).pointer({content:t.options.content,position:t.options.position,close:this.bt.bind(null,t.id)}).pointer("open").pointer("sendToTop"),jQuery(document).on("wp-window-resized",(function(){jQuery(t.target).pointer("reposition")}))}};var b=y,w=n(3),j=n.n(w),k=(n(10),n(11),n(12),n(13),n(14),n(15),n(16),function(t,i){this.el=jQuery(t),this.options=i,this.searchTerm=null,this.k()});k.prototype={defaults:{action:null,exclude:[],onInit:null,onResultClick:null,results:{},selected:-1,selectedClass:"glsr-selected-result",selectorEntries:".glsr-strings-table tbody",selectorResults:".glsr-search-results",selectorSearch:".glsr-search-input"},k:function(){this.options=jQuery.extend({},this.defaults,this.options),this.el.length&&(this.options.entriesEl=this.el.parent().find(this.options.selectorEntries),this.options.resultsEl=this.el.find(this.options.selectorResults),this.options.searchEl=this.el.find(this.options.selectorSearch),this.options.searchEl.attr("aria-describedby","live-search-desc"),"function"==typeof this.options.onInit&&this.options.onInit.call(this),this.S())},S:function(){this.options.searchEl.on("input",_.debounce(this.wt.bind(this),500)),this.options.searchEl.on("keyup",this._t.bind(this)),this.options.searchEl.on("keydown keypress",(function(t){GLSR.keys.ENTER===t.which&&t.preventDefault()})),jQuery(document).on("click",this.jt.bind(this)),jQuery(document).on("keydown",this.kt.bind(this))},St:function(){void 0!==this.searchRequest&&this.searchRequest.abort()},Qt:function(){this.St(),this.options.resultsEl.empty(),this.options.resultsEl.removeClass("is-active"),this.el.removeClass("is-active"),jQuery("body").removeClass("glsr-focus")},xt:function(t){var i=this.options.entriesEl.children("tr").eq(t),n=this;i.find("td").css({backgroundColor:"#faafaa"}),i.fadeOut(350,(function(){jQuery(this).remove(),n.options.results={},n.Ft(),n.Pt()}))},At:function(t){jQuery("body").addClass("glsr-focus"),this.options.resultsEl.append(t),this.options.resultsEl.children("span").on("click",this.Rt.bind(this))},$t:function(){this.options.entriesEl.on("click","a.delete",this.Lt.bind(this)),this.options.entriesEl.sortable({items:"tr",tolerance:"pointer",start:function(t,i){i.placeholder.height(i.helper[0].scrollHeight)},sort:function(t,i){var n=t.pageY-jQuery(this).offsetParent().offset().top-i.helper.outerHeight(!0)/2;i.helper.css({top:n+"px"})}})},Ct:function(t){this.options.selected+=t,this.options.results.removeClass(this.options.selectedClass),this.options.selected<0&&(this.options.selected=-1,this.options.searchEl.focus()),this.options.selected>=this.options.results.length&&(this.options.selected=this.options.results.length-1),this.options.selected>=0&&this.options.results.eq(this.options.selected).addClass(this.options.selectedClass).focus()},jt:function(t){jQuery(t.target).find(this.el).length&&jQuery("body").hasClass("glsr-focus")&&this.Qt()},kt:function(t){if(!jQuery.isEmptyObject(this.options.results)){if(GLSR.keys.ESC===t.which&&this.Qt(),GLSR.keys.ENTER===t.which||GLSR.keys.SPACE===t.which){var i=this.options.resultsEl.find("."+this.options.selectedClass);i&&i.trigger("click")}GLSR.keys.UP===t.which&&(t.preventDefault(),this.Ct(-1)),GLSR.keys.DOWN===t.which&&(t.preventDefault(),this.Ct(1))}},Lt:function(t){t.preventDefault(),this.xt(jQuery(t.currentTarget).closest("tr").index())},Rt:function(t){t.preventDefault(),"function"==typeof this.options.onResultClick&&this.options.onResultClick.call(this,t),this.Qt()},wt:function(t){if(this.St(),this.searchTerm===t.currentTarget.value&&this.options.results.length)return this.At(this.options.results);if(this.options.resultsEl.empty(),this.options.selected=-1,this.searchTerm=t.currentTarget.value,""===this.searchTerm)return this.zt();this.el.addClass("is-active");var i={};i[GLSR.nameprefix]={_action:this.options.action,_nonce:this.el.find("#_search_nonce").val(),exclude:this.options.exclude,search:this.searchTerm},this.searchRequest=wp.ajax.post(GLSR.action,i).done(function(t){this.el.removeClass("is-active"),this.At(t.items?t.items:t.empty),this.options.results=this.options.resultsEl.children(),this.options.resultsEl.addClass("is-active"),delete this.searchRequest}.bind(this))},_t:function(t){GLSR.keys.ESC===t.which&&this.zt(),GLSR.keys.ENTER===t.which&&(this.wt(t),t.preventDefault())},Et:function(t){t.preventDefault();var i=jQuery(t.currentTarget).closest(".glsr-assigned-entry");i.find("a").css({color:"#c00"}),i.fadeOut("fast",(function(){i.remove()}))},Ft:function(){var t=this;this.options.exclude=[],this.options.entriesEl.children("tr").each((function(i){jQuery(this).find(".glsr-string-td2").children().filter(":input").each((function(){var n=jQuery(this),e=n.attr("name").replace(/\[\d+\]/i,"["+i+"]");n.attr("name",e),n.is("[data-id]")&&t.options.exclude.push({id:n.val()})}))}))},zt:function(){this.Qt(),this.options.results={},this.options.searchEl.val("")},Pt:function(){var t=this.options.entriesEl.children().length>0?"remove":"add";this.options.entriesEl.parent()[t+"Class"]("glsr-hidden")}};var S=k,Q=function(t){this.current=null,this.editor=null,this.create=function(t){if(this.editor=tinymce.get(t),this.editor){var i={_action:"mce-shortcode",shortcode:this.current};new o(i).post(this.Gt.bind(this))}};var i=document.querySelectorAll(t);i.length&&i.forEach(function(t){var i=t.querySelector("button"),n=t.querySelectorAll(".mce-menu-item");i&&n.length&&this.k(t,i,n)}.bind(this))};Q.prototype={Tt:{},Ot:[],k:function(t,i,n){document.addEventListener("click",this.Dt.bind(this,t,i)),i.addEventListener("click",this.It.bind(this,t,i)),n.forEach(function(n){n.addEventListener("click",this.Nt.bind(this,t,i))}.bind(this))},Mt:function(){tinymce.execCommand("GLSR_Shortcode")},Vt:function(){jQuery("#scTemp").length?this.Mt():(jQuery("body").append('<textarea id="scTemp" style="display:none!important;"/>'),tinymce.init({elements:"scTemp",external_plugins:GLSR.tinymce,mode:"exact",plugins:["glsr_shortcode","wplink"]}),setTimeout(function(){this.Mt()}.bind(this),200))},bt:function(t,i){jQuery(i).removeClass("active"),jQuery(t).find(".glsr-mce-menu").hide()},u:function(){var t=jQuery("#scTemp");t.length&&(tinymce.get("scTemp").remove(),t.remove()),this.Tt={},this.Ot=[]},Gt:function(t){if(t){if(0===t.body.length)return window.send_to_editor("["+t.shortcode+"]"),void this.u();var i=this.Zt(t);t.ok.constructor===Array&&(i.buttons[0].text=t.ok[0],i.buttons[0].onclick="close",delete i.buttons[1]),this.editor.windowManager.open(i)}},Wt:function(t){for(var i in this.Tt=t,this.Ot=[],t)t.hasOwnProperty(i)&&(this.qt(i),this.Bt(i),this.Ht(i));this.Tt.hide=this.Ot.join(",")},qt:function(t){"display"!==t||jQuery.isNumeric(this.Tt[t])||(this.Tt[t]="")},Bt:function(t){if(GLSR.hideoptions.hasOwnProperty(this.current)){var i=t.substring("hide_".length);-1!==Object.keys(GLSR.hideoptions[this.current]).indexOf(i)&&(this.Tt[t]&&this.Ot.push(i),delete this.Tt[t])}},Ht:function(t){"id"===t&&(this.Tt[t]=(+new Date).toString(36))},Dt:function(t,i,n){jQuery(n.target).closest(jQuery(t)).length||this.bt(t,i)},It:function(t,i,n){n.preventDefault(),n.currentTarget.classList.contains("active")?this.bt(t,i):this.Kt(t,i)},Nt:function(t,i,n){n.preventDefault(),this.current=n.currentTarget.dataset.shortcode,this.current&&(tinymce.get(window.wpActiveEditor)?this.Mt():this.Vt(),setTimeout(function(){this.bt(t,i)}.bind(this),100))},Kt:function(t,i){jQuery(i).addClass("active"),jQuery(t).find(".glsr-mce-menu").show()},Ut:function(t){return[{classes:"btn glsr-btn primary",onclick:this.Jt.bind(this),text:t.ok},{onclick:"close",text:t.close}]},Zt:function(t){return{title:t.title,body:t.body,classes:"glsr-mce-popup",minWidth:320,buttons:this.Ut(t),onsubmit:this.Yt.bind(this,t),onclose:this.u.bind(this)}},Yt:function(t,i){var n="";for(var e in this.Wt(i.data),this.Tt)this.Tt.hasOwnProperty(e)&&""!==this.Tt[e]&&(n+=" "+e+'="'+this.Tt[e]+'"');window.send_to_editor("["+t.shortcode+n+"]")},Jt:function(){var t=this.editor.windowManager.getWindows()[0];this.Xt(t)&&t.submit()},Xt:function(t){var i,n=!0,e=GLSR.shortcodes[this.current];for(var s in e)if(e.hasOwnProperty(s)&&void 0!==(i=t.find("#"+s)[0])&&""===i.state.data.value){n=!1,alert(e[s]);break}return n}};var x=Q,F=n(2),P=n.n(F),A=function(t){var i=document.querySelectorAll(t);i.length&&i.forEach(function(t){t.addEventListener("click",this.ht)}.bind(this))};A.prototype={ht:function(t){var i=t.currentTarget.href.match(/post=([0-9]+)/),n=t.currentTarget.href.match(/action=([a-z]+)/);if(null!==i&&null!==n){var e={_action:"toggle-status",_nonce:GLSR.nonce["toggle-status"],post_id:i[1],status:n[1]};new o(e,t).post((function(i){if(i.class){var n=jQuery(t.target);n.closest("tr").removeClass("status-pending status-publish").addClass(i.class),n.closest("td.column-title").find("strong").html(i.link),i.counts&&(n.closest(".wrap").find("ul.subsubsub").html(i.counts),jQuery("#menu-posts-site-review").find(".awaiting-mod").removeClass().addClass("awaiting-mod count-"+i.pending).find(".unapproved-count").html(i.pending))}}))}}};var R=A,$=function(){this.button=jQuery("button#sync-reviews"),this.progressbar=jQuery(".glsr-progress"),this.service=null,jQuery("form.glsr-form-sync").on("click","#sync-reviews",this.ti.bind(this)),jQuery(document).on("wp-window-resized",this.ii),jQuery(window).on("hashchange",this.ii),this.ii()};$.prototype={ni:function(t){jQuery(".service-"+this.service+" td.column-last_sync").text(t.last_sync),jQuery(".service-"+this.service+" td.column-total_fetched a").text(t.total),this.ei(!1)},ti:function(t){t.preventDefault(),this.service=jQuery('[name="'+GLSR.nameprefix+'[service]"]').val(),this.service&&(this.ei(!0),this.si())},ii:function(){var t=jQuery(".glsr-progress").width();t&&jQuery(".glsr-progress span").width(t)},si:function(){var t={_action:"sync-reviews",service:this.service,stage:"fetch"};new o(t).post(this.ri.bind(this))},ri:function(t){var i={_action:"sync-reviews",job_id:t.job_id,service:this.service,stage:"progress"},n=t.finished?this.oi.bind(this,t):this.ri.bind(this);this.ai(t.message),this.ui(t.percent),setTimeout((function(){new o(i).post(n)}),1500)},oi:function(t){var i=0;try{i=t.meta.pagination.current_page}catch(t){}var n={_action:"sync-reviews",page:i+1,service:this.service,stage:"reviews"};this.ai(t.message),t.percent_synced&&t.percent_synced>=100?this.ni(t):new o(n).post(this.oi.bind(this))},ai:function(t){jQuery(".glsr-progress-status",this.progressbar).text(t)},ui:function(t){t=(t||0)+"%",jQuery(".glsr-progress-bar",this.progressbar).outerWidth(t)},ei:function(t){if(!0===t&&(this.ai(this.progressbar.data("active-text")),this.ui(),this.button.prop("disabled",!0),window.requestAnimationFrame(function(){this.progressbar.addClass("active")}.bind(this))),!1===t)return this.service=null,this.button.prop("disabled",!1),void this.progressbar.removeClass("active");window.requestAnimationFrame(this.ei.bind(this))}};var L=$,C=function(t){this.options=jQuery.extend({},this.defaults,t),this.active=document.querySelector("input[name=_active_tab]"),this.referrer=document.querySelector("input[name=_wp_http_referer]"),this.tabs=document.querySelectorAll(this.options.tabSelector),this.views=document.querySelectorAll(this.options.viewSelector),this.active&&this.referrer&&this.tabs&&this.views&&this.k()};C.prototype={defaults:{expandSelectors:".glsr-nav-view, .glsr-notice",tabSelector:".glsr-nav-tab",viewSelector:".glsr-nav-view"},k:function(){var t=this;jQuery(window).on("hashchange",t.ci.bind(t)),[].forEach.call(t.tabs,function(i,n){(location.hash?i.getAttribute("href").slice(1)===location.hash.slice(5):0===n)&&t.hi(i),i.addEventListener("click",t.ht.bind(t)),i.addEventListener("touchend",t.ht.bind(t))}.bind(t)),jQuery(t.options.expandSelectors).on("click","a",(function(){var i=jQuery(this).data("expand");localStorage.setItem("glsr-expand",i),t.li(jQuery(i))})),jQuery(window).on("load",(function(){t.li(jQuery(localStorage.getItem("glsr-expand")))}))},di:function(t){return t?"add":"remove"},ht:function(t){t.preventDefault();var i=t.currentTarget;i.blur(),this.fi(i),this.hi(i),location.hash="tab-"+i.getAttribute("href").slice(1)},ci:function(){for(var t=location.hash.split("#tab-")[1],i=0;i<this.views.length;i++)if(t===this.views[i].id){this.hi(this.tabs[i]);break}},li:function(t){if(t.length){var i=t.parent().parent();i.removeClass("collapsed"),this.pi(i),i.removeClass("collapsed"),t.parent().removeClass("closed").find(".glsr-accordion-trigger").attr("aria-expanded",!0),window.setTimeout((function(){t.parent()[0].scrollIntoView({behavior:"smooth",block:"center"}),localStorage.removeItem("glsr-expand")}),10)}},vi:function(t){var i=this.referrer.value.split("#")[0]+"#tab-"+this.views[t].id;this.referrer.value=i},hi:function(t){[].forEach.call(this.tabs,function(i,n){var e=this.di(i===t);"add"===e&&(this.active.value=this.views[n].id,this.vi(n),this.gi(n)),i.classList[e]("nav-tab-active")}.bind(this))},gi:function(t){[].forEach.call(this.views,function(i,n){var e=this.di(n!==t);i.classList[e]("ui-tabs-hide")}.bind(this))},pi:function(t){var i=t.hasClass("collapsed")?"remove":"add";t[i+"Class"]("collapsed").find(".glsr-card.postbox")[i+"Class"]("closed").find(".glsr-accordion-trigger").attr("aria-expanded","add"!==i)},fi:function(t){if(t.classList.contains("nav-tab-active")){var i=jQuery(t.getAttribute("href"));this.pi(i)}}};var z=C,E=function(){var t=document.querySelector("#contentdiv > textarea");t&&(this.mi(t),jQuery(document).on("wp-window-resized.editor-expand",function(){this.mi(t)}.bind(this)))};E.prototype={mi:function(t){var i=t.scrollHeight>320?t.scrollHeight:320;t.style.height="auto",t.style.height=i+"px"}};var G=E,T=function(){jQuery("form").on("click","#clear-console",this.yi,this.ht.bind(this)),jQuery("form").on("click","#fetch-console",this.yi,this.ht.bind(this)),jQuery("form").on("click","[data-ajax-click]",this.ht.bind(this));var t=jQuery("input[data-alt]");t.length&&(jQuery(document).on("keydown",this.bi.bind(this,t)),jQuery(document).on("keyup",this.wi.bind(this,t)))};T.prototype={yi:function(t,i){i&&jQuery("#log-file").val(t.console)},ht:function(t){new o({},t,t.currentTarget.closest("form")).post((function(i,n){"function"==typeof t.data&&t.data(i,n),jQuery("html, body").animate({scrollTop:0},500),jQuery("#glsr-notices").on("click","a",(function(){localStorage.setItem("glsr-expand",jQuery(this).data("expand"))})),jQuery('.glsr-notice[data-notice="'+jQuery(t.currentTarget).data("remove-notice")+'"]').remove()}))},bi:function(t,i){GLSR.keys.ALT!==i.keyCode||i.repeat||(t.closest("form").find("[data-alt-text]").addClass("alt"),t.val(1))},wi:function(t,i){GLSR.keys.ALT===i.keyCode&&(t.closest("form").find("[data-alt-text]").removeClass("alt"),t.val(0))}};var O=T;GLSR.keys={ALT:18,DOWN:40,ENTER:13,ESC:27,SPACE:32,UP:38},jQuery((function(t){j.a.highlightAll(),GLSR.notices=new v,GLSR.shortcode=new x(".glsr-mce"),GLSR.stars=new P.a(document.querySelectorAll("select.glsr-star-rating"),{showText:!1}),c(),new l("form.glsr-form"),new f,new m,new b,new S("#glsr-search-posts",{action:"search-posts",onInit:function(){this.el.find(".glsr-remove-button").on("click",this.Et.bind(this))},onResultClick:function(i){var n=t(i.currentTarget),e=wp.template("glsr-assigned-posts"),s={id:n.data("id"),name:"post_ids[]",url:n.data("url"),title:n.text()};if(e){var r=t(e(s));r.find(".glsr-remove-button").on("click",this.Et.bind(this)),this.el.find(".glsr-selected-entries").append(r),this.zt()}this.options.searchEl.focus()}}),new S("#glsr-search-users",{action:"search-users",onInit:function(){this.el.find(".glsr-remove-button").on("click",this.Et.bind(this))},onResultClick:function(i){var n=t(i.currentTarget),e=wp.template("glsr-assigned-users"),s={id:n.data("id"),name:"user_ids[]",url:n.data("url"),title:n.text()};if(e){var r=t(e(s));r.find(".glsr-remove-button").on("click",this.Et.bind(this)),this.el.find(".glsr-selected-entries").append(r),this.zt()}this.options.searchEl.focus()}}),new S("#glsr-search-translations",{action:"search-translations",onInit:function(){this.$t()},onResultClick:function(i){var n=t(i.currentTarget),e=n.data("entry"),s=wp.template("glsr-string-"+(e.p1?"plural":"single"));e.index=this.options.entriesEl.children().length,e.prefix=this.options.resultsEl.data("prefix"),s&&(this.options.entriesEl.append(s(e)),this.options.exclude.push({id:e.id}),this.options.results=this.options.results.filter((function(t,i){return i!==n.get(0)}))),this.Pt()}}),new R("a.glsr-toggle-status"),new z,new G,new O,new L;var i=function(){this.dataset.glsrTrack=this.value};t("select[data-glsr-track]").each(i),t("select[data-glsr-track]").on("change",i),t(".glsr-card.postbox:not(.open)").addClass("closed").find(".glsr-accordion-trigger").attr("aria-expanded",!1).closest(".glsr-nav-view").addClass("collapsed"),t(".glsr-support-step").not(":checked").length<1&&t(".glsr-card-result").removeClass("hidden"),t(".glsr-support-step").on("change",(function(){var i=t(".glsr-support-step").not(":checked").length>0?"add":"remove";t(".glsr-card-result")[i+"Class"]("hidden")})),t(".glsr-card.postbox .glsr-card-heading").on("click",(function(){var i=t(this).parent(),n=i.closest(".glsr-nav-view"),e=i.hasClass("closed")?"remove":"add";i[e+"Class"]("closed").find(".glsr-accordion-trigger").attr("aria-expanded","add"!==e),e=n.find(".glsr-card.postbox").not(".closed").length>0?"remove":"add",n[e+"Class"]("collapsed")}))}))}]);
|
assets/styles/admin/admin.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
@charset "UTF-8";.glsr-addons{display:grid;gap:12px;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));width:100%}@media only screen and (min-width:783px){.glsr-addons{gap:20px;margin:12px 0}}.glsr-addon{border:1px solid #ccd0d4;box-shadow:0 1px 1px -1px rgba(0,0,0,.1);display:flex;flex-direction:column;position:relative}.glsr-addon-description{background-color:#fff;padding:20px;flex:auto}.glsr-addon-description p{margin:0}.glsr-addon-name{font-size:15px;margin-top:0;text-overflow:ellipsis;white-space:nowrap}.glsr-addon-footer{height:48px;background:hsla(0,0%,100%,.65);box-shadow:inset 0 1px 0 rgba(0,0,0,.1);box-sizing:border-box;padding:15px;margin:0;overflow:hidden}@media screen and (max-width:782px){.glsr-addon-footer{height:58px}}.glsr-addon-screenshot{display:block;background-position:50% 50%;background-repeat:no-repeat;background-size:cover;border-bottom:1px solid #ccd0d4;padding-top:66.67%;margin:-1px}@media screen and (min-width:514px){.glsr-addon-screenshot{padding-top:100%}}.glsr-addon-screenshot[data-slug=images]{background-color:#6b46c1;background-image:url(../../images/addon-images.svg)}.glsr-addon-screenshot[data-slug=filters]{background-color:#319796;background-image:url(../../images/addon-filters.svg)}.glsr-addon-screenshot[data-slug=trustalyze]{background-color:#4282d6;background-image:url(../../images/addon-trustalyze.svg)}.glsr-addon-link{position:absolute;right:15px;bottom:10px}@media screen and (max-width:782px){.glsr-addon-link{bottom:6px}}.glsr-addon-link.glsr-external:after{content:"\A0\F504";font-family:dashicons;line-height:1.2;vertical-align:text-bottom;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@-webkit-keyframes glsr-loader{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes glsr-loader{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.wp-admin .glsr-button{position:relative;white-space:nowrap}.wp-admin .glsr-button:after,.wp-admin .glsr-button:before{display:inline-block;position:absolute;top:50%;height:1em;width:1em;border:.2em solid;border-radius:100%;box-sizing:border-box;margin:-.5em auto 0;-webkit-animation:glsr-loader .5s linear infinite;animation:glsr-loader .5s linear infinite}.wp-admin .glsr-button:before{border-top-color:transparent;opacity:.5}.wp-admin .glsr-button:after{border-color:currentColor transparent transparent}.wp-admin .glsr-button[disabled]{padding-left:calc(1em + 15px)}.wp-admin .glsr-button[disabled]:after,.wp-admin .glsr-button[disabled]:before{content:"";left:10px}.wp-admin .glsr-button[disabled] span{visibility:hidden;font-size:0}.wp-admin .glsr-button[disabled] span:after{visibility:visible;content:attr(data-loading);font-size:13px}.wp-admin .glsr-button:not([disabled]) span[data-alt-text].alt{visibility:hidden;font-size:0}.wp-admin .glsr-button:not([disabled]) span[data-alt-text].alt:after{visibility:visible;content:attr(data-alt-text);font-size:13px}#dashboard_right_now li>span.glsr-review-count:before,#dashboard_right_now li a.glsr-review-count:before{content:"\F459";top:-2px}.post-type-site-review #titlediv #title{margin-bottom:20px}.post-type-site-review #contentdiv textarea,.post-type-site-review .wp-editor-area{display:block;width:100%;height:320px;font-family:Georgia,"Times New Roman","Bitstream Charter",Times,serif;font-size:16px;line-height:1.5;padding:10px;resize:vertical;-webkit-font-smoothing:antialiased!important;overflow-wrap:break-word}.post-type-site-review .misc-pub-pinned:before{display:inline-block;position:relative;content:"\F537";font:normal 20px/1 dashicons;speak:none;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;top:0;left:-1px;color:#82878c;padding:0 2px 0 0}.post-type-site-review .misc-pub-pinned .pinned-status-text{font-weight:600}.post-type-site-review .misc-pub-pinned .pinned-status-select{margin-top:3px}.wp-admin .glsr-response{display:block;height:6em;width:100%;margin:12px 0 0}.glsr-mce{position:relative;display:inline-block;margin-right:1px}.glsr-mce-menu.mce-menu{display:none;position:absolute;top:100%;left:0;min-width:100%;background:#fff;padding:5px 0;margin:-2px 0 0}.glsr-mce-menu-item.mce-menu-item{cursor:pointer;font-size:14px;white-space:nowrap;padding:6px 12px;margin-bottom:2px}.mce-glsr-mce-popup a{text-decoration:underline}.mce-glsr-mce-popup p{margin-bottom:1em}.mce-glsr-mce-popup p.strong{font-weight:600}.mce-glsr-mce-popup p.no-margin{margin-bottom:0}.mce-glsr-mce-popup p.margin-top{margin-top:1em}.mce-glsr-btn.mce-btn button{box-sizing:border-box;padding:0 8px}.wp-media-buttons button.glsr-mce-button{outline:none;padding-left:5px;margin-right:0}button.glsr-mce-button:after{display:inline-block;position:relative;top:-1px;left:-1px;width:0;height:0;content:"";border-top:6px solid;border-right:4px solid transparent;border-left:4px solid transparent}button.glsr-mce-button.active:after{top:-2px;border-top:0;border-bottom:6px solid}button.glsr-mce-button:active{margin-bottom:5px}button.glsr-mce-button .wp-media-buttons-icon:before{content:"\F459";font:normal 18px/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media screen and (max-width:782px){button.glsr-mce-button .wp-media-buttons-icon:before{font-size:20px!important}}div.sc-wrap{margin-right:1px}#site-review-detailsdiv.postbox .inside{padding:0;margin:0}.glsr-response-postbox{margin-top:20px;margin-bottom:0}.js .glsr-response-postbox .hndle{cursor:default}.js .glsr-response-postbox .toggle-indicator:before{content:"\F142";display:inline-block;font:normal 20px/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important}.js .glsr-response-postbox.closed .toggle-indicator:before{content:"\F140"}.glsr-metabox-table{width:auto;padding:0 12px 12px;margin-top:12px}.glsr-metabox-table td{line-height:1.5;vertical-align:top;padding:0 14px 8px 0}.glsr-metabox-table td:first-child{font-weight:600}.glsr-metabox-table td:last-child{padding-bottom:0}.glsr-metabox-actions{border-top:1px solid #ccd0d4;background:#f5f5f5;padding:10px;clear:both}.glsr-revert-action{text-align:right;float:right;line-height:1.9}.glsr-revert-action .spinner{float:left}.glsr-search-box .description{display:block}.glsr-assigned-entry{display:block;margin-left:20px}.glsr-remove-button{position:absolute;left:-4px;width:20px;height:20px;border:none;margin:0;padding:0;background:0 0;cursor:pointer;text-indent:0}.glsr-remove-button:focus .glsr-remove-icon:before,.glsr-remove-button:hover .glsr-remove-icon:before{color:#c00}.glsr-remove-icon:before{margin-left:0;border-radius:50%;color:#007cba;color:var(--wp-admin-theme-color);line-height:1.28;background:0 0;content:"\F153";display:block;font:400 16px/20px dashicons;speak:none;height:20px;text-align:center;width:20px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.glsr-metabox-field select:focus{border-color:#007cba;border-color:var(--wp-admin-theme-color);color:#016087;color:var(--wp-admin-theme-color-darker-20);box-shadow:0 0 0 1px #007cba;box-shadow:0 0 0 1px var(--wp-admin-theme-color)}.glsr-metabox-field{box-sizing:border-box;position:relative}.glsr-metabox-field:first-child{margin-top:12px}.glsr-metabox-field .glsr-label{box-sizing:border-box;width:100%;padding:0 12px;position:relative;margin:0;line-height:1.5}.glsr-metabox-field .glsr-label label{display:block;margin:0;padding:0;font-size:14px}.glsr-metabox-field .glsr-input{box-sizing:border-box;width:100%;position:relative;padding:12px;margin:0}.glsr-metabox-field .glsr-input>img{border-radius:3px;margin-top:12px}.glsr-metabox-field input[type=date],.glsr-metabox-field input[type=datetime-local],.glsr-metabox-field input[type=datetime],.glsr-metabox-field input[type=email],.glsr-metabox-field input[type=month],.glsr-metabox-field input[type=number],.glsr-metabox-field input[type=password],.glsr-metabox-field input[type=search],.glsr-metabox-field input[type=tel],.glsr-metabox-field input[type=text],.glsr-metabox-field input[type=time],.glsr-metabox-field input[type=url],.glsr-metabox-field input[type=week],.glsr-metabox-field select,.glsr-metabox-field textarea{margin:0;width:100%}.glsr-input-value:disabled{color:#32373c!important;background-color:#eee!important;border-color:#7e8993!important;cursor:default;opacity:1}@media screen and (min-width:641px){.glsr-metabox-field{display:flex;flex:1 auto}.glsr-metabox-field:first-child{margin-top:0}.glsr-metabox-field:first-child .glsr-input,.glsr-metabox-field:first-child .glsr-label{padding-top:12px}.glsr-metabox-field:last-child .glsr-input,.glsr-metabox-field:last-child .glsr-label{padding-bottom:12px}.glsr-metabox-field .glsr-label{align-items:flex-start;display:flex;background:#f9f9f9;border-right:1px solid #ddd;padding:6px 12px;min-width:120px;width:20%;line-height:40px}.glsr-metabox-field .glsr-label label{font-weight:600}.glsr-metabox-field .glsr-input{flex-direction:column;justify-content:center;display:flex;padding:6px 12px;vertical-align:top}}@media screen and (min-width:783px){.glsr-metabox-field .glsr-label{line-height:30px}}.glsr-toggle-field{display:flex;line-height:normal;height:40px}@media screen and (min-width:641px){.glsr-toggle-field{align-items:center}}@media screen and (min-width:783px){.glsr-toggle-field{height:30px}}.glsr-toggle{position:relative;display:inline-block}.glsr-toggle .glsr-toggle__track{content:"";display:inline-block;box-sizing:border-box;vertical-align:top;background-color:#fff;border:1px solid #1e1e1e;width:36px;height:18px;border-radius:9px;transition:background .2s ease}@media (prefers-reduced-motion:reduce){.glsr-toggle .glsr-toggle__track{transition-duration:0s}}.glsr-toggle .glsr-toggle__thumb{display:block;position:absolute;box-sizing:border-box;top:3px;left:3px;width:12px;height:12px;border-radius:50%;transition:transform .1s ease;background-color:#1e1e1e;border:5px solid #1e1e1e}@media (prefers-reduced-motion:reduce){.glsr-toggle .glsr-toggle__thumb{transition-duration:0s}}.glsr-toggle .glsr-toggle__input[type=checkbox]:checked~.glsr-toggle__track{background-color:#007cba;background-color:var(--wp-admin-theme-color);border:9px solid transparent}.glsr-toggle .glsr-toggle__input:focus+.glsr-toggle__track{box-shadow:0 0 0 2px #fff,0 0 0 3.5px #007cba;box-shadow:0 0 0 2px #fff,0 0 0 3.5px var(--wp-admin-theme-color);outline:2px solid transparent;outline-offset:2px}.glsr-toggle .glsr-toggle__input[type=checkbox]:checked~.glsr-toggle__thumb{background-color:#fff;border-width:0;transform:translateX(18px)}.glsr-toggle input.glsr-toggle__input[type=checkbox]{position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;margin:0;padding:0;z-index:1;border:none}.glsr-toggle input.glsr-toggle__input[type=checkbox]:checked{background:none}.glsr-toggle input.glsr-toggle__input[type=checkbox]:before{content:""}.glsr-metabox-field .gl-star-rating[data-star-rating]>select{-webkit-clip-path:circle(1px at 0 0);clip-path:circle(1px at 0 0);clip:rect(1px,1px,1px,1px);overflow:hidden!important;padding-left:0;padding-right:0;position:absolute!important;top:0;visibility:visible!important;white-space:nowrap;width:1px!important}.glsr-metabox-field .gl-star-rating[data-star-rating]>select:after,.glsr-metabox-field .gl-star-rating[data-star-rating]>select:before{display:none}.glsr-metabox-field .gl-star-rating-stars{align-items:center;color:#555d66;cursor:pointer;display:flex;float:left;position:relative;white-space:nowrap}.glsr-metabox-field .gl-star-rating[data-star-rating]>select[disabled]+.gl-star-rating-stars{color:#72777c;cursor:default}.glsr-metabox-field .gl-star-rating-stars>span{-webkit-font-smoothing:antialiased;font-family:dashicons;font-size:30px;letter-spacing:1px;line-height:1;text-align:center;transition:color .1s ease-in}@media screen and (min-width:783px){.glsr-metabox-field .gl-star-rating-stars>span{font-size:24px}}.glsr-metabox-field .gl-star-rating-stars>span:before{content:"\F154"}.glsr-metabox-field .gl-star-rating-stars.s10>span:first-child:before,.glsr-metabox-field .gl-star-rating-stars.s20>span:nth-child(-1n+2):before,.glsr-metabox-field .gl-star-rating-stars.s30>span:nth-child(-1n+3):before,.glsr-metabox-field .gl-star-rating-stars.s40>span:nth-child(-1n+4):before,.glsr-metabox-field .gl-star-rating-stars.s50>span:nth-child(-1n+5):before,.glsr-metabox-field .gl-star-rating-stars.s60>span:nth-child(-1n+6):before,.glsr-metabox-field .gl-star-rating-stars.s70>span:nth-child(-1n+7):before,.glsr-metabox-field .gl-star-rating-stars.s80>span:nth-child(-1n+8):before,.glsr-metabox-field .gl-star-rating-stars.s90>span:nth-child(-1n+9):before,.glsr-metabox-field .gl-star-rating-stars.s100>span:before{content:"\F155"}.glsr-metabox-field .gl-star-rating[data-star-rating]>select:focus+.gl-star-rating-stars:before{border-radius:3px;border:1px solid #007cba;border:1px solid var(--wp-admin-theme-color);box-shadow:0 0 0 1px #007cba;box-shadow:0 0 0 1px var(--wp-admin-theme-color);box-sizing:border-box;content:"";display:block;height:40px;pointer-events:none;position:absolute;width:100%}@media screen and (min-width:783px){.glsr-metabox-field .gl-star-rating[data-star-rating]>select:focus+.gl-star-rating-stars:before{height:30px}}.glsr-notice-branded{border-left-color:#f6e05e!important;padding-left:98px}.glsr-notice-branded-image{align-items:center;background-color:#faf089;border-right:1px solid #ccd0d4;bottom:0;display:flex;justify-content:center;left:0;padding:0 5px;position:absolute;top:0;width:75px}.glsr-notice:not(.notice-error):not(.notice-info):not(.notice-warning):not(.glsr-notice-branded){display:flex;border-left-color:#32373c}.glsr-notice-icon{display:flex;align-items:flex-start;margin-left:6px;margin-top:18px;margin-right:18px}.glsr-notice-icon img{width:80px;height:80px}@media only screen and (min-width:601px){.glsr-notice-icon img{width:96px;height:96px}}.glsr-notice-content{margin:6px 0}.glsr-notice-content h3{line-height:1.25;margin-top:12px;margin-bottom:12px}.glsr-notice-content .button,.glsr-notice-content p{margin-top:0;margin-bottom:12px}:root{--base00:#2b303b;--base01:#343d46;--base02:#4f5b66;--base03:#65737e;--base04:#a7adba;--base05:#c0c5ce;--base06:#dfe1e8;--base07:#eff1f5;--base08:#bf616a;--base09:#d08770;--base0A:#ebcb8b;--base0B:#a3be8c;--base0C:#96b5b4;--base0D:#8fa1b3;--base0E:#b48ead;--base0F:#ab7967}.syntax-shortcode,code[class*=language-],pre[class*=language-]{background-color:#181818;background-color:var(--base00);color:#d8d8d8;color:var(--base05);font-family:"Operator Mono Lig","Fira Code",monospace;font-size:13px;-webkit-hyphens:none;-ms-hyphens:none;hyphens:none;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;text-align:left;white-space:pre;word-break:normal;word-spacing:normal;word-wrap:normal;border-radius:2px}.syntax-shortcode,pre[class*=language-]{display:block;padding:1em;margin:.5em 0;overflow:auto}pre[class*=language-]>code{margin:0;padding:0}:not(pre)>code[class*=language-]{padding:.1em;border-radius:.3em;white-space:normal}.token.bold{font-weight:bold}.token.italic{font-style:italic}.syntax-shortcode .tag{color:#ab4642;color:var(--base08)}.syntax-shortcode .attr-name{color:#ba8baf;color:var(--base0E)}.syntax-shortcode .attr-value{color:#a1b56c;color:var(--base0B)}.language-css .comment{color:#585858;color:var(--base03)}.language-css .important,.language-css .selector{color:#ba8baf;color:var(--base0E)}.language-css .function,.language-css .property,.language-css .url .function{color:#7cafc2;color:var(--base0D)}.language-css .string,.language-css .url{color:#a1b56c;color:var(--base0B)}.language-css .atrule,.language-css .atrule .punctuation,.language-css .url .punctuation{color:#d8d8d8;color:var(--base05)}.language-css .atrule .rule{color:#f7ca88;color:var(--base0A)}.language-css .atrule .keyword,.language-html .tag{color:#ab4642;color:var(--base08)}.language-html .attr-name{color:#ba8baf;color:var(--base0E)}.language-html .attr-value{color:#a1b56c;color:var(--base0B)}.language-html .attr-equals,.language-php .attr-value,.language-php .char,.language-php .constant,.language-php .package .punctuation,.language-php .property,.language-php .punctuation,.language-php .regex,.language-php .variable{color:#d8d8d8;color:var(--base05)}.language-php .block-comment,.language-php .cdata,.language-php .comment,.language-php .doctype,.language-php .prolog{color:#585858;color:var(--base03)}.language-php .string{color:#a1b56c;color:var(--base0B)}.language-php .important,.language-php .keyword,.language-php .selector{color:#ba8baf;color:var(--base0E)}.language-php .number,.language-php .operator{color:#ab4642;color:var(--base08)}.language-php .boolean,.language-php .class-name,.language-php .function,.language-php .package{color:#7cafc2;color:var(--base0D)}.glsr-progress{position:relative;display:block;height:28px;opacity:.65;text-align:center;font-size:14px}@media screen and (max-width:782px){.glsr-progress{height:31px}}.glsr-progress.active{opacity:1}.glsr-progress *{box-sizing:border-box}.glsr-progress-background,.glsr-progress-bar{height:100%;background-size:40px 40px}.glsr-progress.active .glsr-progress-background,.glsr-progress.active .glsr-progress-bar{transition:width 2.5s linear;-webkit-animation:glsr-progress-bar 1s linear infinite;animation:glsr-progress-bar 1s linear infinite}.glsr-progress-bar{position:relative;width:0;color:#fff;background-color:#616b75;background-image:linear-gradient(-45deg,hsla(0,0%,100%,.15) 25%,transparent 0,transparent 50%,hsla(0,0%,100%,.15) 0,hsla(0,0%,100%,.15) 75%,transparent 0,transparent);border:1px solid #4a5259;border-top-color:#616b75;border-radius:3px 0 0 3px;overflow:hidden;z-index:1}.glsr-progress-bar[style="width: 0%;"]{border-width:0}.glsr-progress-bar[style="width: 100%;"]{border-radius:3px}.glsr-progress-background{position:absolute;top:0;left:0;width:100%;height:28px;background-color:#f7f7f7;background-image:linear-gradient(-45deg,#fff 25%,transparent 0,transparent 50%,#fff 0,#fff 75%,transparent 0,transparent);border-radius:3px;box-shadow:inset 0 1px 2px #ccd0d4;border:1px solid #ccc}@media screen and (max-width:782px){.glsr-progress-background{height:31px}}.glsr-progress span{position:absolute;left:0;top:0;line-height:26px;color:#555;padding:0 6px}@media screen and (max-width:782px){.glsr-progress span{line-height:29px}}.glsr-progress-bar>span{color:#fff;text-shadow:0 -1px 1px #4a5259,1px 0 1px #4a5259,0 1px 1px #4a5259,-1px 0 1px #4a5259}@-webkit-keyframes glsr-progress-bar{0%{background-position:0 0}to{background-position:40px 0}}@keyframes glsr-progress-bar{0%{background-position:0 0}to{background-position:40px 0}}.glsr-progress .glsr-progress-bar{background-color:#681b98;border-color:#681b98 #591782 #591782}.glsr-progress .glsr-progress-bar>span{text-shadow:0 -1px 1px #591782,1px 0 1px #591782,0 1px 1px #591782,-1px 0 1px #591782}.star-rating .glsr-star{width:16px;font-size:16px;line-height:20px;color:#555}select[data-glsr-track=minimal]{border-color:#ffb900!important;color:#e6a700!important}select[data-glsr-track=minimal]:focus{box-shadow:0 0 0 1px #ffb900}select[data-glsr-track=all]{border-color:#dc3232!important;color:#dc3232!important}select[data-glsr-track=all]:focus{box-shadow:0 0 0 1px #dc3232}td.glsr-string-td1{position:relative;padding-bottom:2em}td.glsr-string-td1 .row-actions{position:absolute;bottom:10px;z-index:1}td.glsr-string-td2 input[type=text]:last-of-type{margin-bottom:0}td.glsr-string-td2 .description{display:block;padding-top:.5em}.is-invalid td.glsr-string-td2 .description{color:#dc3232}.mobile td.glsr-string-td1 .row-actions,.no-js td.glsr-string-td1 .row-actions,td.glsr-string-td1 .row-actions.visible,tr:hover td.glsr-string-td1 .row-actions{left:10px}.is-invalid td.glsr-string-td1,.is-invalid td.glsr-string-td1>div,.is-invalid td.glsr-string-td2,.is-invalid td.glsr-string-td2>div{position:relative}.is-invalid td.glsr-string-td1>button,.is-invalid td.glsr-string-td1>div,.is-invalid td.glsr-string-td2>button,.is-invalid td.glsr-string-td2>div{z-index:1}.is-invalid td.glsr-string-td1:after,.is-invalid td.glsr-string-td2:after{display:block;position:absolute;content:"";top:-1px;right:-1px;bottom:-1px;left:-1px;background:rgba(220,50,50,.06);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:0}.is-invalid td.glsr-string-td1:after{background:rgba(220,50,50,.08)}.is-invalid td.glsr-string-td2 input[type=text],.is-invalid td.glsr-string-td2 textarea{border-color:#e2cbcb}@media screen and (max-width:782px){.post-type-site-review .wp-list-table .is-expanded.is-invalid td:not(.hidden){overflow:unset}}@media screen and (max-width:720px){h2 a.glsr-nav-tab,h2 a.glsr-nav-tab.nav-tab-active:hover{transition-property:background,color;border-bottom:1px solid #ccc;margin:10px 10px 0 0}.wrap h2.glsr-nav-tab-wrapper{border-bottom:0}}.glsr-card{max-width:800px;box-sizing:border-box}.glsr-card-result{border:1px solid #ccd0d4;background-color:#f6fbfd;padding:0 1em;margin:1em 0}.glsr-card ol{list-style:decimal;margin-left:1.5em}.glsr-card ul{list-style:disc;margin-left:1.5em}.glsr-card h2{margin-top:0;text-align:left}.glsr-heading{color:#000;font-size:14px;font-weight:600}.glsr-card.postbox{padding:0;margin-bottom:0}.glsr-card.postbox:not(:last-child){border-bottom:none}.glsr-card.postbox.closed:last-child{border-bottom:1px solid #ccd0d4}.glsr-card .components-notice{margin:0}.glsr-card .components-notice.is-info{background-color:rgba(231,245,254,.75)}.glsr-card h3.glsr-card-heading{border-top:1px solid #ccd0d4;color:inherit;font-size:inherit;font-weight:600;line-height:inherit;margin:0}.glsr-card h3.glsr-card-heading:first-child{border-top:none}.glsr-accordion-trigger{background:#fff;border:0;color:#32373c;cursor:pointer;display:flex;font-weight:400;margin:0;padding:1em 3.5em 1em 1.5em;min-height:46px;position:relative;text-align:left;width:100%;align-items:center;justify-content:space-between;-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto}.glsr-accordion-trigger:active,.glsr-accordion-trigger:hover{background:#f8f9f9}.glsr-accordion-trigger:focus{color:#191e23;border:none;box-shadow:none;outline-offset:-1px;outline:2px solid #0071a1;background-color:#f8f9f9;z-index:1}.glsr-accordion-trigger .title{pointer-events:none;font-weight:600;font-size:16px;flex-grow:1}.glsr-accordion-trigger .icon{border:solid #555d66;border-width:0 2px 2px 0;height:.5rem;pointer-events:none;position:absolute;right:1.5em;top:50%;transform:translateY(-70%) rotate(45deg);width:.5rem}.glsr-accordion-trigger[aria-expanded=true] .icon{transform:translateY(-30%) rotate(-135deg)}.glsr-accordion-trigger .badge{padding:.1rem .5rem .15rem;color:#32373c;font-weight:500;margin-left:.5rem;border:1px solid #bfe7f3}.glsr-accordion-trigger .badge.important{border:1px solid #dc3232}@media screen and (max-width:782px){.glsr-accordion-trigger{align-items:flex-start;flex-direction:column}.glsr-accordion-trigger .badge{margin:1em 0 0}}.glsr-card.postbox .inside{border-bottom:none;border-top:1px solid #ccd0d4;margin:0;padding:1em 1.5em}.glsr-card.postbox .inside>:not(h2):first-child{margin-top:.5em}.glsr-card.postbox .inside>:last-child{margin-bottom:.5em!important}.glsr-card p.submit{margin:0}.glsr-card code,.glsr-card pre{word-spacing:normal;word-break:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-ms-hyphens:none;hyphens:none}.glsr-card dd{margin:1em 0}.glsr-card dt{font-weight:600;margin:1em 0}.glsr-card code a{text-decoration:none}.glsr-float-left{float:left;padding-right:.25em}.glsr-code[readonly]{width:100%;font-family:"Operator Mono","Fira Code",monaco,monospace;font-weight:300;white-space:pre;-webkit-font-smoothing:antialiased!important}.glsr-code-large{min-height:60vh}@media only screen and (max-width:782px){.glsr-card{max-width:inherit}}tr.glsr-setting-field td .inline br{display:none}tr.glsr-setting-field td label:after{content:"";margin-right:1em}.glsr-setting-field .button{margin-top:6px}.glsr-notice-inline{background:hsla(0,0%,100%,.65);color:#555;padding:4px 10px 10px;margin:10px 0 0!important}.glsr-notice-inline p{padding:0!important}.glsr-setting-field{margin:1em 0;line-height:1.5}.glsr-setting-field small code{font-size:inherit;padding:0 3px 1px}.glsr-setting-field>label{margin-right:3px}@media screen and (max-width:782px){.glsr-setting-field>label+input.small-text{margin-left:0}}.glsr-setting-field>ul{margin:0}.glsr-setting-field>ul li{margin-bottom:2px}.glsr-setting-field textarea.code,.post-type-site-review .code,.post-type-site-review code{font-family:"Operator Mono","Fira Code",monaco,monospace}.glsr-hidden{display:none}.glsr-search-box,.glsr-strings-table{position:relative;max-width:800px}.glsr-search-box *,.glsr-strings-table *{box-sizing:border-box}.glsr-search-box,.glsr-search-multibox{position:relative;margin:1em 0}.glsr-search-box.is-active .spinner,.glsr-search-multibox.is-active .spinner{visibility:visible}.glsr-search-box.is-active input[type=search]::-webkit-search-cancel-button,.glsr-search-multibox.is-active input[type=search]::-webkit-search-cancel-button{display:none!important}.glsr-spinner{visibility:hidden;position:absolute;top:5px;right:5px;height:20px;width:20px;background-color:#fff;z-index:5}.glsr-spinner .spinner{margin:0}.loading-content .glsr-spinner{visibility:visible}.glsr-search-input{position:relative;width:100%;font-weight:300;line-height:1.5;padding:3px 5px;margin:0;z-index:2}.site-review_page_settings .glsr-search-input{height:32px;font-size:16px}.glsr-search-input:focus{z-index:20}.glsr-search-results{position:absolute;top:calc(100% - 4px);padding-top:4px;left:0;width:100%;max-height:315px;overflow-x:scroll;-webkit-overflow-scrolling:touch;border:1px solid #7e8993;border-top:none;box-shadow:0 1px 1px rgba(0,0,0,.04);background-color:#fff;box-sizing:border-box;border-radius:0 0 4px 4px;z-index:3}.glsr-search-results:not(.is-active){display:none}.glsr-search-results:before{display:block;background:#fff;border-left:1px solid #7e8993;border-right:1px solid #7e8993;box-sizing:border-box;content:"";height:4px;position:absolute;top:0;left:-1px;right:-1px}.glsr-search-results>div,.glsr-search-results>span{position:relative;display:block;box-sizing:border-box;height:32px;line-height:32px;text-overflow:ellipsis;white-space:nowrap;padding:0 10px;margin-top:-1px;overflow:hidden}.glsr-search-results>div{background-color:#f6fbfd}.glsr-search-results>span:active,.glsr-search-results>span:focus,.glsr-search-results>span:hover{color:#fff;background-color:#00a0d2;cursor:pointer;outline:none}.glsr-search-box-wrap{position:relative}.glsr-strings-table{transition:opacity .2s linear}.glsr-focus .glsr-strings-table{opacity:.2;pointer-events:none}.glsr-string-td1,.glsr-string-td2{border-top:none;padding:13px 15px}.glsr-string-td1{max-width:375px;border-right:1px solid #ccd0d4;vertical-align:top}.glsr-string-td2{width:60%;max-width:375px}.glsr-strings-table p:not(.row-actions){font-size:14px;font-weight:400;line-height:1.3;color:#000}.glsr-strings-table p.row-actions{margin:0}.glsr-strings-table textarea{display:block;width:100%;margin:0}.glsr-strings-table input[type=text]{display:block;width:100%;margin:0 0 5px}.glsr-strings-table input[type=text]:active,.glsr-strings-table input[type=text]:focus{position:relative}.glsr-string-tr:last-child .glsr-string-td2,.glsr-string-tr:not(.is-expanded):last-child .glsr-string-td1{border-bottom:none}@media screen and (max-width:782px){.glsr-search-results>span{padding:0 10px}.glsr-string-td1{max-width:none;border-right:none}.glsr-string-td2{max-width:none;padding:13px 15px!important}.glsr-spinner{right:10px}}.glsr-string-tr.ui-sortable-helper{opacity:.8;display:table;box-shadow:0 1px 2px rgba(0,0,0,.1)}.ui-sortable .glsr-string-tr:hover{cursor:move}@media screen and (min-width:783px){.ui-sortable-placeholder+.glsr-string-tr .glsr-string-td2{border-top:1px solid #f1f1f1}}.ui-sortable-helper .glsr-string-td1{border-left:1px solid #999}.ui-sortable-helper .glsr-string-td1,.ui-sortable-helper .glsr-string-td2{border-top:1px solid #999!important;border-bottom:1px solid #999!important}.ui-sortable-helper .glsr-string-td2{border-right:1px solid #999}@media screen and (max-width:782px){.ui-sortable-helper .glsr-string-td1{border:1px solid #999}.ui-sortable-helper.is-expanded .glsr-string-td1{border-bottom:none!important}.ui-sortable-helper.is-expanded .glsr-string-td2{border:1px solid #999;border-top-color:#f1f1f1!important}}.glsr-search-multibox,.glsr-search-multibox-entries{display:flex;margin:0;position:relative}.glsr-search-multibox-entries{background-color:#fff;border-radius:4px;border:1px solid #7e8993;box-shadow:0 0 0 transparent;color:#32373c;flex-direction:column;width:100%;z-index:2}.glsr-search-multibox-entries:focus-within{border-color:#007cba;box-shadow:0 0 0 1px #007cba;outline:2px solid transparent;z-index:20}.glsr-search-multibox .glsr-selected-entries{display:flex;flex-wrap:wrap;padding-right:6px}.glsr-search-multibox .glsr-selected-entries>span{align-items:center;background:#f3f5f6;border-radius:3px;box-sizing:border-box;display:flex;font-size:11px;font-style:normal;height:24px;line-height:1;margin:6px 0 0 6px;padding:0 10px 0 30px;position:relative}.glsr-search-multibox .glsr-selected-entries a{color:inherit;pointer-events:none}.glsr-search-multibox .glsr-remove-button{left:5px}.glsr-search-multibox .glsr-remove-icon:before{color:#72777c}.glsr-search-multibox input[type=search].glsr-search-input{border:none;margin:0;background:transparent;width:auto;flex-grow:1}.glsr-search-multibox input[type=search].glsr-search-input:focus{outline:none;box-shadow:none}.glsr-search-multibox .glsr-spinner{top:auto;bottom:5px;right:7px}@media screen and (max-width:782px){.glsr-search-multibox .glsr-selected-entries>span{margin:8px 0 0 8px;font-size:14px;height:32px;padding:8px 10px 8px 30px}.glsr-search-multibox .glsr-spinner{bottom:10px;right:10px}}.glsr-status{max-width:750px}.glsr-status th.column-primary{width:50%}.glsr-status td.column-primary{position:relative;font-size:14px!important;font-weight:600}.glsr-status td.column-primary span{font-weight:400}.glsr-status .toggle-row{top:0}.glsr-status .toggle-row:before{top:6px}.glsr-status tfoot td.glsr-radio-column,.glsr-status thead td.glsr-radio-column{color:#82878c;text-align:center;padding-left:4px}@media screen and (max-width:782px){.glsr-status th input[type=radio]{margin-bottom:8px}.glsr-status tfoot td.glsr-radio-column,.glsr-status thead td.glsr-radio-column{padding-top:4px;padding-left:9px}}.wrap h2.glsr-nav-tab-wrapper{padding-top:0;margin-top:9px}.glsr-nav-view{margin-top:20px}.glsr-subsubsub{float:none;text-align:left}.glsr-screenshot{border:1px solid #ccd0d4;box-shadow:0 1px 1px rgba(0,0,0,.04);box-sizing:border-box}.glsr-welcome .badge{position:absolute;top:1em;right:0;padding:.25rem .5rem;font-weight:500;font-size:16px;text-rendering:optimizeLegibility;background-color:#72777c;color:#fff;border-radius:5px}@media only screen and (max-width:500px){.glsr-welcome .badge{display:inline-block;position:relative;top:auto}}.glsr-welcome.about-wrap{margin-top:40px}.glsr-welcome.about-wrap .inside li,.glsr-welcome.about-wrap .inside p{font-size:16px}.glsr-welcome .glsr-about-text{margin:1em 0}.glsr-welcome-banner{margin:2em 0 0}.glsr-welcome .about-buttons{display:flex;flex-wrap:wrap;margin:1.5em 0}.glsr-welcome .components-button{margin:0 .5em .5em 0}.glsr-welcome .dashicon:before{font:normal 18px dashicons;margin-right:6px;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.glsr-welcome .glsr-nav-view{margin-top:0}.glsr-welcome ul:not(.glsr-flex-row){list-style:circle;padding-left:20px}.glsr-flex-row{display:flex;flex-direction:row;flex-wrap:wrap;margin-left:-20px;margin-right:-20px}.glsr-column{width:100%;max-width:100%;box-sizing:border-box;padding-left:20px;padding-right:20px}@media (min-width:601px){.glsr-has-2-columns .glsr-column,.glsr-has-3-columns .glsr-column{max-width:50%}}@media (min-width:783px){.glsr-has-3-columns .glsr-column{max-width:33.33%}}.glsr-metabox-table .star-rating .star,.post-type-site-review .star-rating .star{width:16px;font-size:16px;line-height:20px;color:#555}.post-type-site-review .star-rating .star{margin-top:-2px}.post-type-site-review .hide-column-tog+.pinned-icon+svg,.post-type-site-review .wp-list-table .approve,.post-type-site-review .wp-list-table .status-pending .unapprove{display:none}.post-type-site-review .wp-list-table .spam .approve,.post-type-site-review .wp-list-table .status-pending .approve,.post-type-site-review .wp-list-table .trash .approve{display:inline}.post-type-site-review .wp-list-table .approve a{color:#006505}.post-type-site-review .wp-list-table .approve a:hover{color:#007f06}.post-type-site-review .wp-list-table .unapprove a{color:#d98500}.post-type-site-review .wp-list-table .unapprove a:hover{color:#f39500}.post-type-site-review .wp-list-table th.column-rating{width:100px}.post-type-site-review .wp-list-table td.column-is_pinned i.pin-review{align-items:center;cursor:pointer;display:flex;float:none;justify-content:center;margin:0;transition:none}.post-type-site-review .wp-list-table td.column-is_pinned i{line-height:24px;text-indent:-3px}.post-type-site-review .wp-list-table td.column-is_pinned i:not(.pinned){color:rgba(85,85,85,.2)}.post-type-site-review .wp-list-table :not(.status-pending)+tr.status-pending th.check-column{box-shadow:inset 0 1px 0 rgba(0,0,0,.07),inset 0 -1px 0 rgba(0,0,0,.07)}.post-type-site-review .wp-list-table :not(.status-pending)+tr.status-pending td:nth-child(2){box-shadow:inset 0 1px 0 rgba(0,0,0,.07)}.post-type-site-review .wp-list-table :not(.status-pending)+tr.status-pending:not(.is-expanded) td:nth-child(2){box-shadow:inset 0 1px 0 rgba(0,0,0,.07),inset 0 -1px 0 rgba(0,0,0,.07)}.post-type-site-review .wp-list-table tr.status-pending.is-expanded td:last-child,.post-type-site-review .wp-list-table tr.status-pending:not(.is-expanded) td:nth-child(2),.post-type-site-review .wp-list-table tr.status-pending th.check-column{box-shadow:inset 0 -1px 0 rgba(0,0,0,.07)}.post-type-site-review .wp-list-table tr.status-pending td,.post-type-site-review .wp-list-table tr.status-pending th.check-column{background-color:#fef7f1}.post-type-site-review .wp-list-table tr.status-pending th.check-column{position:relative;border-left:4px solid #d54e21;z-index:1}.post-type-site-review .wp-list-table tr.status-pending th.check-column input{margin-left:4px}@media screen and (min-width:783px){.post-type-site-review .wp-list-table :not(.status-pending)+tr.status-pending td{box-shadow:inset 0 1px 0 rgba(0,0,0,.07),inset 0 -1px 0 rgba(0,0,0,.07)}.post-type-site-review .wp-list-table tr.status-pending td{box-shadow:inset 0 -1px 0 rgba(0,0,0,.07)}.post-type-site-review .wp-list-table th.column-assigned_posts,.post-type-site-review .wp-list-table th.column-assigned_users,.post-type-site-review .wp-list-table th.column-ip_address{white-space:nowrap}.post-type-site-review .wp-list-table th.column-assigned_posts,.post-type-site-review .wp-list-table th.column-assigned_users,.post-type-site-review .wp-list-table th.column-name,.post-type-site-review .wp-list-table th.column-taxonomy-site-review-category,.post-type-site-review .wp-list-table th.column-type{width:120px}.post-type-site-review .wp-list-table th.column-is_pinned{width:45px}.post-type-site-review .wp-list-table th.column-is_pinned span.pinned-icon span{display:none}.post-type-site-review .wp-list-table th.column-is_pinned span.pinned-icon:after{display:inline-block;position:relative;content:"\F537";font:normal 20px/1 dashicons;speak:none;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;width:16px;height:20px;line-height:22px;font-size:16px;text-align:center}.post-type-site-review .wp-list-table th.column-is_pinned .sorting-indicator{margin-left:3px}.post-type-site-review .wp-list-table td.column-is_pinned{padding:8px 6px}.post-type-site-review .wp-list-table td.column-is_pinned i{text-indent:0}}#available-widgets [class*=site-reviews] .widget-title:before{content:"\F459"}.glsr-no-margins{margin:0!important}::placeholder{color:#72777c!important;font-size:inherit!important;line-height:inherit!important;opacity:1}::-webkit-input-placeholder{color:#72777c!important;font-size:inherit!important;line-height:inherit!important;opacity:1}:-moz-placeholder,::-moz-placeholder{color:#72777c!important;font-size:inherit!important;line-height:inherit!important;opacity:1}:-ms-input-placeholder{color:#72777c!important;font-size:inherit!important;line-height:inherit!important;opacity:1}
|
1 |
+
@charset "UTF-8";.glsr-addons{display:grid;gap:12px;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));width:100%}@media only screen and (min-width:783px){.glsr-addons{gap:20px;margin:12px 0}}.glsr-addon{border:1px solid #ccd0d4;box-shadow:0 1px 1px -1px rgba(0,0,0,.1);display:flex;flex-direction:column;position:relative}.glsr-addon-description{background-color:#fff;padding:20px;flex:auto}.glsr-addon-description p{margin:0}.glsr-addon-name{font-size:15px;margin-top:0;text-overflow:ellipsis;white-space:nowrap}.glsr-addon-footer{height:48px;background:hsla(0,0%,100%,.65);box-shadow:inset 0 1px 0 rgba(0,0,0,.1);box-sizing:border-box;padding:15px;margin:0;overflow:hidden}@media screen and (max-width:782px){.glsr-addon-footer{height:58px}}.glsr-addon-screenshot{display:block;background-position:50% 50%;background-repeat:no-repeat;background-size:cover;border-bottom:1px solid #ccd0d4;padding-top:66.67%;margin:-1px}@media screen and (min-width:514px){.glsr-addon-screenshot{padding-top:100%}}.glsr-addon-screenshot[data-slug=images]{background-color:#6b46c1;background-image:url(../../images/addon-images.svg)}.glsr-addon-screenshot[data-slug=filters]{background-color:#319796;background-image:url(../../images/addon-filters.svg)}.glsr-addon-screenshot[data-slug=trustalyze]{background-color:#4282d6;background-image:url(../../images/addon-trustalyze.svg)}.glsr-addon-link{position:absolute;right:15px;bottom:10px}@media screen and (max-width:782px){.glsr-addon-link{bottom:6px}}.glsr-addon-link.glsr-external:after{content:"\A0\F504";font-family:dashicons;line-height:1.2;vertical-align:text-bottom;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@-webkit-keyframes glsr-loader{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes glsr-loader{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.wp-admin .glsr-button{position:relative;white-space:nowrap}.wp-admin .glsr-button:after,.wp-admin .glsr-button:before{display:inline-block;position:absolute;top:50%;height:1em;width:1em;border:.2em solid;border-radius:100%;box-sizing:border-box;margin:-.5em auto 0;-webkit-animation:glsr-loader .5s linear infinite;animation:glsr-loader .5s linear infinite}.wp-admin .glsr-button:before{border-top-color:transparent;opacity:.5}.wp-admin .glsr-button:after{border-color:currentColor transparent transparent}.wp-admin .glsr-button[disabled]{padding-left:calc(1em + 15px)}.wp-admin .glsr-button[disabled]:after,.wp-admin .glsr-button[disabled]:before{content:"";left:10px}.wp-admin .glsr-button[disabled] span{visibility:hidden;font-size:0}.wp-admin .glsr-button[disabled] span:after{visibility:visible;content:attr(data-loading);font-size:13px}.wp-admin .glsr-button:not([disabled]) span[data-alt-text].alt{visibility:hidden;font-size:0}.wp-admin .glsr-button:not([disabled]) span[data-alt-text].alt:after{visibility:visible;content:attr(data-alt-text);font-size:13px}#dashboard_right_now li>span.glsr-review-count:before,#dashboard_right_now li a.glsr-review-count:before{content:"\F459";top:-2px}.post-type-site-review #titlediv #title{margin-bottom:20px}.post-type-site-review #contentdiv textarea,.post-type-site-review .wp-editor-area{display:block;width:100%;height:320px;font-family:Georgia,"Times New Roman","Bitstream Charter",Times,serif;font-size:16px;line-height:1.5;padding:10px;resize:vertical;-webkit-font-smoothing:antialiased!important;overflow-wrap:break-word}.post-type-site-review .misc-pub-pinned:before{display:inline-block;position:relative;content:"\F537";font:normal 20px/1 dashicons;speak:none;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;top:0;left:-1px;color:#82878c;padding:0 2px 0 0}.post-type-site-review .misc-pub-pinned .pinned-status-text{font-weight:600}.post-type-site-review .misc-pub-pinned .pinned-status-select{margin-top:3px}.wp-admin .glsr-response{display:block;height:6em;width:100%;margin:12px 0 0}.glsr-mce{position:relative;display:inline-block;margin-right:1px}.glsr-mce-menu.mce-menu{display:none;position:absolute;top:100%;left:0;min-width:100%;background:#fff;padding:5px 0;margin:-2px 0 0}.glsr-mce-menu-item.mce-menu-item{cursor:pointer;font-size:14px;white-space:nowrap;padding:6px 12px;margin-bottom:2px}.mce-glsr-mce-popup a{text-decoration:underline}.mce-glsr-mce-popup p{margin-bottom:1em}.mce-glsr-mce-popup p.strong{font-weight:600}.mce-glsr-mce-popup p.no-margin{margin-bottom:0}.mce-glsr-mce-popup p.margin-top{margin-top:1em}.mce-glsr-btn.mce-btn button{box-sizing:border-box;padding:0 8px}.wp-media-buttons button.glsr-mce-button{outline:none;padding-left:5px;margin-right:0}button.glsr-mce-button:after{display:inline-block;position:relative;top:-1px;left:-1px;width:0;height:0;content:"";border-top:6px solid;border-right:4px solid transparent;border-left:4px solid transparent}button.glsr-mce-button.active:after{top:-2px;border-top:0;border-bottom:6px solid}button.glsr-mce-button:active{margin-bottom:5px}button.glsr-mce-button .wp-media-buttons-icon:before{content:"\F459";font:normal 18px/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media screen and (max-width:782px){button.glsr-mce-button .wp-media-buttons-icon:before{font-size:20px!important}}div.sc-wrap{margin-right:1px}#site-review-detailsdiv.postbox .inside{padding:0;margin:0}.glsr-response-postbox{margin-top:20px;margin-bottom:0}.js .glsr-response-postbox .hndle{cursor:default}.js .glsr-response-postbox .toggle-indicator:before{content:"\F142";display:inline-block;font:normal 20px/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important}.js .glsr-response-postbox.closed .toggle-indicator:before{content:"\F140"}.glsr-metabox-table{width:auto;padding:0 12px 12px;margin-top:12px}.glsr-metabox-table td{line-height:1.5;vertical-align:top;padding:0 14px 8px 0}.glsr-metabox-table td:first-child{font-weight:600}.glsr-metabox-table td:last-child{padding-bottom:0}.glsr-metabox-actions{border-top:1px solid #ccd0d4;background:#f5f5f5;padding:10px;clear:both}.glsr-revert-action{text-align:right;float:right;line-height:1.9}.glsr-revert-action .spinner{float:left}.glsr-search-box .description{display:block}.glsr-assigned-entry{display:block;margin-left:20px}.glsr-remove-button{position:absolute;left:-4px;width:20px;height:20px;border:none;margin:0;padding:0;background:0 0;cursor:pointer;text-indent:0}.glsr-remove-button:focus .glsr-remove-icon:before,.glsr-remove-button:hover .glsr-remove-icon:before{color:#c00}.glsr-remove-icon:before{margin-left:0;border-radius:50%;color:#007cba;color:var(--wp-admin-theme-color);line-height:1.28;background:0 0;content:"\F153";display:block;font:400 16px/20px dashicons;speak:none;height:20px;text-align:center;width:20px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.glsr-metabox-field select:focus{border-color:#007cba;border-color:var(--wp-admin-theme-color);color:#016087;color:var(--wp-admin-theme-color-darker-20);box-shadow:0 0 0 1px #007cba;box-shadow:0 0 0 1px var(--wp-admin-theme-color)}.glsr-metabox-field{box-sizing:border-box;position:relative}.glsr-metabox-field:first-child{margin-top:12px}.glsr-metabox-field .glsr-label{box-sizing:border-box;width:100%;padding:0 12px;position:relative;margin:0;line-height:1.5}.glsr-metabox-field .glsr-label label{display:block;margin:0;padding:0;font-size:14px}.glsr-metabox-field .glsr-input{box-sizing:border-box;width:100%;position:relative;padding:12px;margin:0}.glsr-metabox-field .glsr-input>img{border-radius:3px;margin-top:12px}.glsr-metabox-field input[type=date],.glsr-metabox-field input[type=datetime-local],.glsr-metabox-field input[type=datetime],.glsr-metabox-field input[type=email],.glsr-metabox-field input[type=month],.glsr-metabox-field input[type=number],.glsr-metabox-field input[type=password],.glsr-metabox-field input[type=search],.glsr-metabox-field input[type=tel],.glsr-metabox-field input[type=text],.glsr-metabox-field input[type=time],.glsr-metabox-field input[type=url],.glsr-metabox-field input[type=week],.glsr-metabox-field select,.glsr-metabox-field textarea{margin:0;width:100%}.glsr-input-value:disabled{color:#32373c!important;background-color:#eee!important;border-color:#7e8993!important;cursor:default;opacity:1}@media screen and (min-width:641px){.glsr-metabox-field{display:flex;flex:1 auto}.glsr-metabox-field:first-child{margin-top:0}.glsr-metabox-field:first-child .glsr-input,.glsr-metabox-field:first-child .glsr-label{padding-top:12px}.glsr-metabox-field:last-child .glsr-input,.glsr-metabox-field:last-child .glsr-label{padding-bottom:12px}.glsr-metabox-field .glsr-label{align-items:flex-start;display:flex;background:#f9f9f9;border-right:1px solid #ddd;padding:6px 12px;min-width:128px;width:20%;line-height:40px}.glsr-metabox-field .glsr-label label{font-weight:600}.glsr-metabox-field .glsr-input{flex-direction:column;justify-content:center;display:flex;padding:6px 12px;vertical-align:top}}@media screen and (min-width:783px){.glsr-metabox-field .glsr-label{line-height:30px}}.glsr-toggle-field{display:flex;line-height:normal;height:40px}@media screen and (min-width:641px){.glsr-toggle-field{align-items:center}}@media screen and (min-width:783px){.glsr-toggle-field{height:30px}}.glsr-toggle{position:relative;display:inline-block}.glsr-toggle .glsr-toggle__track{content:"";display:inline-block;box-sizing:border-box;vertical-align:top;background-color:#fff;border:1px solid #1e1e1e;width:36px;height:18px;border-radius:9px;transition:background .2s ease}@media (prefers-reduced-motion:reduce){.glsr-toggle .glsr-toggle__track{transition-duration:0s}}.glsr-toggle .glsr-toggle__thumb{display:block;position:absolute;box-sizing:border-box;top:3px;left:3px;width:12px;height:12px;border-radius:50%;transition:transform .1s ease;background-color:#1e1e1e;border:5px solid #1e1e1e}@media (prefers-reduced-motion:reduce){.glsr-toggle .glsr-toggle__thumb{transition-duration:0s}}.glsr-toggle .glsr-toggle__input[type=checkbox]:checked~.glsr-toggle__track{background-color:#007cba;background-color:var(--wp-admin-theme-color);border:9px solid transparent}.glsr-toggle .glsr-toggle__input:focus+.glsr-toggle__track{box-shadow:0 0 0 2px #fff,0 0 0 3.5px #007cba;box-shadow:0 0 0 2px #fff,0 0 0 3.5px var(--wp-admin-theme-color);outline:2px solid transparent;outline-offset:2px}.glsr-toggle .glsr-toggle__input[type=checkbox]:checked~.glsr-toggle__thumb{background-color:#fff;border-width:0;transform:translateX(18px)}.glsr-toggle input.glsr-toggle__input[type=checkbox]{position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;margin:0;padding:0;z-index:1;border:none}.glsr-toggle input.glsr-toggle__input[type=checkbox]:checked{background:none}.glsr-toggle input.glsr-toggle__input[type=checkbox]:before{content:""}.glsr-metabox-field .gl-star-rating[data-star-rating]>select{-webkit-clip-path:circle(1px at 0 0);clip-path:circle(1px at 0 0);clip:rect(1px,1px,1px,1px);overflow:hidden!important;padding-left:0;padding-right:0;position:absolute!important;top:0;visibility:visible!important;white-space:nowrap;width:1px!important}.glsr-metabox-field .gl-star-rating[data-star-rating]>select:after,.glsr-metabox-field .gl-star-rating[data-star-rating]>select:before{display:none}.glsr-metabox-field .gl-star-rating-stars{align-items:center;color:#555d66;cursor:pointer;display:flex;float:left;position:relative;white-space:nowrap}.glsr-metabox-field .gl-star-rating[data-star-rating]>select[disabled]+.gl-star-rating-stars{color:#72777c;cursor:default}.glsr-metabox-field .gl-star-rating-stars>span{-webkit-font-smoothing:antialiased;font-family:dashicons;font-size:30px;letter-spacing:1px;line-height:1;text-align:center;transition:color .1s ease-in}@media screen and (min-width:783px){.glsr-metabox-field .gl-star-rating-stars>span{font-size:24px}}.glsr-metabox-field .gl-star-rating-stars>span:before{content:"\F154"}.glsr-metabox-field .gl-star-rating-stars.s10>span:first-child:before,.glsr-metabox-field .gl-star-rating-stars.s20>span:nth-child(-1n+2):before,.glsr-metabox-field .gl-star-rating-stars.s30>span:nth-child(-1n+3):before,.glsr-metabox-field .gl-star-rating-stars.s40>span:nth-child(-1n+4):before,.glsr-metabox-field .gl-star-rating-stars.s50>span:nth-child(-1n+5):before,.glsr-metabox-field .gl-star-rating-stars.s60>span:nth-child(-1n+6):before,.glsr-metabox-field .gl-star-rating-stars.s70>span:nth-child(-1n+7):before,.glsr-metabox-field .gl-star-rating-stars.s80>span:nth-child(-1n+8):before,.glsr-metabox-field .gl-star-rating-stars.s90>span:nth-child(-1n+9):before,.glsr-metabox-field .gl-star-rating-stars.s100>span:before{content:"\F155"}.glsr-metabox-field .gl-star-rating[data-star-rating]>select:focus+.gl-star-rating-stars:before{border-radius:3px;border:1px solid #007cba;border:1px solid var(--wp-admin-theme-color);box-shadow:0 0 0 1px #007cba;box-shadow:0 0 0 1px var(--wp-admin-theme-color);box-sizing:border-box;content:"";display:block;height:40px;pointer-events:none;position:absolute;width:100%}@media screen and (min-width:783px){.glsr-metabox-field .gl-star-rating[data-star-rating]>select:focus+.gl-star-rating-stars:before{height:30px}}.glsr-notice-branded{border-left-color:#f6e05e!important;padding-left:98px}.glsr-notice-branded-image{align-items:center;background-color:#faf089;border-right:1px solid #ccd0d4;bottom:0;display:flex;justify-content:center;left:0;padding:0 5px;position:absolute;top:0;width:75px}.glsr-notice:not(.notice-error):not(.notice-info):not(.notice-warning):not(.glsr-notice-branded){display:flex;border-left-color:#32373c}.glsr-notice-icon{display:flex;align-items:flex-start;margin-left:6px;margin-top:18px;margin-right:18px}.glsr-notice-icon img{width:80px;height:80px}@media only screen and (min-width:601px){.glsr-notice-icon img{width:96px;height:96px}}.glsr-notice-content{margin:6px 0}.glsr-notice-content h3{line-height:1.25;margin-top:12px;margin-bottom:12px}.glsr-notice-content .button,.glsr-notice-content p{margin-top:0;margin-bottom:12px}:root{--base00:#2b303b;--base01:#343d46;--base02:#4f5b66;--base03:#65737e;--base04:#a7adba;--base05:#c0c5ce;--base06:#dfe1e8;--base07:#eff1f5;--base08:#bf616a;--base09:#d08770;--base0A:#ebcb8b;--base0B:#a3be8c;--base0C:#96b5b4;--base0D:#8fa1b3;--base0E:#b48ead;--base0F:#ab7967}.syntax-shortcode,code[class*=language-],pre[class*=language-]{background-color:#181818;background-color:var(--base00);color:#d8d8d8;color:var(--base05);font-family:"Operator Mono Lig","Fira Code",monospace;font-size:13px;-webkit-hyphens:none;-ms-hyphens:none;hyphens:none;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;text-align:left;white-space:pre;word-break:normal;word-spacing:normal;word-wrap:normal;border-radius:2px}.syntax-shortcode,pre[class*=language-]{display:block;padding:1em;margin:.5em 0;overflow:auto}pre[class*=language-]>code{margin:0;padding:0}:not(pre)>code[class*=language-]{padding:.1em;border-radius:.3em;white-space:normal}.token.bold{font-weight:bold}.token.italic{font-style:italic}.syntax-shortcode .tag{color:#ab4642;color:var(--base08)}.syntax-shortcode .attr-name{color:#ba8baf;color:var(--base0E)}.syntax-shortcode .attr-value{color:#a1b56c;color:var(--base0B)}.language-css .comment{color:#585858;color:var(--base03)}.language-css .important,.language-css .selector{color:#ba8baf;color:var(--base0E)}.language-css .function,.language-css .property,.language-css .url .function{color:#7cafc2;color:var(--base0D)}.language-css .string,.language-css .url{color:#a1b56c;color:var(--base0B)}.language-css .atrule,.language-css .atrule .punctuation,.language-css .url .punctuation{color:#d8d8d8;color:var(--base05)}.language-css .atrule .rule{color:#f7ca88;color:var(--base0A)}.language-css .atrule .keyword,.language-html .tag{color:#ab4642;color:var(--base08)}.language-html .attr-name{color:#ba8baf;color:var(--base0E)}.language-html .attr-value{color:#a1b56c;color:var(--base0B)}.language-html .attr-equals,.language-php .attr-value,.language-php .char,.language-php .constant,.language-php .package .punctuation,.language-php .property,.language-php .punctuation,.language-php .regex,.language-php .variable{color:#d8d8d8;color:var(--base05)}.language-php .block-comment,.language-php .cdata,.language-php .comment,.language-php .doctype,.language-php .prolog{color:#585858;color:var(--base03)}.language-php .string{color:#a1b56c;color:var(--base0B)}.language-php .important,.language-php .keyword,.language-php .selector{color:#ba8baf;color:var(--base0E)}.language-php .number,.language-php .operator{color:#ab4642;color:var(--base08)}.language-php .boolean,.language-php .class-name,.language-php .function,.language-php .package{color:#7cafc2;color:var(--base0D)}.glsr-progress{position:relative;display:block;height:28px;opacity:.65;text-align:center;font-size:14px}@media screen and (max-width:782px){.glsr-progress{height:31px}}.glsr-progress.active{opacity:1}.glsr-progress *{box-sizing:border-box}.glsr-progress-background,.glsr-progress-bar{height:100%;background-size:40px 40px}.glsr-progress.active .glsr-progress-background,.glsr-progress.active .glsr-progress-bar{transition:width 2.5s linear;-webkit-animation:glsr-progress-bar 1s linear infinite;animation:glsr-progress-bar 1s linear infinite}.glsr-progress-bar{position:relative;width:0;color:#fff;background-color:#616b75;background-image:linear-gradient(-45deg,hsla(0,0%,100%,.15) 25%,transparent 0,transparent 50%,hsla(0,0%,100%,.15) 0,hsla(0,0%,100%,.15) 75%,transparent 0,transparent);border:1px solid #4a5259;border-top-color:#616b75;border-radius:3px 0 0 3px;overflow:hidden;z-index:1}.glsr-progress-bar[style="width: 0%;"]{border-width:0}.glsr-progress-bar[style="width: 100%;"]{border-radius:3px}.glsr-progress-background{position:absolute;top:0;left:0;width:100%;height:28px;background-color:#f7f7f7;background-image:linear-gradient(-45deg,#fff 25%,transparent 0,transparent 50%,#fff 0,#fff 75%,transparent 0,transparent);border-radius:3px;box-shadow:inset 0 1px 2px #ccd0d4;border:1px solid #ccc}@media screen and (max-width:782px){.glsr-progress-background{height:31px}}.glsr-progress span{position:absolute;left:0;top:0;line-height:26px;color:#555;padding:0 6px}@media screen and (max-width:782px){.glsr-progress span{line-height:29px}}.glsr-progress-bar>span{color:#fff;text-shadow:0 -1px 1px #4a5259,1px 0 1px #4a5259,0 1px 1px #4a5259,-1px 0 1px #4a5259}@-webkit-keyframes glsr-progress-bar{0%{background-position:0 0}to{background-position:40px 0}}@keyframes glsr-progress-bar{0%{background-position:0 0}to{background-position:40px 0}}.glsr-progress .glsr-progress-bar{background-color:#681b98;border-color:#681b98 #591782 #591782}.glsr-progress .glsr-progress-bar>span{text-shadow:0 -1px 1px #591782,1px 0 1px #591782,0 1px 1px #591782,-1px 0 1px #591782}.star-rating .glsr-star{width:16px;font-size:16px;line-height:20px;color:#555}select[data-glsr-track=minimal]{border-color:#ffb900!important;color:#e6a700!important}select[data-glsr-track=minimal]:focus{box-shadow:0 0 0 1px #ffb900}select[data-glsr-track=all]{border-color:#dc3232!important;color:#dc3232!important}select[data-glsr-track=all]:focus{box-shadow:0 0 0 1px #dc3232}td.glsr-string-td1{position:relative;padding-bottom:2em}td.glsr-string-td1 .row-actions{position:absolute;bottom:10px;z-index:1}td.glsr-string-td2 input[type=text]:last-of-type{margin-bottom:0}td.glsr-string-td2 .description{display:block;padding-top:.5em}.is-invalid td.glsr-string-td2 .description{color:#dc3232}.mobile td.glsr-string-td1 .row-actions,.no-js td.glsr-string-td1 .row-actions,td.glsr-string-td1 .row-actions.visible,tr:hover td.glsr-string-td1 .row-actions{left:10px}.is-invalid td.glsr-string-td1,.is-invalid td.glsr-string-td1>div,.is-invalid td.glsr-string-td2,.is-invalid td.glsr-string-td2>div{position:relative}.is-invalid td.glsr-string-td1>button,.is-invalid td.glsr-string-td1>div,.is-invalid td.glsr-string-td2>button,.is-invalid td.glsr-string-td2>div{z-index:1}.is-invalid td.glsr-string-td1:after,.is-invalid td.glsr-string-td2:after{display:block;position:absolute;content:"";top:-1px;right:-1px;bottom:-1px;left:-1px;background:rgba(220,50,50,.06);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:0}.is-invalid td.glsr-string-td1:after{background:rgba(220,50,50,.08)}.is-invalid td.glsr-string-td2 input[type=text],.is-invalid td.glsr-string-td2 textarea{border-color:#e2cbcb}@media screen and (max-width:782px){.post-type-site-review .wp-list-table .is-expanded.is-invalid td:not(.hidden){overflow:unset}}@media screen and (max-width:720px){h2 a.glsr-nav-tab,h2 a.glsr-nav-tab.nav-tab-active:hover{transition-property:background,color;border-bottom:1px solid #ccc;margin:10px 10px 0 0}.wrap h2.glsr-nav-tab-wrapper{border-bottom:0}}.glsr-card{max-width:800px;box-sizing:border-box}.glsr-card-result{border:1px solid #ccd0d4;background-color:#f6fbfd;padding:0 1em;margin:1em 0}.glsr-card ol{list-style:decimal;margin-left:1.5em}.glsr-card ul{list-style:disc;margin-left:1.5em}.glsr-card h2{margin-top:0;text-align:left}.glsr-heading{color:#000;font-size:14px;font-weight:600}.glsr-card.postbox{padding:0;margin-bottom:0}.glsr-card.postbox:not(:last-child){border-bottom:none}.glsr-card.postbox.closed:last-child{border-bottom:1px solid #ccd0d4}.glsr-card .components-notice{margin:0}.glsr-card .components-notice.is-info{background-color:rgba(231,245,254,.75)}.glsr-card h3.glsr-card-heading{border-top:1px solid #ccd0d4;color:inherit;font-size:inherit;font-weight:600;line-height:inherit;margin:0}.glsr-card h3.glsr-card-heading:first-child{border-top:none}.glsr-accordion-trigger{background:#fff;border:0;color:#32373c;cursor:pointer;display:flex;font-weight:400;margin:0;padding:1em 3.5em 1em 1.5em;min-height:46px;position:relative;text-align:left;width:100%;align-items:center;justify-content:space-between;-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto}.glsr-accordion-trigger:active,.glsr-accordion-trigger:hover{background:#f8f9f9}.glsr-accordion-trigger:focus{color:#191e23;border:none;box-shadow:none;outline-offset:-1px;outline:2px solid #0071a1;background-color:#f8f9f9;z-index:1}.glsr-accordion-trigger .title{pointer-events:none;font-weight:600;font-size:16px;flex-grow:1}.glsr-accordion-trigger .icon{border:solid #555d66;border-width:0 2px 2px 0;height:.5rem;pointer-events:none;position:absolute;right:1.5em;top:50%;transform:translateY(-70%) rotate(45deg);width:.5rem}.glsr-accordion-trigger[aria-expanded=true] .icon{transform:translateY(-30%) rotate(-135deg)}.glsr-accordion-trigger .badge{padding:.1rem .5rem .15rem;color:#32373c;font-weight:500;margin-left:.5rem;border:1px solid #bfe7f3}.glsr-accordion-trigger .badge.important{border:1px solid #dc3232}@media screen and (max-width:782px){.glsr-accordion-trigger{align-items:flex-start;flex-direction:column}.glsr-accordion-trigger .badge{margin:1em 0 0}}.glsr-card.postbox .inside{border-bottom:none;border-top:1px solid #ccd0d4;margin:0;padding:1em 1.5em}.glsr-card.postbox .inside>:not(h2):first-child{margin-top:.5em}.glsr-card.postbox .inside>:last-child{margin-bottom:.5em!important}.glsr-card p.submit{margin:0}.glsr-card code,.glsr-card pre{word-spacing:normal;word-break:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-ms-hyphens:none;hyphens:none}.glsr-card dd{margin:1em 0}.glsr-card dt{font-weight:600;margin:1em 0}.glsr-card code a{text-decoration:none}.glsr-float-left{float:left;padding-right:.25em}.glsr-code[readonly]{width:100%;font-family:"Operator Mono","Fira Code",monaco,monospace;font-weight:300;white-space:pre;-webkit-font-smoothing:antialiased!important}.glsr-code-large{min-height:60vh}@media only screen and (max-width:782px){.glsr-card{max-width:inherit}}tr.glsr-setting-field td .inline br{display:none}tr.glsr-setting-field td label:after{content:"";margin-right:1em}.glsr-setting-field .button{margin-top:6px}.glsr-notice-inline{background:hsla(0,0%,100%,.65);color:#555;padding:4px 10px 10px;margin:10px 0 0!important}.glsr-notice-inline p{padding:0!important}.glsr-setting-field{margin:1em 0;line-height:1.5}.glsr-setting-field small code{font-size:inherit;padding:0 3px 1px}.glsr-setting-field>label{margin-right:3px}@media screen and (max-width:782px){.glsr-setting-field>label+input.small-text{margin-left:0}}.glsr-setting-field>ul{margin:0}.glsr-setting-field>ul li{margin-bottom:2px}.glsr-setting-field textarea.code,.post-type-site-review .code,.post-type-site-review code{font-family:"Operator Mono","Fira Code",monaco,monospace}.glsr-hidden{display:none}.glsr-search-box,.glsr-strings-table{position:relative;max-width:800px}.glsr-search-box *,.glsr-strings-table *{box-sizing:border-box}.glsr-search-box,.glsr-search-multibox{position:relative;margin:1em 0}.glsr-search-box.is-active .spinner,.glsr-search-multibox.is-active .spinner{visibility:visible}.glsr-search-box.is-active input[type=search]::-webkit-search-cancel-button,.glsr-search-multibox.is-active input[type=search]::-webkit-search-cancel-button{display:none!important}.glsr-spinner{visibility:hidden;position:absolute;top:5px;right:5px;height:20px;width:20px;background-color:#fff;z-index:5}.glsr-spinner .spinner{margin:0}.loading-content .glsr-spinner{visibility:visible}.glsr-search-input{position:relative;width:100%;font-weight:300;line-height:1.5;padding:3px 5px;margin:0;z-index:2}.site-review_page_settings .glsr-search-input{height:32px;font-size:16px}.glsr-search-input:focus{z-index:20}.glsr-search-results{position:absolute;top:calc(100% - 4px);padding-top:4px;left:0;width:100%;max-height:315px;overflow-x:scroll;-webkit-overflow-scrolling:touch;border:1px solid #7e8993;border-top:none;box-shadow:0 1px 1px rgba(0,0,0,.04);background-color:#fff;box-sizing:border-box;border-radius:0 0 4px 4px;z-index:3}.glsr-search-results:not(.is-active){display:none}.glsr-search-results:before{display:block;background:#fff;border-left:1px solid #7e8993;border-right:1px solid #7e8993;box-sizing:border-box;content:"";height:4px;position:absolute;top:0;left:-1px;right:-1px}.glsr-search-results>div,.glsr-search-results>span{position:relative;display:block;box-sizing:border-box;height:32px;line-height:32px;text-overflow:ellipsis;white-space:nowrap;padding:0 10px;margin-top:-1px;overflow:hidden}.glsr-search-results>div{background-color:#f6fbfd}.glsr-search-results>span:active,.glsr-search-results>span:focus,.glsr-search-results>span:hover{color:#fff;background-color:#00a0d2;cursor:pointer;outline:none}.glsr-search-box-wrap{position:relative}.glsr-strings-table{transition:opacity .2s linear}.glsr-focus .glsr-strings-table{opacity:.2;pointer-events:none}.glsr-string-td1,.glsr-string-td2{border-top:none;padding:13px 15px}.glsr-string-td1{max-width:375px;border-right:1px solid #ccd0d4;vertical-align:top}.glsr-string-td2{width:60%;max-width:375px}.glsr-strings-table p:not(.row-actions){font-size:14px;font-weight:400;line-height:1.3;color:#000}.glsr-strings-table p.row-actions{margin:0}.glsr-strings-table textarea{display:block;width:100%;margin:0}.glsr-strings-table input[type=text]{display:block;width:100%;margin:0 0 5px}.glsr-strings-table input[type=text]:active,.glsr-strings-table input[type=text]:focus{position:relative}.glsr-string-tr:last-child .glsr-string-td2,.glsr-string-tr:not(.is-expanded):last-child .glsr-string-td1{border-bottom:none}@media screen and (max-width:782px){.glsr-search-results>span{padding:0 10px}.glsr-string-td1{max-width:none;border-right:none}.glsr-string-td2{max-width:none;padding:13px 15px!important}.glsr-spinner{right:10px}}.glsr-string-tr.ui-sortable-helper{opacity:.8;display:table;box-shadow:0 1px 2px rgba(0,0,0,.1)}.ui-sortable .glsr-string-tr:hover{cursor:move}@media screen and (min-width:783px){.ui-sortable-placeholder+.glsr-string-tr .glsr-string-td2{border-top:1px solid #f1f1f1}}.ui-sortable-helper .glsr-string-td1{border-left:1px solid #999}.ui-sortable-helper .glsr-string-td1,.ui-sortable-helper .glsr-string-td2{border-top:1px solid #999!important;border-bottom:1px solid #999!important}.ui-sortable-helper .glsr-string-td2{border-right:1px solid #999}@media screen and (max-width:782px){.ui-sortable-helper .glsr-string-td1{border:1px solid #999}.ui-sortable-helper.is-expanded .glsr-string-td1{border-bottom:none!important}.ui-sortable-helper.is-expanded .glsr-string-td2{border:1px solid #999;border-top-color:#f1f1f1!important}}.glsr-search-multibox,.glsr-search-multibox-entries{display:flex;margin:0;position:relative}.glsr-search-multibox-entries{background-color:#fff;border-radius:4px;border:1px solid #7e8993;box-shadow:0 0 0 transparent;color:#32373c;flex-direction:column;width:100%;z-index:2}.glsr-search-multibox-entries:focus-within{border-color:#007cba;box-shadow:0 0 0 1px #007cba;outline:2px solid transparent;z-index:20}.glsr-search-multibox .glsr-selected-entries{display:flex;flex-wrap:wrap;padding-right:6px}.glsr-search-multibox .glsr-selected-entries>span{align-items:center;background:#f3f5f6;border-radius:3px;box-sizing:border-box;display:flex;font-size:11px;font-style:normal;height:24px;line-height:1;margin:6px 0 0 6px;padding:0 10px 0 30px;position:relative}.glsr-search-multibox .glsr-selected-entries a{color:inherit;pointer-events:none}.glsr-search-multibox .glsr-remove-button{left:5px}.glsr-search-multibox .glsr-remove-icon:before{color:#72777c}.glsr-search-multibox input[type=search].glsr-search-input{border:none;margin:0;background:transparent;width:auto;flex-grow:1}.glsr-search-multibox input[type=search].glsr-search-input:focus{outline:none;box-shadow:none}.glsr-search-multibox .glsr-spinner{top:auto;bottom:5px;right:7px}@media screen and (max-width:782px){.glsr-search-multibox .glsr-selected-entries>span{margin:8px 0 0 8px;font-size:14px;height:32px;padding:8px 10px 8px 30px}.glsr-search-multibox .glsr-spinner{bottom:10px;right:10px}}.glsr-status{max-width:750px}.glsr-status th.column-primary{width:50%}.glsr-status td.column-primary{position:relative;font-size:14px!important;font-weight:600}.glsr-status td.column-primary span{font-weight:400}.glsr-status .toggle-row{top:0}.glsr-status .toggle-row:before{top:6px}.glsr-status tfoot td.glsr-radio-column,.glsr-status thead td.glsr-radio-column{color:#82878c;text-align:center;padding-left:4px}@media screen and (max-width:782px){.glsr-status th input[type=radio]{margin-bottom:8px}.glsr-status tfoot td.glsr-radio-column,.glsr-status thead td.glsr-radio-column{padding-top:4px;padding-left:9px}}.wrap h2.glsr-nav-tab-wrapper{padding-top:0;margin-top:9px}.glsr-nav-view{margin-top:20px}.glsr-subsubsub{float:none;text-align:left}.glsr-screenshot{border:1px solid #ccd0d4;box-shadow:0 1px 1px rgba(0,0,0,.04);box-sizing:border-box}.glsr-welcome .badge{position:absolute;top:1em;right:0;padding:.25rem .5rem;font-weight:500;font-size:16px;text-rendering:optimizeLegibility;background-color:#72777c;color:#fff;border-radius:5px}@media only screen and (max-width:500px){.glsr-welcome .badge{display:inline-block;position:relative;top:auto}}.glsr-welcome.about-wrap{margin-top:40px}.glsr-welcome.about-wrap .inside li,.glsr-welcome.about-wrap .inside p{font-size:16px}.glsr-welcome .glsr-about-text{margin:1em 0}.glsr-welcome-banner{margin:2em 0 0}.glsr-welcome .about-buttons{display:flex;flex-wrap:wrap;margin:1.5em 0}.glsr-welcome .components-button{margin:0 .5em .5em 0}.glsr-welcome .dashicon:before{font:normal 18px dashicons;margin-right:6px;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.glsr-welcome .glsr-nav-view{margin-top:0}.glsr-welcome ul:not(.glsr-flex-row){list-style:circle;padding-left:20px}.glsr-flex-row{display:flex;flex-direction:row;flex-wrap:wrap;margin-left:-20px;margin-right:-20px}.glsr-column{width:100%;max-width:100%;box-sizing:border-box;padding-left:20px;padding-right:20px}@media (min-width:601px){.glsr-has-2-columns .glsr-column,.glsr-has-3-columns .glsr-column{max-width:50%}}@media (min-width:783px){.glsr-has-3-columns .glsr-column{max-width:33.33%}}.glsr-metabox-table .star-rating .star,.post-type-site-review .star-rating .star{width:16px;font-size:16px;line-height:20px;color:#555}.post-type-site-review .star-rating .star{margin-top:-2px}.post-type-site-review .hide-column-tog+.pinned-icon+svg,.post-type-site-review .wp-list-table .approve,.post-type-site-review .wp-list-table .status-pending .unapprove{display:none}.post-type-site-review .wp-list-table .spam .approve,.post-type-site-review .wp-list-table .status-pending .approve,.post-type-site-review .wp-list-table .trash .approve{display:inline}.post-type-site-review .wp-list-table .approve a{color:#006505}.post-type-site-review .wp-list-table .approve a:hover{color:#007f06}.post-type-site-review .wp-list-table .unapprove a{color:#d98500}.post-type-site-review .wp-list-table .unapprove a:hover{color:#f39500}.post-type-site-review .wp-list-table th.column-rating{width:100px}.post-type-site-review .wp-list-table td.column-is_pinned i.pin-review{align-items:center;cursor:pointer;display:flex;float:none;justify-content:center;margin:0;transition:none}.post-type-site-review .wp-list-table td.column-is_pinned i{line-height:24px;text-indent:-3px}.post-type-site-review .wp-list-table td.column-is_pinned i:not(.pinned){color:rgba(85,85,85,.2)}.post-type-site-review .wp-list-table :not(.status-pending)+tr.status-pending th.check-column{box-shadow:inset 0 1px 0 rgba(0,0,0,.07),inset 0 -1px 0 rgba(0,0,0,.07)}.post-type-site-review .wp-list-table :not(.status-pending)+tr.status-pending td:nth-child(2){box-shadow:inset 0 1px 0 rgba(0,0,0,.07)}.post-type-site-review .wp-list-table :not(.status-pending)+tr.status-pending:not(.is-expanded) td:nth-child(2){box-shadow:inset 0 1px 0 rgba(0,0,0,.07),inset 0 -1px 0 rgba(0,0,0,.07)}.post-type-site-review .wp-list-table tr.status-pending.is-expanded td:last-child,.post-type-site-review .wp-list-table tr.status-pending:not(.is-expanded) td:nth-child(2),.post-type-site-review .wp-list-table tr.status-pending th.check-column{box-shadow:inset 0 -1px 0 rgba(0,0,0,.07)}.post-type-site-review .wp-list-table tr.status-pending td,.post-type-site-review .wp-list-table tr.status-pending th.check-column{background-color:#fef7f1}.post-type-site-review .wp-list-table tr.status-pending th.check-column{position:relative;border-left:4px solid #d54e21;z-index:1}.post-type-site-review .wp-list-table tr.status-pending th.check-column input{margin-left:4px}@media screen and (min-width:783px){.post-type-site-review .wp-list-table :not(.status-pending)+tr.status-pending td{box-shadow:inset 0 1px 0 rgba(0,0,0,.07),inset 0 -1px 0 rgba(0,0,0,.07)}.post-type-site-review .wp-list-table tr.status-pending td{box-shadow:inset 0 -1px 0 rgba(0,0,0,.07)}.post-type-site-review .wp-list-table th.column-assigned_posts,.post-type-site-review .wp-list-table th.column-assigned_users,.post-type-site-review .wp-list-table th.column-ip_address{white-space:nowrap}.post-type-site-review .wp-list-table th.column-assigned_posts,.post-type-site-review .wp-list-table th.column-assigned_users,.post-type-site-review .wp-list-table th.column-name,.post-type-site-review .wp-list-table th.column-taxonomy-site-review-category,.post-type-site-review .wp-list-table th.column-type{width:120px}.post-type-site-review .wp-list-table th.column-is_pinned{width:45px}.post-type-site-review .wp-list-table th.column-is_pinned span.pinned-icon span{display:none}.post-type-site-review .wp-list-table th.column-is_pinned span.pinned-icon:after{display:inline-block;position:relative;content:"\F537";font:normal 20px/1 dashicons;speak:none;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;width:16px;height:20px;line-height:22px;font-size:16px;text-align:center}.post-type-site-review .wp-list-table th.column-is_pinned .sorting-indicator{margin-left:3px}.post-type-site-review .wp-list-table td.column-is_pinned{padding:8px 6px}.post-type-site-review .wp-list-table td.column-is_pinned i{text-indent:0}}#available-widgets [class*=site-reviews] .widget-title:before{content:"\F459"}.glsr-no-margins{margin:0!important}::placeholder{color:#72777c!important;font-size:inherit!important;line-height:inherit!important;opacity:1}::-webkit-input-placeholder{color:#72777c!important;font-size:inherit!important;line-height:inherit!important;opacity:1}:-moz-placeholder,::-moz-placeholder{color:#72777c!important;font-size:inherit!important;line-height:inherit!important;opacity:1}:-ms-input-placeholder{color:#72777c!important;font-size:inherit!important;line-height:inherit!important;opacity:1}
|
languages/site-reviews-en_US.po
CHANGED
@@ -1509,12 +1509,12 @@ msgid_plural "%s entries were skipped."
|
|
1509 |
msgstr[0] "%s entry was skipped."
|
1510 |
msgstr[1] "%s entries were skipped."
|
1511 |
|
1512 |
-
#: plugin/Commands/ImportSettings.php:
|
1513 |
msgctxt "admin-text"
|
1514 |
msgid "Settings imported."
|
1515 |
msgstr "Settings imported."
|
1516 |
|
1517 |
-
#: plugin/Commands/ImportSettings.php:
|
1518 |
msgctxt "admin-text"
|
1519 |
msgid "There were no settings found to import."
|
1520 |
msgstr "There were no settings found to import."
|
@@ -1686,42 +1686,42 @@ msgctxt "admin-text"
|
|
1686 |
msgid "System Info"
|
1687 |
msgstr "System Info"
|
1688 |
|
1689 |
-
#: plugin/Controllers/MetaboxController.php:
|
1690 |
msgctxt "admin-text"
|
1691 |
msgid "Respond Publicly"
|
1692 |
msgstr "Respond Publicly"
|
1693 |
|
1694 |
-
#: plugin/Controllers/MetaboxController.php:
|
1695 |
msgctxt "admin-text"
|
1696 |
msgid "Review Details"
|
1697 |
msgstr "Review Details"
|
1698 |
|
1699 |
-
#: plugin/Controllers/MetaboxController.php:
|
1700 |
msgctxt "admin-text"
|
1701 |
msgid "Assigned Posts"
|
1702 |
msgstr "Assigned Posts"
|
1703 |
|
1704 |
-
#: plugin/Controllers/MetaboxController.php:
|
1705 |
msgctxt "admin-text"
|
1706 |
msgid "Assigned Users"
|
1707 |
msgstr "Assigned Users"
|
1708 |
|
1709 |
-
#: plugin/Controllers/MetaboxController.php:
|
1710 |
msgctxt "admin-text"
|
1711 |
msgid "Author"
|
1712 |
msgstr "Author"
|
1713 |
|
1714 |
-
#: plugin/Controllers/MetaboxController.php:
|
1715 |
msgctxt "admin-text"
|
1716 |
msgid "(no title)"
|
1717 |
msgstr "(no title)"
|
1718 |
|
1719 |
-
#: plugin/Controllers/MetaboxController.php:
|
1720 |
msgctxt "admin-text"
|
1721 |
msgid "No"
|
1722 |
msgstr "No"
|
1723 |
|
1724 |
-
#: plugin/Controllers/MetaboxController.php:
|
1725 |
msgctxt "admin-text"
|
1726 |
msgid "Yes"
|
1727 |
msgstr "Yes"
|
1509 |
msgstr[0] "%s entry was skipped."
|
1510 |
msgstr[1] "%s entries were skipped."
|
1511 |
|
1512 |
+
#: plugin/Commands/ImportSettings.php:23
|
1513 |
msgctxt "admin-text"
|
1514 |
msgid "Settings imported."
|
1515 |
msgstr "Settings imported."
|
1516 |
|
1517 |
+
#: plugin/Commands/ImportSettings.php:41
|
1518 |
msgctxt "admin-text"
|
1519 |
msgid "There were no settings found to import."
|
1520 |
msgstr "There were no settings found to import."
|
1686 |
msgid "System Info"
|
1687 |
msgstr "System Info"
|
1688 |
|
1689 |
+
#: plugin/Controllers/MetaboxController.php:34, views/partials/editor/metabox-response.php:3
|
1690 |
msgctxt "admin-text"
|
1691 |
msgid "Respond Publicly"
|
1692 |
msgstr "Respond Publicly"
|
1693 |
|
1694 |
+
#: plugin/Controllers/MetaboxController.php:36
|
1695 |
msgctxt "admin-text"
|
1696 |
msgid "Review Details"
|
1697 |
msgstr "Review Details"
|
1698 |
|
1699 |
+
#: plugin/Controllers/MetaboxController.php:37, plugin/Tinymce/SiteReviewsSummaryTinymce.php:25, plugin/Tinymce/SiteReviewsTinymce.php:56, views/partials/editor/bulk-edit-assigned-posts.php:6
|
1700 |
msgctxt "admin-text"
|
1701 |
msgid "Assigned Posts"
|
1702 |
msgstr "Assigned Posts"
|
1703 |
|
1704 |
+
#: plugin/Controllers/MetaboxController.php:38, plugin/Defaults/PostTypeColumnDefaults.php:19, views/partials/editor/bulk-edit-assigned-users.php:6
|
1705 |
msgctxt "admin-text"
|
1706 |
msgid "Assigned Users"
|
1707 |
msgstr "Assigned Users"
|
1708 |
|
1709 |
+
#: plugin/Controllers/MetaboxController.php:40, plugin/Controllers/MetaboxController.php:119
|
1710 |
msgctxt "admin-text"
|
1711 |
msgid "Author"
|
1712 |
msgstr "Author"
|
1713 |
|
1714 |
+
#: plugin/Controllers/MetaboxController.php:72
|
1715 |
msgctxt "admin-text"
|
1716 |
msgid "(no title)"
|
1717 |
msgstr "(no title)"
|
1718 |
|
1719 |
+
#: plugin/Controllers/MetaboxController.php:157, plugin/Controllers/ListTableColumns/ColumnValueResponse.php:17
|
1720 |
msgctxt "admin-text"
|
1721 |
msgid "No"
|
1722 |
msgstr "No"
|
1723 |
|
1724 |
+
#: plugin/Controllers/MetaboxController.php:158, plugin/Controllers/ListTableColumns/ColumnValueResponse.php:18
|
1725 |
msgctxt "admin-text"
|
1726 |
msgid "Yes"
|
1727 |
msgstr "Yes"
|
languages/site-reviews.pot
CHANGED
@@ -1142,12 +1142,12 @@ msgid_plural "%s entries were skipped."
|
|
1142 |
msgstr[0] ""
|
1143 |
msgstr[1] ""
|
1144 |
|
1145 |
-
#: plugin/Commands/ImportSettings.php:
|
1146 |
msgctxt "admin-text"
|
1147 |
msgid "Settings imported."
|
1148 |
msgstr ""
|
1149 |
|
1150 |
-
#: plugin/Commands/ImportSettings.php:
|
1151 |
msgctxt "admin-text"
|
1152 |
msgid "There were no settings found to import."
|
1153 |
msgstr ""
|
@@ -1324,42 +1324,42 @@ msgctxt "admin-text"
|
|
1324 |
msgid "System Info"
|
1325 |
msgstr ""
|
1326 |
|
1327 |
-
#: plugin/Controllers/MetaboxController.php:
|
1328 |
msgctxt "admin-text"
|
1329 |
msgid "Respond Publicly"
|
1330 |
msgstr ""
|
1331 |
|
1332 |
-
#: plugin/Controllers/MetaboxController.php:
|
1333 |
msgctxt "admin-text"
|
1334 |
msgid "Review Details"
|
1335 |
msgstr ""
|
1336 |
|
1337 |
-
#: plugin/Controllers/MetaboxController.php:
|
1338 |
msgctxt "admin-text"
|
1339 |
msgid "Assigned Posts"
|
1340 |
msgstr ""
|
1341 |
|
1342 |
-
#: plugin/Controllers/MetaboxController.php:
|
1343 |
msgctxt "admin-text"
|
1344 |
msgid "Assigned Users"
|
1345 |
msgstr ""
|
1346 |
|
1347 |
-
#: plugin/Controllers/MetaboxController.php:
|
1348 |
msgctxt "admin-text"
|
1349 |
msgid "Author"
|
1350 |
msgstr ""
|
1351 |
|
1352 |
-
#: plugin/Controllers/MetaboxController.php:
|
1353 |
msgctxt "admin-text"
|
1354 |
msgid "(no title)"
|
1355 |
msgstr ""
|
1356 |
|
1357 |
-
#: plugin/Controllers/MetaboxController.php:
|
1358 |
msgctxt "admin-text"
|
1359 |
msgid "No"
|
1360 |
msgstr ""
|
1361 |
|
1362 |
-
#: plugin/Controllers/MetaboxController.php:
|
1363 |
msgctxt "admin-text"
|
1364 |
msgid "Yes"
|
1365 |
msgstr ""
|
1142 |
msgstr[0] ""
|
1143 |
msgstr[1] ""
|
1144 |
|
1145 |
+
#: plugin/Commands/ImportSettings.php:23
|
1146 |
msgctxt "admin-text"
|
1147 |
msgid "Settings imported."
|
1148 |
msgstr ""
|
1149 |
|
1150 |
+
#: plugin/Commands/ImportSettings.php:41
|
1151 |
msgctxt "admin-text"
|
1152 |
msgid "There were no settings found to import."
|
1153 |
msgstr ""
|
1324 |
msgid "System Info"
|
1325 |
msgstr ""
|
1326 |
|
1327 |
+
#: plugin/Controllers/MetaboxController.php:34, views/partials/editor/metabox-response.php:3
|
1328 |
msgctxt "admin-text"
|
1329 |
msgid "Respond Publicly"
|
1330 |
msgstr ""
|
1331 |
|
1332 |
+
#: plugin/Controllers/MetaboxController.php:36
|
1333 |
msgctxt "admin-text"
|
1334 |
msgid "Review Details"
|
1335 |
msgstr ""
|
1336 |
|
1337 |
+
#: plugin/Controllers/MetaboxController.php:37, plugin/Tinymce/SiteReviewsSummaryTinymce.php:25, plugin/Tinymce/SiteReviewsTinymce.php:56, views/partials/editor/bulk-edit-assigned-posts.php:6
|
1338 |
msgctxt "admin-text"
|
1339 |
msgid "Assigned Posts"
|
1340 |
msgstr ""
|
1341 |
|
1342 |
+
#: plugin/Controllers/MetaboxController.php:38, plugin/Defaults/PostTypeColumnDefaults.php:19, views/partials/editor/bulk-edit-assigned-users.php:6
|
1343 |
msgctxt "admin-text"
|
1344 |
msgid "Assigned Users"
|
1345 |
msgstr ""
|
1346 |
|
1347 |
+
#: plugin/Controllers/MetaboxController.php:40, plugin/Controllers/MetaboxController.php:119
|
1348 |
msgctxt "admin-text"
|
1349 |
msgid "Author"
|
1350 |
msgstr ""
|
1351 |
|
1352 |
+
#: plugin/Controllers/MetaboxController.php:72
|
1353 |
msgctxt "admin-text"
|
1354 |
msgid "(no title)"
|
1355 |
msgstr ""
|
1356 |
|
1357 |
+
#: plugin/Controllers/MetaboxController.php:157, plugin/Controllers/ListTableColumns/ColumnValueResponse.php:17
|
1358 |
msgctxt "admin-text"
|
1359 |
msgid "No"
|
1360 |
msgstr ""
|
1361 |
|
1362 |
+
#: plugin/Controllers/MetaboxController.php:158, plugin/Controllers/ListTableColumns/ColumnValueResponse.php:18
|
1363 |
msgctxt "admin-text"
|
1364 |
msgid "Yes"
|
1365 |
msgstr ""
|
plugin/Commands/ImportSettings.php
CHANGED
@@ -4,6 +4,7 @@ namespace GeminiLabs\SiteReviews\Commands;
|
|
4 |
|
5 |
use GeminiLabs\SiteReviews\Contracts\CommandContract as Contract;
|
6 |
use GeminiLabs\SiteReviews\Database\OptionManager;
|
|
|
7 |
use GeminiLabs\SiteReviews\Modules\Notice;
|
8 |
use GeminiLabs\SiteReviews\Upload;
|
9 |
|
@@ -33,6 +34,7 @@ class ImportSettings extends Upload implements Contract
|
|
33 |
glsr(OptionManager::class)->set(
|
34 |
glsr(OptionManager::class)->normalize($settings)
|
35 |
);
|
|
|
36 |
return true;
|
37 |
}
|
38 |
glsr(Notice::class)->addWarning(
|
4 |
|
5 |
use GeminiLabs\SiteReviews\Contracts\CommandContract as Contract;
|
6 |
use GeminiLabs\SiteReviews\Database\OptionManager;
|
7 |
+
use GeminiLabs\SiteReviews\Modules\Migrate;
|
8 |
use GeminiLabs\SiteReviews\Modules\Notice;
|
9 |
use GeminiLabs\SiteReviews\Upload;
|
10 |
|
34 |
glsr(OptionManager::class)->set(
|
35 |
glsr(OptionManager::class)->normalize($settings)
|
36 |
);
|
37 |
+
glsr(Migrate::class)->runAll(); // migrate the imported settings
|
38 |
return true;
|
39 |
}
|
40 |
glsr(Notice::class)->addWarning(
|
plugin/Controllers/MetaboxController.php
CHANGED
@@ -24,6 +24,7 @@ class MetaboxController
|
|
24 |
}
|
25 |
|
26 |
/**
|
|
|
27 |
* @return void
|
28 |
* @action add_meta_boxes_{glsr()->post_type}
|
29 |
*/
|
24 |
}
|
25 |
|
26 |
/**
|
27 |
+
* @param \WP_Post $post
|
28 |
* @return void
|
29 |
* @action add_meta_boxes_{glsr()->post_type}
|
30 |
*/
|
plugin/Database/Query.php
CHANGED
@@ -6,6 +6,7 @@ use GeminiLabs\SiteReviews\Database;
|
|
6 |
use GeminiLabs\SiteReviews\Helper;
|
7 |
use GeminiLabs\SiteReviews\Helpers\Arr;
|
8 |
use GeminiLabs\SiteReviews\Helpers\Cast;
|
|
|
9 |
use GeminiLabs\SiteReviews\Modules\Rating;
|
10 |
use GeminiLabs\SiteReviews\Review;
|
11 |
|
@@ -103,10 +104,11 @@ class Query
|
|
103 |
{
|
104 |
$this->setArgs($args);
|
105 |
if (empty($postIds)) {
|
106 |
-
|
107 |
-
|
108 |
-
$reviewIds = implode(',', Arr::uniqueInt(Cast::toArray($postIds)));
|
109 |
}
|
|
|
|
|
110 |
$results = glsr(Database::class)->dbGetResults($this->queryReviews($reviewIds), OBJECT);
|
111 |
foreach ($results as &$result) {
|
112 |
$result = new Review($result);
|
@@ -295,7 +297,7 @@ class Query
|
|
295 |
*/
|
296 |
protected function queryReviewIds()
|
297 |
{
|
298 |
-
|
299 |
SELECT r.review_id
|
300 |
FROM {$this->table('ratings')} AS r
|
301 |
{$this->sqlJoin()}
|
@@ -305,7 +307,6 @@ class Query
|
|
305 |
{$this->sqlLimit()}
|
306 |
{$this->sqlOffset()}
|
307 |
");
|
308 |
-
return "SELECT ids.* FROM ({$sql}) AS ids";
|
309 |
}
|
310 |
|
311 |
/**
|
6 |
use GeminiLabs\SiteReviews\Helper;
|
7 |
use GeminiLabs\SiteReviews\Helpers\Arr;
|
8 |
use GeminiLabs\SiteReviews\Helpers\Cast;
|
9 |
+
use GeminiLabs\SiteReviews\Helpers\Str;
|
10 |
use GeminiLabs\SiteReviews\Modules\Rating;
|
11 |
use GeminiLabs\SiteReviews\Review;
|
12 |
|
104 |
{
|
105 |
$this->setArgs($args);
|
106 |
if (empty($postIds)) {
|
107 |
+
// We previously used a subquery here, but MariaDB doesn't support it.
|
108 |
+
$postIds = glsr(Database::class)->dbGetCol($this->queryReviewIds());
|
|
|
109 |
}
|
110 |
+
$reviewIds = implode(',', Arr::uniqueInt(Cast::toArray($postIds)));
|
111 |
+
$reviewIds = Str::fallback($reviewIds, '0'); // if there are no review IDs, default to 0
|
112 |
$results = glsr(Database::class)->dbGetResults($this->queryReviews($reviewIds), OBJECT);
|
113 |
foreach ($results as &$result) {
|
114 |
$result = new Review($result);
|
297 |
*/
|
298 |
protected function queryReviewIds()
|
299 |
{
|
300 |
+
return $this->sql("
|
301 |
SELECT r.review_id
|
302 |
FROM {$this->table('ratings')} AS r
|
303 |
{$this->sqlJoin()}
|
307 |
{$this->sqlLimit()}
|
308 |
{$this->sqlOffset()}
|
309 |
");
|
|
|
310 |
}
|
311 |
|
312 |
/**
|
plugin/Database/ReviewManager.php
CHANGED
@@ -73,7 +73,7 @@ class ReviewManager
|
|
73 |
$review = $this->get($postId);
|
74 |
if ($review->isValid()) {
|
75 |
glsr()->action('review/created', $review, $command);
|
76 |
-
return $this->get($review->ID);
|
77 |
}
|
78 |
}
|
79 |
return false;
|
73 |
$review = $this->get($postId);
|
74 |
if ($review->isValid()) {
|
75 |
glsr()->action('review/created', $review, $command);
|
76 |
+
return $this->get($review->ID); // return a fresh copy of the review
|
77 |
}
|
78 |
}
|
79 |
return false;
|
plugin/Database/Sql.php
CHANGED
@@ -192,6 +192,26 @@ trait Sql
|
|
192 |
);
|
193 |
}
|
194 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
195 |
/**
|
196 |
* @return string
|
197 |
*/
|
192 |
);
|
193 |
}
|
194 |
|
195 |
+
/**
|
196 |
+
* @return string
|
197 |
+
*/
|
198 |
+
protected function clauseAndPostIn()
|
199 |
+
{
|
200 |
+
return Helper::ifTrue(!empty($this->args['post__in']),
|
201 |
+
$this->db->prepare('AND r.review_id IN (%s)', implode(',', $this->args['post__in']))
|
202 |
+
);
|
203 |
+
}
|
204 |
+
|
205 |
+
/**
|
206 |
+
* @return string
|
207 |
+
*/
|
208 |
+
protected function clauseAndPostNotIn()
|
209 |
+
{
|
210 |
+
return Helper::ifTrue(!empty($this->args['post__not_in']),
|
211 |
+
$this->db->prepare('AND r.review_id NOT IN (%s)', implode(',', $this->args['post__not_in']))
|
212 |
+
);
|
213 |
+
}
|
214 |
+
|
215 |
/**
|
216 |
* @return string
|
217 |
*/
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Tags: reviews, ratings, testimonials, business reviews, product reviews, stars,
|
|
5 |
Tested up to: 5.5
|
6 |
Requires at least: 5.5
|
7 |
Requires PHP: 5.6
|
8 |
-
Stable tag: 5.2.
|
9 |
License: GPLv3
|
10 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -113,6 +113,12 @@ All documentation can be found in the "Help" page of the plugin. If your questio
|
|
113 |
|
114 |
== Changelog ==
|
115 |
|
|
|
|
|
|
|
|
|
|
|
|
|
116 |
= 5.2.0 (2020-11-06) =
|
117 |
|
118 |
- Added Notification Template tags for assigned categories, posts, and users
|
5 |
Tested up to: 5.5
|
6 |
Requires at least: 5.5
|
7 |
Requires PHP: 5.6
|
8 |
+
Stable tag: 5.2.1
|
9 |
License: GPLv3
|
10 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
113 |
|
114 |
== Changelog ==
|
115 |
|
116 |
+
= 5.2.1 (2020-11-15) =
|
117 |
+
|
118 |
+
- Fixed MariaDB support (removed subqueries from the SQL)
|
119 |
+
- Fixed migration of imported settings
|
120 |
+
- Fixed the "post__in" and "post__not_in" options of the glsr_get_reviews() helper function
|
121 |
+
|
122 |
= 5.2.0 (2020-11-06) =
|
123 |
|
124 |
- Added Notification Template tags for assigned categories, posts, and users
|
site-reviews.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* Plugin Name: Site Reviews
|
8 |
* Plugin URI: https://wordpress.org/plugins/site-reviews
|
9 |
* Description: Receive and display reviews on your website
|
10 |
-
* Version: 5.2.
|
11 |
* Author: Paul Ryley
|
12 |
* Author URI: https://geminilabs.io
|
13 |
* License: GPL2
|
7 |
* Plugin Name: Site Reviews
|
8 |
* Plugin URI: https://wordpress.org/plugins/site-reviews
|
9 |
* Description: Receive and display reviews on your website
|
10 |
+
* Version: 5.2.1
|
11 |
* Author: Paul Ryley
|
12 |
* Author URI: https://geminilabs.io
|
13 |
* License: GPL2
|
views/partials/editor/metabox-details.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
<div class="glsr-input wp-clearfix">
|
6 |
<div class="glsr-toggle-field">
|
7 |
<span class="glsr-toggle">
|
8 |
-
<input name="<?= glsr()->id; ?>[is_editing_review]" class="glsr-toggle__input" type="checkbox">
|
9 |
<span class="glsr-toggle__track"></span>
|
10 |
<span class="glsr-toggle__thumb"></span>
|
11 |
</span>
|
5 |
<div class="glsr-input wp-clearfix">
|
6 |
<div class="glsr-toggle-field">
|
7 |
<span class="glsr-toggle">
|
8 |
+
<input name="<?= glsr()->id; ?>[is_editing_review]" class="glsr-toggle__input" type="checkbox" data-edit-review>
|
9 |
<span class="glsr-toggle__track"></span>
|
10 |
<span class="glsr-toggle__thumb"></span>
|
11 |
</span>
|