Welcome to mirror list, hosted at ThFree Co, Russian Federation.

vendors~editor-collab~editor-guest~editor-rich~files-modal.js « js - github.com/nextcloud/text.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 5f8c0fa9a560285363c0b3504fcc675a6118dbe6 (plain)
1
2
(window.textWebpackJsonp=window.textWebpackJsonp||[]).push([[0],{219:function(e,t,r){"use strict";var n=r(16),a="["+r(240)+"]",s=RegExp("^"+a+a+"*"),i=RegExp(a+a+"*$"),o=function(e){return function(t){var r=String(n(t));return 1&e&&(r=r.replace(s,"")),2&e&&(r=r.replace(i,"")),r}};e.exports={start:o(1),end:o(2),trim:o(3)}},220:function(e,t,r){"use strict";function n(e){return(n="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)}r(130);var a,s=r(5),i=r(7),o=r(400),u=r(1),h=r(145),c=r(12),l=r(80),f=r(3),p=r(144),v=r(696),g=r(85).codeAt,m=r(698),d=r(63),y=r(699),w=r(25),b=u.URL,R=y.URLSearchParams,L=y.getState,U=w.set,k=w.getterFor("URL"),S=Math.floor,A=Math.pow,q=/[A-Za-z]/,x=/[\d+-.A-Za-z]/,I=/\d/,P=/^(0x|0X)/,B=/^[0-7]+$/,E=/^\d+$/,j=/^[\dA-Fa-f]+$/,C=/[\u0000\u0009\u000A\u000D #%/:?@[\\]]/,F=/[\u0000\u0009\u000A\u000D #/:?@[\\]]/,O=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,T=/[\u0009\u000A\u000D]/g,$=function(e,t){var r,n,a;if("["==t.charAt(0)){if("]"!=t.charAt(t.length-1))return"Invalid host";if(!(r=J(t.slice(1,-1))))return"Invalid host";e.host=r}else if(G(e)){if(t=m(t),C.test(t))return"Invalid host";if(null===(r=D(t)))return"Invalid host";e.host=r}else{if(F.test(t))return"Invalid host";for(r="",n=v(t),a=0;a<n.length;a++)r+=H(n[a],N);e.host=r}},D=function(e){var t,r,n,a,s,i,o,u=e.split(".");if(u.length&&""==u[u.length-1]&&u.pop(),(t=u.length)>4)return e;for(r=[],n=0;n<t;n++){if(""==(a=u[n]))return e;if(s=10,a.length>1&&"0"==a.charAt(0)&&(s=P.test(a)?16:8,a=a.slice(8==s?1:2)),""===a)i=0;else{if(!(10==s?E:8==s?B:j).test(a))return e;i=parseInt(a,s)}r.push(i)}for(n=0;n<t;n++)if(i=r[n],n==t-1){if(i>=A(256,5-t))return null}else if(i>255)return null;for(o=r.pop(),n=0;n<r.length;n++)o+=r[n]*A(256,3-n);return o},J=function(e){var t,r,n,a,s,i,o,u=[0,0,0,0,0,0,0,0],h=0,c=null,l=0,f=function(){return e.charAt(l)};if(":"==f()){if(":"!=e.charAt(1))return;l+=2,c=++h}for(;f();){if(8==h)return;if(":"!=f()){for(t=r=0;r<4&&j.test(f());)t=16*t+parseInt(f(),16),l++,r++;if("."==f()){if(0==r)return;if(l-=r,h>6)return;for(n=0;f();){if(a=null,n>0){if(!("."==f()&&n<4))return;l++}if(!I.test(f()))return;for(;I.test(f());){if(s=parseInt(f(),10),null===a)a=s;else{if(0==a)return;a=10*a+s}if(a>255)return;l++}u[h]=256*u[h]+a,2!=++n&&4!=n||h++}if(4!=n)return;break}if(":"==f()){if(l++,!f())return}else if(f())return;u[h++]=t}else{if(null!==c)return;l++,c=++h}}if(null!==c)for(i=h-c,h=7;0!=h&&i>0;)o=u[h],u[h--]=u[c+i-1],u[c+--i]=o;else if(8!=h)return;return u},M=function(e){var t,r,a,s;if("number"==typeof e){for(t=[],r=0;r<4;r++)t.unshift(e%256),e=S(e/256);return t.join(".")}if("object"==n(e)){for(t="",a=function(e){for(var t=null,r=1,n=null,a=0,s=0;s<8;s++)0!==e[s]?(a>r&&(t=n,r=a),n=null,a=0):(null===n&&(n=s),++a);return a>r&&(t=n,r=a),t}(e),r=0;r<8;r++)s&&0===e[r]||(s&&(s=!1),a===r?(t+=r?":":"::",s=!0):(t+=e[r].toString(16),r<7&&(t+=":")));return"["+t+"]"}return e},N={},z=p({},N,{" ":1,'"':1,"<":1,">":1,"`":1}),W=p({},z,{"#":1,"?":1,"{":1,"}":1}),Z=p({},W,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),H=function(e,t){var r=g(e,0);return r>32&&r<127&&!f(t,e)?e:encodeURIComponent(e)},X={ftp:21,file:null,http:80,https:443,ws:80,wss:443},G=function(e){return f(X,e.scheme)},K=function(e){return""!=e.username||""!=e.password},Q=function(e){return!e.host||e.cannotBeABaseURL||"file"==e.scheme},V=function(e,t){var r;return 2==e.length&&q.test(e.charAt(0))&&(":"==(r=e.charAt(1))||!t&&"|"==r)},Y=function(e){var t;return e.length>1&&V(e.slice(0,2))&&(2==e.length||"/"===(t=e.charAt(2))||"\\"===t||"?"===t||"#"===t)},_=function(e){var t=e.path,r=t.length;!r||"file"==e.scheme&&1==r&&V(t[0],!0)||t.pop()},ee=function(e){return"."===e||"%2e"===e.toLowerCase()},te={},re={},ne={},ae={},se={},ie={},oe={},ue={},he={},ce={},le={},fe={},pe={},ve={},ge={},me={},de={},ye={},we={},be={},Re={},Le=function(e,t,r,n){var s,i,o,u,h,c=r||te,l=0,p="",g=!1,m=!1,d=!1;for(r||(e.scheme="",e.username="",e.password="",e.host=null,e.port=null,e.path=[],e.query=null,e.fragment=null,e.cannotBeABaseURL=!1,t=t.replace(O,"")),t=t.replace(T,""),s=v(t);l<=s.length;){switch(i=s[l],c){case te:if(!i||!q.test(i)){if(r)return"Invalid scheme";c=ne;continue}p+=i.toLowerCase(),c=re;break;case re:if(i&&(x.test(i)||"+"==i||"-"==i||"."==i))p+=i.toLowerCase();else{if(":"!=i){if(r)return"Invalid scheme";p="",c=ne,l=0;continue}if(r&&(G(e)!=f(X,p)||"file"==p&&(K(e)||null!==e.port)||"file"==e.scheme&&!e.host))return;if(e.scheme=p,r)return void(G(e)&&X[e.scheme]==e.port&&(e.port=null));p="","file"==e.scheme?c=ve:G(e)&&n&&n.scheme==e.scheme?c=ae:G(e)?c=ue:"/"==s[l+1]?(c=se,l++):(e.cannotBeABaseURL=!0,e.path.push(""),c=we)}break;case ne:if(!n||n.cannotBeABaseURL&&"#"!=i)return"Invalid scheme";if(n.cannotBeABaseURL&&"#"==i){e.scheme=n.scheme,e.path=n.path.slice(),e.query=n.query,e.fragment="",e.cannotBeABaseURL=!0,c=Re;break}c="file"==n.scheme?ve:ie;continue;case ae:if("/"!=i||"/"!=s[l+1]){c=ie;continue}c=he,l++;break;case se:if("/"==i){c=ce;break}c=ye;continue;case ie:if(e.scheme=n.scheme,i==a)e.username=n.username,e.password=n.password,e.host=n.host,e.port=n.port,e.path=n.path.slice(),e.query=n.query;else if("/"==i||"\\"==i&&G(e))c=oe;else if("?"==i)e.username=n.username,e.password=n.password,e.host=n.host,e.port=n.port,e.path=n.path.slice(),e.query="",c=be;else{if("#"!=i){e.username=n.username,e.password=n.password,e.host=n.host,e.port=n.port,e.path=n.path.slice(),e.path.pop(),c=ye;continue}e.username=n.username,e.password=n.password,e.host=n.host,e.port=n.port,e.path=n.path.slice(),e.query=n.query,e.fragment="",c=Re}break;case oe:if(!G(e)||"/"!=i&&"\\"!=i){if("/"!=i){e.username=n.username,e.password=n.password,e.host=n.host,e.port=n.port,c=ye;continue}c=ce}else c=he;break;case ue:if(c=he,"/"!=i||"/"!=p.charAt(l+1))continue;l++;break;case he:if("/"!=i&&"\\"!=i){c=ce;continue}break;case ce:if("@"==i){g&&(p="%40"+p),g=!0,o=v(p);for(var y=0;y<o.length;y++){var w=o[y];if(":"!=w||d){var b=H(w,Z);d?e.password+=b:e.username+=b}else d=!0}p=""}else if(i==a||"/"==i||"?"==i||"#"==i||"\\"==i&&G(e)){if(g&&""==p)return"Invalid authority";l-=v(p).length+1,p="",c=le}else p+=i;break;case le:case fe:if(r&&"file"==e.scheme){c=me;continue}if(":"!=i||m){if(i==a||"/"==i||"?"==i||"#"==i||"\\"==i&&G(e)){if(G(e)&&""==p)return"Invalid host";if(r&&""==p&&(K(e)||null!==e.port))return;if(u=$(e,p))return u;if(p="",c=de,r)return;continue}"["==i?m=!0:"]"==i&&(m=!1),p+=i}else{if(""==p)return"Invalid host";if(u=$(e,p))return u;if(p="",c=pe,r==fe)return}break;case pe:if(!I.test(i)){if(i==a||"/"==i||"?"==i||"#"==i||"\\"==i&&G(e)||r){if(""!=p){var R=parseInt(p,10);if(R>65535)return"Invalid port";e.port=G(e)&&R===X[e.scheme]?null:R,p=""}if(r)return;c=de;continue}return"Invalid port"}p+=i;break;case ve:if(e.scheme="file","/"==i||"\\"==i)c=ge;else{if(!n||"file"!=n.scheme){c=ye;continue}if(i==a)e.host=n.host,e.path=n.path.slice(),e.query=n.query;else if("?"==i)e.host=n.host,e.path=n.path.slice(),e.query="",c=be;else{if("#"!=i){Y(s.slice(l).join(""))||(e.host=n.host,e.path=n.path.slice(),_(e)),c=ye;continue}e.host=n.host,e.path=n.path.slice(),e.query=n.query,e.fragment="",c=Re}}break;case ge:if("/"==i||"\\"==i){c=me;break}n&&"file"==n.scheme&&!Y(s.slice(l).join(""))&&(V(n.path[0],!0)?e.path.push(n.path[0]):e.host=n.host),c=ye;continue;case me:if(i==a||"/"==i||"\\"==i||"?"==i||"#"==i){if(!r&&V(p))c=ye;else if(""==p){if(e.host="",r)return;c=de}else{if(u=$(e,p))return u;if("localhost"==e.host&&(e.host=""),r)return;p="",c=de}continue}p+=i;break;case de:if(G(e)){if(c=ye,"/"!=i&&"\\"!=i)continue}else if(r||"?"!=i)if(r||"#"!=i){if(i!=a&&(c=ye,"/"!=i))continue}else e.fragment="",c=Re;else e.query="",c=be;break;case ye:if(i==a||"/"==i||"\\"==i&&G(e)||!r&&("?"==i||"#"==i)){if(".."===(h=(h=p).toLowerCase())||"%2e."===h||".%2e"===h||"%2e%2e"===h?(_(e),"/"==i||"\\"==i&&G(e)||e.path.push("")):ee(p)?"/"==i||"\\"==i&&G(e)||e.path.push(""):("file"==e.scheme&&!e.path.length&&V(p)&&(e.host&&(e.host=""),p=p.charAt(0)+":"),e.path.push(p)),p="","file"==e.scheme&&(i==a||"?"==i||"#"==i))for(;e.path.length>1&&""===e.path[0];)e.path.shift();"?"==i?(e.query="",c=be):"#"==i&&(e.fragment="",c=Re)}else p+=H(i,W);break;case we:"?"==i?(e.query="",c=be):"#"==i?(e.fragment="",c=Re):i!=a&&(e.path[0]+=H(i,N));break;case be:r||"#"!=i?i!=a&&("'"==i&&G(e)?e.query+="%27":e.query+="#"==i?"%23":H(i,N)):(e.fragment="",c=Re);break;case Re:i!=a&&(e.fragment+=H(i,z))}l++}},Ue=function(e){var t,r,n=l(this,Ue,"URL"),a=arguments.length>1?arguments[1]:void 0,s=String(e),o=U(n,{type:"URL"});if(void 0!==a)if(a instanceof Ue)t=k(a);else if(r=Le(t={},String(a)))throw TypeError(r);if(r=Le(o,s,null,t))throw TypeError(r);var u=o.searchParams=new R,h=L(u);h.updateSearchParams(o.query),h.updateURL=function(){o.query=String(u)||null},i||(n.href=Se.call(n),n.origin=Ae.call(n),n.protocol=qe.call(n),n.username=xe.call(n),n.password=Ie.call(n),n.host=Pe.call(n),n.hostname=Be.call(n),n.port=Ee.call(n),n.pathname=je.call(n),n.search=Ce.call(n),n.searchParams=Fe.call(n),n.hash=Oe.call(n))},ke=Ue.prototype,Se=function(){var e=k(this),t=e.scheme,r=e.username,n=e.password,a=e.host,s=e.port,i=e.path,o=e.query,u=e.fragment,h=t+":";return null!==a?(h+="//",K(e)&&(h+=r+(n?":"+n:"")+"@"),h+=M(a),null!==s&&(h+=":"+s)):"file"==t&&(h+="//"),h+=e.cannotBeABaseURL?i[0]:i.length?"/"+i.join("/"):"",null!==o&&(h+="?"+o),null!==u&&(h+="#"+u),h},Ae=function(){var e=k(this),t=e.scheme,r=e.port;if("blob"==t)try{return new URL(t.path[0]).origin}catch(e){return"null"}return"file"!=t&&G(e)?t+"://"+M(e.host)+(null!==r?":"+r:""):"null"},qe=function(){return k(this).scheme+":"},xe=function(){return k(this).username},Ie=function(){return k(this).password},Pe=function(){var e=k(this),t=e.host,r=e.port;return null===t?"":null===r?M(t):M(t)+":"+r},Be=function(){var e=k(this).host;return null===e?"":M(e)},Ee=function(){var e=k(this).port;return null===e?"":String(e)},je=function(){var e=k(this),t=e.path;return e.cannotBeABaseURL?t[0]:t.length?"/"+t.join("/"):""},Ce=function(){var e=k(this).query;return e?"?"+e:""},Fe=function(){return k(this).searchParams},Oe=function(){var e=k(this).fragment;return e?"#"+e:""},Te=function(e,t){return{get:e,set:t,configurable:!0,enumerable:!0}};if(i&&h(ke,{href:Te(Se,(function(e){var t=k(this),r=String(e),n=Le(t,r);if(n)throw TypeError(n);L(t.searchParams).updateSearchParams(t.query)})),origin:Te(Ae),protocol:Te(qe,(function(e){var t=k(this);Le(t,String(e)+":",te)})),username:Te(xe,(function(e){var t=k(this),r=v(String(e));if(!Q(t)){t.username="";for(var n=0;n<r.length;n++)t.username+=H(r[n],Z)}})),password:Te(Ie,(function(e){var t=k(this),r=v(String(e));if(!Q(t)){t.password="";for(var n=0;n<r.length;n++)t.password+=H(r[n],Z)}})),host:Te(Pe,(function(e){var t=k(this);t.cannotBeABaseURL||Le(t,String(e),le)})),hostname:Te(Be,(function(e){var t=k(this);t.cannotBeABaseURL||Le(t,String(e),fe)})),port:Te(Ee,(function(e){var t=k(this);Q(t)||(""==(e=String(e))?t.port=null:Le(t,e,pe))})),pathname:Te(je,(function(e){var t=k(this);t.cannotBeABaseURL||(t.path=[],Le(t,e+"",de))})),search:Te(Ce,(function(e){var t=k(this);""==(e=String(e))?t.query=null:("?"==e.charAt(0)&&(e=e.slice(1)),t.query="",Le(t,e,be)),L(t.searchParams).updateSearchParams(t.query)})),searchParams:Te(Fe),hash:Te(Oe,(function(e){var t=k(this);""!=(e=String(e))?("#"==e.charAt(0)&&(e=e.slice(1)),t.fragment="",Le(t,e,Re)):t.fragment=null}))}),c(ke,"toJSON",(function(){return Se.call(this)}),{enumerable:!0}),c(ke,"toString",(function(){return Se.call(this)}),{enumerable:!0}),b){var $e=b.createObjectURL,De=b.revokeObjectURL;$e&&c(Ue,"createObjectURL",(function(e){return $e.apply(b,arguments)})),De&&c(Ue,"revokeObjectURL",(function(e){return De.apply(b,arguments)}))}d(Ue,"URL"),s({global:!0,forced:!o,sham:!i},{URL:Ue})},240:function(e,t,r){"use strict";e.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},400:function(e,t,r){"use strict";var n=r(0),a=r(2),s=r(22),i=a("iterator");e.exports=!n((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,r="";return e.pathname="c%20d",t.forEach((function(e,n){t.delete("b"),r+=n+e})),s&&!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[i]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==r||"x"!==new URL("http://x",void 0).host}))},696:function(e,t,r){"use strict";var n=r(38),a=r(14),s=r(697),i=r(148),o=r(11),u=r(84),h=r(133);e.exports=function(e){var t,r,c,l,f,p,v=a(e),g="function"==typeof this?this:Array,m=arguments.length,d=m>1?arguments[1]:void 0,y=void 0!==d,w=h(v),b=0;if(y&&(d=n(d,m>2?arguments[2]:void 0,2)),null==w||g==Array&&i(w))for(r=new g(t=o(v.length));t>b;b++)p=y?d(v[b],b):v[b],u(r,b,p);else for(f=(l=w.call(v)).next,r=new g;!(c=f.call(l)).done;b++)p=y?s(l,d,[c.value,b],!0):c.value,u(r,b,p);return r.length=b,r}},697:function(e,t,r){"use strict";var n=r(8),a=r(149);e.exports=function(e,t,r,s){try{return s?t(n(r)[0],r[1]):t(r)}catch(t){throw a(e),t}}},698:function(e,t,r){"use strict";var n=/[^\0-\u007E]/,a=/[.\u3002\uFF0E\uFF61]/g,s="Overflow: input needs wider integers to process",i=Math.floor,o=String.fromCharCode,u=function(e){return e+22+75*(e<26)},h=function(e,t,r){var n=0;for(e=r?i(e/700):e>>1,e+=i(e/t);e>455;n+=36)e=i(e/35);return i(n+36*e/(e+38))},c=function(e){var t,r,n=[],a=(e=function(e){for(var t=[],r=0,n=e.length;r<n;){var a=e.charCodeAt(r++);if(a>=55296&&a<=56319&&r<n){var s=e.charCodeAt(r++);56320==(64512&s)?t.push(((1023&a)<<10)+(1023&s)+65536):(t.push(a),r--)}else t.push(a)}return t}(e)).length,c=128,l=0,f=72;for(t=0;t<e.length;t++)(r=e[t])<128&&n.push(o(r));var p=n.length,v=p;for(p&&n.push("-");v<a;){var g=2147483647;for(t=0;t<e.length;t++)(r=e[t])>=c&&r<g&&(g=r);var m=v+1;if(g-c>i((2147483647-l)/m))throw RangeError(s);for(l+=(g-c)*m,c=g,t=0;t<e.length;t++){if((r=e[t])<c&&++l>2147483647)throw RangeError(s);if(r==c){for(var d=l,y=36;;y+=36){var w=y<=f?1:y>=f+26?26:y-f;if(d<w)break;var b=d-w,R=36-w;n.push(o(u(w+b%R))),d=i(b/R)}n.push(o(u(d))),f=h(l,m,v==p),l=0,++v}}++l,++c}return n.join("")};e.exports=function(e){var t,r,s=[],i=e.toLowerCase().replace(a,".").split(".");for(t=0;t<i.length;t++)r=i[t],s.push(n.test(r)?"xn--"+c(r):r);return s.join(".")}},699:function(e,t,r){"use strict";r(79);var n=r(5),a=r(23),s=r(400),i=r(12),o=r(137),u=r(63),h=r(147),c=r(25),l=r(80),f=r(3),p=r(38),v=r(89),g=r(8),m=r(4),d=r(62),y=r(17),w=r(700),b=r(133),R=r(2),L=a("fetch"),U=a("Headers"),k=R("iterator"),S=c.set,A=c.getterFor("URLSearchParams"),q=c.getterFor("URLSearchParamsIterator"),x=/\+/g,I=Array(4),P=function(e){return I[e-1]||(I[e-1]=RegExp("((?:%[\\da-f]{2}){"+e+"})","gi"))},B=function(e){try{return decodeURIComponent(e)}catch(t){return e}},E=function(e){var t=e.replace(x," "),r=4;try{return decodeURIComponent(t)}catch(e){for(;r;)t=t.replace(P(r--),B);return t}},j=/[!'()~]|%20/g,C={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},F=function(e){return C[e]},O=function(e){return encodeURIComponent(e).replace(j,F)},T=function(e,t){if(t)for(var r,n,a=t.split("&"),s=0;s<a.length;)(r=a[s++]).length&&(n=r.split("="),e.push({key:E(n.shift()),value:E(n.join("="))}))},$=function(e){this.entries.length=0,T(this.entries,e)},D=function(e,t){if(e<t)throw TypeError("Not enough arguments")},J=h((function(e,t){S(this,{type:"URLSearchParamsIterator",iterator:w(A(e).entries),kind:t})}),"Iterator",(function(){var e=q(this),t=e.kind,r=e.iterator.next(),n=r.value;return r.done||(r.value="keys"===t?n.key:"values"===t?n.value:[n.key,n.value]),r})),M=function(){l(this,M,"URLSearchParams");var e,t,r,n,a,s,i,o,u,h=arguments.length>0?arguments[0]:void 0,c=this,p=[];if(S(c,{type:"URLSearchParams",entries:p,updateURL:function(){},updateSearchParams:$}),void 0!==h)if(m(h))if("function"==typeof(e=b(h)))for(r=(t=e.call(h)).next;!(n=r.call(t)).done;){if((i=(s=(a=w(g(n.value))).next).call(a)).done||(o=s.call(a)).done||!s.call(a).done)throw TypeError("Expected sequence with length 2");p.push({key:i.value+"",value:o.value+""})}else for(u in h)f(h,u)&&p.push({key:u,value:h[u]+""});else T(p,"string"==typeof h?"?"===h.charAt(0)?h.slice(1):h:h+"")},N=M.prototype;o(N,{append:function(e,t){D(arguments.length,2);var r=A(this);r.entries.push({key:e+"",value:t+""}),r.updateURL()},delete:function(e){D(arguments.length,1);for(var t=A(this),r=t.entries,n=e+"",a=0;a<r.length;)r[a].key===n?r.splice(a,1):a++;t.updateURL()},get:function(e){D(arguments.length,1);for(var t=A(this).entries,r=e+"",n=0;n<t.length;n++)if(t[n].key===r)return t[n].value;return null},getAll:function(e){D(arguments.length,1);for(var t=A(this).entries,r=e+"",n=[],a=0;a<t.length;a++)t[a].key===r&&n.push(t[a].value);return n},has:function(e){D(arguments.length,1);for(var t=A(this).entries,r=e+"",n=0;n<t.length;)if(t[n++].key===r)return!0;return!1},set:function(e,t){D(arguments.length,1);for(var r,n=A(this),a=n.entries,s=!1,i=e+"",o=t+"",u=0;u<a.length;u++)(r=a[u]).key===i&&(s?a.splice(u--,1):(s=!0,r.value=o));s||a.push({key:i,value:o}),n.updateURL()},sort:function(){var e,t,r,n=A(this),a=n.entries,s=a.slice();for(a.length=0,r=0;r<s.length;r++){for(e=s[r],t=0;t<r;t++)if(a[t].key>e.key){a.splice(t,0,e);break}t===r&&a.push(e)}n.updateURL()},forEach:function(e){for(var t,r=A(this).entries,n=p(e,arguments.length>1?arguments[1]:void 0,3),a=0;a<r.length;)n((t=r[a++]).value,t.key,this)},keys:function(){return new J(this,"keys")},values:function(){return new J(this,"values")},entries:function(){return new J(this,"entries")}},{enumerable:!0}),i(N,k,N.entries),i(N,"toString",(function(){for(var e,t=A(this).entries,r=[],n=0;n<t.length;)e=t[n++],r.push(O(e.key)+"="+O(e.value));return r.join("&")}),{enumerable:!0}),u(M,"URLSearchParams"),n({global:!0,forced:!s},{URLSearchParams:M}),s||"function"!=typeof L||"function"!=typeof U||n({global:!0,enumerable:!0,forced:!0},{fetch:function(e){var t,r,n,a=[e];return arguments.length>1&&(m(t=arguments[1])&&(r=t.body,"URLSearchParams"===v(r)&&((n=t.headers?new U(t.headers):new U).has("content-type")||n.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),t=d(t,{body:y(0,String(r)),headers:y(0,n)}))),a.push(t)),L.apply(this,a)}}),e.exports={URLSearchParams:M,getState:A}},700:function(e,t,r){"use strict";var n=r(8),a=r(133);e.exports=function(e){var t=a(e);if("function"!=typeof t)throw TypeError(String(e)+" is not iterable");return n(t.call(e))}}}]);
//# sourceMappingURL=vendors~editor-collab~editor-guest~editor-rich~files-modal.js.map?v=fa67e451a2c661a78b23