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: ca13dcc86b5042efcef2c0c54bf75848e8574db6 (plain)
1
2
(window.textWebpackJsonp=window.textWebpackJsonp||[]).push([[1],{180:function(e,t,r){"use strict";r(91);var n,a=r(10),i=r(8),o=r(412),s=r(2),u=r(108),c=r(11),l=r(49),h=r(5),f=r(105),p=r(486),v=r(59).codeAt,d=r(487),g=r(32),m=r(488),y=r(21),w=s.URL,b=m.URLSearchParams,R=m.getState,L=y.set,k=y.getterFor("URL"),U=Math.floor,S=Math.pow,A=/[A-Za-z]/,q=/[\d+\-.A-Za-z]/,x=/\d/,P=/^(0x|0X)/,B=/^[0-7]+$/,E=/^\d+$/,I=/^[\dA-Fa-f]+$/,j=/[\u0000\u0009\u000A\u000D #%/:?@[\\]]/,C=/[\u0000\u0009\u000A\u000D #/:?@[\\]]/,F=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,O=/[\u0009\u000A\u000D]/g,T=function(e,t){var r,n,a;if("["==t.charAt(0)){if("]"!=t.charAt(t.length-1))return"Invalid host";if(!(r=N(t.slice(1,-1))))return"Invalid host";e.host=r}else if(H(e)){if(t=d(t),j.test(t))return"Invalid host";if(null===(r=J(t)))return"Invalid host";e.host=r}else{if(C.test(t))return"Invalid host";for(r="",n=p(t),a=0;a<n.length;a++)r+=Z(n[a],D);e.host=r}},J=function(e){var t,r,n,a,i,o,s,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(i=10,a.length>1&&"0"==a.charAt(0)&&(i=P.test(a)?16:8,a=a.slice(8==i?1:2)),""===a)o=0;else{if(!(10==i?E:8==i?B:I).test(a))return e;o=parseInt(a,i)}r.push(o)}for(n=0;n<t;n++)if(o=r[n],n==t-1){if(o>=S(256,5-t))return null}else if(o>255)return null;for(s=r.pop(),n=0;n<r.length;n++)s+=r[n]*S(256,3-n);return s},N=function(e){var t,r,n,a,i,o,s,u=[0,0,0,0,0,0,0,0],c=0,l=null,h=0,f=function(){return e.charAt(h)};if(":"==f()){if(":"!=e.charAt(1))return;h+=2,l=++c}for(;f();){if(8==c)return;if(":"!=f()){for(t=r=0;r<4&&I.test(f());)t=16*t+parseInt(f(),16),h++,r++;if("."==f()){if(0==r)return;if(h-=r,c>6)return;for(n=0;f();){if(a=null,n>0){if(!("."==f()&&n<4))return;h++}if(!x.test(f()))return;for(;x.test(f());){if(i=parseInt(f(),10),null===a)a=i;else{if(0==a)return;a=10*a+i}if(a>255)return;h++}u[c]=256*u[c]+a,2!=++n&&4!=n||c++}if(4!=n)return;break}if(":"==f()){if(h++,!f())return}else if(f())return;u[c++]=t}else{if(null!==l)return;h++,l=++c}}if(null!==l)for(o=c-l,c=7;0!=c&&o>0;)s=u[c],u[c--]=u[l+o-1],u[l+--o]=s;else if(8!=c)return;return u},$=function(e){var t,r,n,a;if("number"==typeof e){for(t=[],r=0;r<4;r++)t.unshift(e%256),e=U(e/256);return t.join(".")}if("object"==typeof e){for(t="",n=function(e){for(var t=null,r=1,n=null,a=0,i=0;i<8;i++)0!==e[i]?(a>r&&(t=n,r=a),n=null,a=0):(null===n&&(n=i),++a);return a>r&&(t=n,r=a),t}(e),r=0;r<8;r++)a&&0===e[r]||(a&&(a=!1),n===r?(t+=r?":":"::",a=!0):(t+=e[r].toString(16),r<7&&(t+=":")));return"["+t+"]"}return e},D={},M=f({},D,{" ":1,'"':1,"<":1,">":1,"`":1}),z=f({},M,{"#":1,"?":1,"{":1,"}":1}),W=f({},z,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Z=function(e,t){var r=v(e,0);return r>32&&r<127&&!h(t,e)?e:encodeURIComponent(e)},_={ftp:21,file:null,http:80,https:443,ws:80,wss:443},H=function(e){return h(_,e.scheme)},V=function(e){return""!=e.username||""!=e.password},X=function(e){return!e.host||e.cannotBeABaseURL||"file"==e.scheme},G=function(e,t){var r;return 2==e.length&&A.test(e.charAt(0))&&(":"==(r=e.charAt(1))||!t&&"|"==r)},K=function(e){var t;return e.length>1&&G(e.slice(0,2))&&(2==e.length||"/"===(t=e.charAt(2))||"\\"===t||"?"===t||"#"===t)},Q=function(e){var t=e.path,r=t.length;!r||"file"==e.scheme&&1==r&&G(t[0],!0)||t.pop()},Y=function(e){return"."===e||"%2e"===e.toLowerCase()},ee={},te={},re={},ne={},ae={},ie={},oe={},se={},ue={},ce={},le={},he={},fe={},pe={},ve={},de={},ge={},me={},ye={},we={},be={},Re=function(e,t,r,a){var i,o,s,u,c,l=r||ee,f=0,v="",d=!1,g=!1,m=!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(F,"")),t=t.replace(O,""),i=p(t);f<=i.length;){switch(o=i[f],l){case ee:if(!o||!A.test(o)){if(r)return"Invalid scheme";l=re;continue}v+=o.toLowerCase(),l=te;break;case te:if(o&&(q.test(o)||"+"==o||"-"==o||"."==o))v+=o.toLowerCase();else{if(":"!=o){if(r)return"Invalid scheme";v="",l=re,f=0;continue}if(r&&(H(e)!=h(_,v)||"file"==v&&(V(e)||null!==e.port)||"file"==e.scheme&&!e.host))return;if(e.scheme=v,r)return void(H(e)&&_[e.scheme]==e.port&&(e.port=null));v="","file"==e.scheme?l=pe:H(e)&&a&&a.scheme==e.scheme?l=ne:H(e)?l=se:"/"==i[f+1]?(l=ae,f++):(e.cannotBeABaseURL=!0,e.path.push(""),l=ye)}break;case re:if(!a||a.cannotBeABaseURL&&"#"!=o)return"Invalid scheme";if(a.cannotBeABaseURL&&"#"==o){e.scheme=a.scheme,e.path=a.path.slice(),e.query=a.query,e.fragment="",e.cannotBeABaseURL=!0,l=be;break}l="file"==a.scheme?pe:ie;continue;case ne:if("/"!=o||"/"!=i[f+1]){l=ie;continue}l=ue,f++;break;case ae:if("/"==o){l=ce;break}l=me;continue;case ie:if(e.scheme=a.scheme,o==n)e.username=a.username,e.password=a.password,e.host=a.host,e.port=a.port,e.path=a.path.slice(),e.query=a.query;else if("/"==o||"\\"==o&&H(e))l=oe;else if("?"==o)e.username=a.username,e.password=a.password,e.host=a.host,e.port=a.port,e.path=a.path.slice(),e.query="",l=we;else{if("#"!=o){e.username=a.username,e.password=a.password,e.host=a.host,e.port=a.port,e.path=a.path.slice(),e.path.pop(),l=me;continue}e.username=a.username,e.password=a.password,e.host=a.host,e.port=a.port,e.path=a.path.slice(),e.query=a.query,e.fragment="",l=be}break;case oe:if(!H(e)||"/"!=o&&"\\"!=o){if("/"!=o){e.username=a.username,e.password=a.password,e.host=a.host,e.port=a.port,l=me;continue}l=ce}else l=ue;break;case se:if(l=ue,"/"!=o||"/"!=v.charAt(f+1))continue;f++;break;case ue:if("/"!=o&&"\\"!=o){l=ce;continue}break;case ce:if("@"==o){d&&(v="%40"+v),d=!0,s=p(v);for(var y=0;y<s.length;y++){var w=s[y];if(":"!=w||m){var b=Z(w,W);m?e.password+=b:e.username+=b}else m=!0}v=""}else if(o==n||"/"==o||"?"==o||"#"==o||"\\"==o&&H(e)){if(d&&""==v)return"Invalid authority";f-=p(v).length+1,v="",l=le}else v+=o;break;case le:case he:if(r&&"file"==e.scheme){l=de;continue}if(":"!=o||g){if(o==n||"/"==o||"?"==o||"#"==o||"\\"==o&&H(e)){if(H(e)&&""==v)return"Invalid host";if(r&&""==v&&(V(e)||null!==e.port))return;if(u=T(e,v))return u;if(v="",l=ge,r)return;continue}"["==o?g=!0:"]"==o&&(g=!1),v+=o}else{if(""==v)return"Invalid host";if(u=T(e,v))return u;if(v="",l=fe,r==he)return}break;case fe:if(!x.test(o)){if(o==n||"/"==o||"?"==o||"#"==o||"\\"==o&&H(e)||r){if(""!=v){var R=parseInt(v,10);if(R>65535)return"Invalid port";e.port=H(e)&&R===_[e.scheme]?null:R,v=""}if(r)return;l=ge;continue}return"Invalid port"}v+=o;break;case pe:if(e.scheme="file","/"==o||"\\"==o)l=ve;else{if(!a||"file"!=a.scheme){l=me;continue}if(o==n)e.host=a.host,e.path=a.path.slice(),e.query=a.query;else if("?"==o)e.host=a.host,e.path=a.path.slice(),e.query="",l=we;else{if("#"!=o){K(i.slice(f).join(""))||(e.host=a.host,e.path=a.path.slice(),Q(e)),l=me;continue}e.host=a.host,e.path=a.path.slice(),e.query=a.query,e.fragment="",l=be}}break;case ve:if("/"==o||"\\"==o){l=de;break}a&&"file"==a.scheme&&!K(i.slice(f).join(""))&&(G(a.path[0],!0)?e.path.push(a.path[0]):e.host=a.host),l=me;continue;case de:if(o==n||"/"==o||"\\"==o||"?"==o||"#"==o){if(!r&&G(v))l=me;else if(""==v){if(e.host="",r)return;l=ge}else{if(u=T(e,v))return u;if("localhost"==e.host&&(e.host=""),r)return;v="",l=ge}continue}v+=o;break;case ge:if(H(e)){if(l=me,"/"!=o&&"\\"!=o)continue}else if(r||"?"!=o)if(r||"#"!=o){if(o!=n&&(l=me,"/"!=o))continue}else e.fragment="",l=be;else e.query="",l=we;break;case me:if(o==n||"/"==o||"\\"==o&&H(e)||!r&&("?"==o||"#"==o)){if(".."===(c=(c=v).toLowerCase())||"%2e."===c||".%2e"===c||"%2e%2e"===c?(Q(e),"/"==o||"\\"==o&&H(e)||e.path.push("")):Y(v)?"/"==o||"\\"==o&&H(e)||e.path.push(""):("file"==e.scheme&&!e.path.length&&G(v)&&(e.host&&(e.host=""),v=v.charAt(0)+":"),e.path.push(v)),v="","file"==e.scheme&&(o==n||"?"==o||"#"==o))for(;e.path.length>1&&""===e.path[0];)e.path.shift();"?"==o?(e.query="",l=we):"#"==o&&(e.fragment="",l=be)}else v+=Z(o,z);break;case ye:"?"==o?(e.query="",l=we):"#"==o?(e.fragment="",l=be):o!=n&&(e.path[0]+=Z(o,D));break;case we:r||"#"!=o?o!=n&&("'"==o&&H(e)?e.query+="%27":e.query+="#"==o?"%23":Z(o,D)):(e.fragment="",l=be);break;case be:o!=n&&(e.fragment+=Z(o,M))}f++}},Le=function(e){var t,r,n=l(this,Le,"URL"),a=arguments.length>1?arguments[1]:void 0,o=String(e),s=L(n,{type:"URL"});if(void 0!==a)if(a instanceof Le)t=k(a);else if(r=Re(t={},String(a)))throw TypeError(r);if(r=Re(s,o,null,t))throw TypeError(r);var u=s.searchParams=new b,c=R(u);c.updateSearchParams(s.query),c.updateURL=function(){s.query=String(u)||null},i||(n.href=Ue.call(n),n.origin=Se.call(n),n.protocol=Ae.call(n),n.username=qe.call(n),n.password=xe.call(n),n.host=Pe.call(n),n.hostname=Be.call(n),n.port=Ee.call(n),n.pathname=Ie.call(n),n.search=je.call(n),n.searchParams=Ce.call(n),n.hash=Fe.call(n))},ke=Le.prototype,Ue=function(){var e=k(this),t=e.scheme,r=e.username,n=e.password,a=e.host,i=e.port,o=e.path,s=e.query,u=e.fragment,c=t+":";return null!==a?(c+="//",V(e)&&(c+=r+(n?":"+n:"")+"@"),c+=$(a),null!==i&&(c+=":"+i)):"file"==t&&(c+="//"),c+=e.cannotBeABaseURL?o[0]:o.length?"/"+o.join("/"):"",null!==s&&(c+="?"+s),null!==u&&(c+="#"+u),c},Se=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&&H(e)?t+"://"+$(e.host)+(null!==r?":"+r:""):"null"},Ae=function(){return k(this).scheme+":"},qe=function(){return k(this).username},xe=function(){return k(this).password},Pe=function(){var e=k(this),t=e.host,r=e.port;return null===t?"":null===r?$(t):$(t)+":"+r},Be=function(){var e=k(this).host;return null===e?"":$(e)},Ee=function(){var e=k(this).port;return null===e?"":String(e)},Ie=function(){var e=k(this),t=e.path;return e.cannotBeABaseURL?t[0]:t.length?"/"+t.join("/"):""},je=function(){var e=k(this).query;return e?"?"+e:""},Ce=function(){return k(this).searchParams},Fe=function(){var e=k(this).fragment;return e?"#"+e:""},Oe=function(e,t){return{get:e,set:t,configurable:!0,enumerable:!0}};if(i&&u(ke,{href:Oe(Ue,(function(e){var t=k(this),r=String(e),n=Re(t,r);if(n)throw TypeError(n);R(t.searchParams).updateSearchParams(t.query)})),origin:Oe(Se),protocol:Oe(Ae,(function(e){var t=k(this);Re(t,String(e)+":",ee)})),username:Oe(qe,(function(e){var t=k(this),r=p(String(e));if(!X(t)){t.username="";for(var n=0;n<r.length;n++)t.username+=Z(r[n],W)}})),password:Oe(xe,(function(e){var t=k(this),r=p(String(e));if(!X(t)){t.password="";for(var n=0;n<r.length;n++)t.password+=Z(r[n],W)}})),host:Oe(Pe,(function(e){var t=k(this);t.cannotBeABaseURL||Re(t,String(e),le)})),hostname:Oe(Be,(function(e){var t=k(this);t.cannotBeABaseURL||Re(t,String(e),he)})),port:Oe(Ee,(function(e){var t=k(this);X(t)||(""==(e=String(e))?t.port=null:Re(t,e,fe))})),pathname:Oe(Ie,(function(e){var t=k(this);t.cannotBeABaseURL||(t.path=[],Re(t,e+"",ge))})),search:Oe(je,(function(e){var t=k(this);""==(e=String(e))?t.query=null:("?"==e.charAt(0)&&(e=e.slice(1)),t.query="",Re(t,e,we)),R(t.searchParams).updateSearchParams(t.query)})),searchParams:Oe(Ce),hash:Oe(Fe,(function(e){var t=k(this);""!=(e=String(e))?("#"==e.charAt(0)&&(e=e.slice(1)),t.fragment="",Re(t,e,be)):t.fragment=null}))}),c(ke,"toJSON",(function(){return Ue.call(this)}),{enumerable:!0}),c(ke,"toString",(function(){return Ue.call(this)}),{enumerable:!0}),w){var Te=w.createObjectURL,Je=w.revokeObjectURL;Te&&c(Le,"createObjectURL",(function(e){return Te.apply(w,arguments)})),Je&&c(Le,"revokeObjectURL",(function(e){return Je.apply(w,arguments)}))}g(Le,"URL"),a({global:!0,forced:!o,sham:!i},{URL:Le})},181:function(e,t,r){var n=r(22),a="["+r(184)+"]",i=RegExp("^"+a+a+"*"),o=RegExp(a+a+"*$"),s=function(e){return function(t){var r=String(n(t));return 1&e&&(r=r.replace(i,"")),2&e&&(r=r.replace(o,"")),r}};e.exports={start:s(1),end:s(2),trim:s(3)}},184:function(e,t){e.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},389:function(e,t,r){e.exports=function(){var e="__v-click-outside",t="undefined"!=typeof window,r="undefined"!=typeof navigator,n=t&&("ontouchstart"in window||r&&navigator.msMaxTouchPoints>0)?["touchstart"]:["click"];function a(t,r){var a=function(e){var t="function"==typeof e;if(!t&&"object"!=typeof e)throw new Error("v-click-outside: Binding value must be a function or an object");return{handler:t?e:e.handler,middleware:e.middleware||function(e){return e},events:e.events||n,isActive:!(!1===e.isActive)}}(r.value),i=a.handler,o=a.middleware;a.isActive&&(t[e]=a.events.map((function(e){return{event:e,handler:function(e){return function(e){var t=e.el,r=e.event,n=e.handler,a=e.middleware;r.target!==t&&!t.contains(r.target)&&a(r)&&n(r)}({event:e,el:t,handler:i,middleware:o})}}})),t[e].forEach((function(r){var n=r.event,a=r.handler;return setTimeout((function(){t[e]&&document.documentElement.addEventListener(n,a,!1)}),0)})))}function i(t){(t[e]||[]).forEach((function(e){return document.documentElement.removeEventListener(e.event,e.handler,!1)})),delete t[e]}var o={bind:a,update:function(e,t){var r=t.value,n=t.oldValue;JSON.stringify(r)!==JSON.stringify(n)&&(i(e),a(e,{value:r}))},unbind:i};return{install:function(e){e.directive("click-outside",o)},directive:o}}()},412:function(e,t,r){var n=r(0),a=r(1),i=r(34),o=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})),i&&!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[o]||"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}))},486:function(e,t,r){"use strict";var n=r(30),a=r(17),i=r(112),o=r(111),s=r(16),u=r(96),c=r(97);e.exports=function(e){var t,r,l,h,f,p=a(e),v="function"==typeof this?this:Array,d=arguments.length,g=d>1?arguments[1]:void 0,m=void 0!==g,y=0,w=c(p);if(m&&(g=n(g,d>2?arguments[2]:void 0,2)),null==w||v==Array&&o(w))for(r=new v(t=s(p.length));t>y;y++)u(r,y,m?g(p[y],y):p[y]);else for(f=(h=w.call(p)).next,r=new v;!(l=f.call(h)).done;y++)u(r,y,m?i(h,g,[l.value,y],!0):l.value);return r.length=y,r}},487:function(e,t,r){"use strict";var n=/[^\0-\u007E]/,a=/[.\u3002\uFF0E\uFF61]/g,i="Overflow: input needs wider integers to process",o=Math.floor,s=String.fromCharCode,u=function(e){return e+22+75*(e<26)},c=function(e,t,r){var n=0;for(e=r?o(e/700):e>>1,e+=o(e/t);e>455;n+=36)e=o(e/35);return o(n+36*e/(e+38))},l=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 i=e.charCodeAt(r++);56320==(64512&i)?t.push(((1023&a)<<10)+(1023&i)+65536):(t.push(a),r--)}else t.push(a)}return t}(e)).length,l=128,h=0,f=72;for(t=0;t<e.length;t++)(r=e[t])<128&&n.push(s(r));var p=n.length,v=p;for(p&&n.push("-");v<a;){var d=2147483647;for(t=0;t<e.length;t++)(r=e[t])>=l&&r<d&&(d=r);var g=v+1;if(d-l>o((2147483647-h)/g))throw RangeError(i);for(h+=(d-l)*g,l=d,t=0;t<e.length;t++){if((r=e[t])<l&&++h>2147483647)throw RangeError(i);if(r==l){for(var m=h,y=36;;y+=36){var w=y<=f?1:y>=f+26?26:y-f;if(m<w)break;var b=m-w,R=36-w;n.push(s(u(w+b%R))),m=o(b/R)}n.push(s(u(m))),f=c(h,g,v==p),h=0,++v}}++h,++l}return n.join("")};e.exports=function(e){var t,r,i=[],o=e.toLowerCase().replace(a,".").split(".");for(t=0;t<o.length;t++)r=o[t],i.push(n.test(r)?"xn--"+l(r):r);return i.join(".")}},488:function(e,t,r){"use strict";r(44);var n=r(10),a=r(23),i=r(412),o=r(11),s=r(103),u=r(32),c=r(110),l=r(21),h=r(49),f=r(5),p=r(30),v=r(58),d=r(4),g=r(6),m=r(31),y=r(25),w=r(489),b=r(97),R=r(1),L=a("fetch"),k=a("Headers"),U=R("iterator"),S=l.set,A=l.getterFor("URLSearchParams"),q=l.getterFor("URLSearchParamsIterator"),x=/\+/g,P=Array(4),B=function(e){return P[e-1]||(P[e-1]=RegExp("((?:%[\\da-f]{2}){"+e+"})","gi"))},E=function(e){try{return decodeURIComponent(e)}catch(t){return e}},I=function(e){var t=e.replace(x," "),r=4;try{return decodeURIComponent(t)}catch(e){for(;r;)t=t.replace(B(r--),E);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("&"),i=0;i<a.length;)(r=a[i++]).length&&(n=r.split("="),e.push({key:I(n.shift()),value:I(n.join("="))}))},J=function(e){this.entries.length=0,T(this.entries,e)},N=function(e,t){if(e<t)throw TypeError("Not enough arguments")},$=c((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})),D=function(){h(this,D,"URLSearchParams");var e,t,r,n,a,i,o,s,u,c=arguments.length>0?arguments[0]:void 0,l=this,p=[];if(S(l,{type:"URLSearchParams",entries:p,updateURL:function(){},updateSearchParams:J}),void 0!==c)if(g(c))if("function"==typeof(e=b(c)))for(r=(t=e.call(c)).next;!(n=r.call(t)).done;){if((o=(i=(a=w(d(n.value))).next).call(a)).done||(s=i.call(a)).done||!i.call(a).done)throw TypeError("Expected sequence with length 2");p.push({key:o.value+"",value:s.value+""})}else for(u in c)f(c,u)&&p.push({key:u,value:c[u]+""});else T(p,"string"==typeof c?"?"===c.charAt(0)?c.slice(1):c:c+"")},M=D.prototype;s(M,{append:function(e,t){N(arguments.length,2);var r=A(this);r.entries.push({key:e+"",value:t+""}),r.updateURL()},delete:function(e){N(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){N(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){N(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){N(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){N(arguments.length,1);for(var r,n=A(this),a=n.entries,i=!1,o=e+"",s=t+"",u=0;u<a.length;u++)(r=a[u]).key===o&&(i?a.splice(u--,1):(i=!0,r.value=s));i||a.push({key:o,value:s}),n.updateURL()},sort:function(){var e,t,r,n=A(this),a=n.entries,i=a.slice();for(a.length=0,r=0;r<i.length;r++){for(e=i[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 $(this,"keys")},values:function(){return new $(this,"values")},entries:function(){return new $(this,"entries")}},{enumerable:!0}),o(M,U,M.entries),o(M,"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(D,"URLSearchParams"),n({global:!0,forced:!i},{URLSearchParams:D}),i||"function"!=typeof L||"function"!=typeof k||n({global:!0,enumerable:!0,forced:!0},{fetch:function(e){var t,r,n,a=[e];return arguments.length>1&&(t=arguments[1],g(t)&&(r=t.body,"URLSearchParams"===v(r)&&((n=t.headers?new k(t.headers):new k).has("content-type")||n.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),t=m(t,{body:y(0,String(r)),headers:y(0,n)}))),a.push(t)),L.apply(this,a)}}),e.exports={URLSearchParams:D,getState:A}},489:function(e,t,r){var n=r(4),a=r(97);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=930d56aa1e0333bc0db3