forked from duneanalytics/DuneQueryRepo
-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
2792-a416d8718c210b6f.js.download
38 lines (29 loc) · 49 KB
/
2792-a416d8718c210b6f.js.download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2792],{92381:function(e,t){/*!
diff v4.0.1
Software License Agreement (BSD License)
Copyright (c) 2009-2015, Kevin Decker <[email protected]>
All rights reserved.
Redistribution and use of this software in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above
copyright notice, this list of conditions and the
following disclaimer.
* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the
following disclaimer in the documentation and/or other
materials provided with the distribution.
* Neither the name of Kevin Decker nor the names of its
contributors may be used to endorse or promote products
derived from this software without specific prior
written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@license
*/!function(e){"use strict";function t(){}t.prototype={diff:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=r.callback;"function"==typeof r&&(n=r,r={}),this.options=r;var i=this;function o(e){return n?(setTimeout(function(){n(void 0,e)},0),!0):e}e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e));var a=(t=this.removeEmpty(this.tokenize(t))).length,s=e.length,l=1,c=a+s,d=[{newPos:-1,components:[]}],u=this.extractCommon(d[0],t,e,0);if(d[0].newPos+1>=a&&u+1>=s)return o([{value:this.join(t),count:t.length}]);function f(){for(var r=-1*l;r<=l;r+=2){var n=void 0,c=d[r-1],u=d[r+1],f=(u?u.newPos:0)-r;c&&(d[r-1]=void 0);var h=c&&c.newPos+1<a,p=u&&0<=f&&f<s;if(!h&&!p){d[r]=void 0;continue}if(!h||p&&c.newPos<u.newPos?(n={newPos:u.newPos,components:u.components.slice(0)},i.pushComponent(n.components,void 0,!0)):(n=c,n.newPos++,i.pushComponent(n.components,!0,void 0)),f=i.extractCommon(n,t,e,r),n.newPos+1>=a&&f+1>=s)return o(function(e,t,r,n,i){for(var o=0,a=t.length,s=0,l=0;o<a;o++){var c=t[o];if(c.removed){if(c.value=e.join(n.slice(l,l+c.count)),l+=c.count,o&&t[o-1].added){var d=t[o-1];t[o-1]=t[o],t[o]=d}}else{if(!c.added&&i){var u=r.slice(s,s+c.count);u=u.map(function(e,t){var r=n[l+t];return r.length>e.length?r:e}),c.value=e.join(u)}else c.value=e.join(r.slice(s,s+c.count));s+=c.count,c.added||(l+=c.count)}}var f=t[a-1];return a>1&&"string"==typeof f.value&&(f.added||f.removed)&&e.equals("",f.value)&&(t[a-2].value+=f.value,t.pop()),t}(i,n.components,t,e,i.useLongestToken));d[r]=n}l++}if(n)!function e(){setTimeout(function(){if(l>c)return n();f()||e()},0)}();else for(;l<=c;){var h=f();if(h)return h}},pushComponent:function(e,t,r){var n=e[e.length-1];n&&n.added===t&&n.removed===r?e[e.length-1]={count:n.count+1,added:t,removed:r}:e.push({count:1,added:t,removed:r})},extractCommon:function(e,t,r,n){for(var i=t.length,o=r.length,a=e.newPos,s=a-n,l=0;a+1<i&&s+1<o&&this.equals(t[a+1],r[s+1]);)a++,s++,l++;return l&&e.components.push({count:l}),e.newPos=a,s},equals:function(e,t){return this.options.comparator?this.options.comparator(e,t):e===t||this.options.ignoreCase&&e.toLowerCase()===t.toLowerCase()},removeEmpty:function(e){for(var t=[],r=0;r<e.length;r++)e[r]&&t.push(e[r]);return t},castInput:function(e){return e},tokenize:function(e){return e.split("")},join:function(e){return e.join("")}};var r=new t;function n(e,t){if("function"==typeof e)t.callback=e;else if(e)for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);return t}var i=/^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/,o=/\S/,a=new t;a.equals=function(e,t){return this.options.ignoreCase&&(e=e.toLowerCase(),t=t.toLowerCase()),e===t||this.options.ignoreWhitespace&&!o.test(e)&&!o.test(t)},a.tokenize=function(e){for(var t=e.split(/(\s+|[()[\]{}'"]|\b)/),r=0;r<t.length-1;r++)!t[r+1]&&t[r+2]&&i.test(t[r])&&i.test(t[r+2])&&(t[r]+=t[r+2],t.splice(r+1,2),r--);return t};var s=new t;function l(e,t,r){return s.diff(e,t,r)}s.tokenize=function(e){var t=[],r=e.split(/(\n|\r\n)/);r[r.length-1]||r.pop();for(var n=0;n<r.length;n++){var i=r[n];n%2&&!this.options.newlineIsToken?t[t.length-1]+=i:(this.options.ignoreWhitespace&&(i=i.trim()),t.push(i))}return t};var c=new t;c.tokenize=function(e){return e.split(/(\S.+?[.!?])(?=\s+|$)/)};var d=new t;function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function f(e){return function(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance")}()}d.tokenize=function(e){return e.split(/([{}:;,]|\s+)/)};var h=Object.prototype.toString,p=new t;function g(e,t,r,n,i){for(t=t||[],r=r||[],n&&(e=n(i,e)),o=0;o<t.length;o+=1)if(t[o]===e)return r[o];if("[object Array]"===h.call(e)){for(t.push(e),a=Array(e.length),r.push(a),o=0;o<e.length;o+=1)a[o]=g(e[o],t,r,n,i);return t.pop(),r.pop(),a}if(e&&e.toJSON&&(e=e.toJSON()),"object"===u(e)&&null!==e){t.push(e),a={},r.push(a);var o,a,s,l=[];for(s in e)e.hasOwnProperty(s)&&l.push(s);for(l.sort(),o=0;o<l.length;o+=1)a[s=l[o]]=g(e[s],t,r,n,s);t.pop(),r.pop()}else a=e;return a}p.useLongestToken=!0,p.tokenize=s.tokenize,p.castInput=function(e){var t=this.options,r=t.undefinedReplacement,n=t.stringifyReplacer,i=void 0===n?function(e,t){return void 0===t?r:t}:n;return"string"==typeof e?e:JSON.stringify(g(e,null,null,i),i," ")},p.equals=function(e,r){return t.prototype.equals.call(p,e.replace(/,([\r\n])/g,"$1"),r.replace(/,([\r\n])/g,"$1"))};var m=new t;function E(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.split(/\r\n|[\n\v\f\r\x85]/),n=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],i=[],o=0;function a(e){var t=/^(---|\+\+\+)\s+(.*)$/.exec(r[o]);if(t){var n="---"===t[1]?"old":"new",i=t[2].split(" ",2),a=i[0].replace(/\\\\/g,"\\");/^".*"$/.test(a)&&(a=a.substr(1,a.length-2)),e[n+"FileName"]=a,e[n+"Header"]=(i[1]||"").trim(),o++}}for(;o<r.length;)!function(){var e={};for(i.push(e);o<r.length;){var s=r[o];if(/^(\-\-\-|\+\+\+|@@)\s/.test(s))break;var l=/^(?:Index:|diff(?: -r \w+)+)\s+(.+?)\s*$/.exec(s);l&&(e.index=l[1]),o++}for(a(e),a(e),e.hunks=[];o<r.length;){var c=r[o];if(/^(Index:|diff|\-\-\-|\+\+\+)\s/.test(c))break;if(/^@@/.test(c))e.hunks.push(function(){for(var e=o,i=r[o++].split(/@@ -(\d+)(?:,(\d+))? \+(\d+)(?:,(\d+))? @@/),a={oldStart:+i[1],oldLines:+i[2]||1,newStart:+i[3],newLines:+i[4]||1,lines:[],linedelimiters:[]},s=0,l=0;o<r.length&&(0!==r[o].indexOf("--- ")||!(o+2<r.length)||0!==r[o+1].indexOf("+++ ")||0!==r[o+2].indexOf("@@"));o++){var c=0==r[o].length&&o!=r.length-1?" ":r[o][0];if("+"===c||"-"===c||" "===c||"\\"===c)a.lines.push(r[o]),a.linedelimiters.push(n[o]||"\n"),"+"===c?s++:"-"===c?l++:" "===c&&(s++,l++);else break}if(s||1!==a.newLines||(a.newLines=0),l||1!==a.oldLines||(a.oldLines=0),t.strict){if(s!==a.newLines)throw Error("Added line count did not match for hunk at line "+(e+1));if(l!==a.oldLines)throw Error("Removed line count did not match for hunk at line "+(e+1))}return a}());else if(c&&t.strict)throw Error("Unknown line "+(o+1)+" "+JSON.stringify(c));else o++}}();return i}function v(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof t&&(t=E(t)),Array.isArray(t)){if(t.length>1)throw Error("applyPatch only works with a single input.");t=t[0]}for(var n,i,o=e.split(/\r\n|[\n\v\f\r\x85]/),a=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],s=t.hunks,l=r.compareLine||function(e,t,r,n){return t===n},c=0,d=r.fuzzFactor||0,u=0,f=0,h=0;h<s.length;h++){for(var p=s[h],g=o.length-p.oldLines,m=0,v=f+p.oldStart-1,b=function(e,t,r){var n=!0,i=!1,o=!1,a=1;return function s(){if(n&&!o){if(i?a++:n=!1,e+a<=r)return a;o=!0}if(!i)return(o||(n=!0),t<=e-a)?-a++:(i=!0,s())}}(v,u,g);void 0!==m;m=b())if(function(e,t){for(var r=0;r<e.lines.length;r++){var n=e.lines[r],i=n.length>0?n[0]:" ",a=n.length>0?n.substr(1):n;if(" "===i||"-"===i){if(!l(t+1,o[t],i,a)&&++c>d)return!1;t++}}return!0}(p,v+m)){p.offset=f+=m;break}if(void 0===m)return!1;u=p.offset+p.oldStart+p.oldLines}for(var y=0,k=0;k<s.length;k++){var C=s[k],A=C.oldStart+C.offset+y-1;y+=C.newLines-C.oldLines,A<0&&(A=0);for(var N=0;N<C.lines.length;N++){var L=C.lines[N],T=L.length>0?L[0]:" ",w=L.length>0?L.substr(1):L,S=C.linedelimiters[N];if(" "===T)A++;else if("-"===T)o.splice(A,1),a.splice(A,1);else if("+"===T)o.splice(A,0,w),a.splice(A,0,S),A++;else if("\\"===T){var O=C.lines[N-1]?C.lines[N-1][0]:null;"+"===O?n=!0:"-"===O&&(i=!0)}}}if(n)for(;!o[o.length-1];)o.pop(),a.pop();else i&&(o.push(""),a.push("\n"));for(var I=0;I<o.length-1;I++)o[I]=o[I]+a[I];return o.join("")}function b(e,t,r,n,i,o,a){a||(a={}),void 0===a.context&&(a.context=4);var s=l(r,n,a);function c(e){return e.map(function(e){return" "+e})}s.push({value:"",lines:[]});for(var d=[],u=0,h=0,p=[],g=1,m=1,E=0;E<s.length;E++)!function(e){var t=s[e],i=t.lines||t.value.replace(/\n$/,"").split("\n");if(t.lines=i,t.added||t.removed){if(!u){var o=s[e-1];u=g,h=m,o&&(p=a.context>0?c(o.lines.slice(-a.context)):[],u-=p.length,h-=p.length)}(l=p).push.apply(l,f(i.map(function(e){return(t.added?"+":"-")+e}))),t.added?m+=i.length:g+=i.length}else{if(u){if(i.length<=2*a.context&&e<s.length-2)(E=p).push.apply(E,f(c(i)));else{var l,E,v,b=Math.min(i.length,a.context);(v=p).push.apply(v,f(c(i.slice(0,b))));var y={oldStart:u,oldLines:g-u+b,newStart:h,newLines:m-h+b,lines:p};if(e>=s.length-2&&i.length<=a.context){var k=/\n$/.test(r),C=/\n$/.test(n),A=0==i.length&&p.length>y.oldLines;!k&&A&&p.splice(y.oldLines,0,"\\ No newline at end of file"),(k||A)&&C||p.push("\\ No newline at end of file")}d.push(y),u=0,h=0,p=[]}}g+=i.length,m+=i.length}}(E);return{oldFileName:e,newFileName:t,oldHeader:i,newHeader:o,hunks:d}}function y(e,t,r,n,i,o,a){var s=b(e,t,r,n,i,o,a),l=[];e==t&&l.push("Index: "+e),l.push("==================================================================="),l.push("--- "+s.oldFileName+(void 0===s.oldHeader?"":" "+s.oldHeader)),l.push("+++ "+s.newFileName+(void 0===s.newHeader?"":" "+s.newHeader));for(var c=0;c<s.hunks.length;c++){var d=s.hunks[c];l.push("@@ -"+d.oldStart+","+d.oldLines+" +"+d.newStart+","+d.newLines+" @@"),l.push.apply(l,d.lines)}return l.join("\n")+"\n"}function k(e,t){if(t.length>e.length)return!1;for(var r=0;r<t.length;r++)if(t[r]!==e[r])return!1;return!0}function C(e,t){if("string"==typeof e){if(/^@@/m.test(e)||/^Index:/m.test(e))return E(e)[0];if(!t)throw Error("Must provide a base reference or pass in a patch");return b(void 0,void 0,t,e)}return e}function A(e){return e.newFileName&&e.newFileName!==e.oldFileName}function N(e,t,r){return t===r?t:(e.conflict=!0,{mine:t,theirs:r})}function L(e,t){return e.oldStart<t.oldStart&&e.oldStart+e.oldLines<t.oldStart}function T(e,t){return{oldStart:e.oldStart,oldLines:e.oldLines,newStart:e.newStart+t,newLines:e.newLines,lines:e.lines}}function w(e,t,r,n){var i,o=R(t),a=function(e,t){for(var r=[],n=[],i=0,o=!1,a=!1;i<t.length&&e.index<e.lines.length;){var s=e.lines[e.index],l=t[i];if("+"===l[0])break;if(o=o||" "!==s[0],n.push(l),i++,"+"===s[0])for(a=!0;"+"===s[0];)r.push(s),s=e.lines[++e.index];l.substr(1)===s.substr(1)?(r.push(s),e.index++):a=!0}if("+"===(t[i]||"")[0]&&o&&(a=!0),a)return r;for(;i<t.length;)n.push(t[i++]);return{merged:n,changes:r}}(r,o);a.merged?(i=e.lines).push.apply(i,f(a.merged)):S(e,n?a:o,n?o:a)}function S(e,t,r){e.conflict=!0,e.lines.push({conflict:!0,mine:t,theirs:r})}function O(e,t,r){for(;t.offset<r.offset&&t.index<t.lines.length;){var n=t.lines[t.index++];e.lines.push(n),t.offset++}}function I(e,t){for(;t.index<t.lines.length;){var r=t.lines[t.index++];e.lines.push(r)}}function R(e){for(var t=[],r=e.lines[e.index][0];e.index<e.lines.length;){var n=e.lines[e.index];if("-"===r&&"+"===n[0]&&(r="+"),r===n[0])t.push(n),e.index++;else break}return t}function D(e){return e.reduce(function(e,t){return e&&"-"===t[0]},!0)}function x(e,t,r){for(var n=0;n<r;n++){var i=t[t.length-r+n].substr(1);if(e.lines[e.index+n]!==" "+i)return!1}return e.index+=r,!0}m.tokenize=function(e){return e.slice()},m.join=m.removeEmpty=function(e){return e},e.Diff=t,e.diffChars=function(e,t,n){return r.diff(e,t,n)},e.diffWords=function(e,t,r){return r=n(r,{ignoreWhitespace:!0}),a.diff(e,t,r)},e.diffWordsWithSpace=function(e,t,r){return a.diff(e,t,r)},e.diffLines=l,e.diffTrimmedLines=function(e,t,r){var i=n(r,{ignoreWhitespace:!0});return s.diff(e,t,i)},e.diffSentences=function(e,t,r){return c.diff(e,t,r)},e.diffCss=function(e,t,r){return d.diff(e,t,r)},e.diffJson=function(e,t,r){return p.diff(e,t,r)},e.diffArrays=function(e,t,r){return m.diff(e,t,r)},e.structuredPatch=b,e.createTwoFilesPatch=y,e.createPatch=function(e,t,r,n,i,o){return y(e,e,t,r,n,i,o)},e.applyPatch=v,e.applyPatches=function(e,t){"string"==typeof e&&(e=E(e));var r=0;!function n(){var i=e[r++];if(!i)return t.complete();t.loadFile(i,function(e,r){if(e)return t.complete(e);var o=v(r,i,t);t.patched(i,o,function(e){if(e)return t.complete(e);n()})})}()},e.parsePatch=E,e.merge=function(e,t,r){e=C(e,r),t=C(t,r);var n={};(e.index||t.index)&&(n.index=e.index||t.index),(e.newFileName||t.newFileName)&&(A(e)?A(t)?(n.oldFileName=N(n,e.oldFileName,t.oldFileName),n.newFileName=N(n,e.newFileName,t.newFileName),n.oldHeader=N(n,e.oldHeader,t.oldHeader),n.newHeader=N(n,e.newHeader,t.newHeader)):(n.oldFileName=e.oldFileName,n.newFileName=e.newFileName,n.oldHeader=e.oldHeader,n.newHeader=e.newHeader):(n.oldFileName=t.oldFileName||e.oldFileName,n.newFileName=t.newFileName||e.newFileName,n.oldHeader=t.oldHeader||e.oldHeader,n.newHeader=t.newHeader||e.newHeader)),n.hunks=[];for(var i=0,o=0,a=0,s=0;i<e.hunks.length||o<t.hunks.length;){var l=e.hunks[i]||{oldStart:1/0},c=t.hunks[o]||{oldStart:1/0};if(L(l,c))n.hunks.push(T(l,a)),i++,s+=l.newLines-l.oldLines;else if(L(c,l))n.hunks.push(T(c,s)),o++,a+=c.newLines-c.oldLines;else{var d={oldStart:Math.min(l.oldStart,c.oldStart),oldLines:0,newStart:Math.min(l.newStart+a,c.oldStart+s),newLines:0,lines:[]};(function(e,t,r,n,i){var o,a,s,l={offset:t,lines:r,index:0},c={offset:n,lines:i,index:0};for(O(e,l,c),O(e,c,l);l.index<l.lines.length&&c.index<c.lines.length;){var d,u,h=l.lines[l.index],p=c.lines[c.index];("-"===h[0]||"+"===h[0])&&("-"===p[0]||"+"===p[0])?function(e,t,r){var n,i,o,a=R(t),s=R(r);if(D(a)&&D(s)){if(k(a,s)&&x(r,a,a.length-s.length)){(n=e.lines).push.apply(n,f(a));return}if(k(s,a)&&x(t,s,s.length-a.length)){(i=e.lines).push.apply(i,f(s));return}}else if(a.length===s.length&&k(a,s)){(o=e.lines).push.apply(o,f(a));return}S(e,a,s)}(e,l,c):"+"===h[0]&&" "===p[0]?(d=e.lines).push.apply(d,f(R(l))):"+"===p[0]&&" "===h[0]?(u=e.lines).push.apply(u,f(R(c))):"-"===h[0]&&" "===p[0]?w(e,l,c):"-"===p[0]&&" "===h[0]?w(e,c,l,!0):h===p?(e.lines.push(h),l.index++,c.index++):S(e,R(l),R(c))}I(e,l),I(e,c),a=(o=function e(t){var r=0,n=0;return t.forEach(function(t){if("string"!=typeof t){var i=e(t.mine),o=e(t.theirs);void 0!==r&&(i.oldLines===o.oldLines?r+=i.oldLines:r=void 0),void 0!==n&&(i.newLines===o.newLines?n+=i.newLines:n=void 0)}else void 0!==n&&("+"===t[0]||" "===t[0])&&n++,void 0!==r&&("-"===t[0]||" "===t[0])&&r++}),{oldLines:r,newLines:n}}(e.lines)).oldLines,s=o.newLines,void 0!==a?e.oldLines=a:delete e.oldLines,void 0!==s?e.newLines=s:delete e.newLines})(d,l.oldStart,l.lines,c.oldStart,c.lines),o++,i++,n.hunks.push(d)}}return n},e.convertChangesToDMP=function(e){for(var t,r=[],n=0;n<e.length;n++)r.push([(t=e[n]).added?1:t.removed?-1:0,t.value]);return r},e.convertChangesToXML=function(e){for(var t=[],r=0;r<e.length;r++){var n=e[r];n.added?t.push("<ins>"):n.removed&&t.push("<del>"),t.push(function(e){var t=e;return(t=(t=(t=t.replace(/&/g,"&")).replace(/</g,"<")).replace(/>/g,">")).replace(/"/g,""")}(n.value)),n.added?t.push("</ins>"):n.removed&&t.push("</del>")}return t.join("")},e.canonicalize=g,Object.defineProperty(e,"__esModule",{value:!0})}(t)},44444:function(e,t,r){"use strict";r.r(t),r.d(t,{cache:function(){return Y},css:function(){return j},cx:function(){return G},flush:function(){return M},getRegisteredStyles:function(){return H},hydrate:function(){return U},injectGlobal:function(){return _},keyframes:function(){return W},merge:function(){return V},sheet:function(){return $}});var n,i,o,a,s,l,c,d,u,f,h,p,g=function(){function e(e){this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.before=null}var t=e.prototype;return t.insert=function(e){if(this.ctr%(this.isSpeedy?65e3:1)==0){var t,r,n=((t=document.createElement("style")).setAttribute("data-emotion",this.key),void 0!==this.nonce&&t.setAttribute("nonce",this.nonce),t.appendChild(document.createTextNode("")),t);r=0===this.tags.length?this.before:this.tags[this.tags.length-1].nextSibling,this.container.insertBefore(n,r),this.tags.push(n)}var i=this.tags[this.tags.length-1];if(this.isSpeedy){var o=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(i);try{var a=105===e.charCodeAt(1)&&64===e.charCodeAt(0);o.insertRule(e,a?0:o.cssRules.length)}catch(e){}}else i.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach(function(e){return e.parentNode.removeChild(e)}),this.tags=[],this.ctr=0},e}(),m="/*|*/",E=m+"}";function v(e){e&&b.current.insert(e+"}")}var b={current:null},y=function(e){for(var t,r=0,n=0,i=e.length;i>=4;++n,i-=4)t=(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))*1540483477+((t>>>16)*59797<<16),t^=t>>>24,r=(65535&t)*1540483477+((t>>>16)*59797<<16)^(65535&r)*1540483477+((r>>>16)*59797<<16);switch(i){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r^=255&e.charCodeAt(n),r=(65535&r)*1540483477+((r>>>16)*59797<<16)}return r^=r>>>13,(((r=(65535&r)*1540483477+((r>>>16)*59797<<16))^r>>>15)>>>0).toString(36)},k={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},C=/[A-Z]|^ms/g,A=/_EMO_([^_]+?)_([^]*?)_EMO_/g,N=function(e){return 45===e.charCodeAt(1)},L=function(e){return null!=e&&"boolean"!=typeof e},T=(u={},function(e){return void 0===u[e]&&(u[e]=N(e)?e:e.replace(C,"-$&").toLowerCase()),u[e]}),w=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(A,function(e,t,r){return p={name:t,styles:r,next:p},t})}return 1===k[e]||N(e)||"number"!=typeof t||0===t?t:t+"px"};function S(e,t,r,n){if(null==r)return"";if(void 0!==r.__emotion_styles)return r;switch(typeof r){case"boolean":return"";case"object":if(1===r.anim)return p={name:r.name,styles:r.styles,next:p},r.name;if(void 0!==r.styles){var i=r.next;if(void 0!==i)for(;void 0!==i;)p={name:i.name,styles:i.styles,next:p},i=i.next;return r.styles+";"}return function(e,t,r){var n="";if(Array.isArray(r))for(var i=0;i<r.length;i++)n+=S(e,t,r[i],!1);else for(var o in r){var a=r[o];if("object"!=typeof a)null!=t&&void 0!==t[a]?n+=o+"{"+t[a]+"}":L(a)&&(n+=T(o)+":"+w(o,a)+";");else if(Array.isArray(a)&&"string"==typeof a[0]&&(null==t||void 0===t[a[0]]))for(var s=0;s<a.length;s++)L(a[s])&&(n+=T(o)+":"+w(o,a[s])+";");else{var l=S(e,t,a,!1);switch(o){case"animation":case"animationName":n+=T(o)+":"+l+";";break;default:n+=o+"{"+l+"}"}}}return n}(e,t,r);case"function":if(void 0!==e){var o=p,a=r(e);return p=o,S(e,t,a,n)}}if(null==t)return r;var s=t[r];return void 0===s||n?r:s}var O=/label:\s*([^\s;\n{]+)\s*;/g,I=function(e,t,r){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var n,i=!0,o="";p=void 0;var a=e[0];null==a||void 0===a.raw?(i=!1,o+=S(r,t,a,!1)):o+=a[0];for(var s=1;s<e.length;s++)o+=S(r,t,e[s],46===o.charCodeAt(o.length-1)),i&&(o+=a[s]);O.lastIndex=0;for(var l="";null!==(n=O.exec(o));)l+="-"+n[1];return{name:y(o)+l,styles:o,next:p}};function R(e,t,r){var n="";return r.split(" ").forEach(function(r){void 0!==e[r]?t.push(e[r]):n+=r+" "}),n}var D=function(e,t,r){var n=e.key+"-"+t.name;if(!1===r&&void 0===e.registered[n]&&(e.registered[n]=t.styles),void 0===e.inserted[t.name]){var i=t;do e.insert("."+n,i,e.sheet,!0),i=i.next;while(void 0!==i)}};function x(e,t){if(void 0===e.inserted[t.name])return e.insert("",t,e.sheet,!0)}function B(e,t,r){var n=[],i=R(e,n,r);return n.length<2?r:i+t(n)}var F=function e(t){for(var r="",n=0;n<t.length;n++){var i=t[n];if(null!=i){var o=void 0;switch(typeof i){case"boolean":break;case"object":if(Array.isArray(i))o=e(i);else for(var a in o="",i)i[a]&&a&&(o&&(o+=" "),o+=a);break;default:o=i}o&&(r&&(r+=" "),r+=o)}}return r},P=((n=void 0,a=(n={}).key||"css",void 0!==n.prefix&&(i={prefix:n.prefix}),s=new function(e){function t(e,t,n){var i=t.trim().split(p);t=i;var o=i.length,a=e.length;switch(a){case 0:case 1:var s=0;for(e=0===a?"":e[0]+" ";s<o;++s)t[s]=r(e,t[s],n).trim();break;default:var l=s=0;for(t=[];s<o;++s)for(var c=0;c<a;++c)t[l++]=r(e[c]+" ",i[s],n).trim()}return t}function r(e,t,r){var n=t.charCodeAt(0);switch(33>n&&(n=(t=t.trim()).charCodeAt(0)),n){case 38:return t.replace(g,"$1"+e.trim());case 58:return e.trim()+t.replace(g,"$1"+e.trim());default:if(0<1*r&&0<t.indexOf("\f"))return t.replace(g,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function n(e,t,r,o){var a=e+";",s=2*t+3*r+4*o;if(944===s){e=a.indexOf(":",9)+1;var l=a.substring(e,a.length-1).trim();return l=a.substring(0,e).trim()+l+";",1===O||2===O&&i(l,1)?"-webkit-"+l+l:l}if(0===O||2===O&&!i(a,1))return a;switch(s){case 1015:return 97===a.charCodeAt(10)?"-webkit-"+a+a:a;case 951:return 116===a.charCodeAt(3)?"-webkit-"+a+a:a;case 963:return 110===a.charCodeAt(5)?"-webkit-"+a+a:a;case 1009:if(100!==a.charCodeAt(4))break;case 969:case 942:return"-webkit-"+a+a;case 978:return"-webkit-"+a+"-moz-"+a+a;case 1019:case 983:return"-webkit-"+a+"-moz-"+a+"-ms-"+a+a;case 883:if(45===a.charCodeAt(8))return"-webkit-"+a+a;if(0<a.indexOf("image-set(",11))return a.replace(L,"$1-webkit-$2")+a;break;case 932:if(45===a.charCodeAt(4))switch(a.charCodeAt(5)){case 103:return"-webkit-box-"+a.replace("-grow","")+"-webkit-"+a+"-ms-"+a.replace("grow","positive")+a;case 115:return"-webkit-"+a+"-ms-"+a.replace("shrink","negative")+a;case 98:return"-webkit-"+a+"-ms-"+a.replace("basis","preferred-size")+a}return"-webkit-"+a+"-ms-"+a+a;case 964:return"-webkit-"+a+"-ms-flex-"+a+a;case 1023:if(99!==a.charCodeAt(8))break;return"-webkit-box-pack"+(l=a.substring(a.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+a+"-ms-flex-pack"+l+a;case 1005:return f.test(a)?a.replace(u,":-webkit-")+a.replace(u,":-moz-")+a:a;case 1e3:switch(t=(l=a.substring(13).trim()).indexOf("-")+1,l.charCodeAt(0)+l.charCodeAt(t)){case 226:l=a.replace(b,"tb");break;case 232:l=a.replace(b,"tb-rl");break;case 220:l=a.replace(b,"lr");break;default:return a}return"-webkit-"+a+"-ms-"+l+a;case 1017:if(-1===a.indexOf("sticky",9))break;case 975:switch(t=(a=e).length-10,s=(l=(33===a.charCodeAt(t)?a.substring(0,t):a).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|l.charCodeAt(7))){case 203:if(111>l.charCodeAt(8))break;case 115:a=a.replace(l,"-webkit-"+l)+";"+a;break;case 207:case 102:a=a.replace(l,"-webkit-"+(102<s?"inline-":"")+"box")+";"+a.replace(l,"-webkit-"+l)+";"+a.replace(l,"-ms-"+l+"box")+";"+a}return a+";";case 938:if(45===a.charCodeAt(5))switch(a.charCodeAt(6)){case 105:return l=a.replace("-items",""),"-webkit-"+a+"-webkit-box-"+l+"-ms-flex-"+l+a;case 115:return"-webkit-"+a+"-ms-flex-item-"+a.replace(C,"")+a;default:return"-webkit-"+a+"-ms-flex-line-pack"+a.replace("align-content","").replace(C,"")+a}break;case 973:case 989:if(45!==a.charCodeAt(3)||122===a.charCodeAt(4))break;case 931:case 953:if(!0===N.test(e))return 115===(l=e.substring(e.indexOf(":")+1)).charCodeAt(0)?n(e.replace("stretch","fill-available"),t,r,o).replace(":fill-available",":stretch"):a.replace(l,"-webkit-"+l)+a.replace(l,"-moz-"+l.replace("fill-",""))+a;break;case 962:if(a="-webkit-"+a+(102===a.charCodeAt(5)?"-ms-"+a:"")+a,211===r+o&&105===a.charCodeAt(13)&&0<a.indexOf("transform",10))return a.substring(0,a.indexOf(";",27)+1).replace(h,"$1-webkit-$2")+a}return a}function i(e,t){var r=e.indexOf(1===t?":":"{"),n=e.substring(0,3!==t?r:10);return r=e.substring(r+1,e.length-1),x(2!==t?n:n.replace(A,"$1"),r,t)}function o(e,t){var r=n(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return r!==t+";"?r.replace(k," or ($1)").substring(4):"("+t+")"}function a(e,t,r,n,i,o,a,s,c,d){for(var u,f=0,h=t;f<D;++f)switch(u=R[f].call(l,e,h,r,n,i,o,a,s,c,d)){case void 0:case!1:case!0:case null:break;default:h=u}if(h!==t)return h}function s(e){return void 0!==(e=e.prefix)&&(x=null,e?"function"!=typeof e?O=1:(O=2,x=e):O=0),s}function l(e,r){var s=e;if(33>s.charCodeAt(0)&&(s=s.trim()),s=[s],0<D){var l=a(-1,r,s,s,w,T,0,0,0,0);void 0!==l&&"string"==typeof l&&(r=l)}var u=function e(r,s,l,u,f){for(var h,p,g,b,k,C=0,A=0,N=0,L=0,R=0,x=0,F=g=h=0,P=0,M=0,U=0,G=0,V=l.length,H=V-1,_="",W="",j="",$="";P<V;){if(p=l.charCodeAt(P),P===H&&0!==A+L+N+C&&(0!==A&&(p=47===A?10:47),L=N=C=0,V++,H++),0===A+L+N+C){if(P===H&&(0<M&&(_=_.replace(d,"")),0<_.trim().length)){switch(p){case 32:case 9:case 59:case 13:case 10:break;default:_+=l.charAt(P)}p=59}switch(p){case 123:for(h=(_=_.trim()).charCodeAt(0),g=1,G=++P;P<V;){switch(p=l.charCodeAt(P)){case 123:g++;break;case 125:g--;break;case 47:switch(p=l.charCodeAt(P+1)){case 42:case 47:e:{for(F=P+1;F<H;++F)switch(l.charCodeAt(F)){case 47:if(42===p&&42===l.charCodeAt(F-1)&&P+2!==F){P=F+1;break e}break;case 10:if(47===p){P=F+1;break e}}P=F}}break;case 91:p++;case 40:p++;case 34:case 39:for(;P++<H&&l.charCodeAt(P)!==p;);}if(0===g)break;P++}if(g=l.substring(G,P),0===h&&(h=(_=_.replace(c,"").trim()).charCodeAt(0)),64===h){switch(0<M&&(_=_.replace(d,"")),p=_.charCodeAt(1)){case 100:case 109:case 115:case 45:M=s;break;default:M=I}if(G=(g=e(s,M,g,p,f+1)).length,0<D&&(k=a(3,g,M=t(I,_,U),s,w,T,G,p,f,u),_=M.join(""),void 0!==k&&0===(G=(g=k.trim()).length)&&(p=0,g="")),0<G)switch(p){case 115:_=_.replace(y,o);case 100:case 109:case 45:g=_+"{"+g+"}";break;case 107:g=(_=_.replace(m,"$1 $2"))+"{"+g+"}",g=1===O||2===O&&i("@"+g,3)?"@-webkit-"+g+"@"+g:"@"+g;break;default:g=_+g,112===u&&(W+=g,g="")}else g=""}else g=e(s,t(s,_,U),g,u,f+1);j+=g,g=U=M=F=h=0,_="",p=l.charCodeAt(++P);break;case 125:case 59:if(1<(G=(_=(0<M?_.replace(d,""):_).trim()).length))switch(0===F&&(45===(h=_.charCodeAt(0))||96<h&&123>h)&&(G=(_=_.replace(" ",":")).length),0<D&&void 0!==(k=a(1,_,s,r,w,T,W.length,u,f,u))&&0===(G=(_=k.trim()).length)&&(_="\x00\x00"),h=_.charCodeAt(0),p=_.charCodeAt(1),h){case 0:break;case 64:if(105===p||99===p){$+=_+l.charAt(P);break}default:58!==_.charCodeAt(G-1)&&(W+=n(_,h,p,_.charCodeAt(2)))}U=M=F=h=0,_="",p=l.charCodeAt(++P)}}switch(p){case 13:case 10:47===A?A=0:0===1+h&&107!==u&&0<_.length&&(M=1,_+="\x00"),0<D*B&&a(0,_,s,r,w,T,W.length,u,f,u),T=1,w++;break;case 59:case 125:if(0===A+L+N+C){T++;break}default:switch(T++,b=l.charAt(P),p){case 9:case 32:if(0===L+C+A)switch(R){case 44:case 58:case 9:case 32:b="";break;default:32!==p&&(b=" ")}break;case 0:b="\\0";break;case 12:b="\\f";break;case 11:b="\\v";break;case 38:0===L+A+C&&(M=U=1,b="\f"+b);break;case 108:if(0===L+A+C+S&&0<F)switch(P-F){case 2:112===R&&58===l.charCodeAt(P-3)&&(S=R);case 8:111===x&&(S=x)}break;case 58:0===L+A+C&&(F=P);break;case 44:0===A+N+L+C&&(M=1,b+="\r");break;case 34:case 39:0===A&&(L=L===p?0:0===L?p:L);break;case 91:0===L+A+N&&C++;break;case 93:0===L+A+N&&C--;break;case 41:0===L+A+C&&N--;break;case 40:0===L+A+C&&(0===h&&(2*R+3*x==533||(h=1)),N++);break;case 64:0===A+N+L+C+F+g&&(g=1);break;case 42:case 47:if(!(0<L+C+N))switch(A){case 0:switch(2*p+3*l.charCodeAt(P+1)){case 235:A=47;break;case 220:G=P,A=42}break;case 42:47===p&&42===R&&G+2!==P&&(33===l.charCodeAt(G+2)&&(W+=l.substring(G,P+1)),b="",A=0)}}0===A&&(_+=b)}x=R,R=p,P++}if(0<(G=W.length)){if(M=s,0<D&&void 0!==(k=a(2,W,M,r,w,T,G,u,f,u))&&0===(W=k).length)return $+W+j;if(W=M.join(",")+"{"+W+"}",0!=O*S){switch(2!==O||i(W,2)||(S=0),S){case 111:W=W.replace(v,":-moz-$1")+W;break;case 112:W=W.replace(E,"::-webkit-input-$1")+W.replace(E,"::-moz-$1")+W.replace(E,":-ms-input-$1")+W}S=0}}return $+W+j}(I,s,r,0,0);return 0<D&&void 0!==(l=a(-2,u,s,s,w,T,u.length,0,0,0))&&(u=l),S=0,T=w=1,u}var c=/^\0+/g,d=/[\0\r\f]/g,u=/: */g,f=/zoo|gra/,h=/([,: ])(transform)/g,p=/,\r+?/g,g=/([\t\r\n ])*\f?&/g,m=/@(k\w+)\s*(\S*)\s*/,E=/::(place)/g,v=/:(read-only)/g,b=/[svh]\w+-[tblr]{2}/,y=/\(\s*(.*)\s*\)/g,k=/([\s\S]*?);/g,C=/-self|flex-/g,A=/[^]*?(:[rp][el]a[\w-]+)[^]*/,N=/stretch|:\s*\w+\-(?:conte|avail)/,L=/([^-])(image-set\()/,T=1,w=1,S=0,O=1,I=[],R=[],D=0,x=null,B=0;return l.use=function e(t){switch(t){case void 0:case null:D=R.length=0;break;default:if("function"==typeof t)R[D++]=t;else if("object"==typeof t)for(var r=0,n=t.length;r<n;++r)e(t[r]);else B=0|!!t}return e},l.set=s,void 0!==e&&s(e),l}(i),l={},o=n.container||document.head,c=document.querySelectorAll("style[data-emotion-"+a+"]"),Array.prototype.forEach.call(c,function(e){e.getAttribute("data-emotion-"+a).split(" ").forEach(function(e){l[e]=!0}),e.parentNode!==o&&o.appendChild(e)}),s.use(n.stylisPlugins)(function(e,t,r,n,i,o,a,s,l,c){switch(e){case 1:switch(t.charCodeAt(0)){case 64:return b.current.insert(t+";"),"";case 108:if(98===t.charCodeAt(2))return""}break;case 2:if(0===s)return t+m;break;case 3:switch(s){case 102:case 112:return b.current.insert(r[0]+t),"";default:return t+(0===c?m:"")}case -2:t.split(E).forEach(v)}}),f=d={key:a,sheet:new g({key:a,container:o,nonce:n.nonce,speedy:n.speedy}),nonce:n.nonce,inserted:l,registered:{},insert:function(e,t,r,n){var i=t.name;b.current=r,s(e,t.styles),n&&(d.inserted[i]=!0)}}).sheet.speedy=function(e){this.isSpeedy=e},f.compat=!0,{css:h=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=I(t,f.registered,void 0);return D(f,n,!1),f.key+"-"+n.name},cx:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return B(f.registered,h,F(t))},injectGlobal:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=I(t,f.registered);x(f,n)},keyframes:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=I(t,f.registered),i="animation-"+n.name;return x(f,{name:n.name,styles:"@keyframes "+i+"{"+n.styles+"}"}),i},hydrate:function(e){e.forEach(function(e){f.inserted[e]=!0})},flush:function(){f.registered={},f.inserted={},f.sheet.flush()},sheet:f.sheet,cache:f,getRegisteredStyles:R.bind(null,f.registered),merge:B.bind(null,f.registered,h)}),M=P.flush,U=P.hydrate,G=P.cx,V=P.merge,H=P.getRegisteredStyles,_=P.injectGlobal,W=P.keyframes,j=P.css,$=P.sheet,Y=P.cache},30845:function(e,t,r){"use strict";r.r(t);var n=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function i(e,t){if(e.length!==t.length)return!1;for(var r,i,o=0;o<e.length;o++)if(!((r=e[o])===(i=t[o])||n(r)&&n(i)))return!1;return!0}t.default=function(e,t){void 0===t&&(t=i);var r,n,o=[],a=!1;return function(){for(var i=[],s=0;s<arguments.length;s++)i[s]=arguments[s];return a&&r===this&&t(i,o)||(n=e.apply(this,i),a=!0,r=this,o=i),n}}},35266:function(){Prism.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/}},33377:function(e,t,r){"use strict";var n,i,o,a,s=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},l=this&&this.__spread||function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(s(arguments[t]));return e};Object.defineProperty(t,"__esModule",{value:!0});var c=r(92381);(n=o=t.DiffType||(t.DiffType={}))[n.DEFAULT=0]="DEFAULT",n[n.ADDED=1]="ADDED",n[n.REMOVED=2]="REMOVED",(i=a=t.DiffMethod||(t.DiffMethod={})).CHARS="diffChars",i.WORDS="diffWords",i.WORDS_WITH_SPACE="diffWordsWithSpace",i.LINES="diffLines",i.TRIMMED_LINES="diffTrimmedLines",i.SENTENCES="diffSentences",i.CSS="diffCss";var d=function(e){var t=e.split("\n");if(t.every(function(e){return!e}))return 2===t.length?[]:(t.pop(),t);var r=t[t.length-1],n=t[0];return r||t.pop(),n||t.shift(),t},u=function(e,t,r){void 0===r&&(r=a.CHARS);var n=c[r](e,t),i={left:[],right:[]};return n.forEach(function(e){var t=e.added,r=e.removed,n=e.value,a={};return t&&(a.type=o.ADDED,a.value=n,i.right.push(a)),r&&(a.type=o.REMOVED,a.value=n,i.left.push(a)),r||t||(a.type=o.DEFAULT,a.value=n,i.right.push(a),i.left.push(a)),a}),i};t.computeLineInformation=function(e,t,r,n,i){void 0===r&&(r=!1),void 0===n&&(n=a.CHARS),void 0===i&&(i=0);var s=c.diffLines(e.trimRight(),t.trimRight(),{newlineIsToken:!0,ignoreWhitespace:!1,ignoreCase:!1}),f=i,h=i,p=[],g=0,m=[],E=[],v=function(e,t,i,a,l){return d(e).map(function(e,c){var p={},b={};if(!E.includes(t+"-"+c)&&(!l||0===c)){if(i||a){if(m.includes(g)||m.push(g),a){h+=1,p.lineNumber=h,p.type=o.REMOVED,p.value=e||" ";var y=s[t+1];if(y&&y.added&&d(y.value)[c]){var k=v(y.value,t,!0,!1,!0)[0].right,C=k.value,A=k.lineNumber,N=k.type;if(E.push(t+1+"-"+c),b.lineNumber=A,b.type=N,r)b.value=C;else{var L=u(e,C,n);b.value=L.right,p.value=L.left}}}else f+=1,b.lineNumber=f,b.type=o.ADDED,b.value=e}else h+=1,f+=1,p.lineNumber=h,p.type=o.DEFAULT,p.value=e,b.lineNumber=f,b.type=o.DEFAULT,b.value=e;return g+=1,{right:b,left:p}}}).filter(Boolean)};return s.forEach(function(e,t){var r=e.added,n=e.removed,i=e.value;p=l(p,v(i,t,r,n))}),{lineInformation:p,diffLines:m}}},4817:function(e,t,r){"use strict";var n,i,o,a=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var s=r(67294),l=r(45697),c=r(94184),d=r(33377);t.DiffMethod=d.DiffMethod;var u=r(62918),f=r(30845),h=f.default||f;(n=o=t.LineNumberPrefix||(t.LineNumberPrefix={})).LEFT="L",n.RIGHT="R";var p=function(e){function t(t){var r=e.call(this,t)||this;return r.resetCodeBlocks=function(){return r.state.expandedBlocks.length>0&&(r.setState({expandedBlocks:[]}),!0)},r.onBlockExpand=function(e){var t=r.state.expandedBlocks.slice();t.push(e),r.setState({expandedBlocks:t})},r.computeStyles=h(u.default),r.onLineNumberClickProxy=function(e){return r.props.onLineNumberClick?function(t){return r.props.onLineNumberClick(e,t)}:function(){}},r.renderWordDiff=function(e,t){return e.map(function(e,n){var i;return s.createElement("span",{key:n,className:c.default(r.styles.wordDiff,((i={})[r.styles.wordAdded]=e.type===d.DiffType.ADDED,i[r.styles.wordRemoved]=e.type===d.DiffType.REMOVED,i))},t?t(e.value):e.value)})},r.renderLine=function(e,t,n,i,o,a){var l,u,f,h,p,g=n+"-"+e,m=a+"-"+o,E=r.props.highlightLines.includes(g)||r.props.highlightLines.includes(m),v=t===d.DiffType.ADDED,b=t===d.DiffType.REMOVED;return p=Array.isArray(i)?r.renderWordDiff(i,r.props.renderContent):r.props.renderContent?r.props.renderContent(i):i,s.createElement(s.Fragment,null,!r.props.hideLineNumbers&&s.createElement("td",{onClick:e&&r.onLineNumberClickProxy(g),className:c.default(r.styles.gutter,((l={})[r.styles.emptyGutter]=!e,l[r.styles.diffAdded]=v,l[r.styles.diffRemoved]=b,l[r.styles.highlightedGutter]=E,l))},s.createElement("pre",{className:r.styles.lineNumber},e)),!r.props.splitView&&!r.props.hideLineNumbers&&s.createElement("td",{onClick:o&&r.onLineNumberClickProxy(m),className:c.default(r.styles.gutter,((u={})[r.styles.emptyGutter]=!o,u[r.styles.diffAdded]=v,u[r.styles.diffRemoved]=b,u[r.styles.highlightedGutter]=E,u))},s.createElement("pre",{className:r.styles.lineNumber},o)),s.createElement("td",{className:c.default(r.styles.marker,((f={})[r.styles.emptyLine]=!p,f[r.styles.diffAdded]=v,f[r.styles.diffRemoved]=b,f[r.styles.highlightedLine]=E,f))},s.createElement("pre",null,v&&"+",b&&"-")),s.createElement("td",{className:c.default(r.styles.content,((h={})[r.styles.emptyLine]=!p,h[r.styles.diffAdded]=v,h[r.styles.diffRemoved]=b,h[r.styles.highlightedLine]=E,h))},s.createElement("pre",{className:r.styles.contentText},p)))},r.renderSplitView=function(e,t){var n=e.left,i=e.right;return s.createElement("tr",{key:t,className:r.styles.line},r.renderLine(n.lineNumber,n.type,o.LEFT,n.value),r.renderLine(i.lineNumber,i.type,o.RIGHT,i.value))},r.renderInlineView=function(e,t){var n,i=e.left,a=e.right;return i.type===d.DiffType.REMOVED&&a.type===d.DiffType.ADDED?s.createElement(s.Fragment,{key:t},s.createElement("tr",{className:r.styles.line},r.renderLine(i.lineNumber,i.type,o.LEFT,i.value,null)),s.createElement("tr",{className:r.styles.line},r.renderLine(null,a.type,o.RIGHT,a.value,a.lineNumber))):(i.type===d.DiffType.REMOVED&&(n=r.renderLine(i.lineNumber,i.type,o.LEFT,i.value,null)),i.type===d.DiffType.DEFAULT&&(n=r.renderLine(i.lineNumber,i.type,o.LEFT,i.value,a.lineNumber,o.RIGHT)),a.type===d.DiffType.ADDED&&(n=r.renderLine(null,a.type,o.RIGHT,a.value,a.lineNumber)),s.createElement("tr",{key:t,className:r.styles.line},n))},r.onBlockClickProxy=function(e){return function(){return r.onBlockExpand(e)}},r.renderSkippedLineIndicator=function(e,t,n,i){var o,a=r.props,l=a.hideLineNumbers,d=a.splitView,u=r.props.codeFoldMessageRenderer?r.props.codeFoldMessageRenderer(e,n,i):s.createElement("pre",{className:r.styles.codeFoldContent},"Expand ",e," lines ..."),f=s.createElement("td",null,s.createElement("a",{onClick:r.onBlockClickProxy(t),tabIndex:0},u)),h=!d&&!l;return s.createElement("tr",{key:n+"-"+i,className:r.styles.codeFold},!l&&s.createElement("td",{className:r.styles.codeFoldGutter}),s.createElement("td",{className:c.default(((o={})[r.styles.codeFoldGutter]=h,o))}),h?s.createElement(s.Fragment,null,s.createElement("td",null),f):s.createElement(s.Fragment,null,f,s.createElement("td",null)),s.createElement("td",null),s.createElement("td",null))},r.renderDiff=function(){var e=r.props,t=e.oldValue,n=e.newValue,i=e.splitView,o=e.disableWordDiff,a=e.compareMethod,l=e.linesOffset,c=d.computeLineInformation(t,n,o,a,l),u=c.lineInformation,f=c.diffLines,h=r.props.extraLinesSurroundingDiff<0?0:r.props.extraLinesSurroundingDiff,p=[];return u.map(function(e,t){var n=f[0],o=n-t;if(r.props.showDiffOnly&&(o===-h&&(p=[],f.shift()),e.left.type===d.DiffType.DEFAULT&&(o>h||void 0===n)&&!r.state.expandedBlocks.includes(n)))return(p.push(t+1),t===u.length-1&&p.length>1)?r.renderSkippedLineIndicator(p.length,n,e.left.lineNumber,e.right.lineNumber):null;var a=i?r.renderSplitView(e,t):r.renderInlineView(e,t);if(o===h&&p.length>0){var l=p.length;return p=[],s.createElement(s.Fragment,{key:t},r.renderSkippedLineIndicator(l,n,e.left.lineNumber,e.right.lineNumber),a)}return a})},r.render=function(){var e,t=r.props,n=t.oldValue,i=t.newValue,o=t.useDarkTheme,a=t.leftTitle,l=t.rightTitle,d=t.splitView,u=t.hideLineNumbers;if("string"!=typeof n||"string"!=typeof i)throw Error('"oldValue" and "newValue" should be strings');r.styles=r.computeStyles(r.props.styles,o);var f=r.renderDiff(),h=u?2:3,p=(a||l)&&s.createElement("tr",null,s.createElement("td",{colSpan:d?h:u?2:4,className:r.styles.titleBlock},s.createElement("pre",{className:r.styles.contentText},a)),d&&s.createElement("td",{colSpan:h,className:r.styles.titleBlock},s.createElement("pre",{className:r.styles.contentText},l)));return s.createElement("table",{className:c.default(r.styles.diffContainer,((e={})[r.styles.splitView]=d,e))},s.createElement("tbody",null,p,f))},r.state={expandedBlocks:[]},r}return a(t,e),t.defaultProps={oldValue:"",newValue:"",splitView:!0,highlightLines:[],disableWordDiff:!1,compareMethod:d.DiffMethod.CHARS,styles:{},hideLineNumbers:!1,extraLinesSurroundingDiff:3,showDiffOnly:!0,useDarkTheme:!1,linesOffset:0},t.propTypes={oldValue:l.string.isRequired,newValue:l.string.isRequired,splitView:l.bool,disableWordDiff:l.bool,compareMethod:l.oneOf(Object.values(d.DiffMethod)),renderContent:l.func,onLineNumberClick:l.func,extraLinesSurroundingDiff:l.number,styles:l.object,hideLineNumbers:l.bool,showDiffOnly:l.bool,highlightLines:l.arrayOf(l.string),leftTitle:l.oneOfType([l.string,l.element]),rightTitle:l.oneOfType([l.string,l.element]),linesOffset:l.number},t}(s.Component);t.default=p},62918:function(e,t,r){"use strict";var n=this&&this.__assign||function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},i=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r};Object.defineProperty(t,"__esModule",{value:!0});var o=r(44444);t.default=function(e,t){void 0===t&&(t=!1);var r,a,s,l,c,d,u,f=e.variables,h=void 0===f?{}:f,p=i(e,["variables"]),g={light:n({diffViewerBackground:"#fff",diffViewerColor:"212529",addedBackground:"#e6ffed",addedColor:"#24292e",removedBackground:"#ffeef0",removedColor:"#24292e",wordAddedBackground:"#acf2bd",wordRemovedBackground:"#fdb8c0",addedGutterBackground:"#cdffd8",removedGutterBackground:"#ffdce0",gutterBackground:"#f7f7f7",gutterBackgroundDark:"#f3f1f1",highlightBackground:"#fffbdd",highlightGutterBackground:"#fff5b1",codeFoldGutterBackground:"#dbedff",codeFoldBackground:"#f1f8ff",emptyLineBackground:"#fafbfc",gutterColor:"#212529",addedGutterColor:"#212529",removedGutterColor:"#212529",codeFoldContentColor:"#212529",diffViewerTitleBackground:"#fafbfc",diffViewerTitleColor:"#212529",diffViewerTitleBorderColor:"#eee"},h.light||{}),dark:n({diffViewerBackground:"#2e303c",diffViewerColor:"#FFF",addedBackground:"#044B53",addedColor:"white",removedBackground:"#632F34",removedColor:"white",wordAddedBackground:"#055d67",wordRemovedBackground:"#7d383f",addedGutterBackground:"#034148",removedGutterBackground:"#632b30",gutterBackground:"#2c2f3a",gutterBackgroundDark:"#262933",highlightBackground:"#2a3967",highlightGutterBackground:"#2d4077",codeFoldGutterBackground:"#21232b",codeFoldBackground:"#262831",emptyLineBackground:"#363946",gutterColor:"#464c67",addedGutterColor:"#8c8c8c",removedGutterColor:"#8c8c8c",codeFoldContentColor:"#555a7b",diffViewerTitleBackground:"#2f323e",diffViewerTitleColor:"#555a7b",diffViewerTitleBorderColor:"#353846"},h.dark||{})},m=t?g.dark:g.light,E=o.css({width:"100%",label:"content"}),v=o.css(((r={})["."+E]={width:"50%"},r.label="split-view",r)),b=o.css({width:"100%",background:m.diffViewerBackground,pre:{margin:0,whiteSpace:"pre-wrap",lineHeight:"25px"},label:"diff-container",borderCollapse:"collapse"}),y=o.css({color:m.codeFoldContentColor,label:"code-fold-content"}),k=o.css({color:m.diffViewerColor,label:"content-text"}),C=o.css(((a={background:m.diffViewerTitleBackground,padding:10,borderBottom:"1px solid "+m.diffViewerTitleBorderColor,label:"title-block",":last-child":{borderLeft:"1px solid "+m.diffViewerTitleBorderColor}})["."+k]={color:m.diffViewerTitleColor},a)),A=o.css({color:m.gutterColor,label:"line-number"}),N=o.css(((s={background:m.removedBackground,color:m.removedColor,pre:{color:m.removedColor}})["."+A]={color:m.removedGutterColor},s.label="diff-removed",s)),L=o.css(((l={background:m.addedBackground,color:m.addedColor,pre:{color:m.addedColor}})["."+A]={color:m.addedGutterColor},l.label="diff-added",l)),T=o.css({padding:2,display:"inline-flex",borderRadius:1,label:"word-diff"}),w=o.css({background:m.wordAddedBackground,label:"word-added"}),S=o.css({background:m.wordRemovedBackground,label:"word-removed"}),O=o.css({backgroundColor:m.codeFoldGutterBackground,label:"code-fold-gutter"}),I=o.css({backgroundColor:m.codeFoldBackground,height:40,fontSize:14,fontWeight:700,label:"code-fold",a:{textDecoration:"underline !important",cursor:"pointer",pre:{display:"inline"}}}),R=o.css({backgroundColor:m.emptyLineBackground,label:"empty-line"}),D=o.css(((c={width:25,paddingLeft:10,paddingRight:10,userSelect:"none",label:"marker"})["&."+L]={pre:{color:m.addedColor}},c["&."+N]={pre:{color:m.removedColor}},c)),x=o.css(((d={background:m.highlightBackground,label:"highlighted-line"})["."+w+", ."+S]={backgroundColor:"initial"},d)),B=o.css({label:"highlighted-gutter"}),F=o.css(((u={userSelect:"none",minWidth:50,padding:"0 10px",label:"gutter",textAlign:"right",background:m.gutterBackground,"&:hover":{cursor:"pointer",background:m.gutterBackgroundDark,pre:{opacity:1}},pre:{opacity:.5}})["&."+L]={background:m.addedGutterBackground},u["&."+N]={background:m.removedGutterBackground},u["&."+B]={background:m.highlightGutterBackground,"&:hover":{background:m.highlightGutterBackground}},u)),P=o.css({"&:hover":{background:m.gutterBackground,cursor:"initial"},label:"empty-gutter"}),M={diffContainer:b,diffRemoved:N,diffAdded:L,splitView:v,marker:D,highlightedGutter:B,highlightedLine:x,gutter:F,line:o.css({verticalAlign:"baseline",label:"line"}),wordDiff:T,wordAdded:w,wordRemoved:S,codeFoldGutter:O,codeFold:I,emptyGutter:P,emptyLine:R,lineNumber:A,contentText:k,content:E,codeFoldContent:y,titleBlock:C},U=Object.keys(p).reduce(function(e,t){var r;return n({},e,((r={})[t]=o.css(p[t]),r))},{});return Object.keys(M).reduce(function(e,t){var r;return n({},e,((r={})[t]=U[t]?o.cx(M[t],U[t]):M[t],r))},{})}}}]);
//# sourceMappingURL=2792-a416d8718c210b6f.js.map