(n.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(n.contain||"").includes(e)))}function Xi(){return!("undefined"===typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Zi(e){return["html","body","#document"].includes(Bi(e))}function Qi(e){return Ui(e).getComputedStyle(e)}function Ji(e){return $i(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function el(e){if("html"===Bi(e))return e;const t=e.assignedSlot||e.parentNode||Vi(e)&&e.host||Hi(e);return Vi(t)?t.host:t}function tl(e){const t=el(e);return Zi(t)?e.ownerDocument?e.ownerDocument.body:e.body:qi(t)&&Gi(t)?t:tl(t)}function nl(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const o=tl(e),a=o===(null==(r=e.ownerDocument)?void 0:r.body),i=Ui(o);return a?t.concat(i,i.visualViewport||[],Gi(o)?o:[],i.frameElement&&n?nl(i.frameElement):[]):t.concat(o,nl(o,[],n))}const rl=Math.min,ol=Math.max,al=Math.round,il=Math.floor,ll=e=>({x:e,y:e}),sl={left:"right",right:"left",bottom:"top",top:"bottom"},cl={start:"end",end:"start"};function ul(e,t,n){return ol(e,rl(t,n))}function dl(e,t){return"function"===typeof e?e(t):e}function fl(e){return e.split("-")[0]}function pl(e){return e.split("-")[1]}function ml(e){return"x"===e?"y":"x"}function hl(e){return"y"===e?"height":"width"}function gl(e){return["top","bottom"].includes(fl(e))?"y":"x"}function yl(e){return ml(gl(e))}function vl(e){return e.replace(/start|end/g,(e=>cl[e]))}function bl(e){return e.replace(/left|right|bottom|top/g,(e=>sl[e]))}function wl(e){return"number"!==typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function xl(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function kl(e,t,n){let{reference:r,floating:o}=e;const a=gl(t),i=yl(t),l=hl(i),s=fl(t),c="y"===a,u=r.x+r.width/2-o.width/2,d=r.y+r.height/2-o.height/2,f=r[l]/2-o[l]/2;let p;switch(s){case"top":p={x:u,y:r.y-o.height};break;case"bottom":p={x:u,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:d};break;case"left":p={x:r.x-o.width,y:d};break;default:p={x:r.x,y:r.y}}switch(pl(t)){case"start":p[i]-=f*(n&&c?-1:1);break;case"end":p[i]+=f*(n&&c?-1:1)}return p}async function Sl(e,t){var n;void 0===t&&(t={});const{x:r,y:o,platform:a,rects:i,elements:l,strategy:s}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:f=!1,padding:p=0}=dl(t,e),m=wl(p),h=l[f?"floating"===d?"reference":"floating":d],g=xl(await a.getClippingRect({element:null==(n=await(null==a.isElement?void 0:a.isElement(h)))||n?h:h.contextElement||await(null==a.getDocumentElement?void 0:a.getDocumentElement(l.floating)),boundary:c,rootBoundary:u,strategy:s})),y="floating"===d?{...i.floating,x:r,y:o}:i.reference,v=await(null==a.getOffsetParent?void 0:a.getOffsetParent(l.floating)),b=await(null==a.isElement?void 0:a.isElement(v))&&await(null==a.getScale?void 0:a.getScale(v))||{x:1,y:1},w=xl(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:y,offsetParent:v,strategy:s}):y);return{top:(g.top-w.top+m.top)/b.y,bottom:(w.bottom-g.bottom+m.bottom)/b.y,left:(g.left-w.left+m.left)/b.x,right:(w.right-g.right+m.right)/b.x}}const Ol=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:a,platform:i,elements:l,middlewareData:s}=t,{element:c,padding:u=0}=dl(e,t)||{};if(null==c)return{};const d=wl(u),f={x:n,y:r},p=yl(o),m=hl(p),h=await i.getDimensions(c),g="y"===p,y=g?"top":"left",v=g?"bottom":"right",b=g?"clientHeight":"clientWidth",w=a.reference[m]+a.reference[p]-f[p]-a.floating[m],x=f[p]-a.reference[p],k=await(null==i.getOffsetParent?void 0:i.getOffsetParent(c));let S=k?k[b]:0;S&&await(null==i.isElement?void 0:i.isElement(k))||(S=l.floating[b]||a.floating[m]);const O=w/2-x/2,E=S/2-h[m]/2-1,C=rl(d[y],E),_=rl(d[v],E),P=C,j=S-h[m]-_,T=S/2-h[m]/2+O,R=ul(P,T,j),N=!s.arrow&&null!=pl(o)&&T!=R&&a.reference[m]/2-(Te+"-"+o)),t&&(a=a.concat(a.map(vl)))),a}(l,h,m,b));const x=[l,...w],k=await Sl(t,g),S=[];let O=(null==(r=a.flip)?void 0:r.overflows)||[];if(u&&S.push(k[y]),d){const e=function(e,t,n){void 0===n&&(n=!1);const r=pl(e),o=yl(e),a=hl(o);let i="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[a]>t.floating[a]&&(i=bl(i)),[i,bl(i)]}(o,i,b);S.push(k[e[0]],k[e[1]])}if(O=[...O,{placement:o,overflows:S}],!S.every((e=>e<=0))){var E,C;const e=((null==(E=a.flip)?void 0:E.index)||0)+1,t=x[e];if(t)return{data:{index:e,overflows:O},reset:{placement:t}};let n=null==(C=O.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:C.placement;if(!n)switch(p){case"bestFit":{var _;const e=null==(_=O.map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:_[0];e&&(n=e);break}case"initialPlacement":n=l}if(o!==n)return{reset:{placement:n}}}return{}}}};function Cl(e){const t=rl(...e.map((e=>e.left))),n=rl(...e.map((e=>e.top)));return{x:t,y:n,width:ol(...e.map((e=>e.right)))-t,height:ol(...e.map((e=>e.bottom)))-n}}const _l=function(e){return void 0===e&&(e={}),{name:"inline",options:e,async fn(t){const{placement:n,elements:r,rects:o,platform:a,strategy:i}=t,{padding:l=2,x:s,y:c}=dl(e,t),u=Array.from(await(null==a.getClientRects?void 0:a.getClientRects(r.reference))||[]),d=function(e){const t=e.slice().sort(((e,t)=>e.y-t.y)),n=[];let r=null;for(let o=0;or.height/2?n.push([e]):n[n.length-1].push(e),r=e}return n.map((e=>xl(Cl(e))))}(u),f=xl(Cl(u)),p=wl(l);const m=await a.getElementRects({reference:{getBoundingClientRect:function(){if(2===d.length&&d[0].left>d[1].right&&null!=s&&null!=c)return d.find((e=>s>e.left-p.left&&se.top-p.top&&c=2){if("y"===gl(n)){const e=d[0],t=d[d.length-1],r="top"===fl(n),o=e.top,a=t.bottom,i=r?e.left:t.left,l=r?e.right:t.right;return{top:o,bottom:a,left:i,right:l,width:l-i,height:a-o,x:i,y:o}}const e="left"===fl(n),t=ol(...d.map((e=>e.right))),r=rl(...d.map((e=>e.left))),o=d.filter((n=>e?n.left===r:n.right===t)),a=o[0].top,i=o[o.length-1].bottom;return{top:a,bottom:i,left:r,right:t,width:t-r,height:i-a,x:r,y:a}}return f}},floating:r.floating,strategy:i});return o.reference.x!==m.reference.x||o.reference.y!==m.reference.y||o.reference.width!==m.reference.width||o.reference.height!==m.reference.height?{reset:{rects:m}}:{}}}};const Pl=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:a,placement:i,middlewareData:l}=t,s=await async function(e,t){const{placement:n,platform:r,elements:o}=e,a=await(null==r.isRTL?void 0:r.isRTL(o.floating)),i=fl(n),l=pl(n),s="y"===gl(n),c=["left","top"].includes(i)?-1:1,u=a&&s?-1:1,d=dl(t,e);let{mainAxis:f,crossAxis:p,alignmentAxis:m}="number"===typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...d};return l&&"number"===typeof m&&(p="end"===l?-1*m:m),s?{x:p*u,y:f*c}:{x:f*c,y:p*u}}(t,e);return i===(null==(n=l.offset)?void 0:n.placement)&&null!=(r=l.arrow)&&r.alignmentOffset?{}:{x:o+s.x,y:a+s.y,data:{...s,placement:i}}}}},jl=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:a=!0,crossAxis:i=!1,limiter:l={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...s}=dl(e,t),c={x:n,y:r},u=await Sl(t,s),d=gl(fl(o)),f=ml(d);let p=c[f],m=c[d];if(a){const e="y"===f?"bottom":"right";p=ul(p+u["y"===f?"top":"left"],p,p-u[e])}if(i){const e="y"===d?"bottom":"right";m=ul(m+u["y"===d?"top":"left"],m,m-u[e])}const h=l.fn({...t,[f]:p,[d]:m});return{...h,data:{x:h.x-n,y:h.y-r}}}}},Tl=function(e){return void 0===e&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:a,middlewareData:i}=t,{offset:l=0,mainAxis:s=!0,crossAxis:c=!0}=dl(e,t),u={x:n,y:r},d=gl(o),f=ml(d);let p=u[f],m=u[d];const h=dl(l,t),g="number"===typeof h?{mainAxis:h,crossAxis:0}:{mainAxis:0,crossAxis:0,...h};if(s){const e="y"===f?"height":"width",t=a.reference[f]-a.floating[e]+g.mainAxis,n=a.reference[f]+a.reference[e]-g.mainAxis;pn&&(p=n)}if(c){var y,v;const e="y"===f?"width":"height",t=["top","left"].includes(fl(o)),n=a.reference[d]-a.floating[e]+(t&&(null==(y=i.offset)?void 0:y[d])||0)+(t?0:g.crossAxis),r=a.reference[d]+a.reference[e]+(t?0:(null==(v=i.offset)?void 0:v[d])||0)-(t?g.crossAxis:0);mr&&(m=r)}return{[f]:p,[d]:m}}}},Rl=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:r,platform:o,elements:a}=t,{apply:i=(()=>{}),...l}=dl(e,t),s=await Sl(t,l),c=fl(n),u=pl(n),d="y"===gl(n),{width:f,height:p}=r.floating;let m,h;"top"===c||"bottom"===c?(m=c,h=u===(await(null==o.isRTL?void 0:o.isRTL(a.floating))?"start":"end")?"left":"right"):(h=c,m="end"===u?"top":"bottom");const g=p-s[m],y=f-s[h],v=!t.middlewareData.shift;let b=g,w=y;if(d){const e=f-s.left-s.right;w=u||v?rl(y,e):e}else{const e=p-s.top-s.bottom;b=u||v?rl(g,e):e}if(v&&!u){const e=ol(s.left,0),t=ol(s.right,0),n=ol(s.top,0),r=ol(s.bottom,0);d?w=f-2*(0!==e||0!==t?e+t:ol(s.left,s.right)):b=p-2*(0!==n||0!==r?n+r:ol(s.top,s.bottom))}await i({...t,availableWidth:w,availableHeight:b});const x=await o.getDimensions(a.floating);return f!==x.width||p!==x.height?{reset:{rects:!0}}:{}}}};function Nl(e){const t=Qi(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=qi(e),a=o?e.offsetWidth:n,i=o?e.offsetHeight:r,l=al(n)!==a||al(r)!==i;return l&&(n=a,r=i),{width:n,height:r,$:l}}function Al(e){return $i(e)?e:e.contextElement}function Il(e){const t=Al(e);if(!qi(t))return ll(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:a}=Nl(t);let i=(a?al(n.width):n.width)/r,l=(a?al(n.height):n.height)/o;return i&&Number.isFinite(i)||(i=1),l&&Number.isFinite(l)||(l=1),{x:i,y:l}}const Dl=ll(0);function Ll(e){const t=Ui(e);return Xi()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:Dl}function zl(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const o=e.getBoundingClientRect(),a=Al(e);let i=ll(1);t&&(r?$i(r)&&(i=Il(r)):i=Il(e));const l=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==Ui(e))&&t}(a,n,r)?Ll(a):ll(0);let s=(o.left+l.x)/i.x,c=(o.top+l.y)/i.y,u=o.width/i.x,d=o.height/i.y;if(a){const e=Ui(a),t=r&&$i(r)?Ui(r):r;let n=e.frameElement;for(;n&&r&&t!==e;){const e=Il(n),t=n.getBoundingClientRect(),r=Qi(n),o=t.left+(n.clientLeft+parseFloat(r.paddingLeft))*e.x,a=t.top+(n.clientTop+parseFloat(r.paddingTop))*e.y;s*=e.x,c*=e.y,u*=e.x,d*=e.y,s+=o,c+=a,n=Ui(n).frameElement}}return xl({width:u,height:d,x:s,y:c})}function Fl(e){return zl(Hi(e)).left+Ji(e).scrollLeft}function Ml(e,t,n){let r;if("viewport"===t)r=function(e,t){const n=Ui(e),r=Hi(e),o=n.visualViewport;let a=r.clientWidth,i=r.clientHeight,l=0,s=0;if(o){a=o.width,i=o.height;const e=Xi();(!e||e&&"fixed"===t)&&(l=o.offsetLeft,s=o.offsetTop)}return{width:a,height:i,x:l,y:s}}(e,n);else if("document"===t)r=function(e){const t=Hi(e),n=Ji(e),r=e.ownerDocument.body,o=ol(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=ol(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let i=-n.scrollLeft+Fl(e);const l=-n.scrollTop;return"rtl"===Qi(r).direction&&(i+=ol(t.clientWidth,r.clientWidth)-o),{width:o,height:a,x:i,y:l}}(Hi(e));else if($i(t))r=function(e,t){const n=zl(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,a=qi(e)?Il(e):ll(1);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:o*a.x,y:r*a.y}}(t,n);else{const n=Ll(e);r={...t,x:t.x-n.x,y:t.y-n.y}}return xl(r)}function Bl(e,t){const n=el(e);return!(n===t||!$i(n)||Zi(n))&&("fixed"===Qi(n).position||Bl(n,t))}function Ul(e,t,n){const r=qi(t),o=Hi(t),a="fixed"===n,i=zl(e,!0,a,t);let l={scrollLeft:0,scrollTop:0};const s=ll(0);if(r||!r&&!a)if(("body"!==Bi(t)||Gi(o))&&(l=Ji(t)),r){const e=zl(t,!0,a,t);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else o&&(s.x=Fl(o));return{x:i.left+l.scrollLeft-s.x,y:i.top+l.scrollTop-s.y,width:i.width,height:i.height}}function Hl(e,t){return qi(e)&&"fixed"!==Qi(e).position?t?t(e):e.offsetParent:null}function Wl(e,t){const n=Ui(e);if(!qi(e))return n;let r=Hl(e,t);for(;r&&Ki(r)&&"static"===Qi(r).position;)r=Hl(r,t);return r&&("html"===Bi(r)||"body"===Bi(r)&&"static"===Qi(r).position&&!Yi(r))?n:r||function(e){let t=el(e);for(;qi(t)&&!Zi(t);){if(Yi(t))return t;t=el(t)}return null}(e)||n}const $l={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:r}=e;const o=qi(n),a=Hi(n);if(n===a)return t;let i={scrollLeft:0,scrollTop:0},l=ll(1);const s=ll(0);if((o||!o&&"fixed"!==r)&&(("body"!==Bi(n)||Gi(a))&&(i=Ji(n)),qi(n))){const e=zl(n);l=Il(n),s.x=e.x+n.clientLeft,s.y=e.y+n.clientTop}return{width:t.width*l.x,height:t.height*l.y,x:t.x*l.x-i.scrollLeft*l.x+s.x,y:t.y*l.y-i.scrollTop*l.y+s.y}},getDocumentElement:Hi,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const a=[..."clippingAncestors"===n?function(e,t){const n=t.get(e);if(n)return n;let r=nl(e,[],!1).filter((e=>$i(e)&&"body"!==Bi(e))),o=null;const a="fixed"===Qi(e).position;let i=a?el(e):e;for(;$i(i)&&!Zi(i);){const t=Qi(i),n=Yi(i);n||"fixed"!==t.position||(o=null),(a?!n&&!o:!n&&"static"===t.position&&o&&["absolute","fixed"].includes(o.position)||Gi(i)&&!n&&Bl(e,i))?r=r.filter((e=>e!==i)):o=t,i=el(i)}return t.set(e,r),r}(t,this._c):[].concat(n),r],i=a[0],l=a.reduce(((e,n)=>{const r=Ml(t,n,o);return e.top=ol(r.top,e.top),e.right=rl(r.right,e.right),e.bottom=rl(r.bottom,e.bottom),e.left=ol(r.left,e.left),e}),Ml(t,i,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:Wl,getElementRects:async function(e){let{reference:t,floating:n,strategy:r}=e;const o=this.getOffsetParent||Wl,a=this.getDimensions;return{reference:Ul(t,await o(n),r),floating:{x:0,y:0,...await a(n)}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){return Nl(e)},getScale:Il,isElement:$i,isRTL:function(e){return"rtl"===Qi(e).direction}};function ql(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:a=!0,elementResize:i="function"===typeof ResizeObserver,layoutShift:l="function"===typeof IntersectionObserver,animationFrame:s=!1}=r,c=Al(e),u=o||a?[...c?nl(c):[],...nl(t)]:[];u.forEach((e=>{o&&e.addEventListener("scroll",n,{passive:!0}),a&&e.addEventListener("resize",n)}));const d=c&&l?function(e,t){let n,r=null;const o=Hi(e);function a(){clearTimeout(n),r&&r.disconnect(),r=null}return function i(l,s){void 0===l&&(l=!1),void 0===s&&(s=1),a();const{left:c,top:u,width:d,height:f}=e.getBoundingClientRect();if(l||t(),!d||!f)return;const p={rootMargin:-il(u)+"px "+-il(o.clientWidth-(c+d))+"px "+-il(o.clientHeight-(u+f))+"px "+-il(c)+"px",threshold:ol(0,rl(1,s))||1};let m=!0;function h(e){const t=e[0].intersectionRatio;if(t!==s){if(!m)return i();t?i(!1,t):n=setTimeout((()=>{i(!1,1e-7)}),100)}m=!1}try{r=new IntersectionObserver(h,{...p,root:o.ownerDocument})}catch(g){r=new IntersectionObserver(h,p)}r.observe(e)}(!0),a}(c,n):null;let f,p=-1,m=null;i&&(m=new ResizeObserver((e=>{let[r]=e;r&&r.target===c&&m&&(m.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame((()=>{m&&m.observe(t)}))),n()})),c&&!s&&m.observe(c),m.observe(t));let h=s?zl(e):null;return s&&function t(){const r=zl(e);!h||r.x===h.x&&r.y===h.y&&r.width===h.width&&r.height===h.height||n();h=r,f=requestAnimationFrame(t)}(),n(),()=>{u.forEach((e=>{o&&e.removeEventListener("scroll",n),a&&e.removeEventListener("resize",n)})),d&&d(),m&&m.disconnect(),m=null,s&&cancelAnimationFrame(f)}}const Vl=(e,t,n)=>{const r=new Map,o={platform:$l,...n},a={...o.platform,_c:r};return(async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:a=[],platform:i}=n,l=a.filter(Boolean),s=await(null==i.isRTL?void 0:i.isRTL(t));let c=await i.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:d}=kl(c,r,s),f=r,p={},m=0;for(let h=0;h{const{element:t,padding:n}=e;return{name:"arrow",options:e,fn(e){return r=t,Object.prototype.hasOwnProperty.call(r,"current")?null!=t.current?Ol({element:t.current,padding:n}).fn(e):{}:t?Ol({element:t,padding:n}).fn(e):{};var r}}};var Kl="undefined"!==typeof document?r.useLayoutEffect:r.useEffect;function Yl(e,t){if(e===t)return!0;if(typeof e!==typeof t)return!1;if("function"===typeof e&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;0!==r--;)if(!Yl(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;0!==r--;)if(!Object.prototype.hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!==r--;){const n=o[r];if(("_owner"!==n||!e.$$typeof)&&!Yl(e[n],t[n]))return!1}return!0}return e!==e&&t!==t}function Xl(e){const t=r.useRef(e);return Kl((()=>{t.current=e})),t}var Zl="undefined"!==typeof document?r.useLayoutEffect:r.useEffect;let Ql=!1,Jl=0;const es=()=>"floating-ui-"+Jl++;const ts=o["useId".toString()]||function(){const[e,t]=r.useState((()=>Ql?es():void 0));return Zl((()=>{null==e&&t(es())}),[]),r.useEffect((()=>{Ql||(Ql=!0)}),[]),e};function ns(){const e=new Map;return{emit(t,n){var r;null==(r=e.get(t))||r.forEach((e=>e(n)))},on(t,n){e.set(t,[...e.get(t)||[],n])},off(t,n){e.set(t,(e.get(t)||[]).filter((e=>e!==n)))}}}const rs=r.createContext(null),os=r.createContext(null),as=()=>{var e;return(null==(e=r.useContext(rs))?void 0:e.id)||null},is=()=>r.useContext(os);function ls(e){return(null==e?void 0:e.ownerDocument)||document}function ss(){const e=navigator.userAgentData;return null!=e&&e.platform?e.platform:navigator.platform}function cs(){const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map((e=>{let{brand:t,version:n}=e;return t+"/"+n})).join(" "):navigator.userAgent}function us(e){return ls(e).defaultView||window}function ds(e){return!!e&&e instanceof us(e).Element}function fs(e){return!!e&&e instanceof us(e).HTMLElement}function ps(e){if(0===e.mozInputSource&&e.isTrusted)return!0;const t=/Android/i;return(t.test(ss())||t.test(cs()))&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType}function ms(e){return 0===e.width&&0===e.height||1===e.width&&1===e.height&&0===e.pressure&&0===e.detail&&"mouse"!==e.pointerType||e.width<1&&e.height<1&&0===e.pressure&&0===e.detail}function hs(e,t){const n=["mouse","pen"];return t||n.push("",void 0),n.includes(e)}function gs(e){const t=(0,r.useRef)(e);return Zl((()=>{t.current=e})),t}const ys="data-floating-ui-safe-polygon";function vs(e,t,n){return n&&!hs(n)?0:"number"===typeof e?e:null==e?void 0:e[t]}const bs=function(e,t){let{enabled:n=!0,delay:o=0,handleClose:a=null,mouseOnly:i=!1,restMs:l=0,move:s=!0}=void 0===t?{}:t;const{open:c,onOpenChange:u,dataRef:d,events:f,elements:{domReference:p,floating:m},refs:h}=e,g=is(),y=as(),v=gs(a),b=gs(o),w=r.useRef(),x=r.useRef(),k=r.useRef(),S=r.useRef(),O=r.useRef(!0),E=r.useRef(!1),C=r.useRef((()=>{})),_=r.useCallback((()=>{var e;const t=null==(e=d.current.openEvent)?void 0:e.type;return(null==t?void 0:t.includes("mouse"))&&"mousedown"!==t}),[d]);r.useEffect((()=>{if(n)return f.on("dismiss",e),()=>{f.off("dismiss",e)};function e(){clearTimeout(x.current),clearTimeout(S.current),O.current=!0}}),[n,f]),r.useEffect((()=>{if(!n||!v.current||!c)return;function e(){_()&&u(!1)}const t=ls(m).documentElement;return t.addEventListener("mouseleave",e),()=>{t.removeEventListener("mouseleave",e)}}),[m,c,u,n,v,d,_]);const P=r.useCallback((function(e){void 0===e&&(e=!0);const t=vs(b.current,"close",w.current);t&&!k.current?(clearTimeout(x.current),x.current=setTimeout((()=>u(!1)),t)):e&&(clearTimeout(x.current),u(!1))}),[b,u]),j=r.useCallback((()=>{C.current(),k.current=void 0}),[]),T=r.useCallback((()=>{if(E.current){const e=ls(h.floating.current).body;e.style.pointerEvents="",e.removeAttribute(ys),E.current=!1}}),[h]);return r.useEffect((()=>{if(n&&ds(p)){const e=p;return c&&e.addEventListener("mouseleave",a),null==m||m.addEventListener("mouseleave",a),s&&e.addEventListener("mousemove",r,{once:!0}),e.addEventListener("mouseenter",r),e.addEventListener("mouseleave",o),()=>{c&&e.removeEventListener("mouseleave",a),null==m||m.removeEventListener("mouseleave",a),s&&e.removeEventListener("mousemove",r),e.removeEventListener("mouseenter",r),e.removeEventListener("mouseleave",o)}}function t(){return!!d.current.openEvent&&["click","mousedown"].includes(d.current.openEvent.type)}function r(e){if(clearTimeout(x.current),O.current=!1,i&&!hs(w.current)||l>0&&0===vs(b.current,"open"))return;d.current.openEvent=e;const t=vs(b.current,"open",w.current);t?x.current=setTimeout((()=>{u(!0)}),t):u(!0)}function o(n){if(t())return;C.current();const r=ls(m);if(clearTimeout(S.current),v.current){c||clearTimeout(x.current),k.current=v.current({...e,tree:g,x:n.clientX,y:n.clientY,onClose(){T(),j(),P()}});const t=k.current;return r.addEventListener("mousemove",t),void(C.current=()=>{r.removeEventListener("mousemove",t)})}P()}function a(n){t()||null==v.current||v.current({...e,tree:g,x:n.clientX,y:n.clientY,onClose(){T(),j(),P()}})(n)}}),[p,m,n,e,i,l,s,P,j,T,u,c,g,b,v,d]),Zl((()=>{var e;if(n&&c&&null!=(e=v.current)&&e.__options.blockPointerEvents&&_()){const e=ls(m).body;if(e.setAttribute(ys,""),e.style.pointerEvents="none",E.current=!0,ds(p)&&m){var t,r;const e=p,n=null==g||null==(t=g.nodesRef.current.find((e=>e.id===y)))||null==(r=t.context)?void 0:r.elements.floating;return n&&(n.style.pointerEvents=""),e.style.pointerEvents="auto",m.style.pointerEvents="auto",()=>{e.style.pointerEvents="",m.style.pointerEvents=""}}}}),[n,c,y,m,p,g,v,d,_]),Zl((()=>{c||(w.current=void 0,j(),T())}),[c,j,T]),r.useEffect((()=>()=>{j(),clearTimeout(x.current),clearTimeout(S.current),T()}),[n,j,T]),r.useMemo((()=>{if(!n)return{};function e(e){w.current=e.pointerType}return{reference:{onPointerDown:e,onPointerEnter:e,onMouseMove(){c||0===l||(clearTimeout(S.current),S.current=setTimeout((()=>{O.current||u(!0)}),l))}},floating:{onMouseEnter(){clearTimeout(x.current)},onMouseLeave(){f.emit("dismiss",{type:"mouseLeave",data:{returnFocus:!1}}),P(!1)}}}}),[f,n,l,c,u,P])},ws=r.createContext({delay:0,initialDelay:0,timeoutMs:0,currentId:null,setCurrentId:()=>{},setState:()=>{},isInstantPhase:!1}),xs=()=>r.useContext(ws),ks=e=>{let{children:t,delay:n,timeoutMs:o=0}=e;const[a,i]=r.useReducer(((e,t)=>({...e,...t})),{delay:n,timeoutMs:o,initialDelay:n,currentId:null,isInstantPhase:!1}),l=r.useRef(null),s=r.useCallback((e=>{i({currentId:e})}),[]);return Zl((()=>{a.currentId?null===l.current?l.current=a.currentId:i({isInstantPhase:!0}):(i({isInstantPhase:!1}),l.current=null)}),[a.currentId]),r.createElement(ws.Provider,{value:r.useMemo((()=>({...a,setState:i,setCurrentId:s})),[a,i,s])},t)},Ss=(e,t)=>{let{open:n,onOpenChange:o}=e,{id:a}=t;const{currentId:i,setCurrentId:l,initialDelay:s,setState:c,timeoutMs:u}=xs();r.useEffect((()=>{i&&(c({delay:{open:1,close:vs(s,"close")}}),i!==a&&o(!1))}),[a,o,c,i,s]),r.useEffect((()=>{function e(){o(!1),c({delay:s,currentId:null})}if(!n&&i===a){if(u){const t=window.setTimeout(e,u);return()=>{clearTimeout(t)}}e()}}),[n,c,i,a,o,s,u]),r.useEffect((()=>{n&&l(a)}),[n,l,a])};function Os(e){let t=e.activeElement;for(;null!=(null==(n=t)||null==(r=n.shadowRoot)?void 0:r.activeElement);){var n,r;t=t.shadowRoot.activeElement}return t}function Es(e,t){if(!e||!t)return!1;const n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&function(e){return"undefined"!==typeof ShadowRoot&&(e instanceof us(e).ShadowRoot||e instanceof ShadowRoot)}(n)){let n=t;do{if(n&&e===n)return!0;n=n.parentNode||n.host}while(n)}return!1}function Cs(e,t){let n=e.filter((e=>{var n;return e.parentId===t&&(null==(n=e.context)?void 0:n.open)}))||[],r=n;for(;r.length;)r=e.filter((e=>{var t;return null==(t=r)?void 0:t.some((t=>{var n;return e.parentId===t.id&&(null==(n=e.context)?void 0:n.open)}))}))||[],n=n.concat(r);return n}function _s(e){return"composedPath"in e?e.composedPath()[0]:e.target}const Ps=o["useInsertionEffect".toString()]||(e=>e());function js(e){const t=r.useRef((()=>{0}));return Ps((()=>{t.current=e})),r.useCallback((function(){for(var e=arguments.length,n=new Array(e),r=0;r!1),k="function"===typeof p?x:p,S=r.useRef(!1),{escapeKeyBubbles:O,outsidePressBubbles:E}=function(e){var t,n;return void 0===e&&(e=!0),{escapeKeyBubbles:"boolean"===typeof e?e:null==(t=e.escapeKey)||t,outsidePressBubbles:"boolean"===typeof e?e:null==(n=e.outsidePress)||n}}(v);return r.useEffect((()=>{if(!n||!d)return;function e(e){if("Escape"===e.key){const e=b?Cs(b.nodesRef.current,i):[];if(e.length>0){let t=!0;if(e.forEach((e=>{var n;null==(n=e.context)||!n.open||e.context.dataRef.current.__escapeKeyBubbles||(t=!1)})),!t)return}a.emit("dismiss",{type:"escapeKey",data:{returnFocus:{preventScroll:!1}}}),o(!1)}}function t(e){const t=S.current;if(S.current=!1,t)return;if("function"===typeof k&&!k(e))return;const n=_s(e);if(fs(n)&&c){const t=c.ownerDocument.defaultView||window,r=n.scrollWidth>n.clientWidth,o=n.scrollHeight>n.clientHeight;let a=o&&e.offsetX>n.clientWidth;if(o){"rtl"===t.getComputedStyle(n).direction&&(a=e.offsetX<=n.offsetWidth-n.clientWidth)}if(a||r&&e.offsetY>n.clientHeight)return}const r=b&&Cs(b.nodesRef.current,i).some((t=>{var n;return Ts(e,null==(n=t.context)?void 0:n.elements.floating)}));if(Ts(e,c)||Ts(e,s)||r)return;const l=b?Cs(b.nodesRef.current,i):[];if(l.length>0){let e=!0;if(l.forEach((t=>{var n;null==(n=t.context)||!n.open||t.context.dataRef.current.__outsidePressBubbles||(e=!1)})),!e)return}a.emit("dismiss",{type:"outsidePress",data:{returnFocus:w?{preventScroll:!0}:ps(e)||ms(e)}}),o(!1)}function r(){o(!1)}u.current.__escapeKeyBubbles=O,u.current.__outsidePressBubbles=E;const p=ls(c);f&&p.addEventListener("keydown",e),k&&p.addEventListener(m,t);let h=[];return y&&(ds(s)&&(h=nl(s)),ds(c)&&(h=h.concat(nl(c))),!ds(l)&&l&&l.contextElement&&(h=h.concat(nl(l.contextElement)))),h=h.filter((e=>{var t;return e!==(null==(t=p.defaultView)?void 0:t.visualViewport)})),h.forEach((e=>{e.addEventListener("scroll",r,{passive:!0})})),()=>{f&&p.removeEventListener("keydown",e),k&&p.removeEventListener(m,t),h.forEach((e=>{e.removeEventListener("scroll",r)}))}}),[u,c,s,l,f,k,m,a,b,i,n,o,y,d,O,E,w]),r.useEffect((()=>{S.current=!1}),[k,m]),r.useMemo((()=>d?{reference:{[Rs[g]]:()=>{h&&(a.emit("dismiss",{type:"referencePress",data:{returnFocus:!1}}),o(!1))}},floating:{[Ns[m]]:()=>{S.current=!0}}}:{}),[d,a,h,m,g,o])},Is=function(e,t){let{open:n,onOpenChange:o,dataRef:a,events:i,refs:l,elements:{floating:s,domReference:c}}=e,{enabled:u=!0,keyboardOnly:d=!0}=void 0===t?{}:t;const f=r.useRef(""),p=r.useRef(!1),m=r.useRef();return r.useEffect((()=>{if(!u)return;const e=ls(s).defaultView||window;function t(){!n&&fs(c)&&c===Os(ls(c))&&(p.current=!0)}return e.addEventListener("blur",t),()=>{e.removeEventListener("blur",t)}}),[s,c,n,u]),r.useEffect((()=>{if(u)return i.on("dismiss",e),()=>{i.off("dismiss",e)};function e(e){"referencePress"!==e.type&&"escapeKey"!==e.type||(p.current=!0)}}),[i,u]),r.useEffect((()=>()=>{clearTimeout(m.current)}),[]),r.useMemo((()=>u?{reference:{onPointerDown(e){let{pointerType:t}=e;f.current=t,p.current=!(!t||!d)},onMouseLeave(){p.current=!1},onFocus(e){var t;p.current||"focus"===e.type&&"mousedown"===(null==(t=a.current.openEvent)?void 0:t.type)&&a.current.openEvent&&Ts(a.current.openEvent,c)||(a.current.openEvent=e.nativeEvent,o(!0))},onBlur(e){p.current=!1;const t=e.relatedTarget,n=ds(t)&&t.hasAttribute("data-floating-ui-focus-guard")&&"outside"===t.getAttribute("data-type");m.current=setTimeout((()=>{Es(l.floating.current,t)||Es(c,t)||n||o(!1)}))}}}:{}),[u,d,c,l,a,o])};const Ds=function(e,t){let{open:n}=e,{enabled:o=!0,role:a="dialog"}=void 0===t?{}:t;const i=ts(),l=ts();return r.useMemo((()=>{const e={id:i,role:a};return o?"tooltip"===a?{reference:{"aria-describedby":n?i:void 0},floating:e}:{reference:{"aria-expanded":n?"true":"false","aria-haspopup":"alertdialog"===a?"dialog":a,"aria-controls":n?i:void 0,..."listbox"===a&&{role:"combobox"},..."menu"===a&&{id:l}},floating:{...e,..."menu"===a&&{"aria-labelledby":l}}}:{}}),[o,a,n,i,l])};function Ls(e){void 0===e&&(e={});const{open:t=!1,onOpenChange:n,nodeId:o}=e,a=function(e){void 0===e&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:o=[],platform:a,whileElementsMounted:i,open:l}=e,[s,c]=r.useState({x:null,y:null,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[u,d]=r.useState(o);Yl(u,o)||d(o);const f=r.useRef(null),p=r.useRef(null),m=r.useRef(s),h=Xl(i),g=Xl(a),[y,v]=r.useState(null),[b,w]=r.useState(null),x=r.useCallback((e=>{f.current!==e&&(f.current=e,v(e))}),[]),k=r.useCallback((e=>{p.current!==e&&(p.current=e,w(e))}),[]),S=r.useCallback((()=>{if(!f.current||!p.current)return;const e={placement:t,strategy:n,middleware:u};g.current&&(e.platform=g.current),Vl(f.current,p.current,e).then((e=>{const t={...e,isPositioned:!0};O.current&&!Yl(m.current,t)&&(m.current=t,Mi.flushSync((()=>{c(t)})))}))}),[u,t,n,g]);Kl((()=>{!1===l&&m.current.isPositioned&&(m.current.isPositioned=!1,c((e=>({...e,isPositioned:!1}))))}),[l]);const O=r.useRef(!1);Kl((()=>(O.current=!0,()=>{O.current=!1})),[]),Kl((()=>{if(y&&b){if(h.current)return h.current(y,b,S);S()}}),[y,b,S,h]);const E=r.useMemo((()=>({reference:f,floating:p,setReference:x,setFloating:k})),[x,k]),C=r.useMemo((()=>({reference:y,floating:b})),[y,b]);return r.useMemo((()=>({...s,update:S,refs:E,elements:C,reference:x,floating:k})),[s,S,E,C,x,k])}(e),i=is(),l=r.useRef(null),s=r.useRef({}),c=r.useState((()=>ns()))[0],[u,d]=r.useState(null),f=r.useCallback((e=>{const t=ds(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),contextElement:e}:e;a.refs.setReference(t)}),[a.refs]),p=r.useCallback((e=>{(ds(e)||null===e)&&(l.current=e,d(e)),(ds(a.refs.reference.current)||null===a.refs.reference.current||null!==e&&!ds(e))&&a.refs.setReference(e)}),[a.refs]),m=r.useMemo((()=>({...a.refs,setReference:p,setPositionReference:f,domReference:l})),[a.refs,p,f]),h=r.useMemo((()=>({...a.elements,domReference:u})),[a.elements,u]),g=js(n),y=r.useMemo((()=>({...a,refs:m,elements:h,dataRef:s,nodeId:o,events:c,open:t,onOpenChange:g})),[a,o,c,t,g,m,h]);return Zl((()=>{const e=null==i?void 0:i.nodesRef.current.find((e=>e.id===o));e&&(e.context=y)})),r.useMemo((()=>({...a,context:y,refs:m,reference:p,positionReference:f})),[a,m,y,p,f])}function zs(e,t,n){const r=new Map;return{..."floating"===n&&{tabIndex:-1},...e,...t.map((e=>e?e[n]:null)).concat(e).reduce(((e,t)=>t?(Object.entries(t).forEach((t=>{let[n,o]=t;var a;0===n.indexOf("on")?(r.has(n)||r.set(n,[]),"function"===typeof o&&(null==(a=r.get(n))||a.push(o),e[n]=function(){for(var e,t=arguments.length,o=new Array(t),a=0;ae(...o)))})):e[n]=o})),e):e),{})}}const Fs=(0,r.createContext)(!1),Ms=Fs.Provider;function Bs(e){let{children:t,openDelay:n=0,closeDelay:o=0}=e;return r.createElement(Ms,{value:!0},r.createElement(ks,{delay:{open:n,close:o}},t))}Bs.displayName="@mantine/core/TooltipGroup";var Us=Object.defineProperty,Hs=Object.defineProperties,Ws=Object.getOwnPropertyDescriptors,$s=Object.getOwnPropertySymbols,qs=Object.prototype.hasOwnProperty,Vs=Object.prototype.propertyIsEnumerable,Gs=(e,t,n)=>t in e?Us(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ks=(e,t)=>{for(var n in t||(t={}))qs.call(t,n)&&Gs(e,n,t[n]);if($s)for(var n of $s(t))Vs.call(t,n)&&Gs(e,n,t[n]);return e};function Ys(e,t){if(!t)return{backgroundColor:"dark"===e.colorScheme?e.colors.gray[2]:e.colors.gray[9],color:"dark"===e.colorScheme?e.black:e.white};const n=e.fn.variant({variant:"filled",color:t,primaryFallback:!1});return{backgroundColor:n.background,color:n.color}}var Xs=fn(((e,t)=>{let{color:n,radius:r,width:o,multiline:a}=t;return{tooltip:(i=Ks(Ks({},e.fn.fontStyles()),Ys(e,n)),l={lineHeight:e.lineHeight,fontSize:e.fontSizes.sm,borderRadius:e.fn.radius(r),padding:"calc(".concat(e.spacing.xs," / 2) ").concat(e.spacing.xs),position:"absolute",whiteSpace:a?"unset":"nowrap",pointerEvents:"none",width:o},Hs(i,Ws(l))),arrow:{backgroundColor:"inherit",border:0,zIndex:1}};var i,l}));const Zs=Xs,Qs="Tooltip component children should be an element or a component that accepts ref, fragments, strings, numbers and other primitive values are not supported";var Js=Object.defineProperty,ec=Object.defineProperties,tc=Object.getOwnPropertyDescriptors,nc=Object.getOwnPropertySymbols,rc=Object.prototype.hasOwnProperty,oc=Object.prototype.propertyIsEnumerable,ac=(e,t,n)=>t in e?Js(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ic=(e,t)=>{for(var n in t||(t={}))rc.call(t,n)&&ac(e,n,t[n]);if(nc)for(var n of nc(t))oc.call(t,n)&&ac(e,n,t[n]);return e},lc=(e,t)=>ec(e,tc(t)),sc=(e,t)=>{var n={};for(var r in e)rc.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&nc)for(var r of nc(e))t.indexOf(r)<0&&oc.call(e,r)&&(n[r]=e[r]);return n};function cc(e){const t=Ht("Portal",{},e),{children:n,target:o,className:a,innerRef:i}=t,l=sc(t,["children","target","className","innerRef"]),s=Bt(),[c,u]=(0,r.useState)(!1),d=(0,r.useRef)();return Gn((()=>(u(!0),d.current=o?"string"===typeof o?document.querySelector(o):o:document.createElement("div"),o||document.body.appendChild(d.current),()=>{!o&&document.body.removeChild(d.current)})),[o]),c?(0,Mi.createPortal)(r.createElement("div",lc(ic({className:a,dir:s.dir},l),{ref:i}),n),d.current):null}cc.displayName="@mantine/core/Portal";var uc=Object.defineProperty,dc=Object.getOwnPropertySymbols,fc=Object.prototype.hasOwnProperty,pc=Object.prototype.propertyIsEnumerable,mc=(e,t,n)=>t in e?uc(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,hc=(e,t)=>{for(var n in t||(t={}))fc.call(t,n)&&mc(e,n,t[n]);if(dc)for(var n of dc(t))pc.call(t,n)&&mc(e,n,t[n]);return e},gc=(e,t)=>{var n={};for(var r in e)fc.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&dc)for(var r of dc(e))t.indexOf(r)<0&&pc.call(e,r)&&(n[r]=e[r]);return n};function yc(e){var t=e,{withinPortal:n=!0,children:o}=t,a=gc(t,["withinPortal","children"]);return n?r.createElement(cc,hc({},a),o):r.createElement(r.Fragment,null,o)}yc.displayName="@mantine/core/OptionalPortal";var vc=Object.defineProperty,bc=Object.defineProperties,wc=Object.getOwnPropertyDescriptors,xc=Object.getOwnPropertySymbols,kc=Object.prototype.hasOwnProperty,Sc=Object.prototype.propertyIsEnumerable,Oc=(e,t,n)=>t in e?vc(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ec=(e,t)=>{for(var n in t||(t={}))kc.call(t,n)&&Oc(e,n,t[n]);if(xc)for(var n of xc(t))Sc.call(t,n)&&Oc(e,n,t[n]);return e},Cc=(e,t)=>bc(e,wc(t));const _c={refProp:"ref",withinPortal:!0,offset:10,position:"right",zIndex:Fi("popover")};function Pc(e){var t;const n=Ht("TooltipFloating",_c,e),{children:o,refProp:a,withinPortal:i,portalProps:l,style:s,className:c,classNames:u,styles:d,unstyled:f,radius:p,color:m,label:h,offset:g,position:y,multiline:v,width:b,zIndex:w,disabled:x,variant:k}=n,S=((e,t)=>{var n={};for(var r in e)kc.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&xc)for(var r of xc(e))t.indexOf(r)<0&&Sc.call(e,r)&&(n[r]=e[r]);return n})(n,["children","refProp","withinPortal","portalProps","style","className","classNames","styles","unstyled","radius","color","label","offset","position","multiline","width","zIndex","disabled","variant"]),{handleMouseMove:O,x:E,y:C,opened:_,boundaryRef:P,floating:j,setOpened:T}=function(e){let{offset:t,position:n}=e;const[o,a]=(0,r.useState)(!1),i=(0,r.useRef)(),{x:l,y:s,reference:c,floating:u,refs:d,update:f,placement:p}=Ls({placement:n,middleware:[jl({crossAxis:!0,padding:5,rootBoundary:"document"})]}),m=p.includes("right")?t:n.includes("left")?-1*t:0,h=p.includes("bottom")?t:n.includes("top")?-1*t:0,g=(0,r.useCallback)((e=>{let{clientX:t,clientY:n}=e;c({getBoundingClientRect:()=>({width:0,height:0,x:t,y:n,left:t+m,top:n+h,right:t,bottom:n})})}),[c]);return(0,r.useEffect)((()=>{if(d.floating.current){const e=i.current;e.addEventListener("mousemove",g);const t=nl(d.floating.current);return t.forEach((e=>{e.addEventListener("scroll",f)})),()=>{e.removeEventListener("mousemove",g),t.forEach((e=>{e.removeEventListener("scroll",f)}))}}}),[c,d.floating.current,f,g,o]),{handleMouseMove:g,x:l,y:s,opened:o,setOpened:a,boundaryRef:i,floating:u}}({offset:g,position:y}),{classes:R,cx:N}=Zs({radius:p,color:m,multiline:v,width:b},{name:"TooltipFloating",classNames:u,styles:d,unstyled:f,variant:k});if(!Ai(o))throw new Error(Qs);const A=Li(P,o.ref);return r.createElement(r.Fragment,null,r.createElement(yc,Cc(Ec({},l),{withinPortal:i}),r.createElement(Mn,Cc(Ec({},S),{ref:j,className:N(R.tooltip,c),style:Cc(Ec({},s),{zIndex:w,display:!x&&_?"block":"none",top:null!=C?C:"",left:null!=(t=Math.round(E))?t:""})}),h)),(0,r.cloneElement)(o,Cc(Ec({},o.props),{[a]:A,onMouseEnter:e=>{var t,n;null==(n=(t=o.props).onMouseEnter)||n.call(t,e),O(e),T(!0)},onMouseLeave:e=>{var t,n;null==(n=(t=o.props).onMouseLeave)||n.call(t,e),T(!1)}})))}function jc(e,t){const n=(0,r.useRef)(!1);(0,r.useEffect)((()=>()=>{n.current=!1}),[]),(0,r.useEffect)((()=>{if(n.current)return e();n.current=!0}),t)}function Tc(e){let{opened:t,floating:n,position:o,positionDependencies:a}=e;const[i,l]=(0,r.useState)(0);(0,r.useEffect)((()=>{if(n.refs.reference.current&&n.refs.floating.current)return ql(n.refs.reference.current,n.refs.floating.current,n.update)}),[n.refs.reference.current,n.refs.floating.current,t,i,o]),jc((()=>{n.update()}),a),jc((()=>{l((e=>e+1))}),[t])}function Rc(e){const[t,n]=(0,r.useState)(!1),o="boolean"===typeof e.opened?e.opened:t,a=(0,r.useContext)(Fs),i=Xn(),{delay:l,currentId:s,setCurrentId:c}=xs(),u=(0,r.useCallback)((e=>{n(e),e&&c(i)}),[c,i]),{x:d,y:f,reference:p,floating:m,context:h,refs:g,update:y,placement:v,middlewareData:{arrow:{x:b,y:w}={}}}=Ls({placement:e.position,open:o,onOpenChange:u,middleware:[Pl(e.offset),jl({padding:8}),El(),Gl({element:e.arrowRef,padding:e.arrowOffset}),...e.inline?[_l()]:[]]}),{getReferenceProps:x,getFloatingProps:k}=function(e){void 0===e&&(e=[]);const t=e,n=r.useCallback((t=>zs(t,e,"reference")),t),o=r.useCallback((t=>zs(t,e,"floating")),t),a=r.useCallback((t=>zs(t,e,"item")),e.map((e=>null==e?void 0:e.item)));return r.useMemo((()=>({getReferenceProps:n,getFloatingProps:o,getItemProps:a})),[n,o,a])}([bs(h,{enabled:e.events.hover,delay:a?l:{open:e.openDelay,close:e.closeDelay},mouseOnly:!e.events.touch}),Is(h,{enabled:e.events.focus,keyboardOnly:!0}),Ds(h,{role:"tooltip"}),As(h,{enabled:void 0===typeof e.opened}),Ss(h,{id:i})]);Tc({opened:o,position:e.position,positionDependencies:e.positionDependencies,floating:{refs:g,update:y}}),jc((()=>{var t;null==(t=e.onPositionChange)||t.call(e,v)}),[v]);return{x:d,y:f,arrowX:b,arrowY:w,reference:p,floating:m,getFloatingProps:k,getReferenceProps:x,isGroupPhase:o&&s&&s!==i,opened:o,placement:v}}function Nc(e,t){if("rtl"===e&&(t.includes("right")||t.includes("left"))){const[e,n]=t.split("-"),r="right"===e?"left":"right";return void 0===n?r:"".concat(r,"-").concat(n)}return t}Pc.displayName="@mantine/core/TooltipFloating";var Ac=Object.defineProperty,Ic=Object.defineProperties,Dc=Object.getOwnPropertyDescriptors,Lc=Object.getOwnPropertySymbols,zc=Object.prototype.hasOwnProperty,Fc=Object.prototype.propertyIsEnumerable,Mc=(e,t,n)=>t in e?Ac(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Bc=(e,t)=>{for(var n in t||(t={}))zc.call(t,n)&&Mc(e,n,t[n]);if(Lc)for(var n of Lc(t))Fc.call(t,n)&&Mc(e,n,t[n]);return e},Uc=(e,t)=>Ic(e,Dc(t));const Hc={in:{opacity:1,transform:"scale(1)"},out:{opacity:0,transform:"scale(.9) translateY(".concat(l(10),")")},transitionProperty:"transform, opacity"},Wc={fade:{in:{opacity:1},out:{opacity:0},transitionProperty:"opacity"},scale:{in:{opacity:1,transform:"scale(1)"},out:{opacity:0,transform:"scale(0)"},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"scale-y":{in:{opacity:1,transform:"scaleY(1)"},out:{opacity:0,transform:"scaleY(0)"},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"scale-x":{in:{opacity:1,transform:"scaleX(1)"},out:{opacity:0,transform:"scaleX(0)"},common:{transformOrigin:"left"},transitionProperty:"transform, opacity"},"skew-up":{in:{opacity:1,transform:"translateY(0) skew(0deg, 0deg)"},out:{opacity:0,transform:"translateY(-".concat(l(20),") skew(-10deg, -5deg)")},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"skew-down":{in:{opacity:1,transform:"translateY(0) skew(0deg, 0deg)"},out:{opacity:0,transform:"translateY(".concat(l(20),") skew(-10deg, -5deg)")},common:{transformOrigin:"bottom"},transitionProperty:"transform, opacity"},"rotate-left":{in:{opacity:1,transform:"translateY(0) rotate(0deg)"},out:{opacity:0,transform:"translateY(".concat(l(20),") rotate(-5deg)")},common:{transformOrigin:"bottom"},transitionProperty:"transform, opacity"},"rotate-right":{in:{opacity:1,transform:"translateY(0) rotate(0deg)"},out:{opacity:0,transform:"translateY(".concat(l(20),") rotate(5deg)")},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"slide-down":{in:{opacity:1,transform:"translateY(0)"},out:{opacity:0,transform:"translateY(-100%)"},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"slide-up":{in:{opacity:1,transform:"translateY(0)"},out:{opacity:0,transform:"translateY(100%)"},common:{transformOrigin:"bottom"},transitionProperty:"transform, opacity"},"slide-left":{in:{opacity:1,transform:"translateX(0)"},out:{opacity:0,transform:"translateX(100%)"},common:{transformOrigin:"left"},transitionProperty:"transform, opacity"},"slide-right":{in:{opacity:1,transform:"translateX(0)"},out:{opacity:0,transform:"translateX(-100%)"},common:{transformOrigin:"right"},transitionProperty:"transform, opacity"},pop:Uc(Bc({},Hc),{common:{transformOrigin:"center center"}}),"pop-bottom-left":Uc(Bc({},Hc),{common:{transformOrigin:"bottom left"}}),"pop-bottom-right":Uc(Bc({},Hc),{common:{transformOrigin:"bottom right"}}),"pop-top-left":Uc(Bc({},Hc),{common:{transformOrigin:"top left"}}),"pop-top-right":Uc(Bc({},Hc),{common:{transformOrigin:"top right"}})};var $c=Object.defineProperty,qc=Object.getOwnPropertySymbols,Vc=Object.prototype.hasOwnProperty,Gc=Object.prototype.propertyIsEnumerable,Kc=(e,t,n)=>t in e?$c(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Yc=(e,t)=>{for(var n in t||(t={}))Vc.call(t,n)&&Kc(e,n,t[n]);if(qc)for(var n of qc(t))Gc.call(t,n)&&Kc(e,n,t[n]);return e};const Xc={entering:"in",entered:"in",exiting:"out",exited:"out","pre-exiting":"out","pre-entering":"out"};function Zc(e,t){let{getInitialValueInEffect:n}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{getInitialValueInEffect:!0};const[o,a]=(0,r.useState)(n?t:function(e,t){return"boolean"===typeof t?t:"undefined"!==typeof window&&"matchMedia"in window&&window.matchMedia(e).matches}(e,t)),i=(0,r.useRef)();return(0,r.useEffect)((()=>{if("matchMedia"in window)return i.current=window.matchMedia(e),a(i.current.matches),function(e,t){try{return e.addEventListener("change",t),()=>e.removeEventListener("change",t)}catch(n){return e.addListener(t),()=>e.removeListener(t)}}(i.current,(e=>a(e.matches)))}),[e]),o}function Qc(e,t){return Zc("(prefers-reduced-motion: reduce)",e,t)}function Jc(e){let{duration:t,exitDuration:n,timingFunction:o,mounted:a,onEnter:i,onExit:l,onEntered:s,onExited:c}=e;const u=Bt(),d=Qc(),f=!!u.respectReducedMotion&&d,[p,m]=(0,r.useState)(f?0:t),[h,g]=(0,r.useState)(a?"entered":"exited"),y=(0,r.useRef)(-1);return jc((()=>{(e=>{const r=e?i:l,o=e?s:c;g(e?"pre-entering":"pre-exiting"),window.clearTimeout(y.current);const a=f?0:e?t:n;if(m(a),0===a)"function"===typeof r&&r(),"function"===typeof o&&o(),g(e?"entered":"exited");else{const t=window.setTimeout((()=>{"function"===typeof r&&r(),g(e?"entering":"exiting")}),10);y.current=window.setTimeout((()=>{window.clearTimeout(t),"function"===typeof o&&o(),g(e?"entered":"exited")}),a)}})(a)}),[a]),(0,r.useEffect)((()=>()=>window.clearTimeout(y.current)),[]),{transitionDuration:p,transitionStatus:h,transitionTimingFunction:o||u.transitionTimingFunction}}function eu(e){let{keepMounted:t,transition:n,duration:o=250,exitDuration:a=o,mounted:i,children:l,timingFunction:s,onExit:c,onEntered:u,onEnter:d,onExited:f}=e;const{transitionDuration:p,transitionStatus:m,transitionTimingFunction:h}=Jc({mounted:i,exitDuration:a,duration:o,timingFunction:s,onExit:c,onEntered:u,onEnter:d,onExited:f});return 0===p?i?r.createElement(r.Fragment,null,l({})):t?l({display:"none"}):null:"exited"===m?t?l({display:"none"}):null:r.createElement(r.Fragment,null,l(function(e){let{transition:t,state:n,duration:r,timingFunction:o}=e;const a={transitionDuration:"".concat(r,"ms"),transitionTimingFunction:o};return"string"===typeof t?t in Wc?Yc(Yc(Yc({transitionProperty:Wc[t].transitionProperty},a),Wc[t].common),Wc[t][Xc[n]]):null:Yc(Yc(Yc({transitionProperty:t.transitionProperty},a),t.common),t[Xc[n]])}({transition:n,duration:p,state:m,timingFunction:h})))}eu.displayName="@mantine/core/Transition";var tu=Object.defineProperty,nu=Object.defineProperties,ru=Object.getOwnPropertyDescriptors,ou=Object.getOwnPropertySymbols,au=Object.prototype.hasOwnProperty,iu=Object.prototype.propertyIsEnumerable,lu=(e,t,n)=>t in e?tu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,su=(e,t)=>{for(var n in t||(t={}))au.call(t,n)&&lu(e,n,t[n]);if(ou)for(var n of ou(t))iu.call(t,n)&&lu(e,n,t[n]);return e},cu=(e,t)=>nu(e,ru(t));function uu(e,t,n,r){return"center"===e||"center"===r?{top:t}:"end"===e?{bottom:n}:"start"===e?{top:n}:{}}function du(e,t,n,r,o){return"center"===e||"center"===r?{left:t}:"end"===e?{["ltr"===o?"right":"left"]:n}:"start"===e?{["ltr"===o?"left":"right"]:n}:{}}const fu={bottom:"borderTopLeftRadius",left:"borderTopRightRadius",right:"borderBottomLeftRadius",top:"borderBottomRightRadius"};function pu(e){let{position:t,arrowSize:n,arrowOffset:r,arrowRadius:o,arrowPosition:a,arrowX:i,arrowY:s,dir:c}=e;const[u,d="center"]=t.split("-"),f={width:l(n),height:l(n),transform:"rotate(45deg)",position:"absolute",[fu[u]]:l(o)},p=l(-n/2);return"left"===u?cu(su(su({},f),uu(d,s,r,a)),{right:p,borderLeftColor:"transparent",borderBottomColor:"transparent"}):"right"===u?cu(su(su({},f),uu(d,s,r,a)),{left:p,borderRightColor:"transparent",borderTopColor:"transparent"}):"top"===u?cu(su(su({},f),du(d,i,r,a,c)),{bottom:p,borderTopColor:"transparent",borderLeftColor:"transparent"}):"bottom"===u?cu(su(su({},f),du(d,i,r,a,c)),{top:p,borderBottomColor:"transparent",borderRightColor:"transparent"}):{}}var mu=Object.defineProperty,hu=Object.defineProperties,gu=Object.getOwnPropertyDescriptors,yu=Object.getOwnPropertySymbols,vu=Object.prototype.hasOwnProperty,bu=Object.prototype.propertyIsEnumerable,wu=(e,t,n)=>t in e?mu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const xu=(0,r.forwardRef)(((e,t)=>{var n=e,{position:o,arrowSize:a,arrowOffset:i,arrowRadius:l,arrowPosition:s,visible:c,arrowX:u,arrowY:d}=n,f=((e,t)=>{var n={};for(var r in e)vu.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&yu)for(var r of yu(e))t.indexOf(r)<0&&bu.call(e,r)&&(n[r]=e[r]);return n})(n,["position","arrowSize","arrowOffset","arrowRadius","arrowPosition","visible","arrowX","arrowY"]);const p=Bt();return c?r.createElement("div",(m=((e,t)=>{for(var n in t||(t={}))vu.call(t,n)&&wu(e,n,t[n]);if(yu)for(var n of yu(t))bu.call(t,n)&&wu(e,n,t[n]);return e})({},f),h={ref:t,style:pu({position:o,arrowSize:a,arrowOffset:i,arrowRadius:l,arrowPosition:s,dir:p.dir,arrowX:u,arrowY:d})},hu(m,gu(h)))):null;var m,h}));xu.displayName="@mantine/core/FloatingArrow";var ku=Object.defineProperty,Su=Object.defineProperties,Ou=Object.getOwnPropertyDescriptors,Eu=Object.getOwnPropertySymbols,Cu=Object.prototype.hasOwnProperty,_u=Object.prototype.propertyIsEnumerable,Pu=(e,t,n)=>t in e?ku(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ju=(e,t)=>{for(var n in t||(t={}))Cu.call(t,n)&&Pu(e,n,t[n]);if(Eu)for(var n of Eu(t))_u.call(t,n)&&Pu(e,n,t[n]);return e},Tu=(e,t)=>Su(e,Ou(t));const Ru={position:"top",refProp:"ref",withinPortal:!1,inline:!1,arrowSize:4,arrowOffset:5,arrowRadius:0,arrowPosition:"side",offset:5,transitionProps:{duration:100,transition:"fade"},width:"auto",events:{hover:!0,focus:!1,touch:!1},zIndex:Fi("popover"),positionDependencies:[]},Nu=(0,r.forwardRef)(((e,t)=>{var n;const o=(0,r.useRef)(null),a=Ht("Tooltip",Ru,e),{children:i,position:l,refProp:s,label:c,openDelay:u,closeDelay:d,onPositionChange:f,opened:p,withinPortal:m,portalProps:h,radius:g,color:y,classNames:v,styles:b,unstyled:w,style:x,className:k,withArrow:S,arrowSize:O,arrowOffset:E,arrowRadius:C,arrowPosition:_,offset:P,transitionProps:j,multiline:T,width:R,events:N,zIndex:A,disabled:I,positionDependencies:D,onClick:L,onMouseEnter:z,onMouseLeave:F,inline:M,variant:B,keepMounted:U}=a,H=((e,t)=>{var n={};for(var r in e)Cu.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&Eu)for(var r of Eu(e))t.indexOf(r)<0&&_u.call(e,r)&&(n[r]=e[r]);return n})(a,["children","position","refProp","label","openDelay","closeDelay","onPositionChange","opened","withinPortal","portalProps","radius","color","classNames","styles","unstyled","style","className","withArrow","arrowSize","arrowOffset","arrowRadius","arrowPosition","offset","transitionProps","multiline","width","events","zIndex","disabled","positionDependencies","onClick","onMouseEnter","onMouseLeave","inline","variant","keepMounted"]),{classes:W,cx:$,theme:q}=Zs({radius:g,color:y,width:R,multiline:T},{name:"Tooltip",classNames:v,styles:b,unstyled:w,variant:B}),V=Rc({position:Nc(q.dir,l),closeDelay:d,openDelay:u,onPositionChange:f,opened:p,events:N,arrowRef:o,arrowOffset:E,offset:P+(S?O/2:0),positionDependencies:[...D,i],inline:M});if(!Ai(i))throw new Error(Qs);const G=Li(V.reference,i.ref,t);return r.createElement(r.Fragment,null,r.createElement(yc,Tu(ju({},h),{withinPortal:m}),r.createElement(eu,Tu(ju({keepMounted:U,mounted:!I&&V.opened},j),{transition:j.transition||"fade",duration:V.isGroupPhase?10:null!=(n=j.duration)?n:100}),(e=>{var t,n;return r.createElement(Mn,ju(ju({},H),V.getFloatingProps({ref:V.floating,className:W.tooltip,style:Tu(ju(ju({},x),e),{zIndex:A,top:null!=(t=V.y)?t:0,left:null!=(n=V.x)?n:0})})),c,r.createElement(xu,{ref:o,arrowX:V.arrowX,arrowY:V.arrowY,visible:S,position:V.placement,arrowSize:O,arrowOffset:E,arrowRadius:C,arrowPosition:_,className:W.arrow}))}))),(0,r.cloneElement)(i,V.getReferenceProps(ju({onClick:L,onMouseEnter:z,onMouseLeave:F,onMouseMove:e.onMouseMove,onPointerDown:e.onPointerDown,onPointerEnter:e.onPointerEnter,[s]:G,className:$(k,i.props.className)},i.props))))}));Nu.Group=Bs,Nu.Floating=Pc,Nu.displayName="@mantine/core/Tooltip";const Au=Nu,Iu={randomUUID:"undefined"!==typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let Du;const Lu=new Uint8Array(16);function zu(){if(!Du&&(Du="undefined"!==typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Du))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Du(Lu)}const Fu=[];for(let n=0;n<256;++n)Fu.push((n+256).toString(16).slice(1));function Mu(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Fu[e[t+0]]+Fu[e[t+1]]+Fu[e[t+2]]+Fu[e[t+3]]+"-"+Fu[e[t+4]]+Fu[e[t+5]]+"-"+Fu[e[t+6]]+Fu[e[t+7]]+"-"+Fu[e[t+8]]+Fu[e[t+9]]+"-"+Fu[e[t+10]]+Fu[e[t+11]]+Fu[e[t+12]]+Fu[e[t+13]]+Fu[e[t+14]]+Fu[e[t+15]]}const Bu=function(e,t,n){if(Iu.randomUUID&&!t&&!e)return Iu.randomUUID();const r=(e=e||{}).random||(e.rng||zu)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(let e=0;e<16;++e)t[n+e]=r[e];return t}return Mu(r)};var Uu=n(763);function Hu(e){const t={...e,_ui:void 0};return delete t._ui,t}function Wu(e){const t={...e,prompts:e.prompts.map(Hu),_ui:void 0};return delete t._ui,t}function $u(e){return{...e,prompts:e.prompts.map((e=>({...e,_ui:{id:(0,Uu.uniqueId)()}}))),_ui:{isDirty:!1}}}const qu={input:{type:"string"},model_settings:{type:"object",properties:{model:{type:"string"},system_prompt:{type:"string"},frequency_penalty:{type:"number",minimum:-2,maximum:2,description:"Number between -2.0 and 2.0. \n Positive values penalize new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim."},function_call:{type:"union",types:[{type:"string",enum:["none","auto"]},{type:"object",required:["name"],properties:{name:{type:"string"}}}],description:'Controls which (if any) function is called by the model. none means the model will not call a function and instead generates a message. \n auto means the model can pick between generating a message or calling a function. \n Specifying a particular function via {"name": "my_function"} forces the model to call that function.\n none is the default when no functions are present. auto is the default if functions are present.'},functions:{type:"array",items:{type:"object",required:["name","parameters"],properties:{name:{type:"string"},parameters:{type:"object"},description:{type:"string"}}},description:"A list of functions the model may generate JSON inputs for."},logit_bias:{type:"map",keys:{type:"string"},items:{type:"integer",minimum:-100,maximum:100},description:'Modify the likelihood of specified tokens appearing in the completion.\n Accepts a JSON object that maps tokens (specified by their token ID in the GPT tokenizer) to an associated bias value from -100 to 100. \n You can use this tokenizer tool (which works for both GPT-2 and GPT-3) to convert text to token IDs. \n Mathematically, the bias is added to the logits generated by the model prior to sampling. \n The exact effect will vary per model, but values between -1 and 1 should decrease or increase likelihood of selection; \n values like -100 or 100 should result in a ban or exclusive selection of the relevant token.\n As an example, you can pass {"50256": -100} to prevent the <|endoftext|> token from being generated.'},max_tokens:{type:"integer",description:"The maximum number of tokens that can be generated in the completion.\n The token count of your prompt plus max_tokens cannot exceed the model's context length."},n:{type:"integer",description:"How many completions to generate for each prompt.\n Note: Because this parameter generates many completions, it can quickly consume your token quota. \n Use carefully and ensure that you have reasonable settings for max_tokens and stop."},presence_penalty:{type:"number",minimum:-2,maximum:2,description:"Number between -2.0 and 2.0. Positive values penalize new tokens based on whether they appear in the text so far, \n increasing the model's likelihood to talk about new topics."},stop:{type:"array",items:{type:"string"},description:"Up to 4 sequences where the API will stop generating further tokens. The returned text will not contain the stop sequence."},stream:{type:"boolean",default:!0,description:"Whether to stream back partial progress. \n If set, tokens will be sent as data-only server-sent events as they become available, with the stream terminated by a data: [DONE] message. Example Python code."},temperature:{type:"number",minimum:0,maximum:2,description:"What sampling temperature to use, between 0 and 2. \n Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.\n We generally recommend altering this or top_p but not both."},top_p:{type:"number",minimum:0,maximum:1,description:"An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass. \n So 0.1 means only the tokens comprising the top 10% probability mass are considered.\n We generally recommend altering this or temperature but not both."},user:{type:"string",description:"A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse"}}},prompt_metadata:{type:"object",properties:{remember_chat_context:{type:"boolean",default:!0,description:"If true, the context from previous prompts for this model will be included in the context for this prompt"}}}},Vu={...qu,input:{type:"object",required:["data"],properties:{data:{type:"string"},attachments:{type:"array",items:{type:"attachment",required:["data"],mime_types:["image/png"],properties:{data:{type:"string"}}}}}}},Gu={input:{type:"string"},model_settings:{type:"object",properties:{response_format:{type:"string",enum:["url","b64_json"],description:"The format in which the generated images are returned."},user:{type:"string",description:"A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse."}}}},Ku={...Gu,model_settings:{type:"object",properties:{model:{type:"string"},n:{type:"integer",minimum:1,maximum:10,description:"Number of images to generate"},size:{type:"string",enum:["256x256","512x512","1024x1024"],description:"The size of the generated images."},...Gu.model_settings.properties}}},Yu={...Gu,model_settings:{type:"object",properties:{model:{type:"string"},quality:{type:"string",enum:["standard","hd"],description:"The quality of the image that will be generated. \n 'hd' creates images with finer details and greater consistency across the image"},size:{type:"string",enum:["1024x1024","1792x1024","1024x1792"],description:"The size of the generated images."},style:{type:"string",enum:["vivid","natural"],description:"The style of the generated images. Must be one of vivid or natural. \n Vivid causes the model to lean towards generating hyper-real and dramatic images. \n Natural causes the model to produce more natural, less hyper-real looking images."},...Gu.model_settings.properties}}},Xu={input:{type:"object",required:["attachments"],properties:{attachments:{type:"array",items:{type:"attachment",required:["data"],mime_types:["audio/mpeg","audio/wav","audio/webm","audio/flac","audio/ogg","audio/ogg"],properties:{data:{type:"string"}}},max_items:1}}},model_settings:{type:"object",properties:{model:{type:"string",description:"Hugging Face model to use"},chunk_length_s:{type:"number",description:"The input length for each chunk. If chunk_length_s = 0 then chunking is disabled (default)."},stride_length_s:{type:"number",description:"The length of stride on the left and right of each chunk.\n Used only with chunk_length_s > 0. This enables the model to see more context and \n infer letters better than without this context but the pipeline discards the stride \n bits at the end to make the final reconstitution as perfect as possible.\n Defaults to defaults to chunk_length_s / 6"},device:{type:"string",enum:["cuda","mps","cpu"],description:"The device to load the pipeline to. Mps backend not supported for all models."},framework:{type:"string",enum:["pt","tf"],description:'The framework to use, either "pt" for PyTorch or "tf" for TensorFlow. \n The specified framework must be installed. If no framework is specified, will \n default to the one currently installed. If no framework is specified and both \n frameworks are installed, will default to the framework of the model, or to PyTorch if \n no model is provided.'},tokenizer:{type:"string"},return_timestamps:{type:"string",enum:["word","char","True",""],description:"Only available for pure CTC models (Wav2Vec2, HuBERT, etc) and the Whisper model. Not available for other sequence-to-sequence models."},max_new_tokens:{type:"integer",description:"The maximum numbers of tokens to generate, ignoring the number of tokens in the prompt"}}}},Zu={input:{type:"object",required:["attachments"],properties:{attachments:{type:"array",items:{type:"attachment",required:["data"],mime_types:["audio/mpeg","audio/wav","audio/webm","audio/flac","audio/ogg","audio/ogg"],properties:{data:{type:"string"}}},max_items:1}}},model_settings:{type:"object",properties:{model:{type:"string",description:"Hugging Face model to use. Can be a model ID hosted on the Hugging Face Hub or a URL to a deployed Inference Endpoint",default:"openai/whisper-large-v2"}}}},Qu={input:{type:"object",required:["data"],properties:{attachments:{type:"array",items:{type:"attachment",required:["data"],mime_types:["image/png"],properties:{data:{type:"string"}}},max_items:1}}},model_settings:{type:"object",properties:{model:{type:"string",description:"Hugging Face model to use"},max_new_tokens:{type:"integer",description:"The amount of maximum tokens to generate. \n By default it will use `generate` default."},timeout:{type:"number",description:"The maximum time in seconds to wait for fetching images \n from the web. If None, no timeout is set and the call may block forever."}}}},Ju={input:{type:"string"},model_settings:{type:"object",properties:{model:{type:"string",description:"Hugging Face model to use"},height:{type:"integer",description:"The height in pixels of the generated image."},width:{type:"integer",description:"The width in pixels of the generated image."},num_inference_steps:{type:"integer",description:"The number of denoising steps. More denoising steps usually lead to a higher \n quality image at the expense of slower inference."},guidance_scale:{type:"number",description:"A higher guidance scale value encourages the model to generate images closely linked \n to the text prompt at the expense of lower image quality. Guidance scale is enabled when guidance_scale > 1."},negative_prompt:{type:"union",types:[{type:"string"},{type:"array",items:{type:"string"}}]},num_images_per_prompt:{type:"integer",description:"The number of images to generate per prompt."},eta:{type:"number",description:"Corresponds to parameter eta (\u03b7) from the DDIM paper. \n Only applies to the DDIMScheduler, and is ignored in other schedulers."},output_type:{type:"string",enum:["pil","array"],description:"The output format of the generated image. Choose between PIL.Image or np.array."},return_dict:{type:"boolean",description:"Whether or not to return a StableDiffusionPipelineOutput instead of a plain tuple."},cross_attention_kwargs:{type:"map",keys:{type:"string"},items:{type:"string"},description:"A kwargs dictionary that if specified is passed along to the AttentionProcessor as defined in self.processor."},guidance_rescale:{type:"number",description:"Guidance rescale factor from Common Diffusion Noise Schedules and Sample Steps are Flawed.\n Guidance rescale factor should fix overexposure when using zero terminal SNR."},clip_skip:{type:"integer",description:"Number of layers to be skipped from CLIP while computing the prompt embeddings. \n A value of 1 means that the output of the pre-final layer will be used for computing the prompt embeddings."},requires_safety_checker:{type:"boolean",description:"Whether or not the model requires a safety checker to be used."},callback_steps:{type:"integer",description:"The frequency at which the callback function will be called. \n If not specified, the callback will be called at every step."}}}},ed={input:{type:"string"},model_settings:{type:"object",properties:{model:{type:"string",description:"Hugging Face model to use. Can be a model ID hosted on the Hugging Face Hub or a URL \n to a deployed Inference Endpoint",default:"CompVis/stable-diffusion-v1-4"},negative_prompt:{type:"string",description:"Describe content that should be avoided in the generated image."},height:{type:"number",description:"The height in pixels of the image to generate."},width:{type:"number",description:"The width in pixels of the image to generate."},num_inference_steps:{type:"integer",description:"The number of denoising steps. More denoising steps usually lead to a \n higher quality image at the expense of slower inference."},guidance_scale:{type:"number",description:"Higher guidance scale encourages to generate images that are closely linked to the text 'prompt',\n usually at the expense of lower image quality."}}}},td={input:{type:"string"},model_settings:{type:"object",properties:{model:{type:"string",description:"Hugging Face model to use. Can be a model ID hosted on the Hugging Face Hub or a URL \n to a deployed Inference Endpoint",default:"facebook/fastspeech2-en-ljspeech"}}}},nd={input:{type:"string"},model_settings:{type:"object",properties:{model:{type:"string",description:"Hugging Face model to use"},torch_dtype:{type:"string",description:'Override the default torch.dtype and load the model under this dtype. \n If "auto" is passed the dtype will be automatically derived from the model\u2019s weights.'},force_download:{type:"boolean",description:"Whether or not to force the (re-)download of the model weights and configuration files, \n overriding the cached versions if they exist."},cache_dir:{type:"string",description:" Path to a directory in which a downloaded pretrained model configuration should be cached \n if the standard cache should not be used."},resume_download:{type:"boolean",description:"Whether or not to delete incompletely received files. \n Will attempt to resume the download if such a file exists."},proxies:{type:"map",keys:{type:"string"},items:{type:"string"},description:"A dictionary of proxy servers to use by protocol or endpoint, \n e.g., {'http': 'foo.bar:3128', 'http://hostname': 'foo.bar:4012'}. \n The proxies are used on each request."},output_loading_info:{type:"boolean",description:"Whether ot not to also return a dictionary containing missing keys, unexpected keys and error messages."},local_files_only:{type:"boolean",description:"Whether or not to only look at local files (i.e., do not try to download the model)."},use_auth_token:{type:"boolean",description:"The token to use as HTTP bearer authorization for remote files. \n If True, will use the token generated when running transformers-cli login (stored in huggingface)."},revision:{type:"string",description:"The specific model version to use. It can be a branch name, a tag name, or a commit id,\n since we use a git-based system for storing models and other artifacts on huggingface.co, so revision \n can be any identifier allowed by git."},mirror:{type:"string",description:"Mirror source to accelerate downloads in China. If you are from China and have an accessibility \n problem, you can set this option to resolve it. Note that we do not guarantee the timeliness or safety. \n Please refer to the mirror site for more information."},low_cpu_mem_usage:{type:"boolean",description:"Tries to not use more than 1x model size in CPU memory (including peak memory) while loading \n the model. This is an experimental feature and a subject to change at any moment."},max_memory:{type:"map",keys:{type:"string"},items:{type:"number"},description:"A dictionary device identifier to maximum memory. Will default to the maximum memory available for each\n GPU and the available CPU RAM if unset."},offload_folder:{type:"string",description:"If the 'device_map' contains any value \"disk\", the folder where we will offload weights."},offload_state_dict:{type:"boolean",description:"If True, will temporarily offload the CPU state dict to the hard drive to avoid getting out of CPU\n RAM if the weight of the CPU state dict + the biggest shard of the checkpoint does not fit. Defaults to\n True when there is some disk offload."},use_safetensors:{type:"boolean",description:"Whether or not to use safetensors checkpoints. Defaults to None. If not specified and safetensors\n is not installed, it will be set to False."},variant:{type:"string",description:"If specified load weights from 'variant' filename, *e.g.* pytorch_model..bin. 'variant' is\n ignored when using 'from_tf' or 'from_flax'"}}}},rd={input:{type:"string"},model_settings:{type:"object",properties:{model:{type:"string",description:"Hugging Face model to use"},max_length:{type:"integer",description:"The maximum length the generated tokens can have. Corresponds to the length\n of the input prompt + max_new_tokens. Its effect is overridden by max_new_tokens, if also set."},max_new_tokens:{type:"integer",description:"The maximum numbers of tokens to generate, ignoring the number of tokens in the prompt."},min_length:{type:"integer",description:"The minimum length of the sequence to be generated.\n Corresponds to the length of the input prompt + min_new_tokens. \n Its effect is overridden by min_new_tokens, if also set."},min_new_tokens:{type:"integer",description:"The minimum numbers of tokens to generate, ignoring the number of tokens in the prompt."},early_stopping:{type:"union",types:[{type:"boolean"},{type:"string",enum:["never"]}],description:'Controls the stopping condition for beam-based methods, like beam-search. \n It accepts the following values: True, where the generation stops as soon as there are num_beams \n complete candidates; False, where an heuristic is applied and the generation stops when is it \n very unlikely to find better candidates; "never", where the beam search procedure only stops when \n there cannot be better candidates (canonical beam search algorithm).'},max_time:{type:"number",description:"The maximum amount of time you allow the computation to run for in seconds. \n Generation will still finish the current pass after allocated time has been passed."},do_sample:{type:"boolean",description:"Whether or not to use sampling ; use greedy decoding otherwise."},num_beams:{type:"integer",description:"Number of beams for beam search. 1 means no beam search."},num_beam_groups:{type:"integer",description:"Number of groups to divide num_beams into in order to ensure diversity among different groups of beams."},penality_alpha:{type:"number",description:"The values balance the model confidence and the degeneration penalty in contrastive search decoding."},use_cache:{type:"boolean",description:"Whether or not the model should use the past last key/values attentions (if applicable to the model) to speed up decoding."},temperature:{type:"number",description:"The value used to modulate the next token probabilities."},top_k:{type:"integer",description:"The number of highest probability vocabulary tokens to keep for top-k-filtering."},top_p:{type:"number",description:"If set to float < 1, only the most probable tokens with probabilities that add up to top_p or higher are kept for generation."},typical_p:{type:"number",description:"Local typicality measures how similar the conditional probability of predicting a target token next is to \n the expected conditional probability of predicting a random token next, given the partial text already generated. \n If set to float < 1, the smallest set of the most locally typical tokens with probabilities that add up to typical_p \n or higher are kept for generation."},epsilon_cutoff:{type:"number",description:" If set to float strictly between 0 and 1, only tokens with a conditional probability greater than \n epsilon_cutoff will be sampled. In the paper, suggested values range from 3e-4 to 9e-4, depending on the size of the model.\n See Truncation Sampling as Language Model Desmoothing for more details."},eta_cutoff:{type:"number",description:"Eta sampling is a hybrid of locally typical sampling and epsilon sampling. If set to float strictly between 0 \n and 1, a token is only considered if it is greater than either \n eta_cutoff or sqrt(eta_cutoff) * exp(-entropy(softmax(next_token_logits))). The latter term is intuitively the expected \n next token probability, scaled by sqrt(eta_cutoff). In the paper, suggested values range from 3e-4 to 2e-3, depending \n on the size of the model. See Truncation Sampling as Language Model Desmoothing for more details."},diveristy_penalty:{type:"number",description:"This value is subtracted from a beam\u2019s score if it generates a token same as any beam from other group at a \n particular time. Note that diversity_penalty is only effective if group beam search is enabled."},repetition_penalty:{type:"number",description:"The parameter for repetition penalty. 1.0 means no penalty."},encoder_repetition_penalty:{type:"number",description:"The paramater for encoder_repetition_penalty. An exponential penalty on sequences that are not in the \n original input. 1.0 means no penalty."},length_penalty:{type:"number",description:"Exponential penalty to the length that is used with beam-based generation. It is applied as an exponent \n to the sequence length, which in turn is used to divide the score of the sequence. Since the score is the log likelihood \n of the sequence (i.e. negative), length_penalty > 0.0 promotes longer sequences, while length_penalty < 0.0 encourages \n shorter sequences."},no_repeat_ngram_size:{type:"integer",description:"If set to int > 0, all ngrams of that size can only occur once."},bad_words_ids:{type:"array",items:{type:"array",items:{type:"integer"}},description:"List of list of token ids that are not allowed to be generated. \n Check NoBadWordsLogitsProcessor for further documentation and examples."},force_words_ids:{type:"union",types:[{type:"array",items:{type:"array",items:{type:"integer"}}},{type:"array",items:{type:"array",items:{type:"array",items:{type:"integer"}}}}],description:"List of token ids that must be generated. If given a List[List[int]], this is treated as a simple \n list of words that must be included, the opposite to bad_words_ids. If given List[List[List[int]]], \n this triggers a disjunctive constraint, where one can allow different forms of each word."},renormalize_logits:{type:"boolean",description:"Whether to renormalize the logits after applying all the logits processors or warpers \n (including the custom ones). It\u2019s highly recommended to set this flag to True as the search algorithms suppose the \n score logits are normalized but some logit processors or warpers break the normalization."},forced_bos_token_id:{type:"integer",description:"The id of the token to force as the first generated token after the decoder_start_token_id. \n Useful for multilingual models like mBART where the first generated token needs to be the target language token."},forced_eos_token_id:{type:"union",types:[{type:"integer"},{type:"array",items:{type:"integer"}}],description:"The id of the token to force as the last generated token when max_length is reached. Optionally, use a list \n to set multiple end-of-sequence tokens."},remove_invalid_values:{type:"boolean",description:"Whether to remove possible nan and inf outputs of the model to prevent the generation method to crash. \n Note that using remove_invalid_values can slow down generation."},suppress_tokens:{type:"array",items:{type:"integer"},description:"A list of tokens that will be suppressed at generation. The SupressTokens logit processor will set their \n log probs to -inf so that they are not sampled."},begin_suppress_tokens:{type:"array",items:{type:"integer"},description:"A list of tokens that will be suppressed at the beginning of the generation. The SupressBeginTokens logit \n processor will set their log probs to -inf so that they are not sampled."},forced_decover_ids:{type:"array",items:{type:"array",items:{type:"integer"}},description:"A list of pairs of integers which indicates a mapping from generation indices to token indices that will be \n forced before sampling. For example, [[1, 123]] means the second generated token will always be a token of index 123."},guidance_scale:{type:"number",description:"The guidance scale for classifier free guidance (CFG). CFG is enabled by setting guidance_scale > 1. \n Higher guidance scale encourages the model to generate samples that are more closely linked to the input prompt, usually \n at the expense of poorer quality."},low_memory:{type:"boolean",description:"Switch to sequential topk for contrastive search to reduce peak memory. Used with contrastive search."},num_return_sequences:{type:"integer",description:"The number of independently computed returned sequences for each element in the batch."},output_attentions:{type:"boolean",description:"Whether or not to return the attentions tensors of all attention layers. See attentions under \n returned tensors for more details."},output_hidden_states:{type:"boolean",description:"Whether or not to return the hidden states of all layers. See hidden_states under returned tensors for \n more details."},output_scores:{type:"boolean",description:"Whether or not to return the prediction scores. See scores under returned tensors for more details."},return_dict_in_generate:{type:"boolean",description:"Whether or not to return a ModelOutput instead of a plain tuple."},pad_token_id:{type:"integer",description:"The id of the padding token."},bos_token_id:{type:"integer",description:"The id of the beginning-of-sequence token."},eos_token_id:{type:"union",types:[{type:"integer"},{type:"array",items:{type:"integer"}}],description:"The id of the end-of-sequence token. Optionally, use a list to set multiple end-of-sequence tokens.\n "},encoder_no_repeat_ngram_size:{type:"integer",description:"If set to int > 0, all ngrams of that size that occur in the encoder_input_ids cannot occur \n in the decoder_input_ids."},decoder_start_token_id:{type:"integer",description:"If an encoder-decoder model starts decoding with a different token than bos, the id of that token."},num_assistant_tokens:{type:"integer",description:"Defines the number of speculative tokens that shall be generated by the assistant model before being checked \n by the target model at each iteration. Higher values for num_assistant_tokens make the generation more speculative : \n If the assistant model is performant larger speed-ups can be reached, if the assistant model requires lots of corrections, \n lower speed-ups are reached."},num_assistant_tokens_schedule:{type:"string",description:"Defines the schedule at which max assistant tokens shall be changed during inference."}}}},od={...rd},ad={input:{type:"string"},model_settings:{type:"object",properties:{model:{type:"string",description:"Hugging Face model to use. Can be a model ID hosted on the Hugging Face Hub or a URL \n to a deployed Inference Endpoint",default:"HuggingFaceH4/zephyr-7b-beta"},temperature:{type:"number",minimum:0,maximum:100,description:"The temperature of the sampling operation. \n 1 means regular sampling, 0 means always take the highest score, \n 100.0 is getting closer to uniform probability."},top_k:{type:"integer",description:"Integer to define the top tokens considered within the sample operation to create new text."},top_p:{type:"number",minimum:0,maximum:1,description:"Float to define the tokens that are within the sample operation of text generation. \n Add tokens in the sample for more probable to least probable until the sum of the probabilities \n is greater than top_p."},details:{type:"boolean"},stream:{type:"boolean",default:!0},do_sample:{type:"boolean",description:"Whether or not to use sampling, use greedy decoding otherwise."},max_new_tokens:{type:"integer",default:400,description:"The amount of new tokens to be generated, this does not include the input length \n it is a estimate of the size of generated text you want. Each new tokens slows down the request, \n so look for balance between response times and length of text generated."},best_of:{type:"integer"},repetition_penalty:{type:"number",minimum:0,maximum:100,description:"The more a token is used within generation the more it is penalized to not be picked\n in successive generation passes."},return_full_text:{type:"boolean",description:"If set to False, the return results will not contain the original query making it easier for prompting."},seed:{type:"integer"},stop_sequences:{type:"array",items:{type:"string"}},truncate:{type:"integer"},typical_p:{type:"number"},watermark:{type:"boolean"}}}},id={input:{type:"string"},model_settings:{type:"object",properties:{model:{type:"string",description:"Hugging Face model to use. Can be a model ID hosted on the Hugging Face Hub or a URL \n to a deployed Inference Endpoint",default:"facebook/bart-large-cnn"},min_length:{type:"integer",description:"Integer to define the minimum length in tokens of the output summary."},max_length:{type:"integer",description:"Integer to define the maximum length in tokens of the output summary."},top_k:{type:"integer",description:"Integer to define the top tokens considered within the sample operation to create new text."},top_p:{type:"number",description:"Float to define the tokens that are within the sample operation of text generation. \n Add tokens in the sample for more probable to least probable until the sum of the probabilities is greater than top_p."},temperature:{type:"number",minimum:0,maximum:100,description:"The temperature of the sampling operation. 1 means regular sampling, 0 means always take the highest score, \n 100.0 is getting closer to uniform probability."},repetition_penalty:{type:"number",minimum:0,maximum:100,description:"The more a token is used within generation the more it is penalized to not be picked in successive generation passes."},max_time:{type:"number",minimum:0,maximum:120,description:"The amount of time in seconds that the query should take maximum. \n Network can cause some overhead so it will be a soft limit."},use_cache:{type:"boolean",description:"There is a cache layer on the inference API to speedup requests we have already seen. \n Most models can use those results as is as models are deterministic (meaning the results will be the same anyway). \n However if you use a non deterministic model, you can set this parameter to prevent the caching mechanism from being used \n resulting in a real new query."},wait_for_model:{type:"boolean",description:"If the model is not ready, wait for it instead of receiving 503. \n It limits the number of requests required to get your inference done. \n It is advised to only set this flag to true after receiving a 503 error as it will limit hanging in your application to known places."}}}},ld={input:{type:"string"},model_settings:{type:"object",properties:{model:{type:"string",description:"Hugging Face model to use. Can be a model ID hosted on the Hugging Face Hub or a URL \n to a deployed Inference Endpoint",default:"facebook/mbart-large-50-many-to-many-mmt"},src_lang:{type:"string",description:"The source language of the text to translate, if the model supports multiple languages. \n Must be in locale format supported by the model (e.g. en_XX, fr_XX, etc.)"},tgt_lang:{type:"string",description:"The target language of the translation, if the model supports multiple languages. \n Must be in locale format supported by the model (e.g. en_XX, fr_XX, etc.)"}}}},sd={input:{type:"object",required:["data"],properties:{attachments:{type:"array",items:{type:"attachment",required:["data"],mime_types:["image/*"],properties:{data:{type:"string"}}},max_items:1}}},model_settings:{type:"object",properties:{model:{type:"string",description:"Hugging Face model to use. Can be a model ID hosted on the Hugging Face Hub or a URL \n to a deployed Inference Endpoint",default:"Salesforce/blip-image-captioning-base"}}}},cd={input:{type:"string"},model_settings:{type:"object",properties:{model:{type:"string",description:"Hugging Face model to use. Can be a model ID hosted on the Hugging Face Hub or a URL \n to a deployed Inference Endpoint",default:"facebook/blenderbot-400M-distill"},parameters:{type:"object",description:"Additional parameters for the conversational task.",properties:{min_length:{type:"integer",description:"Integer to define the minimum length in tokens of the output summary.."},max_length:{type:"integer",description:"Integer to define the maximum length in tokens of the output summary."},top_k:{type:"integer",description:"Integer to define the top tokens considered within the sample operation to create new text."},top_p:{type:"number",description:"Float to define the tokens that are within the sample operation of text generation. Add tokens in the sample for more probable to least probable until the sum of the probabilities is greater than top_p."},temperature:{type:"number",description:"The temperature of the sampling operation. 1 means regular sampling, 0 means always take the highest score, 100.0 is getting closer to uniform probability.",minimum:0,maximum:100},repetition_penalty:{type:"number",description:"The more a token is used within generation the more it is penalized to not be picked in successive generation passes.",minimum:0,maximum:100},max_time:{type:"number",description:"The amount of time in seconds that the query should take maximum. Network can cause some overhead so it will be a soft limit.",minimum:0,maximum:120}}}}}};function ud(e,t){var n;const r=null===(n=e.metadata)||void 0===n?void 0:n.model;return r?"string"===typeof r?r:r.name:t}const dd={"gpt-4":qu,"gpt-4-0314":qu,"gpt-4-0613":qu,"gpt-4-32k":qu,"gpt-4-32k-0314":qu,"gpt-4-32k-0613":qu,"gpt-3.5-turbo":qu,"gpt-3.5-turbo-16k":qu,"gpt-3.5-turbo-0301":qu,"gpt-3.5-turbo-0613":qu,"gpt-3.5-turbo-16k-0613":qu,"gpt-4-vision-preview":Vu,"dall-e-2":Ku,"dall-e-3":Yu,ClaudeBedrockModelParser:{input:{type:"string"},model_settings:{type:"object",properties:{model:{type:"string"},max_tokens_to_sample:{type:"integer",description:"The maximum number of tokens to generate before stopping.\n Positive values penalize new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim."},stop_sequences:{type:"array",items:{type:"string"},description:"Sequences that will cause the model to stop generating."},stream:{type:"boolean",default:!0,description:"If true, send messages token by token. If false, messages send in bulk."},temperature:{type:"number",minimum:0,maximum:1,description:"Amount of randomness injected into the response."},top_p:{type:"number",minimum:0,maximum:1,description:"In nucleus sampling, we compute the cumulative distribution over all the options for each subsequent token in decreasing probability order and cut it off once it reaches a particular probability specified by top_p. \n You should either alter temperature or top_p, but not both."},top_k:{type:"number",description:'Only sample from the top K options for each subsequent token.\n Used to remove "long tail" low probability responses.'},metadata:{type:"object",properties:{user_id:{type:"string"}},description:"An object describing metadata about the request. (Claude specific)"}},required:["model","max_tokens_to_sample","stop_sequences"]}},HuggingFaceImage2TextRemoteInference:sd,HuggingFaceConversationalRemoteInference:cd,HuggingFaceAutomaticSpeechRecognitionRemoteInference:Zu,HuggingFaceText2ImageRemoteInference:ed,HuggingFaceText2SpeechRemoteInference:td,HuggingFaceTextGenerationRemoteInference:ad,HuggingFaceTextSummarizationRemoteInference:id,HuggingFaceTextTranslationRemoteInference:ld,"models/text-bison-001":{input:{type:"string"},model_settings:{type:"object",properties:{model:{type:"string"},candidate_count:{type:"integer",minimum:1,maximum:4,description:"The number of response variations to return."},temperature:{type:"number",minimum:0,maximum:1,description:"The temperature is used for sampling during response generation, \n which occurs when topP and topK are applied. Temperature controls the degree of \n randomness in token selection. Lower temperatures are good for prompts that require \n a less open-ended or creative response, while higher temperatures can lead to more \n diverse or creative results. A temperature of 0 means that the highest probability \n tokens are always selected. In this case, responses for a given prompt are mostly \n deterministic, but a small amount of variation is still possible.\n If the model returns a response that's too generic, too short, or the model gives a \n fallback response, try increasing the temperature."},top_p:{type:"number",minimum:0,maximum:1,description:"Top-P changes how the model selects tokens for output. Tokens are selected \n from the most (see top-K) to least probable until the sum of their probabilities equals \n the top-P value. For example, if tokens A, B, and C have a probability of 0.3, 0.2, and 0.1 \n and the top-P value is 0.5, then the model will select either A or B as the next token by \n using temperature and excludes C as a candidate.\n Specify a lower value for less random responses and a higher value for more random responses."},top_k:{type:"integer",minimum:1,maximum:40,description:"Top-K changes how the model selects tokens for output. A top-K of 1 means the \n next selected token is the most probable among all tokens in the model's vocabulary \n (also called greedy decoding), while a top-K of 3 means that the next token is selected \n from among the three most probable tokens by using temperature.\n For each token selection step, the top-K tokens with the highest probabilities are sampled. \n Then tokens are further filtered based on top-P with the final token selected using temperature sampling.\n \n Specify a lower value for less random responses and a higher value for more random responses."}}}},"models/chat-bison-001":{input:{type:"string"},model_settings:{type:"object",properties:{model:{type:"string"},context:{type:"string",description:"Context shapes how the model responds throughout the conversation. \n For example, you can use context to specify words the model can or cannot use, \n topics to focus on or avoid, or the response format or style."},candidate_count:{type:"integer",minimum:1,maximum:4,description:"The number of response variations to return."},temperature:{type:"number",minimum:0,maximum:1,description:"The temperature is used for sampling during response generation, \n which occurs when topP and topK are applied. Temperature controls the degree of \n randomness in token selection. Lower temperatures are good for prompts that require \n a less open-ended or creative response, while higher temperatures can lead to more \n diverse or creative results. A temperature of 0 means that the highest probability \n tokens are always selected. In this case, responses for a given prompt are mostly \n deterministic, but a small amount of variation is still possible.\n If the model returns a response that's too generic, too short, or the model gives \n a fallback response, try increasing the temperature."},top_p:{type:"number",minimum:0,maximum:1,description:"Top-P changes how the model selects tokens for output. Tokens are selected from \n the most (see top-K) to least probable until the sum of their probabilities equals the top-P value. \n For example, if tokens A, B, and C have a probability of 0.3, 0.2, and 0.1 and the top-P value is 0.5, \n then the model will select either A or B as the next token by using temperature and excludes C as a candidate.\n Specify a lower value for less random responses and a higher value for more random responses."},top_k:{type:"integer",minimum:1,maximum:40,description:"Top-K changes how the model selects tokens for output. A top-K of 1 means the next \n selected token is the most probable among all tokens in the model's vocabulary (also called greedy decoding), \n while a top-K of 3 means that the next token is selected from among the three most probable tokens \n by using temperature.\n For each token selection step, the top-K tokens with the highest probabilities are sampled. \n Then tokens are further filtered based on top-P with the final token selected using temperature sampling.\n Specify a lower value for less random responses and a higher value for more random responses."},examples:{type:"array",items:{type:"object",required:["input","output"],properties:{input:{type:"string"},output:{type:"string"}}},description:"Examples for the model to learn how to respond to the conversation."}}},prompt_metadata:{type:"object",properties:{remember_chat_context:{type:"boolean",default:!0,description:"If true, the context from previous prompts for this model will be included in the context for this prompt"}}}},"gemini-pro":{input:{type:"string"},model_settings:{type:"object",properties:{generation_config:{type:"object",properties:{candidate_count:{},temperature:{type:"number",description:"Controls the randomness of the output.",minimum:0,maximum:1},top_p:{type:"number",description:"The maximum cumulative probability of tokens to consider when sampling."},top_k:{type:"integer",description:"The maximum number of tokens to consider when sampling."},stop_sequences:{type:"array",description:"The set of character sequences (up to 5) that will stop output generation",items:{type:"string"}}}}}},prompt_metadata:{type:"object",properties:{remember_chat_context:{type:"boolean"},stream:{type:"boolean"}}}},AnyscaleEndpoint:{input:{type:"string"},model_settings:{type:"object",properties:{model:{type:"string"},frequency_penalty:{type:"number",minimum:-2,maximum:2,description:"Number between -2.0 and 2.0. \n Positive values penalize new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim."},max_tokens:{type:"integer",description:"The maximum number of tokens to generate in the chat completion."},presence_penalty:{type:"number",minimum:-2,maximum:2,description:"Number between -2.0 and 2.0. Positive values penalize new tokens based on whether they appear in the text so far, \n increasing the model's likelihood to talk about new topics."},stop:{type:"array",items:{type:"string"},description:"Up to 4 sequences where the API will stop generating further tokens. The returned text will not contain the stop sequence."},stream:{type:"boolean",default:!0,description:"If true, send messages token by token. If false, messages send in bulk."},temperature:{type:"number",minimum:0,maximum:2,description:"A number between 0 and 2. Higher values correspond to more random responses and lower values being more deterministic."},top_p:{type:"number",minimum:0,maximum:1,description:"The percentage of tokens with top_p probability mass to consider. \n For example, 0.1 means only tokens comprising the top 10% probability mass become candidates."}}},prompt_metadata:{type:"object",properties:{remember_chat_context:{type:"boolean",default:!0,description:"If true, the context from previous prompts for this model will be included in the context for this prompt"}}}},HuggingFaceAutomaticSpeechRecognitionTransformer:Xu,HuggingFaceImage2TextTransformer:Qu,HuggingFaceText2ImageDiffusor:Ju,Text2Image:Ju,HuggingFaceText2SpeechTransformer:nd,Text2Speech:nd,HuggingFaceTextGenerationTransformer:rd,TextGeneration:rd,HuggingFaceTextSummarizationTransformer:od,HuggingFaceTextTranslationTransformer:rd,"Automatic Speech Recognition":Zu,"Image-to-Text":sd,"Text-to-Image":ed,"Text-to-Speech":td,"Text Generation":ad,Summarization:id,Translation:ld,Conversational:cd,"Automatic Speech Recognition (Local)":Xu,"Image-to-Text (Local)":Qu,"Text-to-Image (Local)":Ju,"Text-to-Speech (Local)":nd,"Text Generation (Local)":rd,"Summarization (Local)":od,"Translation (Local)":rd};function fd(e,t){const n=ud(e,t);if(n)return dd[n]}function pd(e){var t;return null!=(null===(t=e.metadata)||void 0===t?void 0:t.parameters)||function(e){const t=fd(e);return t?"string"===t.input.type:"string"===typeof e.input||"string"===typeof e.input.data}(e)}function md(e){const t=dd[e];return t?"string"===t.input.type?"":t.input.properties.data?{data:"string"===t.input.properties.data.type?"":{}}:{}:""}function hd(e,t,n){return{...e,prompts:e.prompts.map((e=>e._ui.id===t?n(e):e))}}function gd(e,t){return{...e,_ui:{...e._ui,runningPromptId:t}}}function yd(e,t){const n={...e,_ui:{...e._ui,isDirty:!0}};switch(t.type){case"ADD_PROMPT_AT_INDEX":return function(e,t,n){return{...e,prompts:[...e.prompts.slice(0,t),n,...e.prompts.slice(t)]}}(n,t.index,t.prompt);case"CLEAR_OUTPUTS":{const t=e.prompts.map((e=>e.outputs?{...e,outputs:void 0}:e));for(const e of t)e.outputs&&delete e.outputs;return{...n,prompts:t}}case"DELETE_PROMPT":return{...n,prompts:n.prompts.filter((e=>e._ui.id!==t.id))};case"PROVIDED_AICONFIG_UPDATE":return $u(t.config);case"SET_DESCRIPTION":return{...n,description:t.description};case"SET_NAME":return{...n,name:t.name};case"UPDATE_PROMPT_INPUT":return hd(n,t.id,(e=>({...e,input:t.input})));case"UPDATE_PROMPT_METADATA":return hd(n,t.id,(e=>{var n,r;return{...e,metadata:{...t.metadata,model:null===(n=e.metadata)||void 0===n?void 0:n.model,parameters:null===(r=e.metadata)||void 0===r?void 0:r.parameters}}}));case"UPDATE_PROMPT_NAME":return n.prompts.map((e=>e.name)).find((e=>t.name===e))?e:hd(n,t.id,(e=>({...e,name:t.name})));case"UPDATE_PROMPT_MODEL":return hd(n,t.id,(e=>{var n;let r;const o=null===(n=e.metadata)||void 0===n?void 0:n.model;return o&&"string"!==typeof o&&(r=o.settings,r&&delete r.model),{...e,metadata:{...e.metadata,model:t.modelName?{name:t.modelName,settings:r}:void 0}}}));case"UPDATE_PROMPT_MODEL_SETTINGS":return hd(n,t.id,(n=>({...n,metadata:{...n.metadata,model:{name:ud(n,e.metadata.default_model),settings:t.modelSettings}}})));case"UPDATE_PROMPT_PARAMETERS":return hd(n,t.id,(e=>({...e,metadata:{...e.metadata,parameters:t.parameters}})));case"UPDATE_GLOBAL_PARAMETERS":return{...n,metadata:{...e.metadata,parameters:t.parameters}};case"RUN_PROMPT_START":return hd(gd(n,t.promptId),t.promptId,(e=>({...e,_ui:{...e._ui,isRunning:!0,cancellationToken:t.cancellationToken},outputs:[]})));case"RUN_PROMPT_CANCEL":{const e=e=>{const n=t.config.prompts.find((t=>t.name===e.name));return{...e,outputs:null===n||void 0===n?void 0:n.outputs,_ui:{...e._ui,isRunning:!1,cancellationToken:void 0}}};return hd(gd(n,void 0),t.promptId,e)}case"RUN_PROMPT_ERROR":return hd(gd(n,void 0),t.promptId,(e=>{var n;return{...e,outputs:[{output_type:"error",ename:"Error",evalue:null!==(n=t.message)&&void 0!==n?n:"Error running prompt",traceback:[]}],_ui:{...e._ui,isRunning:!1,cancellationToken:void 0}}}));case"RUN_PROMPT_SUCCESS":{const e=e=>{var n,r;const o=null===(n=t.config)||void 0===n?void 0:n.prompts.find((t=>t.name===e.name));return{...e,outputs:null!==(r=null===o||void 0===o?void 0:o.outputs)&&void 0!==r?r:e.outputs,_ui:{...e._ui,isRunning:!1,cancellationToken:void 0}}};return hd(gd(n,void 0),t.promptId,e)}case"STREAM_AICONFIG_CHUNK":{const e=e=>{const n=t.config.prompts.find((t=>t.name===e.name));return{...e,outputs:null===n||void 0===n?void 0:n.outputs}};return hd(n,n._ui.runningPromptId,e)}case"STREAM_OUTPUT_CHUNK":return hd(n,t.promptId,(e=>({...e,outputs:[t.output]})));case"SAVE_CONFIG_SUCCESS":return{...e,_ui:{...e._ui,isDirty:!1}};case"CONSOLIDATE_AICONFIG":return function(e,t,n){const r=e=>{const t=n.prompts.find((t=>t.name===e.name));return t?function(e,t){return{...t,...e,metadata:{...t.metadata,...e.metadata},outputs:t.outputs,_ui:e._ui}}(e,t):e};switch(t.type){case"ADD_PROMPT_AT_INDEX":return hd(e,t.prompt._ui.id,r);case"UPDATE_PROMPT_INPUT":return hd(e,t.id,r);default:return e}}(n,t.action,t.config)}}function vd(e,t){return e.prompts.find((e=>e._ui.id===t))}function bd(e,t){return n=>{if("string"!==typeof n||0===n.trim().length)throw new Error(t);return"".concat(e,"-").concat(n)}}function wd(e){let{value:t,defaultValue:n,finalValue:o,onChange:a=(()=>{})}=e;const[i,l]=(0,r.useState)(void 0!==n?n:o);return void 0!==t?[t,a,!0]:[i,e=>{l(e),null==a||a(e)},!1]}function xd(e){const t=(0,r.createContext)(null);return[e=>{let{children:n,value:o}=e;return r.createElement(t.Provider,{value:o},n)},()=>{const n=(0,r.useContext)(t);if(null===n)throw new Error(e);return n}]}const kd={context:"Accordion component was not found in the tree",itemContext:"Accordion.Item component was not found in the tree",value:"Accordion.Item component was rendered with invalid value or without value"},[Sd,Od]=xd(kd.context);function Ed(e){let{children:t,multiple:n,value:o,defaultValue:a,onChange:i,id:l,loop:s,transitionDuration:c,disableChevronRotation:u,chevronPosition:d,chevronSize:f,order:p,chevron:m,variant:h,radius:g,classNames:y,styles:v,unstyled:b}=e;const w=Xn(l),[x,k]=wd({value:o,defaultValue:a,finalValue:n?[]:null,onChange:i});return r.createElement(Sd,{value:{isItemActive:e=>Array.isArray(x)?x.includes(e):e===x,onChange:e=>{const t=Array.isArray(x)?x.includes(e)?x.filter((t=>t!==e)):[...x,e]:e===x?null:e;k(t)},getControlId:bd("".concat(w,"-control"),kd.value),getRegionId:bd("".concat(w,"-panel"),kd.value),transitionDuration:c,disableChevronRotation:u,chevronPosition:d,chevronSize:f,order:p,chevron:m,loop:s,variant:h,radius:g,classNames:y,styles:v,unstyled:b}},t)}const[Cd,_d]=xd(kd.itemContext);function Pd(e,t,n){let{radius:r}=n;const o="dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[3],a="dark"===e.colorScheme?e.colors.dark[6]:e.colors.gray[0],i=e.fn.radius(r);return"default"===t?{color:"dark"===e.colorScheme?e.colors.dark[0]:e.black,borderBottom:"".concat(l(1)," solid ").concat(o)}:"contained"===t?{border:"".concat(l(1)," solid ").concat(o),transition:"background-color 150ms ease","&[data-active]":{backgroundColor:a},"&:first-of-type":{borderTopRightRadius:i,borderTopLeftRadius:i,"& > [data-accordion-control]":{borderTopRightRadius:i,borderTopLeftRadius:i}},"&:last-of-type":{borderBottomRightRadius:i,borderBottomLeftRadius:i,"& > [data-accordion-control]":{borderBottomRightRadius:i,borderBottomLeftRadius:i}},"& + &":{borderTop:0}}:"filled"===t?{borderRadius:i,"&[data-active]":{backgroundColor:a}}:"separated"===t?{borderRadius:i,backgroundColor:a,border:"".concat(l(1)," solid transparent"),transition:"background-color 150ms ease","& + &":{marginTop:e.spacing.md},"&[data-active]":{backgroundColor:"dark"===e.colorScheme?e.colors.dark[7]:e.white,borderColor:o}}:{}}var jd=fn(((e,t,n)=>{let{variant:r}=n;return{item:Pd(e,r,t)}}));const Td=jd;var Rd=Object.defineProperty,Nd=Object.getOwnPropertySymbols,Ad=Object.prototype.hasOwnProperty,Id=Object.prototype.propertyIsEnumerable,Dd=(e,t,n)=>t in e?Rd(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const Ld={},zd=(0,r.forwardRef)(((e,t)=>{const n=Ht("AccordionItem",Ld,e),{children:o,className:a,value:i}=n,l=((e,t)=>{var n={};for(var r in e)Ad.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&Nd)for(var r of Nd(e))t.indexOf(r)<0&&Id.call(e,r)&&(n[r]=e[r]);return n})(n,["children","className","value"]),s=Od(),{classes:c,cx:u}=Td({radius:s.radius},{name:"Accordion",classNames:s.classNames,styles:s.styles,unstyled:s.unstyled,variant:s.variant});return r.createElement(Cd,{value:{value:i}},r.createElement(Mn,((e,t)=>{for(var n in t||(t={}))Ad.call(t,n)&&Dd(e,n,t[n]);if(Nd)for(var n of Nd(t))Id.call(t,n)&&Dd(e,n,t[n]);return e})({ref:t,className:u(c.item,a),"data-active":s.isItemActive(i)||void 0},l),o))}));function Fd(e,t){let n=e;for(;(n=n.parentElement)&&!n.matches(t););return n}function Md(e){let{parentSelector:t,siblingSelector:n,onKeyDown:r,loop:o=!0,activateOnFocus:a=!1,dir:i="rtl",orientation:l}=e;return e=>{var s;null==r||r(e);const c=Array.from((null==(s=Fd(e.currentTarget,t))?void 0:s.querySelectorAll(n))||[]).filter((n=>function(e,t,n){return Fd(e,n)===Fd(t,n)}(e.currentTarget,n,t))),u=c.findIndex((t=>e.currentTarget===t)),d=function(e,t,n){for(let r=e+1;r=0;r-=1)if(!t[r].disabled)return r;if(n)for(let r=t.length-1;r>-1;r-=1)if(!t[r].disabled)return r;return e}(u,c,o),p="rtl"===i?f:d,m="rtl"===i?d:f;switch(e.key){case"ArrowRight":"horizontal"===l&&(e.stopPropagation(),e.preventDefault(),c[p].focus(),a&&c[p].click());break;case"ArrowLeft":"horizontal"===l&&(e.stopPropagation(),e.preventDefault(),c[m].focus(),a&&c[m].click());break;case"ArrowUp":"vertical"===l&&(e.stopPropagation(),e.preventDefault(),c[f].focus(),a&&c[f].click());break;case"ArrowDown":"vertical"===l&&(e.stopPropagation(),e.preventDefault(),c[d].focus(),a&&c[d].click());break;case"Home":e.stopPropagation(),e.preventDefault(),!c[0].disabled&&c[0].focus();break;case"End":{e.stopPropagation(),e.preventDefault();const t=c.length-1;!c[t].disabled&&c[t].focus();break}}}}zd.displayName="@mantine/core/AccordionItem";var Bd=Object.defineProperty,Ud=Object.defineProperties,Hd=Object.getOwnPropertyDescriptors,Wd=Object.getOwnPropertySymbols,$d=Object.prototype.hasOwnProperty,qd=Object.prototype.propertyIsEnumerable,Vd=(e,t,n)=>t in e?Bd(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Gd=(e,t)=>{for(var n in t||(t={}))$d.call(t,n)&&Vd(e,n,t[n]);if(Wd)for(var n of Wd(t))qd.call(t,n)&&Vd(e,n,t[n]);return e};function Kd(e,t){return"default"===t||"contained"===t?e.fn.hover({backgroundColor:"dark"===e.colorScheme?e.colors.dark[6]:e.colors.gray[0]}):{}}var Yd=fn(((e,t,n)=>{let{transitionDuration:r,chevronPosition:o,chevronSize:a}=t,{variant:i}=n;return{icon:{display:"flex",alignItems:"center",justifyContent:"center",marginRight:"left"===o?0:e.spacing.sm,marginLeft:"left"===o?e.spacing.lg:0},chevron:{display:"flex",alignItems:"center",justifyContent:"center",transition:"transform ".concat(r,"ms ease"),marginRight:"right"===o?0:e.spacing.sm,marginLeft:"right"===o?e.spacing.lg:0,width:l(a),minWidth:l(a),"&[data-rotate]":{transform:"rotate(180deg)"}},label:{color:"inherit",fontWeight:400,flex:1,overflow:"hidden",textOverflow:"ellipsis",paddingTop:e.spacing.md,paddingBottom:e.spacing.md},itemTitle:{margin:0,padding:0},control:(s=Gd(Gd(Gd({},e.fn.focusStyles()),e.fn.fontStyles()),Kd(e,i)),c={width:"100%",display:"flex",alignItems:"center",flexDirection:"right"===o?"row-reverse":"row",paddingRight:e.spacing.md,paddingLeft:"right"===o?"calc(".concat(e.spacing.md," + ").concat(l(4),")"):e.spacing.xs,textAlign:"left",color:"dark"===e.colorScheme?e.colors.dark[0]:e.black,"&:disabled":Gd({opacity:.4,cursor:"not-allowed"},e.fn.hover({backgroundColor:"transparent"}))},Ud(s,Hd(c)))};var s,c}));const Xd=Yd;var Zd=Object.defineProperty,Qd=Object.defineProperties,Jd=Object.getOwnPropertyDescriptors,ef=Object.getOwnPropertySymbols,tf=Object.prototype.hasOwnProperty,nf=Object.prototype.propertyIsEnumerable,rf=(e,t,n)=>t in e?Zd(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const of={},af=(0,r.forwardRef)(((e,t)=>{const n=Ht("AccordionControl",of,e),{disabled:o,onKeyDown:a,onClick:i,chevron:l,children:s,className:c,icon:u}=n,d=((e,t)=>{var n={};for(var r in e)tf.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&ef)for(var r of ef(e))t.indexOf(r)<0&&nf.call(e,r)&&(n[r]=e[r]);return n})(n,["disabled","onKeyDown","onClick","chevron","children","className","icon"]),f=Od(),{value:p}=_d(),{classes:m,cx:h}=Xd({transitionDuration:f.transitionDuration,chevronPosition:f.chevronPosition,chevronSize:f.chevronSize,radius:f.radius},{name:"Accordion",classNames:f.classNames,styles:f.styles,unstyled:f.unstyled,variant:f.variant}),g=f.isItemActive(p),y="number"===typeof f.order,v="h".concat(f.order),b=r.createElement(vo,(w=((e,t)=>{for(var n in t||(t={}))tf.call(t,n)&&rf(e,n,t[n]);if(ef)for(var n of ef(t))nf.call(t,n)&&rf(e,n,t[n]);return e})({},d),x={ref:t,"data-accordion-control":!0,disabled:o,className:h(m.control,c),onClick:e=>{null==i||i(e),f.onChange(p)},type:"button","data-active":g||void 0,"aria-expanded":g,"aria-controls":f.getRegionId(p),id:f.getControlId(p),unstyled:f.unstyled,onKeyDown:Md({siblingSelector:"[data-accordion-control]",parentSelector:"[data-accordion]",activateOnFocus:!1,loop:f.loop,orientation:"vertical",onKeyDown:a})},Qd(w,Jd(x))),r.createElement("span",{className:m.chevron,"data-rotate":!f.disableChevronRotation&&g||void 0},l||f.chevron),r.createElement("span",{className:m.label},s),u&&r.createElement("span",{className:m.icon},u));var w,x;return y?r.createElement(v,{className:m.itemTitle},b):b}));af.displayName="@mantine/core/AccordionControl";var lf=Object.defineProperty,sf=Object.defineProperties,cf=Object.getOwnPropertyDescriptors,uf=Object.getOwnPropertySymbols,df=Object.prototype.hasOwnProperty,ff=Object.prototype.propertyIsEnumerable,pf=(e,t,n)=>t in e?lf(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,mf=(e,t)=>{for(var n in t||(t={}))df.call(t,n)&&pf(e,n,t[n]);if(uf)for(var n of uf(t))ff.call(t,n)&&pf(e,n,t[n]);return e},hf=fn(((e,t)=>{return{panel:(n=mf({},e.fn.fontStyles()),r={wordBreak:"break-word",lineHeight:e.lineHeight},sf(n,cf(r))),content:{padding:e.spacing.md,paddingTop:"calc(".concat(e.spacing.xs," / 2)")}};var n,r}));const gf=hf;var yf=Object.defineProperty,vf=Object.defineProperties,bf=Object.getOwnPropertyDescriptors,wf=Object.getOwnPropertySymbols,xf=Object.prototype.hasOwnProperty,kf=Object.prototype.propertyIsEnumerable,Sf=(e,t,n)=>t in e?yf(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Of=(e,t)=>{for(var n in t||(t={}))xf.call(t,n)&&Sf(e,n,t[n]);if(wf)for(var n of wf(t))kf.call(t,n)&&Sf(e,n,t[n]);return e},Ef=(e,t)=>vf(e,bf(t));function Cf(e){return(null==e?void 0:e.current)?e.current.scrollHeight:"auto"}const _f="undefined"!==typeof window&&window.requestAnimationFrame;function Pf(e){let{transitionDuration:t,transitionTimingFunction:n="ease",onTransitionEnd:o=(()=>{}),opened:a}=e;const i=(0,r.useRef)(null),l={display:"none",height:0,overflow:"hidden"},[s,c]=(0,r.useState)(a?{}:l),u=e=>{(0,Mi.flushSync)((()=>c(e)))},d=e=>{u((t=>Of(Of({},t),e)))};function f(e){const r=t||function(e){if(!e||"string"===typeof e)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}(e);return{transition:"height ".concat(r,"ms ").concat(n)}}jc((()=>{_f(a?()=>{d({willChange:"height",display:"block",overflow:"hidden"}),_f((()=>{const e=Cf(i);d(Ef(Of({},f(e)),{height:e}))}))}:()=>{const e=Cf(i);d(Ef(Of({},f(e)),{willChange:"height",height:e})),_f((()=>d({height:0,overflow:"hidden"})))})}),[a]);const p=e=>{if(e.target===i.current&&"height"===e.propertyName)if(a){const e=Cf(i);e===s.height?u({}):d({height:e}),o()}else 0===s.height&&(u(l),o())};return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{style:t={},refKey:n="ref"}=e,r=((e,t)=>{var n={};for(var r in e)xf.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&wf)for(var r of wf(e))t.indexOf(r)<0&&kf.call(e,r)&&(n[r]=e[r]);return n})(e,["style","refKey"]);const o=r[n];return Ef(Of({"aria-hidden":!a},r),{[n]:Di(i,o),onTransitionEnd:p,style:Of(Of({boxSizing:"border-box"},t),s)})}}var jf=Object.defineProperty,Tf=Object.getOwnPropertySymbols,Rf=Object.prototype.hasOwnProperty,Nf=Object.prototype.propertyIsEnumerable,Af=(e,t,n)=>t in e?jf(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,If=(e,t)=>{for(var n in t||(t={}))Rf.call(t,n)&&Af(e,n,t[n]);if(Tf)for(var n of Tf(t))Nf.call(t,n)&&Af(e,n,t[n]);return e};const Df={transitionDuration:200,transitionTimingFunction:"ease",animateOpacity:!0},Lf=(0,r.forwardRef)(((e,t)=>{const n=Ht("Collapse",Df,e),{children:o,in:a,transitionDuration:i,transitionTimingFunction:l,style:s,onTransitionEnd:c,animateOpacity:u}=n,d=((e,t)=>{var n={};for(var r in e)Rf.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&Tf)for(var r of Tf(e))t.indexOf(r)<0&&Nf.call(e,r)&&(n[r]=e[r]);return n})(n,["children","in","transitionDuration","transitionTimingFunction","style","onTransitionEnd","animateOpacity"]),f=Bt(),p=Qc(),m=!!f.respectReducedMotion&&p?0:i,{systemStyles:h,rest:g}=bn(d),y=Pf({opened:a,transitionDuration:m,transitionTimingFunction:l,onTransitionEnd:c});return 0===m?a?r.createElement(Mn,If({},g),o):null:r.createElement(Mn,If({},y(If(If({style:s,ref:t},g),h))),r.createElement("div",{style:{opacity:a||!u?1:0,transition:u?"opacity ".concat(m,"ms ").concat(l):"none"}},o))}));Lf.displayName="@mantine/core/Collapse";var zf=Object.defineProperty,Ff=Object.defineProperties,Mf=Object.getOwnPropertyDescriptors,Bf=Object.getOwnPropertySymbols,Uf=Object.prototype.hasOwnProperty,Hf=Object.prototype.propertyIsEnumerable,Wf=(e,t,n)=>t in e?zf(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const $f={};function qf(e){const t=Ht("AccordionPanel",$f,e),{children:n,className:o}=t,a=((e,t)=>{var n={};for(var r in e)Uf.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&Bf)for(var r of Bf(e))t.indexOf(r)<0&&Hf.call(e,r)&&(n[r]=e[r]);return n})(t,["children","className"]),i=Od(),{value:l}=_d(),{classNames:s,styles:c,unstyled:u}=Od(),{classes:d,cx:f}=gf({radius:i.radius},{name:"Accordion",classNames:s,styles:c,unstyled:u,variant:i.variant});return r.createElement(Lf,(p=((e,t)=>{for(var n in t||(t={}))Uf.call(t,n)&&Wf(e,n,t[n]);if(Bf)for(var n of Bf(t))Hf.call(t,n)&&Wf(e,n,t[n]);return e})({},a),m={className:f(d.panel,o),in:i.isItemActive(l),transitionDuration:i.transitionDuration,role:"region",id:i.getRegionId(l),"aria-labelledby":i.getControlId(l)},Ff(p,Mf(m))),r.createElement("div",{className:d.content},n));var p,m}qf.displayName="@mantine/core/AccordionPanel";var Vf=Object.defineProperty,Gf=Object.getOwnPropertySymbols,Kf=Object.prototype.hasOwnProperty,Yf=Object.prototype.propertyIsEnumerable,Xf=(e,t,n)=>t in e?Vf(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Zf=(e,t)=>{for(var n in t||(t={}))Kf.call(t,n)&&Xf(e,n,t[n]);if(Gf)for(var n of Gf(t))Yf.call(t,n)&&Xf(e,n,t[n]);return e};function Qf(e){const t=e,{style:n}=t,o=((e,t)=>{var n={};for(var r in e)Kf.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&Gf)for(var r of Gf(e))t.indexOf(r)<0&&Yf.call(e,r)&&(n[r]=e[r]);return n})(t,["style"]);return r.createElement("svg",Zf({viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:Zf({width:l(16),height:l(16)},n)},o),r.createElement("path",{d:"M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}))}var Jf=Object.defineProperty,ep=Object.defineProperties,tp=Object.getOwnPropertyDescriptors,np=Object.getOwnPropertySymbols,rp=Object.prototype.hasOwnProperty,op=Object.prototype.propertyIsEnumerable,ap=(e,t,n)=>t in e?Jf(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const ip={multiple:!1,disableChevronRotation:!1,transitionDuration:200,chevronPosition:"right",variant:"default",chevronSize:24,chevron:r.createElement(Qf,null)};function lp(e){const t=Ht("Accordion",ip,e),{id:n,loop:o,children:a,multiple:i,value:l,defaultValue:s,onChange:c,transitionDuration:u,disableChevronRotation:d,chevronPosition:f,chevronSize:p,order:m,chevron:h,classNames:g,styles:y,unstyled:v,variant:b,radius:w}=t,x=((e,t)=>{var n={};for(var r in e)rp.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&np)for(var r of np(e))t.indexOf(r)<0&&op.call(e,r)&&(n[r]=e[r]);return n})(t,["id","loop","children","multiple","value","defaultValue","onChange","transitionDuration","disableChevronRotation","chevronPosition","chevronSize","order","chevron","classNames","styles","unstyled","variant","radius"]);return r.createElement(Ed,{id:n,multiple:i,value:l,defaultValue:s,onChange:c,loop:o,transitionDuration:u,disableChevronRotation:d,chevronPosition:f,chevronSize:p,order:m,chevron:h,variant:b,radius:w,classNames:g,styles:y,unstyled:v},r.createElement(Mn,(k=((e,t)=>{for(var n in t||(t={}))rp.call(t,n)&&ap(e,n,t[n]);if(np)for(var n of np(t))op.call(t,n)&&ap(e,n,t[n]);return e})({},x),ep(k,tp({"data-accordion":!0}))),a));var k}lp.Item=zd,lp.Control=af,lp.Panel=qf,lp.displayName="@mantine/core/Accordion";var sp=fn(((e,t)=>{let{spacing:n,align:r,justify:o}=t;return{root:{display:"flex",flexDirection:"column",alignItems:r,justifyContent:o,gap:qe({size:n,sizes:e.spacing})}}}));const cp=sp;var up=Object.defineProperty,dp=Object.getOwnPropertySymbols,fp=Object.prototype.hasOwnProperty,pp=Object.prototype.propertyIsEnumerable,mp=(e,t,n)=>t in e?up(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const hp={spacing:"md",align:"stretch",justify:"flex-start"},gp=(0,r.forwardRef)(((e,t)=>{const n=Ht("Stack",hp,e),{spacing:o,className:a,align:i,justify:l,unstyled:s,variant:c}=n,u=((e,t)=>{var n={};for(var r in e)fp.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&dp)for(var r of dp(e))t.indexOf(r)<0&&pp.call(e,r)&&(n[r]=e[r]);return n})(n,["spacing","className","align","justify","unstyled","variant"]),{classes:d,cx:f}=cp({spacing:o,align:i,justify:l},{name:"Stack",unstyled:s,variant:c});return r.createElement(Mn,((e,t)=>{for(var n in t||(t={}))fp.call(t,n)&&mp(e,n,t[n]);if(dp)for(var n of dp(t))pp.call(t,n)&&mp(e,n,t[n]);return e})({className:f(d.root,a),ref:t},u))}));gp.displayName="@mantine/core/Stack";var yp=Object.defineProperty,vp=Object.defineProperties,bp=Object.getOwnPropertyDescriptors,wp=Object.getOwnPropertySymbols,xp=Object.prototype.hasOwnProperty,kp=Object.prototype.propertyIsEnumerable,Sp=(e,t,n)=>t in e?yp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Op=(e,t)=>{for(var n in t||(t={}))xp.call(t,n)&&Sp(e,n,t[n]);if(wp)for(var n of wp(t))kp.call(t,n)&&Sp(e,n,t[n]);return e};function Ep(e,t,n){const r=Ht(e,t,n),{label:o,description:a,error:i,required:l,classNames:s,styles:c,className:u,unstyled:d,__staticSelector:f,sx:p,errorProps:m,labelProps:h,descriptionProps:g,wrapperProps:y,id:v,size:b,style:w,inputContainer:x,inputWrapperOrder:k,withAsterisk:S,variant:O}=r,E=((e,t)=>{var n={};for(var r in e)xp.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&wp)for(var r of wp(e))t.indexOf(r)<0&&kp.call(e,r)&&(n[r]=e[r]);return n})(r,["label","description","error","required","classNames","styles","className","unstyled","__staticSelector","sx","errorProps","labelProps","descriptionProps","wrapperProps","id","size","style","inputContainer","inputWrapperOrder","withAsterisk","variant"]),C=Xn(v),{systemStyles:_,rest:P}=bn(E),j=Op({label:o,description:a,error:i,required:l,classNames:s,className:u,__staticSelector:f,sx:p,errorProps:m,labelProps:h,descriptionProps:g,unstyled:d,styles:c,id:C,size:b,style:w,inputContainer:x,inputWrapperOrder:k,withAsterisk:S,variant:O},y);return T=Op({},P),R={classNames:s,styles:c,unstyled:d,wrapperProps:Op(Op({},j),_),inputProps:{required:l,classNames:s,styles:c,unstyled:d,id:C,size:b,__staticSelector:f,error:i,variant:O}},vp(T,bp(R));var T,R}var Cp=fn(((e,t,n)=>{let{size:r}=n;return{label:{display:"inline-block",fontSize:qe({size:r,sizes:e.fontSizes}),fontWeight:500,color:"dark"===e.colorScheme?e.colors.dark[0]:e.colors.gray[9],wordBreak:"break-word",cursor:"default",WebkitTapHighlightColor:"transparent"},required:{color:e.fn.variant({variant:"filled",color:"red"}).background}}}));const _p=Cp;var Pp=Object.defineProperty,jp=Object.getOwnPropertySymbols,Tp=Object.prototype.hasOwnProperty,Rp=Object.prototype.propertyIsEnumerable,Np=(e,t,n)=>t in e?Pp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const Ap={labelElement:"label",size:"sm"},Ip=(0,r.forwardRef)(((e,t)=>{const n=Ht("InputLabel",Ap,e),{labelElement:o,children:a,required:i,size:l,classNames:s,styles:c,unstyled:u,className:d,htmlFor:f,__staticSelector:p,variant:m,onMouseDown:h}=n,g=((e,t)=>{var n={};for(var r in e)Tp.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&jp)for(var r of jp(e))t.indexOf(r)<0&&Rp.call(e,r)&&(n[r]=e[r]);return n})(n,["labelElement","children","required","size","classNames","styles","unstyled","className","htmlFor","__staticSelector","variant","onMouseDown"]),{classes:y,cx:v}=_p(null,{name:["InputWrapper",p],classNames:s,styles:c,unstyled:u,variant:m,size:l});return r.createElement(Mn,((e,t)=>{for(var n in t||(t={}))Tp.call(t,n)&&Np(e,n,t[n]);if(jp)for(var n of jp(t))Rp.call(t,n)&&Np(e,n,t[n]);return e})({component:o,ref:t,className:v(y.label,d),htmlFor:"label"===o?f:void 0,onMouseDown:e=>{null==h||h(e),!e.defaultPrevented&&e.detail>1&&e.preventDefault()}},g),a,i&&r.createElement("span",{className:y.required,"aria-hidden":!0}," *"))}));Ip.displayName="@mantine/core/InputLabel";var Dp=fn(((e,t,n)=>{let{size:r}=n;return{error:{wordBreak:"break-word",color:e.fn.variant({variant:"filled",color:"red"}).background,fontSize:"calc(".concat(qe({size:r,sizes:e.fontSizes})," - ").concat(l(2),")"),lineHeight:1.2,display:"block"}}}));const Lp=Dp;var zp=Object.defineProperty,Fp=Object.getOwnPropertySymbols,Mp=Object.prototype.hasOwnProperty,Bp=Object.prototype.propertyIsEnumerable,Up=(e,t,n)=>t in e?zp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const Hp={size:"sm"},Wp=(0,r.forwardRef)(((e,t)=>{const n=Ht("InputError",Hp,e),{children:o,className:a,classNames:i,styles:l,unstyled:s,size:c,__staticSelector:u,variant:d}=n,f=((e,t)=>{var n={};for(var r in e)Mp.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&Fp)for(var r of Fp(e))t.indexOf(r)<0&&Bp.call(e,r)&&(n[r]=e[r]);return n})(n,["children","className","classNames","styles","unstyled","size","__staticSelector","variant"]),{classes:p,cx:m}=Lp(null,{name:["InputWrapper",u],classNames:i,styles:l,unstyled:s,variant:d,size:c});return r.createElement(va,((e,t)=>{for(var n in t||(t={}))Mp.call(t,n)&&Up(e,n,t[n]);if(Fp)for(var n of Fp(t))Bp.call(t,n)&&Up(e,n,t[n]);return e})({className:m(p.error,a),ref:t},f),o)}));Wp.displayName="@mantine/core/InputError";var $p=fn(((e,t,n)=>{let{size:r}=n;return{description:{wordBreak:"break-word",color:"dark"===e.colorScheme?e.colors.dark[2]:e.colors.gray[6],fontSize:"calc(".concat(qe({size:r,sizes:e.fontSizes})," - ").concat(l(2),")"),lineHeight:1.2,display:"block"}}}));const qp=$p;var Vp=Object.defineProperty,Gp=Object.getOwnPropertySymbols,Kp=Object.prototype.hasOwnProperty,Yp=Object.prototype.propertyIsEnumerable,Xp=(e,t,n)=>t in e?Vp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const Zp={size:"sm"},Qp=(0,r.forwardRef)(((e,t)=>{const n=Ht("InputDescription",Zp,e),{children:o,className:a,classNames:i,styles:l,unstyled:s,size:c,__staticSelector:u,variant:d}=n,f=((e,t)=>{var n={};for(var r in e)Kp.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&Gp)for(var r of Gp(e))t.indexOf(r)<0&&Yp.call(e,r)&&(n[r]=e[r]);return n})(n,["children","className","classNames","styles","unstyled","size","__staticSelector","variant"]),{classes:p,cx:m}=qp(null,{name:["InputWrapper",u],classNames:i,styles:l,unstyled:s,variant:d,size:c});return r.createElement(va,((e,t)=>{for(var n in t||(t={}))Kp.call(t,n)&&Xp(e,n,t[n]);if(Gp)for(var n of Gp(t))Yp.call(t,n)&&Xp(e,n,t[n]);return e})({color:"dimmed",className:m(p.description,a),ref:t,unstyled:s},f),o)}));Qp.displayName="@mantine/core/InputDescription";const Jp=(0,r.createContext)({offsetBottom:!1,offsetTop:!1,describedBy:void 0}),em=Jp.Provider;function tm(e,t){let{hasDescription:n,hasError:r}=t;const o=e.findIndex((e=>"input"===e)),a=e[o-1],i=e[o+1];return{offsetBottom:n&&"description"===i||r&&"error"===i,offsetTop:n&&"description"===a||r&&"error"===a}}var nm=Object.defineProperty,rm=Object.defineProperties,om=Object.getOwnPropertyDescriptors,am=Object.getOwnPropertySymbols,im=Object.prototype.hasOwnProperty,lm=Object.prototype.propertyIsEnumerable,sm=(e,t,n)=>t in e?nm(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,cm=(e,t)=>{for(var n in t||(t={}))im.call(t,n)&&sm(e,n,t[n]);if(am)for(var n of am(t))lm.call(t,n)&&sm(e,n,t[n]);return e},um=fn((e=>{return{root:(t=cm({},e.fn.fontStyles()),n={lineHeight:e.lineHeight},rm(t,om(n)))};var t,n}));const dm=um;var fm=Object.defineProperty,pm=Object.defineProperties,mm=Object.getOwnPropertyDescriptors,hm=Object.getOwnPropertySymbols,gm=Object.prototype.hasOwnProperty,ym=Object.prototype.propertyIsEnumerable,vm=(e,t,n)=>t in e?fm(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,bm=(e,t)=>{for(var n in t||(t={}))gm.call(t,n)&&vm(e,n,t[n]);if(hm)for(var n of hm(t))ym.call(t,n)&&vm(e,n,t[n]);return e},wm=(e,t)=>pm(e,mm(t));const xm={labelElement:"label",size:"sm",inputContainer:e=>e,inputWrapperOrder:["label","description","input","error"]},km=(0,r.forwardRef)(((e,t)=>{const n=Ht("InputWrapper",xm,e),{className:o,label:a,children:i,required:l,id:s,error:c,description:u,labelElement:d,labelProps:f,descriptionProps:p,errorProps:m,classNames:h,styles:g,size:y,inputContainer:v,__staticSelector:b,unstyled:w,inputWrapperOrder:x,withAsterisk:k,variant:S}=n,O=((e,t)=>{var n={};for(var r in e)gm.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&hm)for(var r of hm(e))t.indexOf(r)<0&&ym.call(e,r)&&(n[r]=e[r]);return n})(n,["className","label","children","required","id","error","description","labelElement","labelProps","descriptionProps","errorProps","classNames","styles","size","inputContainer","__staticSelector","unstyled","inputWrapperOrder","withAsterisk","variant"]),{classes:E,cx:C}=dm(null,{classNames:h,styles:g,name:["InputWrapper",b],unstyled:w,variant:S,size:y}),_={classNames:h,styles:g,unstyled:w,size:y,variant:S,__staticSelector:b},P="boolean"===typeof k?k:l,j=s?"".concat(s,"-error"):null==m?void 0:m.id,T=s?"".concat(s,"-description"):null==p?void 0:p.id,R="".concat(!!c&&"boolean"!==typeof c?j:""," ").concat(u?T:""),N=R.trim().length>0?R.trim():void 0,A=a&&r.createElement(Ip,bm(bm({key:"label",labelElement:d,id:s?"".concat(s,"-label"):void 0,htmlFor:s,required:P},_),f),a),I=u&&r.createElement(Qp,wm(bm(bm({key:"description"},p),_),{size:(null==p?void 0:p.size)||_.size,id:(null==p?void 0:p.id)||T}),u),D=r.createElement(r.Fragment,{key:"input"},v(i)),L="boolean"!==typeof c&&c&&r.createElement(Wp,wm(bm(bm({},m),_),{size:(null==m?void 0:m.size)||_.size,key:"error",id:(null==m?void 0:m.id)||j}),c),z=x.map((e=>{switch(e){case"label":return A;case"input":return D;case"description":return I;case"error":return L;default:return null}}));return r.createElement(em,{value:bm({describedBy:N},tm(x,{hasDescription:!!I,hasError:!!L}))},r.createElement(Mn,bm({className:C(E.root,o),ref:t},O),z))}));km.displayName="@mantine/core/InputWrapper";var Sm=Object.defineProperty,Om=Object.getOwnPropertySymbols,Em=Object.prototype.hasOwnProperty,Cm=Object.prototype.propertyIsEnumerable,_m=(e,t,n)=>t in e?Sm(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const Pm={},jm=(0,r.forwardRef)(((e,t)=>{const n=Ht("InputPlaceholder",Pm,e),{sx:o}=n,a=((e,t)=>{var n={};for(var r in e)Em.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&Om)for(var r of Om(e))t.indexOf(r)<0&&Cm.call(e,r)&&(n[r]=e[r]);return n})(n,["sx"]);return r.createElement(Mn,((e,t)=>{for(var n in t||(t={}))Em.call(t,n)&&_m(e,n,t[n]);if(Om)for(var n of Om(t))Cm.call(t,n)&&_m(e,n,t[n]);return e})({component:"span",sx:[e=>e.fn.placeholderStyles(),...ba(o)],ref:t},a))}));jm.displayName="@mantine/core/InputPlaceholder";var Tm=Object.defineProperty,Rm=Object.defineProperties,Nm=Object.getOwnPropertyDescriptors,Am=Object.getOwnPropertySymbols,Im=Object.prototype.hasOwnProperty,Dm=Object.prototype.propertyIsEnumerable,Lm=(e,t,n)=>t in e?Tm(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,zm=(e,t)=>{for(var n in t||(t={}))Im.call(t,n)&&Lm(e,n,t[n]);if(Am)for(var n of Am(t))Dm.call(t,n)&&Lm(e,n,t[n]);return e},Fm=(e,t)=>Rm(e,Nm(t));const Mm={size:"sm",variant:"default"},Bm=(0,r.forwardRef)(((e,t)=>{const n=Ht("Input",Mm,e),{className:o,error:a,required:i,disabled:s,variant:c,icon:u,style:d,rightSectionWidth:f,iconWidth:p,rightSection:m,rightSectionProps:h,radius:g,size:y,wrapperProps:v,classNames:b,styles:w,__staticSelector:x,multiline:k,sx:S,unstyled:O,pointer:E}=n,C=((e,t)=>{var n={};for(var r in e)Im.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&Am)for(var r of Am(e))t.indexOf(r)<0&&Dm.call(e,r)&&(n[r]=e[r]);return n})(n,["className","error","required","disabled","variant","icon","style","rightSectionWidth","iconWidth","rightSection","rightSectionProps","radius","size","wrapperProps","classNames","styles","__staticSelector","multiline","sx","unstyled","pointer"]),{offsetBottom:_,offsetTop:P,describedBy:j}=(0,r.useContext)(Jp),{classes:T,cx:R}=li({radius:g,multiline:k,invalid:!!a,rightSectionWidth:f?l(f):void 0,iconWidth:p,withRightSection:!!m,offsetBottom:_,offsetTop:P,pointer:E},{classNames:b,styles:w,name:["Input",x],unstyled:O,variant:c,size:y}),{systemStyles:N,rest:A}=bn(C);return r.createElement(Mn,zm(zm({className:R(T.wrapper,o),sx:S,style:d},N),v),u&&r.createElement("div",{className:T.icon},u),r.createElement(Mn,Fm(zm({component:"input"},A),{ref:t,required:i,"aria-invalid":!!a,"aria-describedby":j,disabled:s,"data-disabled":s||void 0,"data-with-icon":!!u||void 0,"data-invalid":!!a||void 0,className:T.input})),m&&r.createElement("div",Fm(zm({},h),{className:T.rightSection}),m))}));Bm.displayName="@mantine/core/Input",Bm.Wrapper=km,Bm.Label=Ip,Bm.Description=Qp,Bm.Error=Wp,Bm.Placeholder=jm;const Um=Bm;var Hm=Object.defineProperty,Wm=Object.defineProperties,$m=Object.getOwnPropertyDescriptors,qm=Object.getOwnPropertySymbols,Vm=Object.prototype.hasOwnProperty,Gm=Object.prototype.propertyIsEnumerable,Km=(e,t,n)=>t in e?Hm(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ym=(e,t)=>{for(var n in t||(t={}))Vm.call(t,n)&&Km(e,n,t[n]);if(qm)for(var n of qm(t))Gm.call(t,n)&&Km(e,n,t[n]);return e};const Xm={type:"text",size:"sm",__staticSelector:"TextInput"},Zm=(0,r.forwardRef)(((e,t)=>{const n=Ep("TextInput",Xm,e),{inputProps:o,wrapperProps:a}=n,i=((e,t)=>{var n={};for(var r in e)Vm.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&qm)for(var r of qm(e))t.indexOf(r)<0&&Gm.call(e,r)&&(n[r]=e[r]);return n})(n,["inputProps","wrapperProps"]);return r.createElement(Um.Wrapper,Ym({},a),r.createElement(Um,(l=Ym(Ym({},o),i),Wm(l,$m({ref:t})))));var l}));function Qm(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}Zm.displayName="@mantine/core/TextInput";const Jm=r.useLayoutEffect;var eh=function(e,t){"function"!==typeof e?e.current=t:e(t)};const th=function(e,t){var n=(0,r.useRef)();return(0,r.useCallback)((function(r){e.current=r,n.current&&eh(n.current,null),n.current=t,t&&eh(t,r)}),[t])};var nh={"min-height":"0","max-height":"none",height:"0",visibility:"hidden",overflow:"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0"},rh=function(e){Object.keys(nh).forEach((function(t){e.style.setProperty(t,nh[t],"important")}))},oh=null;var ah=function(){},ih=["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth","boxSizing","fontFamily","fontSize","fontStyle","fontWeight","letterSpacing","lineHeight","paddingBottom","paddingLeft","paddingRight","paddingTop","tabSize","textIndent","textRendering","textTransform","width","wordBreak"],lh=!!document.documentElement.currentStyle,sh=function(e){var t=function(e){var t=r.useRef(e);return Jm((function(){t.current=e})),t}(e);(0,r.useLayoutEffect)((function(){var e=function(e){t.current(e)};return window.addEventListener("resize",e),function(){window.removeEventListener("resize",e)}}),[])},ch=function(e,t){var n=e.cacheMeasurements,o=e.maxRows,a=e.minRows,i=e.onChange,l=void 0===i?ah:i,s=e.onHeightChange,c=void 0===s?ah:s,u=Qm(e,["cacheMeasurements","maxRows","minRows","onChange","onHeightChange"]);var d=void 0!==u.value,f=(0,r.useRef)(null),p=th(f,t),m=(0,r.useRef)(0),h=(0,r.useRef)(),g=function(){var e=f.current,t=n&&h.current?h.current:function(e){var t=window.getComputedStyle(e);if(null===t)return null;var n,r=(n=t,ih.reduce((function(e,t){return e[t]=n[t],e}),{})),o=r.boxSizing;return""===o?null:(lh&&"border-box"===o&&(r.width=parseFloat(r.width)+parseFloat(r.borderRightWidth)+parseFloat(r.borderLeftWidth)+parseFloat(r.paddingRight)+parseFloat(r.paddingLeft)+"px"),{sizingStyle:r,paddingSize:parseFloat(r.paddingBottom)+parseFloat(r.paddingTop),borderSize:parseFloat(r.borderBottomWidth)+parseFloat(r.borderTopWidth)})}(e);if(t){h.current=t;var r=function(e,t,n,r){void 0===n&&(n=1),void 0===r&&(r=1/0),oh||((oh=document.createElement("textarea")).setAttribute("tabindex","-1"),oh.setAttribute("aria-hidden","true"),rh(oh)),null===oh.parentNode&&document.body.appendChild(oh);var o=e.paddingSize,a=e.borderSize,i=e.sizingStyle,l=i.boxSizing;Object.keys(i).forEach((function(e){var t=e;oh.style[t]=i[t]})),rh(oh),oh.value=t;var s=function(e,t){var n=e.scrollHeight;return"border-box"===t.sizingStyle.boxSizing?n+t.borderSize:n-t.paddingSize}(oh,e);oh.value="x";var c=oh.scrollHeight-o,u=c*n;"border-box"===l&&(u=u+o+a),s=Math.max(u,s);var d=c*r;return"border-box"===l&&(d=d+o+a),[s=Math.min(d,s),c]}(t,e.value||e.placeholder||"x",a,o),i=r[0],l=r[1];m.current!==i&&(m.current=i,e.style.setProperty("height",i+"px","important"),c(i,{rowHeight:l}))}};return(0,r.useLayoutEffect)(g),sh(g),(0,r.createElement)("textarea",de({},u,{onChange:function(e){d||g(),l(e)},ref:p}))};const uh=(0,r.forwardRef)(ch);var dh=fn((e=>({input:{paddingTop:e.spacing.xs,paddingBottom:e.spacing.xs}})));const fh=dh;var ph=Object.defineProperty,mh=Object.defineProperties,hh=Object.getOwnPropertyDescriptors,gh=Object.getOwnPropertySymbols,yh=Object.prototype.hasOwnProperty,vh=Object.prototype.propertyIsEnumerable,bh=(e,t,n)=>t in e?ph(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,wh=(e,t)=>{for(var n in t||(t={}))yh.call(t,n)&&bh(e,n,t[n]);if(gh)for(var n of gh(t))vh.call(t,n)&&bh(e,n,t[n]);return e},xh=(e,t)=>mh(e,hh(t));const kh={autosize:!1,size:"sm",__staticSelector:"Textarea"},Sh=(0,r.forwardRef)(((e,t)=>{const n=Ht("Textarea",kh,e),{autosize:o,maxRows:a,minRows:i,label:l,error:s,description:c,id:u,className:d,required:f,style:p,wrapperProps:m,classNames:h,styles:g,size:y,__staticSelector:v,sx:b,errorProps:w,descriptionProps:x,labelProps:k,inputWrapperOrder:S,inputContainer:O,unstyled:E,withAsterisk:C,variant:_}=n,P=((e,t)=>{var n={};for(var r in e)yh.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&gh)for(var r of gh(e))t.indexOf(r)<0&&vh.call(e,r)&&(n[r]=e[r]);return n})(n,["autosize","maxRows","minRows","label","error","description","id","className","required","style","wrapperProps","classNames","styles","size","__staticSelector","sx","errorProps","descriptionProps","labelProps","inputWrapperOrder","inputContainer","unstyled","withAsterisk","variant"]),j=Xn(u),{classes:T,cx:R}=fh(),{systemStyles:N,rest:A}=bn(P),I=wh({required:f,ref:t,error:s,id:j,classNames:xh(wh({},h),{input:R(T.input,null==h?void 0:h.input)}),styles:g,__staticSelector:v,size:y,multiline:!0,unstyled:E,variant:_},A);return r.createElement(Um.Wrapper,wh(wh({label:l,error:s,id:j,description:c,required:f,style:p,className:d,classNames:h,styles:g,size:y,__staticSelector:v,sx:b,errorProps:w,labelProps:k,descriptionProps:x,inputContainer:O,inputWrapperOrder:S,unstyled:E,withAsterisk:C,variant:_},N),m),o?r.createElement(Um,xh(wh({},I),{component:uh,maxRows:a,minRows:i})):r.createElement(Um,xh(wh({},I),{component:"textarea",rows:i})))}));Sh.displayName="@mantine/core/Textarea";var Oh=n(7),Eh=n.n(Oh),Ch={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},_h=Object.defineProperty,Ph=Object.defineProperties,jh=Object.getOwnPropertyDescriptors,Th=Object.getOwnPropertySymbols,Rh=Object.prototype.hasOwnProperty,Nh=Object.prototype.propertyIsEnumerable,Ah=(e,t,n)=>t in e?_h(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ih=(e,t)=>{for(var n in t||(t={}))Rh.call(t,n)&&Ah(e,n,t[n]);if(Th)for(var n of Th(t))Nh.call(t,n)&&Ah(e,n,t[n]);return e},Dh=(e,t,n)=>{const o=(0,r.forwardRef)(((t,o)=>{var a,i,l=t,{color:s="currentColor",size:c=24,stroke:u=2,children:d}=l,f=((e,t)=>{var n={};for(var r in e)Rh.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&Th)for(var r of Th(e))t.indexOf(r)<0&&Nh.call(e,r)&&(n[r]=e[r]);return n})(l,["color","size","stroke","children"]);return(0,r.createElement)("svg",Ih((a=Ih({ref:o},Ch),i={width:c,height:c,stroke:s,strokeWidth:u,className:"tabler-icon tabler-icon-".concat(e)},Ph(a,jh(i))),f),[...n.map((e=>{let[t,n]=e;return(0,r.createElement)(t,n)})),...d||[]])}));return o.propTypes={color:Eh().string,size:Eh().oneOfType([Eh().string,Eh().number]),stroke:Eh().oneOfType([Eh().string,Eh().number])},o.displayName="".concat(t),o},Lh=Dh("trash","IconTrash",[["path",{d:"M4 7l16 0",key:"svg-0"}],["path",{d:"M10 11l0 6",key:"svg-1"}],["path",{d:"M14 11l0 6",key:"svg-2"}],["path",{d:"M5 7l1 12a2 2 0 0 0 2 2h8a2 2 0 0 0 2 -2l1 -12",key:"svg-3"}],["path",{d:"M9 7v-3a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v3",key:"svg-4"}]]),zh=Dh("plus","IconPlus",[["path",{d:"M12 5l0 14",key:"svg-0"}],["path",{d:"M5 12l14 0",key:"svg-1"}]]);const Fh=(0,r.createContext)({getState:()=>({prompts:[],_ui:{isDirty:!1}}),readOnly:!1});var Mh=n(184);function Bh(e){return/^[a-zA-Z_$][a-zA-Z0-9_$]*$/.test(e)}const Uh=(0,r.memo)((function(e){var t;const{initialItemValue:n,removeParameter:o,onUpdateParameter:a}=e,{readOnly:i}=(0,r.useContext)(Fh),[l,s]=(0,r.useState)(null!==(t=null===n||void 0===n?void 0:n.parameterName)&&void 0!==t?t:""),[c,u]=(0,r.useState)(l),d=null===n||void 0===n?void 0:n.parameterValue,[f,p]=(0,r.useState)("string"===typeof d?d:JSON.stringify(d)),m=(0,r.useMemo)((()=>(0,Uu.debounce)(((e,t)=>{Bh(e)&&(a({oldParameterName:c,parameterName:e,parameterValue:t}),u(e))}),250)),[c,a]),h="dark"===Bt().colorScheme?"1px solid #2C2E33":"1px solid #e9ecef";return(0,Mh.jsx)(Ma,{children:(0,Mh.jsxs)(gp,{p:"xs",spacing:"xs",style:{flexGrow:1,borderBottom:h},children:[(0,Mh.jsx)(Zm,{placeholder:"Enter parameter name",disabled:i,error:l&&!Bh(l)?"Name must contain only letters, numbers, and underscores":null,radius:"md",size:"xs",value:l,onChange:e=>{s(e.target.value),e.target.value&&m(e.target.value,f)}}),(0,Mh.jsx)(Sh,{placeholder:"Enter parameter value",disabled:i,radius:"md",value:f,autosize:!0,size:"xs",maxRows:5,onChange:e=>{p(e.target.value),m(l,e.target.value)}}),!i&&(0,Mh.jsx)(_o,{onClick:()=>o(l),children:(0,Mh.jsx)(Lh,{size:16,color:"red"})})]})})}));function Hh(e){const t={};for(const n of null!==e&&void 0!==e?e:[]){const e=n.parameterName,r=n.parameterValue;t[e]=r}return t}const Wh=(0,r.memo)((function(e){var t;const{initialValue:n,onUpdateParameters:o}=e,{readOnly:a}=(0,r.useContext)(Fh),[i,l]=(0,r.useState)(n&&Object.keys(n).length>0?Object.keys(n).map((e=>({key:e,parameterName:e,parameterValue:n[e]}))):[{key:(0,Uu.uniqueId)(),parameterName:"",parameterValue:""}]),s=(0,r.useCallback)((async(e,t)=>{l((t=>{const n=t.filter((t=>t.key!==e));return o(Hh(n)),n}))}),[l,o]),c=(0,r.useCallback)((async()=>{l((e=>{const t=[...e,{key:(0,Uu.uniqueId)(),parameterName:"",parameterValue:""}];return o(Hh(t)),t}))}),[o]);return(0,Mh.jsxs)("div",{children:[(0,Mh.jsxs)("div",{style:{maxHeight:e.maxHeight,overflow:"auto",width:"100%"},children:[null!==(t=e.customDescription)&&void 0!==t?t:(0,Mh.jsxs)(va,{color:"dimmed",size:"sm",p:"xs",style:{display:"block",margin:"0 auto"},children:["Use parameters in your prompt or system prompt with"," ","{{parameter}}"]}),(0,Mh.jsx)(gp,{children:i.map(((e,t)=>(0,Mh.jsx)(Uh,{onUpdateParameter:e=>{let{parameterName:n,parameterValue:r}=e;l((e=>{const a=[...e],i=a[t];return i.parameterName=n,i.parameterValue=null!==r&&void 0!==r?r:"",o(Hh(a)),a}))},removeParameter:t=>s(e.key,t),initialItemValue:{parameterName:e.parameterName,parameterValue:e.parameterValue}},e.key)))})]}),a?null:(0,Mh.jsx)(Au,{label:"Add parameter",children:(0,Mh.jsx)(_o,{onClick:c,className:"addParameterButton",children:(0,Mh.jsx)(zh,{size:16})})})]})})),$h=15e3,qh=300,Vh=5e3,Gh=fn((()=>({parametersContainer:{margin:"16px auto 16px ".concat(36,"px")},parametersContainerReadonly:{margin:"16px auto"}}))),Kh=(0,r.memo)((function(e){let{initialValue:t,onUpdateParameters:n}=e;const[o,a]=(0,r.useState)(!1),{classes:i}=Gh(),{readOnly:l}=(0,r.useContext)(Fh);return(0,Mh.jsx)("div",{className:"".concat(l?i.parametersContainerReadonly:i.parametersContainer," parametersContainer ").concat(l?"parametersContainerReadonly":""),children:(0,Mh.jsx)(lp,{styles:{item:{borderBottom:0},label:{textAlign:"center",paddingTop:"0.5em",paddingBottom:"0.5em",fontSize:"0.85em"}},onChange:e=>a("parameters"===e),children:(0,Mh.jsxs)(lp.Item,{value:"parameters",children:[(0,Mh.jsx)(lp.Control,{children:(0,Mh.jsxs)(va,{color:"blue",children:["Global Parameters ","{}"]})}),(0,Mh.jsx)(lp.Panel,{children:o&&(0,Mh.jsx)(Wh,{initialValue:t,onUpdateParameters:n,maxHeight:"300px"})})]})})})}));var Yh=Object.defineProperty,Xh=Object.defineProperties,Zh=Object.getOwnPropertyDescriptors,Qh=Object.getOwnPropertySymbols,Jh=Object.prototype.hasOwnProperty,eg=Object.prototype.propertyIsEnumerable,tg=(e,t,n)=>t in e?Yh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ng=(e,t)=>{for(var n in t||(t={}))Jh.call(t,n)&&tg(e,n,t[n]);if(Qh)for(var n of Qh(t))eg.call(t,n)&&tg(e,n,t[n]);return e};function rg(e,t,n){return"undefined"!==typeof e?e in n.headings.sizes?n.headings.sizes[e].fontSize:l(e):n.headings.sizes[t].fontSize}function og(e,t,n){return"undefined"!==typeof e&&e in n.headings.sizes?n.headings.sizes[e].lineHeight:n.headings.sizes[t].lineHeight}var ag=fn(((e,t,n)=>{let{element:r,weight:o,inline:a}=t,{size:i}=n;return{root:(l=ng({},e.fn.fontStyles()),s={fontFamily:e.headings.fontFamily,fontWeight:o||e.headings.sizes[r].fontWeight||e.headings.fontWeight,fontSize:rg(i,r,e),lineHeight:a?1:og(i,r,e),margin:0},Xh(l,Zh(s)))};var l,s}));const ig=ag;var lg=Object.defineProperty,sg=Object.getOwnPropertySymbols,cg=Object.prototype.hasOwnProperty,ug=Object.prototype.propertyIsEnumerable,dg=(e,t,n)=>t in e?lg(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const fg={order:1},pg=(0,r.forwardRef)(((e,t)=>{const n=Ht("Title",fg,e),{className:o,order:a,children:i,unstyled:l,size:s,weight:c,inline:u,variant:d}=n,f=((e,t)=>{var n={};for(var r in e)cg.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&sg)for(var r of sg(e))t.indexOf(r)<0&&ug.call(e,r)&&(n[r]=e[r]);return n})(n,["className","order","children","unstyled","size","weight","inline","variant"]),{classes:p,cx:m}=ig({element:"h".concat(a),weight:c,inline:u},{name:"Title",unstyled:l,variant:d,size:s});return[1,2,3,4,5,6].includes(a)?r.createElement(va,((e,t)=>{for(var n in t||(t={}))cg.call(t,n)&&dg(e,n,t[n]);if(sg)for(var n of sg(t))ug.call(t,n)&&dg(e,n,t[n]);return e})({variant:d,component:"h".concat(a),ref:t,className:m(p.root,o)},f),i):null}));pg.displayName="@mantine/core/Title";const mg=["mousedown","touchstart"];function hg(e,t,n){const o=(0,r.useRef)();return(0,r.useEffect)((()=>{const r=t=>{const{target:r}=null!=t?t:{};if(Array.isArray(n)){const o=(null==r?void 0:r.hasAttribute("data-ignore-outside-clicks"))||!document.body.contains(r)&&"HTML"!==r.tagName,a=n.every((e=>!!e&&!t.composedPath().includes(e)));a&&!o&&e()}else o.current&&!o.current.contains(r)&&e()};return(t||mg).forEach((e=>document.addEventListener(e,r))),()=>{(t||mg).forEach((e=>document.removeEventListener(e,r)))}}),[o,e,n]),o}var gg=Object.defineProperty,yg=Object.getOwnPropertySymbols,vg=Object.prototype.hasOwnProperty,bg=Object.prototype.propertyIsEnumerable,wg=(e,t,n)=>t in e?gg(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,xg=(e,t)=>{for(var n in t||(t={}))vg.call(t,n)&&wg(e,n,t[n]);if(yg)for(var n of yg(t))bg.call(t,n)&&wg(e,n,t[n]);return e};function kg(e){let{theme:t,color:n}=e;return"dimmed"===n?t.fn.dimmed():t.fn.themeColor(n||t.primaryColor,"dark"===t.colorScheme?4:7,!1,!0)}var Sg=fn(((e,t)=>{let{color:n,underline:r}=t;return{root:xg({backgroundColor:"transparent",cursor:"pointer",padding:0,border:0,color:kg({theme:e,color:n})},e.fn.hover({textDecoration:r?"underline":"none"}))}}));const Og=Sg;var Eg=Object.defineProperty,Cg=Object.getOwnPropertySymbols,_g=Object.prototype.hasOwnProperty,Pg=Object.prototype.propertyIsEnumerable,jg=(e,t,n)=>t in e?Eg(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Tg=(e,t)=>{for(var n in t||(t={}))_g.call(t,n)&&jg(e,n,t[n]);if(Cg)for(var n of Cg(t))Pg.call(t,n)&&jg(e,n,t[n]);return e};const Rg={underline:!0},Ng=(0,r.forwardRef)(((e,t)=>{const n=Ht("Anchor",Rg,e),{component:o,className:a,unstyled:i,variant:l,size:s,color:c,underline:u}=n,d=((e,t)=>{var n={};for(var r in e)_g.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&Cg)for(var r of Cg(e))t.indexOf(r)<0&&Pg.call(e,r)&&(n[r]=e[r]);return n})(n,["component","className","unstyled","variant","size","color","underline"]),{classes:f,cx:p}=Og({color:c,underline:u},{name:"Anchor",unstyled:i,variant:l,size:s}),m="button"===o?{type:"button"}:null;return r.createElement(va,Tg(Tg({component:o||"a",ref:t,className:p(f.root,a),size:s},m),d))}));Ng.displayName="@mantine/core/Anchor";const Ag=Ng,Ig="Tabs component was not found in the tree",Dg="Tabs.Tab or Tabs.Panel component was rendered with invalid value or without value",[Lg,zg]=xd(Ig);var Fg=Object.defineProperty,Mg=Object.getOwnPropertySymbols,Bg=Object.prototype.hasOwnProperty,Ug=Object.prototype.propertyIsEnumerable,Hg=(e,t,n)=>t in e?Fg(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Wg=(e,t)=>{for(var n in t||(t={}))Bg.call(t,n)&&Hg(e,n,t[n]);if(Mg)for(var n of Mg(t))Ug.call(t,n)&&Hg(e,n,t[n]);return e};function $g(e,t,n){let{orientation:r,inverted:o,placement:a}=e;const i="vertical"===r;return"default"===n?{[i?"left"===a?"borderRight":"borderLeft":o?"borderTop":"borderBottom"]:"".concat(l(2)," solid ").concat("dark"===t.colorScheme?t.colors.dark[4]:t.colors.gray[3])}:"outline"===n?{[i?"left"===a?"borderRight":"borderLeft":o?"borderTop":"borderBottom"]:"".concat(l(1)," solid ").concat("dark"===t.colorScheme?t.colors.dark[4]:t.colors.gray[3])}:"pills"===n?{gap:"calc(".concat(t.spacing.sm," / 2)")}:{}}var qg=fn(((e,t,n)=>{let{variant:r}=n;const o="vertical"===t.orientation;return{tabsList:Wg({display:"flex",flexWrap:"wrap",flexDirection:o?"column":"row",justifyContent:Ta[t.position],'& [role="tab"]':{flex:t.grow?1:void 0}},$g(t,e,r))}}));const Vg=qg;var Gg=Object.defineProperty,Kg=Object.defineProperties,Yg=Object.getOwnPropertyDescriptors,Xg=Object.getOwnPropertySymbols,Zg=Object.prototype.hasOwnProperty,Qg=Object.prototype.propertyIsEnumerable,Jg=(e,t,n)=>t in e?Gg(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const ey={grow:!1,position:"left"},ty=(0,r.forwardRef)(((e,t)=>{const n=Ht("TabsList",ey,e),{children:o,className:a,grow:i,position:l}=n,s=((e,t)=>{var n={};for(var r in e)Zg.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&Xg)for(var r of Xg(e))t.indexOf(r)<0&&Qg.call(e,r)&&(n[r]=e[r]);return n})(n,["children","className","grow","position"]),{orientation:c,variant:u,color:d,radius:f,inverted:p,placement:m,classNames:h,styles:g,unstyled:y}=zg(),{classes:v,cx:b}=Vg({orientation:c,grow:i,color:d,position:l,radius:f,inverted:p,placement:m},{name:"Tabs",unstyled:y,classNames:h,styles:g,variant:u});return r.createElement(Mn,(w=((e,t)=>{for(var n in t||(t={}))Zg.call(t,n)&&Jg(e,n,t[n]);if(Xg)for(var n of Xg(t))Qg.call(t,n)&&Jg(e,n,t[n]);return e})({},s),x={className:b(v.tabsList,a),ref:t,role:"tablist","aria-orientation":c},Kg(w,Yg(x))),o);var w,x}));ty.displayName="@mantine/core/TabsList";const ny=fn(((e,t)=>{let{orientation:n}=t;return{panel:{flex:"vertical"===n?1:void 0}}}));var ry=Object.defineProperty,oy=Object.defineProperties,ay=Object.getOwnPropertyDescriptors,iy=Object.getOwnPropertySymbols,ly=Object.prototype.hasOwnProperty,sy=Object.prototype.propertyIsEnumerable,cy=(e,t,n)=>t in e?ry(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const uy={},dy=(0,r.forwardRef)(((e,t)=>{const n=Ht("TabsPanel",uy,e),{value:o,children:a,sx:i,className:l}=n,s=((e,t)=>{var n={};for(var r in e)ly.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&iy)for(var r of iy(e))t.indexOf(r)<0&&sy.call(e,r)&&(n[r]=e[r]);return n})(n,["value","children","sx","className"]),c=zg(),{classes:u,cx:d}=ny({orientation:c.orientation,color:c.color,radius:c.radius,inverted:c.inverted,placement:c.placement},{name:"Tabs",unstyled:c.unstyled,classNames:c.classNames,styles:c.styles,variant:c.variant}),f=c.getPanelId(o),p=c.value===o,m=c.keepMounted||p?a:null;return(0,r.useEffect)((()=>(c.setMountedPanelIds((e=>[...e,f])),c.setMountedPanelIds((e=>e.filter((e=>e!==f)))))),[f]),r.createElement(Mn,(h=((e,t)=>{for(var n in t||(t={}))ly.call(t,n)&&cy(e,n,t[n]);if(iy)for(var n of iy(t))sy.call(t,n)&&cy(e,n,t[n]);return e})({},s),g={ref:t,sx:[{display:p?void 0:"none"},...ba(i)],className:d(u.panel,l),role:"tabpanel",id:f,"aria-labelledby":c.getTabId(o)},oy(h,ay(g))),m);var h,g}));dy.displayName="@mantine/core/TabsPanel";var fy=Object.defineProperty,py=Object.defineProperties,my=Object.getOwnPropertyDescriptors,hy=Object.getOwnPropertySymbols,gy=Object.prototype.hasOwnProperty,yy=Object.prototype.propertyIsEnumerable,vy=(e,t,n)=>t in e?fy(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,by=(e,t)=>{for(var n in t||(t={}))gy.call(t,n)&&vy(e,n,t[n]);if(hy)for(var n of hy(t))yy.call(t,n)&&vy(e,n,t[n]);return e},wy=(e,t)=>py(e,my(t));function xy(e,t,n){let{orientation:r,color:o,radius:a,inverted:i,placement:s}=t;const c="vertical"===r,u=e.fn.variant({color:o,variant:"filled"}),d=l(e.fn.radius(a)),f="vertical"===r?"left"===s?"".concat(d," 0 0 ").concat(d):" 0 ".concat(d," ").concat(d," 0"):i?"0 0 ".concat(d," ").concat(d):"".concat(d," ").concat(d," 0 0");return"default"===n?wy(by({[c?"left"===s?"borderRight":"borderLeft":i?"borderTop":"borderBottom"]:"".concat(l(2)," solid transparent"),[c?"left"===s?"marginRight":"marginLeft":i?"marginTop":"marginBottom"]:l(-2),borderRadius:f},e.fn.hover({backgroundColor:"dark"===e.colorScheme?e.colors.dark[6]:e.colors.gray[0],borderColor:"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[3]})),{"&[data-active]":by({borderColor:u.background,color:"dark"===e.colorScheme?e.white:e.black},e.fn.hover({borderColor:u.background}))}):"outline"===n?{borderRadius:f,border:"".concat(l(1)," solid transparent"),[c?"left"===s?"borderRight":"borderLeft":i?"borderTop":"borderBottom"]:"none","&[data-active]":{borderColor:"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[3],"&::before":{content:'""',backgroundColor:"dark"===e.colorScheme?e.colors.dark[7]:e.white,position:"absolute",bottom:c?0:i?"unset":l(-1),top:c?0:i?l(-1):"unset",[c?"width":"height"]:l(1),right:c?"left"===s?l(-1):"unset":0,left:c?"left"===s?"unset":l(-1):0}}}:"pills"===n?wy(by({borderRadius:e.fn.radius(a)},e.fn.hover({backgroundColor:"dark"===e.colorScheme?e.colors.dark[6]:e.colors.gray[0]})),{"&[data-active]":by({backgroundColor:u.background,color:e.white},e.fn.hover({backgroundColor:u.background}))}):{}}var ky=fn(((e,t,n)=>{let{variant:r}=n;return{tabLabel:{},tab:by({position:"relative",padding:"".concat(e.spacing.xs," ").concat(e.spacing.md),paddingLeft:t.withIcon?e.spacing.xs:void 0,paddingRight:t.withRightSection?e.spacing.xs:void 0,fontSize:e.fontSizes.sm,whiteSpace:"nowrap",zIndex:0,display:"flex",alignItems:"center",justifyContent:"horizontal"===t.orientation?"center":void 0,lineHeight:1,"&:disabled":by({opacity:.5,cursor:"not-allowed"},e.fn.hover({backgroundColor:"transparent"})),"&:focus":{zIndex:1}},xy(e,t,r)),tabRightSection:{display:"flex",justifyContent:"center",alignItems:"center","&:not(:only-child)":{marginLeft:l(7)}},tabIcon:{display:"flex",justifyContent:"center",alignItems:"center","&:not(:only-child)":{marginRight:l(7)}}}}));const Sy=ky;var Oy=Object.defineProperty,Ey=Object.defineProperties,Cy=Object.getOwnPropertyDescriptors,_y=Object.getOwnPropertySymbols,Py=Object.prototype.hasOwnProperty,jy=Object.prototype.propertyIsEnumerable,Ty=(e,t,n)=>t in e?Oy(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const Ry={},Ny=(0,r.forwardRef)(((e,t)=>{const n=Ht("TabsTab",Ry,e),{value:o,children:a,onKeyDown:i,onClick:l,className:s,icon:c,rightSection:u,color:d}=n,f=((e,t)=>{var n={};for(var r in e)Py.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&_y)for(var r of _y(e))t.indexOf(r)<0&&jy.call(e,r)&&(n[r]=e[r]);return n})(n,["value","children","onKeyDown","onClick","className","icon","rightSection","color"]),p=zg(),m=!!c,h=!!u,{theme:g,classes:y,cx:v}=Sy({withIcon:m||h&&!a,withRightSection:h||m&&!a,orientation:p.orientation,color:d||p.color,radius:p.radius,inverted:p.inverted,placement:p.placement},{name:"Tabs",unstyled:p.unstyled,classNames:p.classNames,styles:p.styles,variant:p.variant}),b=o===p.value,w=p.getPanelId(o),x=p.mountedPanelIds.includes(o)?w:void 0;return r.createElement(vo,(k=((e,t)=>{for(var n in t||(t={}))Py.call(t,n)&&Ty(e,n,t[n]);if(_y)for(var n of _y(t))jy.call(t,n)&&Ty(e,n,t[n]);return e})({},f),S={unstyled:p.unstyled,className:v(y.tab,s),"data-active":b||void 0,ref:t,type:"button",role:"tab",id:p.getTabId(o),"aria-selected":b,tabIndex:b||null===p.value?0:-1,"aria-controls":x,onClick:e=>{p.onTabChange(p.allowTabDeactivation&&o===p.value?null:o),null==l||l(e)},onKeyDown:Md({siblingSelector:'[role="tab"]',parentSelector:'[role="tablist"]',activateOnFocus:p.activateTabWithKeyboard,loop:p.loop,dir:g.dir,orientation:p.orientation,onKeyDown:i})},Ey(k,Cy(S))),c&&r.createElement("span",{className:y.tabIcon},c),a&&r.createElement("span",{className:y.tabLabel},a),u&&r.createElement("span",{className:y.tabRightSection},u));var k,S}));function Ay(e){let{defaultValue:t,value:n,onTabChange:o,orientation:a,children:i,loop:l,id:s,activateTabWithKeyboard:c,allowTabDeactivation:u,variant:d,color:f,radius:p,inverted:m,placement:h,keepMounted:g=!0,classNames:y,styles:v,unstyled:b}=e;const w=Xn(s),[x,k]=(0,r.useState)([]),[S,O]=wd({value:n,defaultValue:t,finalValue:null,onChange:o});return r.createElement(Lg,{value:{placement:h,value:S,orientation:a,id:w,loop:l,activateTabWithKeyboard:c,getTabId:bd("".concat(w,"-tab"),Dg),getPanelId:bd("".concat(w,"-panel"),Dg),onTabChange:O,setMountedPanelIds:k,mountedPanelIds:x,allowTabDeactivation:u,variant:d,color:f,radius:p,inverted:m,keepMounted:g,classNames:y,styles:v,unstyled:b}},i)}Ny.displayName="@mantine/core/Tab",Ay.displayName="@mantine/core/TabsProvider";const Iy=fn(((e,t)=>{let{orientation:n,placement:r}=t;return{root:{display:"vertical"===n?"flex":void 0,flexDirection:"right"===r?"row-reverse":"row"}}}));var Dy=Object.defineProperty,Ly=Object.defineProperties,zy=Object.getOwnPropertyDescriptors,Fy=Object.getOwnPropertySymbols,My=Object.prototype.hasOwnProperty,By=Object.prototype.propertyIsEnumerable,Uy=(e,t,n)=>t in e?Dy(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const Hy={orientation:"horizontal",loop:!0,activateTabWithKeyboard:!0,allowTabDeactivation:!1,unstyled:!1,inverted:!1,variant:"default",placement:"left"},Wy=(0,r.forwardRef)(((e,t)=>{const n=Ht("Tabs",Hy,e),{defaultValue:o,value:a,orientation:i,loop:l,activateTabWithKeyboard:s,allowTabDeactivation:c,children:u,id:d,onTabChange:f,variant:p,color:m,className:h,unstyled:g,classNames:y,styles:v,radius:b,inverted:w,keepMounted:x,placement:k}=n,S=((e,t)=>{var n={};for(var r in e)My.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&Fy)for(var r of Fy(e))t.indexOf(r)<0&&By.call(e,r)&&(n[r]=e[r]);return n})(n,["defaultValue","value","orientation","loop","activateTabWithKeyboard","allowTabDeactivation","children","id","onTabChange","variant","color","className","unstyled","classNames","styles","radius","inverted","keepMounted","placement"]),{classes:O,cx:E}=Iy({orientation:i,color:m,radius:b,inverted:w,placement:k},{unstyled:g,name:"Tabs",classNames:y,styles:v,variant:p});return r.createElement(Ay,{activateTabWithKeyboard:s,defaultValue:o,orientation:i,onTabChange:f,value:a,id:d,loop:l,allowTabDeactivation:c,color:m,variant:p,radius:b,inverted:w,keepMounted:x,placement:k,classNames:y,styles:v,unstyled:g},r.createElement(Mn,(C=((e,t)=>{for(var n in t||(t={}))My.call(t,n)&&Uy(e,n,t[n]);if(Fy)for(var n of Fy(t))By.call(t,n)&&Uy(e,n,t[n]);return e})({},S),_={className:E(O.root,h),id:d,ref:t},Ly(C,zy(_))),u));var C,_}));Wy.List=ty,Wy.Tab=Ny,Wy.Panel=dy,Wy.displayName="@mantine/core/Tabs";var $y=function(){var e=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,t=0,n={},r={util:{encode:function e(t){return t instanceof o?new o(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/=d.reach);S+=k.value.length,k=k.next){var O=k.value;if(t.length>e.length)return;if(!(O instanceof o)){var E,C=1;if(v){if(!(E=a(x,S,e,y))||E.index>=e.length)break;var _=E.index,P=E.index+E[0].length,j=S;for(j+=k.value.length;_>=j;)j+=(k=k.next).value.length;if(S=j-=k.value.length,k.value instanceof o)continue;for(var T=k;T!==t.tail&&(jd.reach&&(d.reach=I);var D=k.prev;if(N&&(D=s(t,D,N),S+=N.length),c(t,D,C),k=s(t,D,new o(f,g?r.tokenize(R,g):R,b,R)),A&&s(t,k,A),C>1){var L={cause:f+","+m,reach:I};i(e,t,n,k.prev,S,L),d&&L.reach>d.reach&&(d.reach=L.reach)}}}}}}function l(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function s(e,t,n){var r=t.next,o={value:n,prev:t,next:r};return t.next=o,r.prev=o,e.length++,o}function c(e,t,n){for(var r=t.next,o=0;o"+a.content+""+a.tag+">"},r}(),qy=$y;$y.default=$y,qy.languages.markup={comment:{pattern://,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"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"},/?[\da-f]{1,8};/i]},qy.languages.markup.tag.inside["attr-value"].inside.entity=qy.languages.markup.entity,qy.languages.markup.doctype.inside["internal-subset"].inside=qy.languages.markup,qy.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))})),Object.defineProperty(qy.languages.markup.tag,"addInlined",{value:function(e,t){var n={};n["language-"+t]={pattern:/(^$)/i,lookbehind:!0,inside:qy.languages[t]},n.cdata=/^$/i;var r={"included-cdata":{pattern://i,inside:n}};r["language-"+t]={pattern:/[\s\S]+/,inside:qy.languages[t]};var o={};o[e]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,(function(){return e})),"i"),lookbehind:!0,greedy:!0,inside:r},qy.languages.insertBefore("markup","cdata",o)}}),Object.defineProperty(qy.languages.markup.tag,"addAttribute",{value:function(e,t){qy.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:qy.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),qy.languages.html=qy.languages.markup,qy.languages.mathml=qy.languages.markup,qy.languages.svg=qy.languages.markup,qy.languages.xml=qy.languages.extend("markup",{}),qy.languages.ssml=qy.languages.xml,qy.languages.atom=qy.languages.xml,qy.languages.rss=qy.languages.xml,function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",n={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},r={bash:n,environment:{pattern:RegExp("\\$"+t),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:r},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:r},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:r.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:r.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},n.inside=e.languages.bash;for(var o=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],a=r.variable[1].inside,i=0;i]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},qy.languages.c=qy.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),qy.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),qy.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},qy.languages.c.string],char:qy.languages.c.char,comment:qy.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:qy.languages.c}}}}),qy.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete qy.languages.c.boolean,function(e){var t=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,n=/\b(?!)\w+(?:\s*\.\s*\w+)*\b/.source.replace(//g,(function(){return t.source}));e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!)\w+/.source.replace(//g,(function(){return t.source}))),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:t,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/(?:\s*:\s*)?|:\s*/.source.replace(//g,(function(){return n}))+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])}(qy),function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var n=e.languages.markup;n&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))}(qy),function(e){var t,n=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/;e.languages.css.selector={pattern:e.languages.css.selector.pattern,lookbehind:!0,inside:t={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:RegExp("\\[(?:[^[\\]\"']|"+n.source+")*\\]"),greedy:!0,inside:{punctuation:/^\[|\]$/,"case-sensitivity":{pattern:/(\s)[si]$/i,lookbehind:!0,alias:"keyword"},namespace:{pattern:/^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/,lookbehind:!0,inside:{punctuation:/\|$/}},"attr-name":{pattern:/^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/,lookbehind:!0},"attr-value":[n,{pattern:/(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/,lookbehind:!0}],operator:/[|~*^$]?=/}},"n-th":[{pattern:/(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,lookbehind:!0,inside:{number:/[\dn]+/,operator:/[+-]/}},{pattern:/(\(\s*)(?:even|odd)(?=\s*\))/i,lookbehind:!0}],combinator:/>|\+|~|\|\|/,punctuation:/[(),]/}},e.languages.css.atrule.inside["selector-function-argument"].inside=t,e.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}});var r={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},o={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};e.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:r,number:o,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:r,number:o})}(qy),qy.languages.javascript=qy.languages.extend("clike",{"class-name":[qy.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|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}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),qy.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,qy.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:qy.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:qy.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:qy.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:qy.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]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:qy.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),qy.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"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:qy.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),qy.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),qy.languages.markup&&(qy.languages.markup.tag.addInlined("script","javascript"),qy.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),qy.languages.js=qy.languages.javascript,function(e){var t=/#(?!\{).+/,n={pattern:/#\{[^}]+\}/,alias:"variable"};e.languages.coffeescript=e.languages.extend("javascript",{comment:t,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:n}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),e.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:t,interpolation:n}}}),e.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:e.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:n}}]}),e.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete e.languages.coffeescript["template-string"],e.languages.coffee=e.languages.coffeescript}(qy),function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,r="(?:"+n.source+"(?:[ \t]+"+t.source+")?|"+t.source+"(?:[ \t]+"+n.source+")?)",o=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,(function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source})),a=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function i(e,t){t=(t||"").replace(/m/g,"")+"m";var n=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,(function(){return r})).replace(/<>/g,(function(){return e}));return RegExp(n,t)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,(function(){return r}))),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,(function(){return r})).replace(/<>/g,(function(){return"(?:"+o+"|"+a+")"}))),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:i(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:i(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:i(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:i(a),lookbehind:!0,greedy:!0},number:{pattern:i(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:n,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(qy),function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(e){return e=e.replace(//g,(function(){return t})),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,o=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,(function(){return r})),a=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+o+a+"(?:"+o+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+o+a+")(?:"+o+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+o+")"+a+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+o+"$"),inside:{"table-header":{pattern:RegExp(r),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:n(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach((function(t){["url","bold","italic","strike","code-snippet"].forEach((function(n){t!==n&&(e.languages.markdown[t].inside.content.inside[n]=e.languages.markdown[n])}))})),e.hooks.add("after-tokenize",(function(e){"markdown"!==e.language&&"md"!==e.language||function e(t){if(t&&"string"!==typeof t)for(var n=0,r=t.length;n",quot:'"'},s=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(qy),qy.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:qy.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},qy.hooks.add("after-tokenize",(function(e){if("graphql"===e.language)for(var t=e.tokens.filter((function(e){return"string"!==typeof e&&"comment"!==e.type&&"scalar"!==e.type})),n=0;n0)){var l=f(/^\{$/,/^\}$/);if(-1===l)continue;for(var s=n;s=0&&p(c,"variable-input")}}}}function u(e){return t[n+e]}function d(e,t){t=t||0;for(var n=0;n?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},function(e){var t=e.languages.javascript["template-string"],n=t.pattern.source,r=t.inside.interpolation,o=r.inside["interpolation-punctuation"],a=r.pattern.source;function i(t,r){if(e.languages[t])return{pattern:RegExp("((?:"+r+")\\s*)"+n),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:t}}}}function l(e,t){return"___"+t.toUpperCase()+"_"+e+"___"}function s(t,n,r){var o={code:t,grammar:n,language:r};return e.hooks.run("before-tokenize",o),o.tokens=e.tokenize(o.code,o.grammar),e.hooks.run("after-tokenize",o),o.tokens}function c(t){var n={};n["interpolation-punctuation"]=o;var a=e.tokenize(t,n);if(3===a.length){var i=[1,1];i.push.apply(i,s(a[1],e.languages.javascript,"javascript")),a.splice.apply(a,i)}return new e.Token("interpolation",a,r.alias,t)}function u(t,n,r){var o=e.tokenize(t,{interpolation:{pattern:RegExp(a),lookbehind:!0}}),i=0,u={},d=o.map((function(e){if("string"===typeof e)return e;for(var n,o=e.content;-1!==t.indexOf(n=l(i++,r)););return u[n]=o,n})).join(""),f=s(d,n,r),p=Object.keys(u);return i=0,function e(t){for(var n=0;n=p.length)return;var r=t[n];if("string"===typeof r||"string"===typeof r.content){var o=p[i],a="string"===typeof r?r:r.content,l=a.indexOf(o);if(-1!==l){++i;var s=a.substring(0,l),d=c(u[o]),f=a.substring(l+o.length),m=[];if(s&&m.push(s),m.push(d),f){var h=[f];e(h),m.push.apply(m,h)}"string"===typeof r?(t.splice.apply(t,[n,1].concat(m)),n+=m.length-1):r.content=m}}else{var g=r.content;Array.isArray(g)?e(g):e([g])}}}(f),new e.Token(r,f,"language-"+r,t)}e.languages.javascript["template-string"]=[i("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),i("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),i("svg",/\bsvg/.source),i("markdown",/\b(?:markdown|md)/.source),i("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),i("sql",/\bsql/.source),t].filter(Boolean);var d={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};function f(e){return"string"===typeof e?e:Array.isArray(e)?e.map(f).join(""):f(e.content)}e.hooks.add("after-tokenize",(function(t){t.language in d&&function t(n){for(var r=0,o=n.length;r]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"];var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript}(qy),function(e){function t(e,t){return RegExp(e.replace(//g,(function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source})),t)}e.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+e.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),e.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+e.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),e.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),e.languages.insertBefore("javascript","keyword",{imports:{pattern:t(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:e.languages.javascript},exports:{pattern:t(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:e.languages.javascript}}),e.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),e.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),e.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:t(/(\.\s*)#?/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var n=["function","function-variable","method","method-variable","property-access"],r=0;r*\.{3}(?:[^{}]|)*\})/.source;function a(e,t){return e=e.replace(//g,(function(){return n})).replace(//g,(function(){return r})).replace(//g,(function(){return o})),RegExp(e,t)}o=a(o).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=a(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:a(//.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:a(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var i=function(e){return e?"string"===typeof e?e:"string"===typeof e.content?e.content:e.content.map(i).join(""):""},l=function(t){for(var n=[],r=0;r0&&n[n.length-1].tagName===i(o.content[0].content[1])&&n.pop():"/>"===o.content[o.content.length-1].content||n.push({tagName:i(o.content[0].content[1]),openedBraces:0}):n.length>0&&"punctuation"===o.type&&"{"===o.content?n[n.length-1].openedBraces++:n.length>0&&n[n.length-1].openedBraces>0&&"punctuation"===o.type&&"}"===o.content?n[n.length-1].openedBraces--:a=!0),(a||"string"===typeof o)&&n.length>0&&0===n[n.length-1].openedBraces){var s=i(o);r0&&("string"===typeof t[r-1]||"plain-text"===t[r-1].type)&&(s=i(t[r-1])+s,t.splice(r-1,1),r--),t[r]=new e.Token("plain-text",s,null,s)}o.content&&"string"!==typeof o.content&&l(o.content)}};e.hooks.add("after-tokenize",(function(e){"jsx"!==e.language&&"tsx"!==e.language||l(e.tokens)}))}(qy),function(e){e.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var t={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(t).forEach((function(n){var r=t[n],o=[];/^\w+$/.test(n)||o.push(/\w+/.exec(n)[0]),"diff"===n&&o.push("bold"),e.languages.diff[n]={pattern:RegExp("^(?:["+r+"].*(?:\r\n?|\n|(?![\\s\\S])))+","m"),alias:o,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(n)[0]}}}})),Object.defineProperty(e.languages.diff,"PREFIXES",{value:t})}(qy),qy.languages.git={comment:/^#.*/m,deleted:/^[-\u2013].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/}},coord:/^@@.*@@$/m,"commit-sha1":/^commit \w{40}$/m},qy.languages.go=qy.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),qy.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete qy.languages.go["class-name"],function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,r,o,a){if(n.language===r){var i=n.tokenStack=[];n.code=n.code.replace(o,(function(e){if("function"===typeof a&&!a(e))return e;for(var o,l=i.length;-1!==n.code.indexOf(o=t(r,l));)++l;return i[l]=e,o})),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,r){if(n.language===r&&n.tokenStack){n.grammar=e.languages[r];var o=0,a=Object.keys(n.tokenStack);!function i(l){for(var s=0;s=a.length);s++){var c=l[s];if("string"===typeof c||c.content&&"string"===typeof c.content){var u=a[o],d=n.tokenStack[u],f="string"===typeof c?c:c.content,p=t(r,u),m=f.indexOf(p);if(m>-1){++o;var h=f.substring(0,m),g=new e.Token(r,e.tokenize(d,n.grammar),"language-"+r,d),y=f.substring(m+p.length),v=[];h&&v.push.apply(v,i([h])),v.push(g),y&&v.push.apply(v,i([y])),"string"===typeof c?l.splice.apply(l,[s,1].concat(v)):c.content=v}}else c.content&&i(c.content)}return l}(n.tokens)}}}})}(qy),function(e){e.languages.handlebars={comment:/\{\{![\s\S]*?\}\}/,delimiter:{pattern:/^\{\{\{?|\}\}\}?$/,alias:"punctuation"},string:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][+-]?\d+)?/,boolean:/\b(?:false|true)\b/,block:{pattern:/^(\s*(?:~\s*)?)[#\/]\S+?(?=\s*(?:~\s*)?$|\s)/,lookbehind:!0,alias:"keyword"},brackets:{pattern:/\[[^\]]+\]/,inside:{punctuation:/\[|\]/,variable:/[\s\S]+/}},punctuation:/[!"#%&':()*+,.\/;<=>@\[\\\]^`{|}~]/,variable:/[^!"#%&'()*+,\/;<=>@\[\\\]^`{|}~\s]+/},e.hooks.add("before-tokenize",(function(t){e.languages["markup-templating"].buildPlaceholders(t,"handlebars",/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g)})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"handlebars")})),e.languages.hbs=e.languages.handlebars}(qy),qy.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},qy.languages.webmanifest=qy.languages.json,qy.languages.less=qy.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,operator:/[+\-*\/]/}),qy.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}}),qy.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,lookbehind:!0},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"builtin-target":{pattern:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,alias:"builtin"},target:{pattern:/^(?:[^:=\s]|[ \t]+(?![\s:]))+(?=\s*:(?!=))/m,alias:"symbol",inside:{variable:/\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,function:{pattern:/(\()(?:abspath|addsuffix|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:list|s)?)(?=[ \t])/,lookbehind:!0},operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/},qy.languages.objectivec=qy.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<=?|>>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete qy.languages.objectivec["class-name"],qy.languages.objc=qy.languages.objectivec,qy.languages.ocaml={comment:{pattern:/\(\*[\s\S]*?\*\)/,greedy:!0},char:{pattern:/'(?:[^\\\r\n']|\\(?:.|[ox]?[0-9a-f]{1,3}))'/i,greedy:!0},string:[{pattern:/"(?:\\(?:[\s\S]|\r\n)|[^\\\r\n"])*"/,greedy:!0},{pattern:/\{([a-z_]*)\|[\s\S]*?\|\1\}/,greedy:!0}],number:[/\b(?:0b[01][01_]*|0o[0-7][0-7_]*)\b/i,/\b0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]*)?(?:p[+-]?\d[\d_]*)?(?!\w)/i,/\b\d[\d_]*(?:\.[\d_]*)?(?:e[+-]?\d[\d_]*)?(?!\w)/i],directive:{pattern:/\B#\w+/,alias:"property"},label:{pattern:/\B~\w+/,alias:"property"},"type-variable":{pattern:/\B'\w+/,alias:"function"},variant:{pattern:/`\w+/,alias:"symbol"},keyword:/\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|nonrec|object|of|open|private|rec|sig|struct|then|to|try|type|val|value|virtual|when|where|while|with)\b/,boolean:/\b(?:false|true)\b/,"operator-like-punctuation":{pattern:/\[[<>|]|[>|]\]|\{<|>\}/,alias:"punctuation"},operator:/\.[.~]|:[=>]|[=<>@^|&+\-*\/$%!?~][!$%&*+\-.\/:<=>?@^|~]*|\b(?:and|asr|land|lor|lsl|lsr|lxor|mod|or)\b/,punctuation:/;;|::|[(){}\[\].,:;#]|\b_\b/},qy.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},qy.languages.python["string-interpolation"].inside.interpolation.inside.rest=qy.languages.python,qy.languages.py=qy.languages.python,qy.languages.reason=qy.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),qy.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete qy.languages.reason.function,function(e){e.languages.sass=e.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),e.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete e.languages.sass.atrule;var t=/\$[-\w]+|#\{\$[-\w]+\}/,n=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}];e.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:t,operator:n}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:t,operator:n,important:e.languages.sass.important}}}),delete e.languages.sass.property,delete e.languages.sass.important,e.languages.insertBefore("sass","punctuation",{selector:{pattern:/^([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/m,lookbehind:!0,greedy:!0}})}(qy),qy.languages.scss=qy.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),qy.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),qy.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),qy.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}}),qy.languages.scss.atrule.inside.rest=qy.languages.scss,function(e){var t={pattern:/(\b\d+)(?:%|[a-z]+)/,lookbehind:!0},n={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},r={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},url:{pattern:/\burl\((["']?).*?\1\)/i,greedy:!0},string:{pattern:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,greedy:!0},interpolation:null,func:null,important:/\B!(?:important|optional)\b/i,keyword:{pattern:/(^|\s+)(?:(?:else|for|if|return|unless)(?=\s|$)|@[\w-]+)/,lookbehind:!0},hexcode:/#[\da-f]{3,6}/i,color:[/\b(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)\b/i,{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:t,number:n,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:t,boolean:/\b(?:false|true)\b/,operator:[/~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.{2,3}|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/],number:n,punctuation:/[{}()\[\];:,]/};r.interpolation={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^\{|\}$/,alias:"punctuation"},rest:r}},r.func={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:r}},e.languages.stylus={"atrule-declaration":{pattern:/(^[ \t]*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:r}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:\{[^{}]*\}|\S.*|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:r}},statement:{pattern:/(^[ \t]*)(?:else|for|if|return|unless)[ \t].+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:r}},"property-declaration":{pattern:/((?:^|\{)([ \t]*))(?:[\w-]|\{[^}\r\n]+\})+(?:\s*:\s*|[ \t]+)(?!\s)[^{\r\n]*(?:;|[^{\r\n,]$(?!(?:\r?\n|\r)(?:\{|\2[ \t])))/m,lookbehind:!0,inside:{property:{pattern:/^[^\s:]+/,inside:{interpolation:r.interpolation}},rest:r}},selector:{pattern:/(^[ \t]*)(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)(?:(?:\r?\n|\r)(?:\1(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)))*(?:,$|\{|(?=(?:\r?\n|\r)(?:\{|\1[ \t])))/m,lookbehind:!0,inside:{interpolation:r.interpolation,comment:r.comment,punctuation:/[{},]/}},func:r.func,string:r.string,comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},interpolation:r.interpolation,punctuation:/[{}()\[\];:.]/}}(qy),function(e){var t=e.util.clone(e.languages.typescript);e.languages.tsx=e.languages.extend("jsx",t),delete e.languages.tsx.parameter,delete e.languages.tsx["literal-property"];var n=e.languages.tsx.tag;n.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+n.pattern.source+")",n.pattern.flags),n.lookbehind=!0}(qy),qy.languages.wasm={comment:[/\(;[\s\S]*?;\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/"(?:\\[\s\S]|[^"\\])*"/,greedy:!0},keyword:[{pattern:/\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\b(?:(?:f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|neg?|nearest|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,inside:{punctuation:/\./}},/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/],variable:/\$[\w!#$%&'*+\-./:<=>?@\\^`|~]+/,number:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/,punctuation:/[()]/};var Vy={Prism:qy,theme:{plain:{backgroundColor:"#2a2734",color:"#9a86fd"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#6c6783"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#e09142"}},{types:["property","function"],style:{color:"#9a86fd"}},{types:["tag-id","selector","atrule-id"],style:{color:"#eeebff"}},{types:["attr-name"],style:{color:"#c4b9fe"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule","placeholder","variable"],style:{color:"#ffcc99"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#c4b9fe"}}]}};function Gy(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ky(){return Ky=Object.assign||function(e){for(var t=1;t0&&e[n-1]===t?e:e.concat(t)};function Qy(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&-1===t.indexOf(r)&&(n[r]=e[r]);return n}var Jy=function(e){function t(){for(var t=this,n=[],r=arguments.length;r--;)n[r]=arguments[r];e.apply(this,n),Gy(this,"getThemeDict",(function(e){if(void 0!==t.themeDict&&e.theme===t.prevTheme&&e.language===t.prevLanguage)return t.themeDict;t.prevTheme=e.theme,t.prevLanguage=e.language;var n=e.theme?function(e,t){var n=e.plain,r=Object.create(null),o=e.styles.reduce((function(e,n){var r=n.languages,o=n.style;return r&&!r.includes(t)||n.types.forEach((function(t){var n=Ky({},e[t],o);e[t]=n})),e}),r);return o.root=n,o.plain=Ky({},n,{backgroundColor:null}),o}(e.theme,e.language):void 0;return t.themeDict=n})),Gy(this,"getLineProps",(function(e){var n=e.key,r=e.className,o=e.style,a=Ky({},Qy(e,["key","className","style","line"]),{className:"token-line",style:void 0,key:void 0}),i=t.getThemeDict(t.props);return void 0!==i&&(a.style=i.plain),void 0!==o&&(a.style=void 0!==a.style?Ky({},a.style,o):o),void 0!==n&&(a.key=n),r&&(a.className+=" "+r),a})),Gy(this,"getStyleForToken",(function(e){var n=e.types,r=e.empty,o=n.length,a=t.getThemeDict(t.props);if(void 0!==a){if(1===o&&"plain"===n[0])return r?{display:"inline-block"}:void 0;if(1===o&&!r)return a[n[0]];var i=r?{display:"inline-block"}:{},l=n.map((function(e){return a[e]}));return Object.assign.apply(Object,[i].concat(l))}})),Gy(this,"getTokenProps",(function(e){var n=e.key,r=e.className,o=e.style,a=e.token,i=Ky({},Qy(e,["key","className","style","token"]),{className:"token "+a.types.join(" "),children:a.content,style:t.getStyleForToken(a),key:void 0});return void 0!==o&&(i.style=void 0!==i.style?Ky({},i.style,o):o),void 0!==n&&(i.key=n),r&&(i.className+=" "+r),i})),Gy(this,"tokenize",(function(e,t,n,r){var o={code:t,grammar:n,language:r,tokens:[]};e.hooks.run("before-tokenize",o);var a=o.tokens=e.tokenize(o.code,o.grammar,o.language);return e.hooks.run("after-tokenize",o),a}))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.render=function(){var e=this.props,t=e.Prism,n=e.language,r=e.code,o=e.children,a=this.getThemeDict(this.props),i=t.languages[n],l=function(e){for(var t=[[]],n=[e],r=[0],o=[e.length],a=0,i=0,l=[],s=[l];i>-1;){for(;(a=r[i]++)0?u:["plain"],c=d):(u=Zy(u,d.type),d.alias&&(u=Zy(u,d.alias)),c=d.content),"string"===typeof c){var f=c.split(Yy),p=f.length;l.push({types:u,content:f[0]});for(var m=1;mt.forEach((t=>function(e,t){"function"===typeof e?e(t):null!==e&&void 0!==e&&(e.current=t)}(t,e)))}function nv(){for(var e=arguments.length,t=new Array(e),n=0;n{const{children:n,...o}=e,a=r.Children.toArray(n),i=a.find(iv);if(i){const e=i.props.children,n=a.map((t=>t===i?r.Children.count(e)>1?r.Children.only(null):(0,r.isValidElement)(e)?e.props.children:null:t));return(0,r.createElement)(ov,de({},o,{ref:t}),(0,r.isValidElement)(e)?(0,r.cloneElement)(e,void 0,n):null)}return(0,r.createElement)(ov,de({},o,{ref:t}),n)}));rv.displayName="Slot";const ov=(0,r.forwardRef)(((e,t)=>{const{children:n,...o}=e;return(0,r.isValidElement)(n)?(0,r.cloneElement)(n,{...lv(o,n.props),ref:tv(t,n.ref)}):r.Children.count(n)>1?r.Children.only(null):null}));ov.displayName="SlotClone";const av=e=>{let{children:t}=e;return(0,r.createElement)(r.Fragment,null,t)};function iv(e){return(0,r.isValidElement)(e)&&e.type===av}function lv(e,t){const n={...t};for(const r in t){const o=e[r],a=t[r];/^on[A-Z]/.test(r)?o&&a?n[r]=function(){a(...arguments),o(...arguments)}:o&&(n[r]=o):"style"===r?n[r]={...o,...a}:"className"===r&&(n[r]=[o,a].filter(Boolean).join(" "))}return{...e,...n}}const sv=["a","button","div","h2","h3","img","label","li","nav","ol","p","span","svg","ul"].reduce(((e,t)=>{const n=(0,r.forwardRef)(((e,n)=>{const{asChild:o,...a}=e,i=o?rv:t;return(0,r.useEffect)((()=>{window[Symbol.for("radix-ui")]=!0}),[]),(0,r.createElement)(i,de({},a,{ref:n}))}));return n.displayName="Primitive.".concat(t),{...e,[t]:n}}),{});const cv=Boolean(null===globalThis||void 0===globalThis?void 0:globalThis.document)?r.useLayoutEffect:()=>{};const uv=e=>{const{present:t,children:n}=e,o=function(e){const[t,n]=(0,r.useState)(),o=(0,r.useRef)({}),a=(0,r.useRef)(e),i=(0,r.useRef)("none"),l=e?"mounted":"unmounted",[s,c]=function(e,t){return(0,r.useReducer)(((e,n)=>{const r=t[e][n];return null!==r&&void 0!==r?r:e}),e)}(l,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return(0,r.useEffect)((()=>{const e=dv(o.current);i.current="mounted"===s?e:"none"}),[s]),cv((()=>{const t=o.current,n=a.current;if(n!==e){const r=i.current,o=dv(t);if(e)c("MOUNT");else if("none"===o||"none"===(null===t||void 0===t?void 0:t.display))c("UNMOUNT");else{c(n&&r!==o?"ANIMATION_OUT":"UNMOUNT")}a.current=e}}),[e,c]),cv((()=>{if(t){const e=e=>{const n=dv(o.current).includes(e.animationName);e.target===t&&n&&(0,Mi.flushSync)((()=>c("ANIMATION_END")))},n=e=>{e.target===t&&(i.current=dv(o.current))};return t.addEventListener("animationstart",n),t.addEventListener("animationcancel",e),t.addEventListener("animationend",e),()=>{t.removeEventListener("animationstart",n),t.removeEventListener("animationcancel",e),t.removeEventListener("animationend",e)}}c("ANIMATION_END")}),[t,c]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:(0,r.useCallback)((e=>{e&&(o.current=getComputedStyle(e)),n(e)}),[])}}(t),a="function"===typeof n?n({present:o.isPresent}):r.Children.only(n),i=nv(o.ref,a.ref);return"function"===typeof n||o.isPresent?(0,r.cloneElement)(a,{ref:i}):null};function dv(e){return(null===e||void 0===e?void 0:e.animationName)||"none"}function fv(){for(var e=arguments.length,t=new Array(e),n=0;n{const e=t.map((e=>({useScope:e(),scopeName:e.scopeName})));return function(t){const n=e.reduce(((e,n)=>{let{useScope:r,scopeName:o}=n;return{...e,...r(t)["__scope".concat(o)]}}),{});return(0,r.useMemo)((()=>({["__scope".concat(o.scopeName)]:n})),[n])}};return a.scopeName=o.scopeName,a}function pv(e){const t=(0,r.useRef)(e);return(0,r.useEffect)((()=>{t.current=e})),(0,r.useMemo)((()=>function(){for(var e,n=arguments.length,r=new Array(n),o=0;o2&&void 0!==arguments[2]?arguments[2]:{};return function(r){if(null===e||void 0===e||e(r),!1===n||!r.defaultPrevented)return null===t||void 0===t?void 0:t(r)}}const gv="ScrollArea",[yv,vv]=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[];const o=()=>{const t=n.map((e=>(0,r.createContext)(e)));return function(n){const o=(null===n||void 0===n?void 0:n[e])||t;return(0,r.useMemo)((()=>({["__scope".concat(e)]:{...n,[e]:o}})),[n,o])}};return o.scopeName=e,[function(t,o){const a=(0,r.createContext)(o),i=n.length;function l(t){const{scope:n,children:o,...l}=t,s=(null===n||void 0===n?void 0:n[e][i])||a,c=(0,r.useMemo)((()=>l),Object.values(l));return(0,r.createElement)(s.Provider,{value:c},o)}return n=[...n,o],l.displayName=t+"Provider",[l,function(n,l){const s=(null===l||void 0===l?void 0:l[e][i])||a,c=(0,r.useContext)(s);if(c)return c;if(void 0!==o)return o;throw new Error("`".concat(n,"` must be used within `").concat(t,"`"))}]},fv(o,...t)]}(gv),[bv,wv]=yv(gv),xv=(0,r.forwardRef)(((e,t)=>{const{__scopeScrollArea:n,type:o="hover",dir:a,scrollHideDelay:i=600,...l}=e,[s,c]=(0,r.useState)(null),[u,d]=(0,r.useState)(null),[f,p]=(0,r.useState)(null),[m,h]=(0,r.useState)(null),[g,y]=(0,r.useState)(null),[v,b]=(0,r.useState)(0),[w,x]=(0,r.useState)(0),[k,S]=(0,r.useState)(!1),[O,E]=(0,r.useState)(!1),C=nv(t,(e=>c(e))),_=function(e){const t=(0,r.useContext)(mv);return e||t||"ltr"}(a);return(0,r.createElement)(bv,{scope:n,type:o,dir:_,scrollHideDelay:i,scrollArea:s,viewport:u,onViewportChange:d,content:f,onContentChange:p,scrollbarX:m,onScrollbarXChange:h,scrollbarXEnabled:k,onScrollbarXEnabledChange:S,scrollbarY:g,onScrollbarYChange:y,scrollbarYEnabled:O,onScrollbarYEnabledChange:E,onCornerWidthChange:b,onCornerHeightChange:x},(0,r.createElement)(sv.div,de({dir:_},l,{ref:C,style:{position:"relative","--radix-scroll-area-corner-width":v+"px","--radix-scroll-area-corner-height":w+"px",...e.style}})))})),kv="ScrollAreaViewport",Sv=(0,r.forwardRef)(((e,t)=>{const{__scopeScrollArea:n,children:o,...a}=e,i=wv(kv,n),l=nv(t,(0,r.useRef)(null),i.onViewportChange);return(0,r.createElement)(r.Fragment,null,(0,r.createElement)("style",{dangerouslySetInnerHTML:{__html:"[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}"}}),(0,r.createElement)(sv.div,de({"data-radix-scroll-area-viewport":""},a,{ref:l,style:{overflowX:i.scrollbarXEnabled?"scroll":"hidden",overflowY:i.scrollbarYEnabled?"scroll":"hidden",...e.style}}),(0,r.createElement)("div",{ref:i.onContentChange,style:{minWidth:"100%",display:"table"}},o)))})),Ov="ScrollAreaScrollbar",Ev=(0,r.forwardRef)(((e,t)=>{const{forceMount:n,...o}=e,a=wv(Ov,e.__scopeScrollArea),{onScrollbarXEnabledChange:i,onScrollbarYEnabledChange:l}=a,s="horizontal"===e.orientation;return(0,r.useEffect)((()=>(s?i(!0):l(!0),()=>{s?i(!1):l(!1)})),[s,i,l]),"hover"===a.type?(0,r.createElement)(Cv,de({},o,{ref:t,forceMount:n})):"scroll"===a.type?(0,r.createElement)(_v,de({},o,{ref:t,forceMount:n})):"auto"===a.type?(0,r.createElement)(Pv,de({},o,{ref:t,forceMount:n})):"always"===a.type?(0,r.createElement)(jv,de({},o,{ref:t})):null})),Cv=(0,r.forwardRef)(((e,t)=>{const{forceMount:n,...o}=e,a=wv(Ov,e.__scopeScrollArea),[i,l]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{const e=a.scrollArea;let t=0;if(e){const n=()=>{window.clearTimeout(t),l(!0)},r=()=>{t=window.setTimeout((()=>l(!1)),a.scrollHideDelay)};return e.addEventListener("pointerenter",n),e.addEventListener("pointerleave",r),()=>{window.clearTimeout(t),e.removeEventListener("pointerenter",n),e.removeEventListener("pointerleave",r)}}}),[a.scrollArea,a.scrollHideDelay]),(0,r.createElement)(uv,{present:n||i},(0,r.createElement)(Pv,de({"data-state":i?"visible":"hidden"},o,{ref:t})))})),_v=(0,r.forwardRef)(((e,t)=>{const{forceMount:n,...o}=e,a=wv(Ov,e.__scopeScrollArea),i="horizontal"===e.orientation,l=Kv((()=>c("SCROLL_END")),100),[s,c]=function(e,t){return(0,r.useReducer)(((e,n)=>{const r=t[e][n];return null!==r&&void 0!==r?r:e}),e)}("hidden",{hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}});return(0,r.useEffect)((()=>{if("idle"===s){const e=window.setTimeout((()=>c("HIDE")),a.scrollHideDelay);return()=>window.clearTimeout(e)}}),[s,a.scrollHideDelay,c]),(0,r.useEffect)((()=>{const e=a.viewport,t=i?"scrollLeft":"scrollTop";if(e){let n=e[t];const r=()=>{const r=e[t];n!==r&&(c("SCROLL"),l()),n=r};return e.addEventListener("scroll",r),()=>e.removeEventListener("scroll",r)}}),[a.viewport,i,c,l]),(0,r.createElement)(uv,{present:n||"hidden"!==s},(0,r.createElement)(jv,de({"data-state":"hidden"===s?"hidden":"visible"},o,{ref:t,onPointerEnter:hv(e.onPointerEnter,(()=>c("POINTER_ENTER"))),onPointerLeave:hv(e.onPointerLeave,(()=>c("POINTER_LEAVE")))})))})),Pv=(0,r.forwardRef)(((e,t)=>{const n=wv(Ov,e.__scopeScrollArea),{forceMount:o,...a}=e,[i,l]=(0,r.useState)(!1),s="horizontal"===e.orientation,c=Kv((()=>{if(n.viewport){const e=n.viewport.offsetWidth{const{orientation:n="vertical",...o}=e,a=wv(Ov,e.__scopeScrollArea),i=(0,r.useRef)(null),l=(0,r.useRef)(0),[s,c]=(0,r.useState)({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),u=Hv(s.viewport,s.content),d={...o,sizes:s,onSizesChange:c,hasThumb:Boolean(u>0&&u<1),onThumbChange:e=>i.current=e,onThumbPointerUp:()=>l.current=0,onThumbPointerDown:e=>l.current=e};function f(e,t){return function(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"ltr";const o=Wv(n),a=o/2,i=t||a,l=o-i,s=n.scrollbar.paddingStart+i,c=n.scrollbar.size-n.scrollbar.paddingEnd-l,u=n.content-n.viewport,d="ltr"===r?[0,u]:[-1*u,0];return qv([s,c],d)(e)}(e,l.current,s,t)}return"horizontal"===n?(0,r.createElement)(Tv,de({},d,{ref:t,onThumbPositionChange:()=>{if(a.viewport&&i.current){const e=$v(a.viewport.scrollLeft,s,a.dir);i.current.style.transform="translate3d(".concat(e,"px, 0, 0)")}},onWheelScroll:e=>{a.viewport&&(a.viewport.scrollLeft=e)},onDragScroll:e=>{a.viewport&&(a.viewport.scrollLeft=f(e,a.dir))}})):"vertical"===n?(0,r.createElement)(Rv,de({},d,{ref:t,onThumbPositionChange:()=>{if(a.viewport&&i.current){const e=$v(a.viewport.scrollTop,s);i.current.style.transform="translate3d(0, ".concat(e,"px, 0)")}},onWheelScroll:e=>{a.viewport&&(a.viewport.scrollTop=e)},onDragScroll:e=>{a.viewport&&(a.viewport.scrollTop=f(e))}})):null})),Tv=(0,r.forwardRef)(((e,t)=>{const{sizes:n,onSizesChange:o,...a}=e,i=wv(Ov,e.__scopeScrollArea),[l,s]=(0,r.useState)(),c=(0,r.useRef)(null),u=nv(t,c,i.onScrollbarXChange);return(0,r.useEffect)((()=>{c.current&&s(getComputedStyle(c.current))}),[c]),(0,r.createElement)(Iv,de({"data-orientation":"horizontal"},a,{ref:u,sizes:n,style:{bottom:0,left:"rtl"===i.dir?"var(--radix-scroll-area-corner-width)":0,right:"ltr"===i.dir?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":Wv(n)+"px",...e.style},onThumbPointerDown:t=>e.onThumbPointerDown(t.x),onDragScroll:t=>e.onDragScroll(t.x),onWheelScroll:(t,n)=>{if(i.viewport){const r=i.viewport.scrollLeft+t.deltaX;e.onWheelScroll(r),Vv(r,n)&&t.preventDefault()}},onResize:()=>{c.current&&i.viewport&&l&&o({content:i.viewport.scrollWidth,viewport:i.viewport.offsetWidth,scrollbar:{size:c.current.clientWidth,paddingStart:Uv(l.paddingLeft),paddingEnd:Uv(l.paddingRight)}})}}))})),Rv=(0,r.forwardRef)(((e,t)=>{const{sizes:n,onSizesChange:o,...a}=e,i=wv(Ov,e.__scopeScrollArea),[l,s]=(0,r.useState)(),c=(0,r.useRef)(null),u=nv(t,c,i.onScrollbarYChange);return(0,r.useEffect)((()=>{c.current&&s(getComputedStyle(c.current))}),[c]),(0,r.createElement)(Iv,de({"data-orientation":"vertical"},a,{ref:u,sizes:n,style:{top:0,right:"ltr"===i.dir?0:void 0,left:"rtl"===i.dir?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":Wv(n)+"px",...e.style},onThumbPointerDown:t=>e.onThumbPointerDown(t.y),onDragScroll:t=>e.onDragScroll(t.y),onWheelScroll:(t,n)=>{if(i.viewport){const r=i.viewport.scrollTop+t.deltaY;e.onWheelScroll(r),Vv(r,n)&&t.preventDefault()}},onResize:()=>{c.current&&i.viewport&&l&&o({content:i.viewport.scrollHeight,viewport:i.viewport.offsetHeight,scrollbar:{size:c.current.clientHeight,paddingStart:Uv(l.paddingTop),paddingEnd:Uv(l.paddingBottom)}})}}))})),[Nv,Av]=yv(Ov),Iv=(0,r.forwardRef)(((e,t)=>{const{__scopeScrollArea:n,sizes:o,hasThumb:a,onThumbChange:i,onThumbPointerUp:l,onThumbPointerDown:s,onThumbPositionChange:c,onDragScroll:u,onWheelScroll:d,onResize:f,...p}=e,m=wv(Ov,n),[h,g]=(0,r.useState)(null),y=nv(t,(e=>g(e))),v=(0,r.useRef)(null),b=(0,r.useRef)(""),w=m.viewport,x=o.content-o.viewport,k=pv(d),S=pv(c),O=Kv(f,10);function E(e){if(v.current){const t=e.clientX-v.current.left,n=e.clientY-v.current.top;u({x:t,y:n})}}return(0,r.useEffect)((()=>{const e=e=>{const t=e.target;(null===h||void 0===h?void 0:h.contains(t))&&k(e,x)};return document.addEventListener("wheel",e,{passive:!1}),()=>document.removeEventListener("wheel",e,{passive:!1})}),[w,h,x,k]),(0,r.useEffect)(S,[o,S]),Yv(h,O),Yv(m.content,O),(0,r.createElement)(Nv,{scope:n,scrollbar:h,hasThumb:a,onThumbChange:pv(i),onThumbPointerUp:pv(l),onThumbPositionChange:S,onThumbPointerDown:pv(s)},(0,r.createElement)(sv.div,de({},p,{ref:y,style:{position:"absolute",...p.style},onPointerDown:hv(e.onPointerDown,(e=>{if(0===e.button){e.target.setPointerCapture(e.pointerId),v.current=h.getBoundingClientRect(),b.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",E(e)}})),onPointerMove:hv(e.onPointerMove,E),onPointerUp:hv(e.onPointerUp,(e=>{const t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),document.body.style.webkitUserSelect=b.current,v.current=null}))})))})),Dv="ScrollAreaThumb",Lv=(0,r.forwardRef)(((e,t)=>{const{forceMount:n,...o}=e,a=Av(Dv,e.__scopeScrollArea);return(0,r.createElement)(uv,{present:n||a.hasThumb},(0,r.createElement)(zv,de({ref:t},o)))})),zv=(0,r.forwardRef)(((e,t)=>{const{__scopeScrollArea:n,style:o,...a}=e,i=wv(Dv,n),l=Av(Dv,n),{onThumbPositionChange:s}=l,c=nv(t,(e=>l.onThumbChange(e))),u=(0,r.useRef)(),d=Kv((()=>{u.current&&(u.current(),u.current=void 0)}),100);return(0,r.useEffect)((()=>{const e=i.viewport;if(e){const t=()=>{if(d(),!u.current){const t=Gv(e,s);u.current=t,s()}};return s(),e.addEventListener("scroll",t),()=>e.removeEventListener("scroll",t)}}),[i.viewport,d,s]),(0,r.createElement)(sv.div,de({"data-state":l.hasThumb?"visible":"hidden"},a,{ref:c,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...o},onPointerDownCapture:hv(e.onPointerDownCapture,(e=>{const t=e.target.getBoundingClientRect(),n=e.clientX-t.left,r=e.clientY-t.top;l.onThumbPointerDown({x:n,y:r})})),onPointerUp:hv(e.onPointerUp,l.onThumbPointerUp)}))})),Fv="ScrollAreaCorner",Mv=(0,r.forwardRef)(((e,t)=>{const n=wv(Fv,e.__scopeScrollArea),o=Boolean(n.scrollbarX&&n.scrollbarY);return"scroll"!==n.type&&o?(0,r.createElement)(Bv,de({},e,{ref:t})):null})),Bv=(0,r.forwardRef)(((e,t)=>{const{__scopeScrollArea:n,...o}=e,a=wv(Fv,n),[i,l]=(0,r.useState)(0),[s,c]=(0,r.useState)(0),u=Boolean(i&&s);return Yv(a.scrollbarX,(()=>{var e;const t=(null===(e=a.scrollbarX)||void 0===e?void 0:e.offsetHeight)||0;a.onCornerHeightChange(t),c(t)})),Yv(a.scrollbarY,(()=>{var e;const t=(null===(e=a.scrollbarY)||void 0===e?void 0:e.offsetWidth)||0;a.onCornerWidthChange(t),l(t)})),u?(0,r.createElement)(sv.div,de({},o,{ref:t,style:{width:i,height:s,position:"absolute",right:"ltr"===a.dir?0:void 0,left:"rtl"===a.dir?0:void 0,bottom:0,...e.style}})):null}));function Uv(e){return e?parseInt(e,10):0}function Hv(e,t){const n=e/t;return isNaN(n)?0:n}function Wv(e){const t=Hv(e.viewport,e.content),n=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,r=(e.scrollbar.size-n)*t;return Math.max(r,18)}function $v(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"ltr";const r=Wv(t),o=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,a=t.scrollbar.size-o,i=t.content-t.viewport,l=a-r,s=function(e,t){let[n,r]=t;return Math.min(r,Math.max(n,e))}(e,"ltr"===n?[0,i]:[-1*i,0]);return qv([0,i],[0,l])(s)}function qv(e,t){return n=>{if(e[0]===e[1]||t[0]===t[1])return t[0];const r=(t[1]-t[0])/(e[1]-e[0]);return t[0]+r*(n-e[0])}}function Vv(e,t){return e>0&&e1&&void 0!==arguments[1]?arguments[1]:()=>{},n={left:e.scrollLeft,top:e.scrollTop},r=0;return function o(){const a={left:e.scrollLeft,top:e.scrollTop},i=n.left!==a.left,l=n.top!==a.top;(i||l)&&t(),n=a,r=window.requestAnimationFrame(o)}(),()=>window.cancelAnimationFrame(r)};function Kv(e,t){const n=pv(e),o=(0,r.useRef)(0);return(0,r.useEffect)((()=>()=>window.clearTimeout(o.current)),[]),(0,r.useCallback)((()=>{window.clearTimeout(o.current),o.current=window.setTimeout(n,t)}),[n,t])}function Yv(e,t){const n=pv(t);cv((()=>{let t=0;if(e){const r=new ResizeObserver((()=>{cancelAnimationFrame(t),t=window.requestAnimationFrame(n)}));return r.observe(e),()=>{window.cancelAnimationFrame(t),r.unobserve(e)}}}),[e,n])}const Xv=xv,Zv=Sv,Qv=Ev,Jv=Lv,eb=Mv;function tb(e){return"___ref-".concat(e||"")}var nb=fn(((e,t)=>{let{scrollbarSize:n,offsetScrollbars:r,scrollbarHovered:o,hidden:a}=t;return{root:{overflow:"hidden"},viewport:{width:"100%",height:"100%",paddingRight:r?l(n):void 0,paddingBottom:r?l(n):void 0},scrollbar:{display:a?"none":"flex",userSelect:"none",touchAction:"none",boxSizing:"border-box",padding:"calc(".concat(l(n)," / 5)"),transition:"background-color 150ms ease, opacity 150ms ease","&:hover":{backgroundColor:"dark"===e.colorScheme?e.colors.dark[8]:e.colors.gray[0],["& .".concat(tb("thumb"))]:{backgroundColor:"dark"===e.colorScheme?e.fn.rgba(e.white,.5):e.fn.rgba(e.black,.5)}},'&[data-orientation="vertical"]':{width:l(n)},'&[data-orientation="horizontal"]':{flexDirection:"column",height:l(n)},'&[data-state="hidden"]':{display:"none",opacity:0}},thumb:{ref:tb("thumb"),flex:1,backgroundColor:"dark"===e.colorScheme?e.fn.rgba(e.white,.4):e.fn.rgba(e.black,.4),borderRadius:l(n),position:"relative",transition:"background-color 150ms ease",display:a?"none":void 0,overflow:"hidden","&::before":{content:'""',position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",width:"100%",height:"100%",minWidth:l(44),minHeight:l(44)}},corner:{backgroundColor:"dark"===e.colorScheme?e.colors.dark[6]:e.colors.gray[0],transition:"opacity 150ms ease",opacity:o?1:0,display:a?"none":void 0}}}));const rb=nb;var ob=Object.defineProperty,ab=Object.defineProperties,ib=Object.getOwnPropertyDescriptors,lb=Object.getOwnPropertySymbols,sb=Object.prototype.hasOwnProperty,cb=Object.prototype.propertyIsEnumerable,ub=(e,t,n)=>t in e?ob(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,db=(e,t)=>{for(var n in t||(t={}))sb.call(t,n)&&ub(e,n,t[n]);if(lb)for(var n of lb(t))cb.call(t,n)&&ub(e,n,t[n]);return e},fb=(e,t)=>ab(e,ib(t)),pb=(e,t)=>{var n={};for(var r in e)sb.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&lb)for(var r of lb(e))t.indexOf(r)<0&&cb.call(e,r)&&(n[r]=e[r]);return n};const mb={scrollbarSize:12,scrollHideDelay:1e3,type:"hover",offsetScrollbars:!1},hb=(0,r.forwardRef)(((e,t)=>{const n=Ht("ScrollArea",mb,e),{children:o,className:a,classNames:i,styles:l,scrollbarSize:s,scrollHideDelay:c,type:u,dir:d,offsetScrollbars:f,viewportRef:p,onScrollPositionChange:m,unstyled:h,variant:g,viewportProps:y}=n,v=pb(n,["children","className","classNames","styles","scrollbarSize","scrollHideDelay","type","dir","offsetScrollbars","viewportRef","onScrollPositionChange","unstyled","variant","viewportProps"]),[b,w]=(0,r.useState)(!1),x=Bt(),{classes:k,cx:S}=rb({scrollbarSize:s,offsetScrollbars:f,scrollbarHovered:b,hidden:"never"===u},{name:"ScrollArea",classNames:i,styles:l,unstyled:h,variant:g});return r.createElement(Xv,{type:"never"===u?"always":u,scrollHideDelay:c,dir:d||x.dir,ref:t,asChild:!0},r.createElement(Mn,db({className:S(k.root,a)},v),r.createElement(Zv,fb(db({},y),{className:k.viewport,ref:p,onScroll:"function"===typeof m?e=>{let{currentTarget:t}=e;return m({x:t.scrollLeft,y:t.scrollTop})}:void 0}),o),r.createElement(Qv,{orientation:"horizontal",className:k.scrollbar,forceMount:!0,onMouseEnter:()=>w(!0),onMouseLeave:()=>w(!1)},r.createElement(Jv,{className:k.thumb})),r.createElement(Qv,{orientation:"vertical",className:k.scrollbar,forceMount:!0,onMouseEnter:()=>w(!0),onMouseLeave:()=>w(!1)},r.createElement(Jv,{className:k.thumb})),r.createElement(eb,{className:k.corner})))})),gb=(0,r.forwardRef)(((e,t)=>{const n=Ht("ScrollAreaAutosize",mb,e),{children:o,classNames:a,styles:i,scrollbarSize:l,scrollHideDelay:s,type:c,dir:u,offsetScrollbars:d,viewportRef:f,onScrollPositionChange:p,unstyled:m,sx:h,variant:g,viewportProps:y}=n,v=pb(n,["children","classNames","styles","scrollbarSize","scrollHideDelay","type","dir","offsetScrollbars","viewportRef","onScrollPositionChange","unstyled","sx","variant","viewportProps"]);return r.createElement(Mn,fb(db({},v),{ref:t,sx:[{display:"flex"},...ba(h)]}),r.createElement(Mn,{sx:{display:"flex",flexDirection:"column",flex:1}},r.createElement(hb,{classNames:a,styles:i,scrollHideDelay:s,scrollbarSize:l,type:c,dir:u,offsetScrollbars:d,viewportRef:f,onScrollPositionChange:p,unstyled:m,variant:g,viewportProps:y},o)))}));gb.displayName="@mantine/core/ScrollAreaAutosize",hb.displayName="@mantine/core/ScrollArea",hb.Autosize=gb;const yb=hb;function vb(){let{timeout:e=2e3}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const[t,n]=(0,r.useState)(null),[o,a]=(0,r.useState)(!1),[i,l]=(0,r.useState)(null);return{copy:t=>{"clipboard"in navigator?navigator.clipboard.writeText(t).then((()=>{return t=!0,clearTimeout(i),l(setTimeout((()=>a(!1)),e)),void a(t);var t})).catch((e=>n(e))):n(new Error("useClipboard: navigator.clipboard is not supported"))},reset:()=>{a(!1),n(null),clearTimeout(i)},error:t,copied:o}}function bb(e){let{copied:t}=e;return r.createElement("svg",{viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{width:"1rem",height:"1rem"}},t?r.createElement("path",{d:"M11.4669 3.72684C11.7558 3.91574 11.8369 4.30308 11.648 4.59198L7.39799 11.092C7.29783 11.2452 7.13556 11.3467 6.95402 11.3699C6.77247 11.3931 6.58989 11.3355 6.45446 11.2124L3.70446 8.71241C3.44905 8.48022 3.43023 8.08494 3.66242 7.82953C3.89461 7.57412 4.28989 7.55529 4.5453 7.78749L6.75292 9.79441L10.6018 3.90792C10.7907 3.61902 11.178 3.53795 11.4669 3.72684Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}):r.createElement("path",{d:"M5 2V1H10V2H5ZM4.75 0C4.33579 0 4 0.335786 4 0.75V1H3.5C2.67157 1 2 1.67157 2 2.5V12.5C2 13.3284 2.67157 14 3.5 14H11.5C12.3284 14 13 13.3284 13 12.5V2.5C13 1.67157 12.3284 1 11.5 1H11V0.75C11 0.335786 10.6642 0 10.25 0H4.75ZM11 2V2.25C11 2.66421 10.6642 3 10.25 3H4.75C4.33579 3 4 2.66421 4 2.25V2H3.5C3.22386 2 3 2.22386 3 2.5V12.5C3 12.7761 3.22386 13 3.5 13H11.5C11.7761 13 12 12.7761 12 12.5V2.5C12 2.22386 11.7761 2 11.5 2H11Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}))}bb.displayName="@mantine/prism/CopyIcon";var wb=fn(((e,t)=>{let{colorScheme:n,native:r,maxLineSize:o,radius:a}=t;return{scrollArea:{},root:{position:"relative"},code:{boxSizing:"border-box",position:"relative",fontFamily:e.fontFamilyMonospace,lineHeight:1.7,fontSize:l(13),overflowX:r?"auto":void 0,borderRadius:e.fn.radius(a),padding:"".concat(e.spacing.sm," 0"),"&.mantine-Prism-code":{marginTop:0,marginBottom:0}},copy:{position:"absolute",top:e.spacing.xs,right:"ltr"===e.dir?e.spacing.xs:"unset",left:"rtl"===e.dir?e.spacing.xs:"unset",zIndex:2,"&, &:hover":{backgroundColor:"dark"===n?e.colors.dark[8]:e.colors.gray[0]}},line:{display:"flex",width:"100%",padding:"0 ".concat(e.spacing.md)},lineNumber:{color:"dark"===n?e.colors.dark[4]:e.colors.gray[4],textAlign:"right",width:"calc(8 * ".concat(l(o),")"),marginRight:"ltr"===e.dir?e.spacing.xs:void 0,marginLeft:"rtl"===e.dir?e.spacing.xs:void 0,userSelect:"none"},lineContent:{width:"100%"}}}));const xb=wb;var kb=Object.defineProperty,Sb=Object.defineProperties,Ob=Object.getOwnPropertyDescriptors,Eb=Object.getOwnPropertySymbols,Cb=Object.prototype.hasOwnProperty,_b=Object.prototype.propertyIsEnumerable,Pb=(e,t,n)=>t in e?kb(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,jb=(e,t)=>{for(var n in t||(t={}))Cb.call(t,n)&&Pb(e,n,t[n]);if(Eb)for(var n of Eb(t))_b.call(t,n)&&Pb(e,n,t[n]);return e},Tb=(e,t)=>Sb(e,Ob(t));const Rb={noCopy:!1,copyLabel:"Copy code",copiedLabel:"Copied",withLineNumbers:!1,trim:!0,highlightLines:{},scrollAreaComponent:yb,getPrismTheme:(e,t)=>"dark"===t?(e=>({plain:{color:e.colors.gray[4],backgroundColor:e.colors.dark[8]},styles:[{types:["comment"],style:{color:e.colors.gray[6]}},{types:["string","inserted","selector","atrule"],style:{color:e.colors.teal[4]}},{types:["number"],style:{color:e.colors.blue[4]}},{types:["builtin","char","constant","function"],style:{color:e.colors.orange[5]}},{types:["punctuation"],style:{color:e.colors.gray[5]}},{types:["variable"],style:{color:e.colors.gray[5]}},{types:["class-name","attr-name"],style:{color:e.colors.yellow[5]}},{types:["tag","deleted"],style:{color:e.colors.red[6]}},{types:["operator"],style:{color:e.colors.gray[5]}},{types:["boolean"],style:{color:e.colors.red[6]}},{types:["keyword"],style:{color:e.colors.indigo[3]}},{types:["doctype"],style:{color:e.colors.gray[5]}},{types:["url"],style:{color:e.colors.gray[5]}}]}))(e):(e=>({plain:{color:e.colors.gray[9],backgroundColor:e.fn.rgba(e.colors.gray[0],.65)},styles:[{types:["comment"],style:{color:e.colors.gray[6]}},{types:["string","inserted"],style:{color:e.colors.indigo[9]}},{types:["number"],style:{color:e.colors.blue[7]}},{types:["builtin","char","constant","function","selector","atrule"],style:{color:e.colors.lime[9]}},{types:["punctuation"],style:{color:e.colors.gray[7]}},{types:["variable"],style:{color:e.colors.violet[9]}},{types:["attr-name"],style:{color:e.colors.green[9]}},{types:["class-name"],style:{color:e.colors.red[9]}},{types:["tag","deleted"],style:{color:e.colors.violet[9]}},{types:["operator"],style:{color:e.colors.red[9]}},{types:["boolean"],style:{color:e.colors.red[9]}},{types:["keyword"],style:{color:e.colors.red[9]}},{types:["doctype"],style:{color:e.colors.gray[7]}},{types:["url"],style:{color:e.colors.gray[7]}}]}))(e)},Nb=(0,r.forwardRef)(((e,t)=>{const n=Ht("Prism",Rb,e),{className:o,children:a,language:i,noCopy:l,classNames:s,styles:c,copyLabel:u,copiedLabel:d,withLineNumbers:f,highlightLines:p,scrollAreaComponent:m,colorScheme:h,trim:g,unstyled:y,radius:v,getPrismTheme:b,variant:w}=n,x=((e,t)=>{var n={};for(var r in e)Cb.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&Eb)for(var r of Eb(e))t.indexOf(r)<0&&_b.call(e,r)&&(n[r]=e[r]);return n})(n,["className","children","language","noCopy","classNames","styles","copyLabel","copiedLabel","withLineNumbers","highlightLines","scrollAreaComponent","colorScheme","trim","unstyled","radius","getPrismTheme","variant"]),k=g&&"string"===typeof a?a.trim():a,S=k.split("\n").length.toString().length,O=Bt(),E=vb(),C=h||O.colorScheme,{classes:_,cx:P}=xb({colorScheme:C,native:m!==yb,maxLineSize:S,radius:v},{name:"Prism",classNames:s,styles:c,unstyled:y,variant:w});return r.createElement(Mn,Tb(jb({className:P(_.root,o),ref:t},x),{translate:"no"}),!l&&r.createElement(Au,{label:E.copied?d:u,position:"left",withArrow:!0,arrowSize:6,offset:6,color:E.copied?"teal":void 0,unstyled:y},r.createElement(_o,{className:_.copy,"aria-label":E.copied?d:u,onClick:()=>E.copy(k),unstyled:y},r.createElement(bb,{copied:E.copied}))),r.createElement(ev,Tb(jb({},Vy),{theme:b(O,C),code:k,language:i}),(e=>{let{className:t,style:n,tokens:o,getLineProps:a,getTokenProps:i}=e;return r.createElement(m,{className:_.scrollArea,dir:"ltr"},r.createElement("pre",{className:P(_.code,t),style:n,dir:"ltr"},o.map(((e,t)=>{var n,l,s,c;if(t===o.length-1&&1===e.length&&"\n"===e[0].content)return null;const u=t+1,d=a({line:e,key:t}),m=u in p,h="dark"===C?O.fn.rgba(O.fn.themeColor(null==(n=p[u])?void 0:n.color,9),.25):O.fn.themeColor(null==(l=p[u])?void 0:l.color,0);return r.createElement("div",Tb(jb({},d),{className:P(_.line,d.className),style:jb({},m?{backgroundColor:h}:null)}),f&&r.createElement("div",{className:_.lineNumber,style:{color:m?O.fn.themeColor(null==(s=p[u])?void 0:s.color,"dark"===C?5:8):void 0}},(null==(c=p[u])?void 0:c.label)||u),r.createElement("div",{className:_.lineContent},e.map(((e,t)=>{var n,o;const a=i({token:e,key:t});return r.createElement("span",Tb(jb({},a),{style:Tb(jb({},a.style),{color:m?O.fn.themeColor(null==(n=p[u])?void 0:n.color,"dark"===C?5:8):null==(o=null==a?void 0:a.style)?void 0:o.color})}))}))))})).filter(Boolean)))})))}));Nb.displayName="@mantine/prism/Prism";var Ab=fn(((e,t)=>{let{radius:n}=t;return{tab:{paddingLeft:e.spacing.sm,paddingRight:e.spacing.sm,height:l(34),border:"".concat(l(1)," solid ").concat("dark"===e.colorScheme?e.colors.dark[5]:e.colors.gray[3]),borderBottom:0,fontSize:e.fontSizes.sm,color:"dark"===e.colorScheme?e.colors.dark[1]:e.colors.gray[7],backgroundColor:"dark"===e.colorScheme?e.colors.dark[6]:e.white,borderRadius:0,"&:first-of-type":{borderTopLeftRadius:e.radius.sm},"&:not(:first-of-type)":{borderLeft:0},"&:last-of-type":{borderTopRightRadius:e.radius.sm},"&:hover":{backgroundColor:"dark"===e.colorScheme?e.colors.dark[7]:e.colors.gray[0]},"&[data-active]":{color:"dark"===e.colorScheme?e.white:e.black,backgroundColor:"dark"===e.colorScheme?e.colors.dark[8]:e.fn.rgba(e.colors.gray[0],.65),"&::before":{backgroundColor:"transparent"}}},prism:{borderRadius:e.fn.radius(n),borderTopRightRadius:0,borderTopLeftRadius:0,border:"".concat(l(1)," solid ").concat("dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[3]),borderTop:0,overflow:"hidden"},code:{borderTopRightRadius:0,borderTopLeftRadius:0,border:0}}}));const Ib=Ab;var Db=Object.defineProperty,Lb=Object.defineProperties,zb=Object.getOwnPropertyDescriptors,Fb=Object.getOwnPropertySymbols,Mb=Object.prototype.hasOwnProperty,Bb=Object.prototype.propertyIsEnumerable,Ub=(e,t,n)=>t in e?Db(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Hb=(e,t)=>{for(var n in t||(t={}))Mb.call(t,n)&&Ub(e,n,t[n]);if(Fb)for(var n of Fb(t))Bb.call(t,n)&&Ub(e,n,t[n]);return e};const Wb=Nb;Wb.Tabs=function(e){const{classes:t}=Ib({radius:e.radius});return r.createElement(Wy,(n=Hb({},e),o={variant:"outline",classNames:{tab:t.tab},translate:"no"},Lb(n,zb(o))));var n,o},Wb.Tab=Wy.Tab,Wb.TabsList=Wy.List,Wb.Panel=function(e){var t=e,{language:n,children:o,radius:a,noCopy:i,copyLabel:l,copiedLabel:s,withLineNumbers:c,highlightLines:u,scrollAreaComponent:d,trim:f,getPrismTheme:p,colorScheme:m,variant:h}=t,g=((e,t)=>{var n={};for(var r in e)Mb.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&Fb)for(var r of Fb(e))t.indexOf(r)<0&&Bb.call(e,r)&&(n[r]=e[r]);return n})(t,["language","children","radius","noCopy","copyLabel","copiedLabel","withLineNumbers","highlightLines","scrollAreaComponent","trim","getPrismTheme","colorScheme","variant"]);const{classes:y}=Ib({radius:a});return r.createElement(Wy.Panel,Hb({},g),r.createElement(Nb,{language:n,classNames:{root:y.prism,code:y.code},radius:a,noCopy:i,copyLabel:l,copiedLabel:s,withLineNumbers:c,highlightLines:u,scrollAreaComponent:d,trim:f,getPrismTheme:p,colorScheme:m,variant:h},o))};var $b=n(586);function qb(e){return e&&"object"===typeof e?"position"in e||"type"in e?Gb(e.position):"start"in e||"end"in e?Gb(e):"line"in e||"column"in e?Vb(e):"":""}function Vb(e){return Kb(e&&e.line)+":"+Kb(e&&e.column)}function Gb(e){return Vb(e&&e.start)+"-"+Vb(e&&e.end)}function Kb(e){return e&&"number"===typeof e?e:1}class Yb extends Error{constructor(e,t,n){const r=[null,null];let o={start:{line:null,column:null},end:{line:null,column:null}};if(super(),"string"===typeof t&&(n=t,t=void 0),"string"===typeof n){const e=n.indexOf(":");-1===e?r[1]=n:(r[0]=n.slice(0,e),r[1]=n.slice(e+1))}t&&("type"in t||"position"in t?t.position&&(o=t.position):"start"in t||"end"in t?o=t:("line"in t||"column"in t)&&(o.start=t)),this.name=qb(t)||"1:1",this.message="object"===typeof e?e.message:e,this.stack="","object"===typeof e&&e.stack&&(this.stack=e.stack),this.reason=this.message,this.fatal,this.line=o.start.line,this.column=o.start.column,this.position=o,this.source=r[0],this.ruleId=r[1],this.file,this.actual,this.expected,this.url,this.note}}Yb.prototype.file="",Yb.prototype.name="",Yb.prototype.reason="",Yb.prototype.message="",Yb.prototype.stack="",Yb.prototype.fatal=null,Yb.prototype.column=null,Yb.prototype.line=null,Yb.prototype.source=null,Yb.prototype.ruleId=null,Yb.prototype.position=null;const Xb={basename:function(e,t){if(void 0!==t&&"string"!==typeof t)throw new TypeError('"ext" argument must be a string');Zb(e);let n,r=0,o=-1,a=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;a--;)if(47===e.charCodeAt(a)){if(n){r=a+1;break}}else o<0&&(n=!0,o=a+1);return o<0?"":e.slice(r,o)}if(t===e)return"";let i=-1,l=t.length-1;for(;a--;)if(47===e.charCodeAt(a)){if(n){r=a+1;break}}else i<0&&(n=!0,i=a+1),l>-1&&(e.charCodeAt(a)===t.charCodeAt(l--)?l<0&&(o=a):(l=-1,o=i));r===o?o=i:o<0&&(o=e.length);return e.slice(r,o)},dirname:function(e){if(Zb(e),0===e.length)return".";let t,n=-1,r=e.length;for(;--r;)if(47===e.charCodeAt(r)){if(t){n=r;break}}else t||(t=!0);return n<0?47===e.charCodeAt(0)?"/":".":1===n&&47===e.charCodeAt(0)?"//":e.slice(0,n)},extname:function(e){Zb(e);let t,n=e.length,r=-1,o=0,a=-1,i=0;for(;n--;){const l=e.charCodeAt(n);if(47!==l)r<0&&(t=!0,r=n+1),46===l?a<0?a=n:1!==i&&(i=1):a>-1&&(i=-1);else if(t){o=n+1;break}}if(a<0||r<0||0===i||1===i&&a===r-1&&a===o+1)return"";return e.slice(a,r)},join:function(){let e,t=-1;for(var n=arguments.length,r=new Array(n),o=0;o2){if(r=o.lastIndexOf("/"),r!==o.length-1){r<0?(o="",a=0):(o=o.slice(0,r),a=o.length-1-o.lastIndexOf("/")),i=s,l=0;continue}}else if(o.length>0){o="",a=0,i=s,l=0;continue}t&&(o=o.length>0?o+"/..":"..",a=2)}else o.length>0?o+="/"+e.slice(i+1,s):o=e.slice(i+1,s),a=s-i-1;i=s,l=0}else 46===n&&l>-1?l++:l=-1}return o}(e,!t);0!==n.length||t||(n=".");n.length>0&&47===e.charCodeAt(e.length-1)&&(n+="/");return t?"/"+n:n}(e)},sep:"/"};function Zb(e){if("string"!==typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const Qb={cwd:function(){return"/"}};function Jb(e){return null!==e&&"object"===typeof e&&e.href&&e.origin}function ew(e){if("string"===typeof e)e=new URL(e);else if(!Jb(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){const e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){const e=new TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}const t=e.pathname;let n=-1;for(;++n1?s-1:0),u=1;uo.length;let c;s&&o.push(a);try{c=e.apply(this,o)}catch(r){if(s&&n)throw r;return a(r)}s||(c instanceof Promise?c.then(i,a):c instanceof Error?a(c):i(c))}function a(e){if(!n){n=!0;for(var r=arguments.length,o=new Array(r>1?r-1:0),a=1;a{if(!e&&t&&n){const o=i.stringify(t,n);void 0===o||null===o||("string"===typeof(r=o)||$b(r)?n.value=o:n.result=o),a(e,n)}else a(e);var r}))}n(null,t)},i.processSync=function(e){let t;i.freeze(),pw("processSync",i.Parser),mw("processSync",i.Compiler);const n=vw(e);return i.process(n,r),yw("processSync","process",t),n;function r(e){t=!0,iw(e)}},i;function i(){const t=e();let r=-1;for(;++r1?t-1:0),l=1;lo?0:o+t:t>o?o:t,n=n>0?n:0,r.length<1e4)a=Array.from(r),a.unshift(t,n),e.splice(...a);else for(n&&e.splice(t,n);i0?(kw(e,e.length,0,t),e):t}const Ow={}.hasOwnProperty;function Ew(e){const t={};let n=-1;for(;++na))return;const n=t.events.length;let o,l,s=n;for(;s--;)if("exit"===t.events[s][0]&&"chunkFlow"===t.events[s][1].type){if(o){l=t.events[s][1].end;break}o=!0}for(y(i),e=n;er;){const r=n[o];t.containerState=r[1],r[0].exit.call(t,e)}n.length=r}function v(){r.write([null]),o=void 0,r=void 0,t.containerState._closeFlow=void 0}}},$w={tokenize:function(e,t,n){return Uw(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};const qw={tokenize:function(e,t,n){return function(t){return zw(t)?Uw(e,r,"linePrefix")(t):r(t)};function r(e){return null===e||Dw(e)?t(e):n(e)}},partial:!0};function Vw(e){const t={};let n,r,o,a,i,l,s,c=-1;for(;++c=4?t(o):e.interrupt(r.parser.constructs.flow,n,t)(o)}},partial:!0};const Xw={tokenize:function(e){const t=this,n=e.attempt(qw,(function(r){if(null===r)return void e.consume(r);return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}),e.attempt(this.parser.constructs.flowInitial,r,Uw(e,e.attempt(this.parser.constructs.flow,r,e.attempt(Kw,r)),"linePrefix")));return n;function r(r){if(null!==r)return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n;e.consume(r)}}};const Zw={resolveAll:tx()},Qw=ex("string"),Jw=ex("text");function ex(e){return{tokenize:function(t){const n=this,r=this.parser.constructs[e],o=t.attempt(r,a,i);return a;function a(e){return s(e)?o(e):i(e)}function i(e){if(null!==e)return t.enter("data"),t.consume(e),l;t.consume(e)}function l(e){return s(e)?(t.exit("data"),o(e)):(t.consume(e),l)}function s(e){if(null===e)return!0;const t=r[e];let o=-1;if(t)for(;++o-1){const e=i[0];"string"===typeof e?i[0]=e.slice(r):i.shift()}a>0&&i.push(e[o].slice(0,a))}return i}(i,e)}function m(){const{line:e,column:t,offset:n,_index:o,_bufferIndex:a}=r;return{line:e,column:t,offset:n,_index:o,_bufferIndex:a}}function h(){let e;for(;r._index=3&&(null===a||Dw(a))?(e.exit("thematicBreak"),t(a)):n(a)}function i(t){return t===r?(e.consume(t),o++,i):(e.exit("thematicBreakSequence"),zw(t)?Uw(e,a,"whitespace")(t):a(t))}}};const ix={name:"list",tokenize:function(e,t,n){const r=this,o=r.events[r.events.length-1];let a=o&&"linePrefix"===o[1].type?o[2].sliceSerialize(o[1],!0).length:0,i=0;return function(t){const o=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===o?!r.containerState.marker||t===r.containerState.marker:Nw(t)){if(r.containerState.type||(r.containerState.type=o,e.enter(o,{_container:!0})),"listUnordered"===o)return e.enter("listItemPrefix"),42===t||45===t?e.check(ax,n,s)(t):s(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),l(t)}return n(t)};function l(t){return Nw(t)&&++i<10?(e.consume(t),l):(!r.interrupt||i<2)&&(r.containerState.marker?t===r.containerState.marker:41===t||46===t)?(e.exit("listItemValue"),s(t)):n(t)}function s(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(qw,r.interrupt?n:c,e.attempt(lx,d,u))}function c(e){return r.containerState.initialBlankLine=!0,a++,d(e)}function u(t){return zw(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),d):n(t)}function d(n){return r.containerState.size=a+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}},continuation:{tokenize:function(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(qw,o,a);function o(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,Uw(e,t,"listItemIndent",r.containerState.size+1)(n)}function a(n){return r.containerState.furtherBlankLines||!zw(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,i(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(sx,t,i)(n))}function i(o){return r.containerState._closeFlow=!0,r.interrupt=void 0,Uw(e,e.attempt(ix,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}}},exit:function(e){e.exit(this.containerState.type)}},lx={tokenize:function(e,t,n){const r=this;return Uw(e,(function(e){const o=r.events[r.events.length-1];return!zw(e)&&o&&"listItemPrefixWhitespace"===o[1].type?t(e):n(e)}),"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)},partial:!0},sx={tokenize:function(e,t,n){const r=this;return Uw(e,(function(e){const o=r.events[r.events.length-1];return o&&"listItemIndent"===o[1].type&&o[2].sliceSerialize(o[1],!0).length===r.containerState.size?t(e):n(e)}),"listItemIndent",r.containerState.size+1)},partial:!0};const cx={name:"blockQuote",tokenize:function(e,t,n){const r=this;return function(t){if(62===t){const n=r.containerState;return n.open||(e.enter("blockQuote",{_container:!0}),n.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),o}return n(t)};function o(n){return zw(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}},continuation:{tokenize:function(e,t,n){const r=this;return function(t){if(zw(t))return Uw(e,o,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t);return o(t)};function o(r){return e.attempt(cx,t,n)(r)}}},exit:function(e){e.exit("blockQuote")}};function ux(e,t,n,r,o,a,i,l,s){const c=s||Number.POSITIVE_INFINITY;let u=0;return function(t){if(60===t)return e.enter(r),e.enter(o),e.enter(a),e.consume(t),e.exit(a),d;if(null===t||32===t||41===t||Rw(t))return n(t);return e.enter(r),e.enter(i),e.enter(l),e.enter("chunkString",{contentType:"string"}),m(t)};function d(n){return 62===n?(e.enter(a),e.consume(n),e.exit(a),e.exit(o),e.exit(r),t):(e.enter(l),e.enter("chunkString",{contentType:"string"}),f(n))}function f(t){return 62===t?(e.exit("chunkString"),e.exit(l),d(t)):null===t||60===t||Dw(t)?n(t):(e.consume(t),92===t?p:f)}function p(t){return 60===t||62===t||92===t?(e.consume(t),f):f(t)}function m(o){return u||null!==o&&41!==o&&!Lw(o)?u999||null===d||91===d||93===d&&!l||94===d&&!s&&"_hiddenFootnoteSupport"in i.parser.constructs?n(d):93===d?(e.exit(a),e.enter(o),e.consume(d),e.exit(o),e.exit(r),t):Dw(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),u(d))}function u(t){return null===t||91===t||93===t||Dw(t)||s++>999?(e.exit("chunkString"),c(t)):(e.consume(t),l||(l=!zw(t)),92===t?d:u)}function d(t){return 91===t||92===t||93===t?(e.consume(t),s++,u):u(t)}}function fx(e,t,n,r,o,a){let i;return function(t){if(34===t||39===t||40===t)return e.enter(r),e.enter(o),e.consume(t),e.exit(o),i=40===t?41:t,l;return n(t)};function l(n){return n===i?(e.enter(o),e.consume(n),e.exit(o),e.exit(r),t):(e.enter(a),s(n))}function s(t){return t===i?(e.exit(a),l(i)):null===t?n(t):Dw(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),Uw(e,s,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(t))}function c(t){return t===i||null===t||Dw(t)?(e.exit("chunkString"),s(t)):(e.consume(t),92===t?u:c)}function u(t){return t===i||92===t?(e.consume(t),c):c(t)}}function px(e,t){let n;return function r(o){if(Dw(o))return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),n=!0,r;if(zw(o))return Uw(e,r,n?"linePrefix":"lineSuffix")(o);return t(o)}}function mx(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const hx={name:"definition",tokenize:function(e,t,n){const r=this;let o;return function(t){return e.enter("definition"),function(t){return dx.call(r,e,a,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)}(t)};function a(t){return o=mx(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),i):n(t)}function i(t){return Lw(t)?px(e,l)(t):l(t)}function l(t){return ux(e,s,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function s(t){return e.attempt(gx,c,c)(t)}function c(t){return zw(t)?Uw(e,u,"whitespace")(t):u(t)}function u(a){return null===a||Dw(a)?(e.exit("definition"),r.parser.defined.push(o),t(a)):n(a)}}},gx={tokenize:function(e,t,n){return function(t){return Lw(t)?px(e,r)(t):n(t)};function r(t){return fx(e,o,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function o(t){return zw(t)?Uw(e,a,"whitespace")(t):a(t)}function a(e){return null===e||Dw(e)?t(e):n(e)}},partial:!0};const yx={name:"codeIndented",tokenize:function(e,t,n){const r=this;return function(t){return e.enter("codeIndented"),Uw(e,o,"linePrefix",5)(t)};function o(e){const t=r.events[r.events.length-1];return t&&"linePrefix"===t[1].type&&t[2].sliceSerialize(t[1],!0).length>=4?a(e):n(e)}function a(t){return null===t?l(t):Dw(t)?e.attempt(vx,a,l)(t):(e.enter("codeFlowValue"),i(t))}function i(t){return null===t||Dw(t)?(e.exit("codeFlowValue"),a(t)):(e.consume(t),i)}function l(n){return e.exit("codeIndented"),t(n)}}},vx={tokenize:function(e,t,n){const r=this;return o;function o(t){return r.parser.lazy[r.now().line]?n(t):Dw(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o):Uw(e,a,"linePrefix",5)(t)}function a(e){const a=r.events[r.events.length-1];return a&&"linePrefix"===a[1].type&&a[2].sliceSerialize(a[1],!0).length>=4?t(e):Dw(e)?o(e):n(e)}},partial:!0};const bx={name:"headingAtx",tokenize:function(e,t,n){let r=0;return function(t){return e.enter("atxHeading"),function(t){return e.enter("atxHeadingSequence"),o(t)}(t)};function o(t){return 35===t&&r++<6?(e.consume(t),o):null===t||Lw(t)?(e.exit("atxHeadingSequence"),a(t)):n(t)}function a(n){return 35===n?(e.enter("atxHeadingSequence"),i(n)):null===n||Dw(n)?(e.exit("atxHeading"),t(n)):zw(n)?Uw(e,a,"whitespace")(n):(e.enter("atxHeadingText"),l(n))}function i(t){return 35===t?(e.consume(t),i):(e.exit("atxHeadingSequence"),a(t))}function l(t){return null===t||35===t||Lw(t)?(e.exit("atxHeadingText"),a(t)):(e.consume(t),l)}},resolve:function(e,t){let n,r,o=e.length-2,a=3;"whitespace"===e[a][1].type&&(a+=2);o-2>a&&"whitespace"===e[o][1].type&&(o-=2);"atxHeadingSequence"===e[o][1].type&&(a===o-1||o-4>a&&"whitespace"===e[o-2][1].type)&&(o-=a+1===o?2:4);o>a&&(n={type:"atxHeadingText",start:e[a][1].start,end:e[o][1].end},r={type:"chunkText",start:e[a][1].start,end:e[o][1].end,contentType:"text"},kw(e,a,o-a+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]]));return e}};const wx={name:"setextUnderline",tokenize:function(e,t,n){const r=this;let o;return function(t){let i,l=r.events.length;for(;l--;)if("lineEnding"!==r.events[l][1].type&&"linePrefix"!==r.events[l][1].type&&"content"!==r.events[l][1].type){i="paragraph"===r.events[l][1].type;break}if(!r.parser.lazy[r.now().line]&&(r.interrupt||i))return e.enter("setextHeadingLine"),o=t,function(t){return e.enter("setextHeadingLineSequence"),a(t)}(t);return n(t)};function a(t){return t===o?(e.consume(t),a):(e.exit("setextHeadingLineSequence"),zw(t)?Uw(e,i,"lineSuffix")(t):i(t))}function i(r){return null===r||Dw(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}},resolveTo:function(e,t){let n,r,o,a=e.length;for(;a--;)if("enter"===e[a][0]){if("content"===e[a][1].type){n=a;break}"paragraph"===e[a][1].type&&(r=a)}else"content"===e[a][1].type&&e.splice(a,1),o||"definition"!==e[a][1].type||(o=a);const i={type:"setextHeading",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)};e[r][1].type="setextHeadingText",o?(e.splice(r,0,["enter",i,t]),e.splice(o+1,0,["exit",e[n][1],t]),e[n][1].end=Object.assign({},e[o][1].end)):e[n][1]=i;return e.push(["exit",i,t]),e}};const xx=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],kx=["pre","script","style","textarea"],Sx={name:"htmlFlow",tokenize:function(e,t,n){const r=this;let o,a,i,l,s;return function(t){return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),c}(t)};function c(l){return 33===l?(e.consume(l),u):47===l?(e.consume(l),a=!0,p):63===l?(e.consume(l),o=3,r.interrupt?t:I):Pw(l)?(e.consume(l),i=String.fromCharCode(l),m):n(l)}function u(a){return 45===a?(e.consume(a),o=2,d):91===a?(e.consume(a),o=5,l=0,f):Pw(a)?(e.consume(a),o=4,r.interrupt?t:I):n(a)}function d(o){return 45===o?(e.consume(o),r.interrupt?t:I):n(o)}function f(o){const a="CDATA[";return o===a.charCodeAt(l++)?(e.consume(o),6===l?r.interrupt?t:C:f):n(o)}function p(t){return Pw(t)?(e.consume(t),i=String.fromCharCode(t),m):n(t)}function m(l){if(null===l||47===l||62===l||Lw(l)){const s=47===l,c=i.toLowerCase();return s||a||!kx.includes(c)?xx.includes(i.toLowerCase())?(o=6,s?(e.consume(l),h):r.interrupt?t(l):C(l)):(o=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(l):a?g(l):y(l)):(o=1,r.interrupt?t(l):C(l))}return 45===l||jw(l)?(e.consume(l),i+=String.fromCharCode(l),m):n(l)}function h(o){return 62===o?(e.consume(o),r.interrupt?t:C):n(o)}function g(t){return zw(t)?(e.consume(t),g):O(t)}function y(t){return 47===t?(e.consume(t),O):58===t||95===t||Pw(t)?(e.consume(t),v):zw(t)?(e.consume(t),y):O(t)}function v(t){return 45===t||46===t||58===t||95===t||jw(t)?(e.consume(t),v):b(t)}function b(t){return 61===t?(e.consume(t),w):zw(t)?(e.consume(t),b):y(t)}function w(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),s=t,x):zw(t)?(e.consume(t),w):k(t)}function x(t){return t===s?(e.consume(t),s=null,S):null===t||Dw(t)?n(t):(e.consume(t),x)}function k(t){return null===t||34===t||39===t||47===t||60===t||61===t||62===t||96===t||Lw(t)?b(t):(e.consume(t),k)}function S(e){return 47===e||62===e||zw(e)?y(e):n(e)}function O(t){return 62===t?(e.consume(t),E):n(t)}function E(t){return null===t||Dw(t)?C(t):zw(t)?(e.consume(t),E):n(t)}function C(t){return 45===t&&2===o?(e.consume(t),T):60===t&&1===o?(e.consume(t),R):62===t&&4===o?(e.consume(t),D):63===t&&3===o?(e.consume(t),I):93===t&&5===o?(e.consume(t),A):!Dw(t)||6!==o&&7!==o?null===t||Dw(t)?(e.exit("htmlFlowData"),_(t)):(e.consume(t),C):(e.exit("htmlFlowData"),e.check(Ox,L,_)(t))}function _(t){return e.check(Ex,P,L)(t)}function P(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),j}function j(t){return null===t||Dw(t)?_(t):(e.enter("htmlFlowData"),C(t))}function T(t){return 45===t?(e.consume(t),I):C(t)}function R(t){return 47===t?(e.consume(t),i="",N):C(t)}function N(t){if(62===t){const n=i.toLowerCase();return kx.includes(n)?(e.consume(t),D):C(t)}return Pw(t)&&i.length<8?(e.consume(t),i+=String.fromCharCode(t),N):C(t)}function A(t){return 93===t?(e.consume(t),I):C(t)}function I(t){return 62===t?(e.consume(t),D):45===t&&2===o?(e.consume(t),I):C(t)}function D(t){return null===t||Dw(t)?(e.exit("htmlFlowData"),L(t)):(e.consume(t),D)}function L(n){return e.exit("htmlFlow"),t(n)}},resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2));return e},concrete:!0},Ox={tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(qw,t,n)}},partial:!0},Ex={tokenize:function(e,t,n){const r=this;return function(t){if(Dw(t))return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o;return n(t)};function o(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0};const Cx={tokenize:function(e,t,n){const r=this;return function(t){if(null===t)return n(t);return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o};function o(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0},_x={name:"codeFenced",tokenize:function(e,t,n){const r=this,o={tokenize:function(e,t,n){let o=0;return i;function i(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),s}function s(t){return e.enter("codeFencedFence"),zw(t)?Uw(e,c,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):c(t)}function c(t){return t===a?(e.enter("codeFencedFenceSequence"),u(t)):n(t)}function u(t){return t===a?(o++,e.consume(t),u):o>=l?(e.exit("codeFencedFenceSequence"),zw(t)?Uw(e,d,"whitespace")(t):d(t)):n(t)}function d(r){return null===r||Dw(r)?(e.exit("codeFencedFence"),t(r)):n(r)}},partial:!0};let a,i=0,l=0;return function(t){return function(t){const n=r.events[r.events.length-1];return i=n&&"linePrefix"===n[1].type?n[2].sliceSerialize(n[1],!0).length:0,a=t,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),s(t)}(t)};function s(t){return t===a?(l++,e.consume(t),s):l<3?n(t):(e.exit("codeFencedFenceSequence"),zw(t)?Uw(e,c,"whitespace")(t):c(t))}function c(n){return null===n||Dw(n)?(e.exit("codeFencedFence"),r.interrupt?t(n):e.check(Cx,p,v)(n)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),u(n))}function u(t){return null===t||Dw(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),c(t)):zw(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),Uw(e,d,"whitespace")(t)):96===t&&t===a?n(t):(e.consume(t),u)}function d(t){return null===t||Dw(t)?c(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),f(t))}function f(t){return null===t||Dw(t)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),c(t)):96===t&&t===a?n(t):(e.consume(t),f)}function p(t){return e.attempt(o,v,m)(t)}function m(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),h}function h(t){return i>0&&zw(t)?Uw(e,g,"linePrefix",i+1)(t):g(t)}function g(t){return null===t||Dw(t)?e.check(Cx,p,v)(t):(e.enter("codeFlowValue"),y(t))}function y(t){return null===t||Dw(t)?(e.exit("codeFlowValue"),g(t)):(e.consume(t),y)}function v(n){return e.exit("codeFenced"),t(n)}},concrete:!0};const Px=document.createElement("i");function jx(e){const t="&"+e+";";Px.innerHTML=t;const n=Px.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&(n!==t&&n)}const Tx={name:"characterReference",tokenize:function(e,t,n){const r=this;let o,a,i=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),l};function l(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),s):(e.enter("characterReferenceValue"),o=31,a=jw,c(t))}function s(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),o=6,a=Aw,c):(e.enter("characterReferenceValue"),o=7,a=Nw,c(t))}function c(l){if(59===l&&i){const o=e.exit("characterReferenceValue");return a!==jw||jx(r.sliceSerialize(o))?(e.enter("characterReferenceMarker"),e.consume(l),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(l)}return a(l)&&i++1&&e[u][1].end.offset-e[u][1].start.offset>1?2:1;const d=Object.assign({},e[n][1].end),f=Object.assign({},e[u][1].start);Bx(d,-l),Bx(f,l),a={type:l>1?"strongSequence":"emphasisSequence",start:d,end:Object.assign({},e[n][1].end)},i={type:l>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[u][1].start),end:f},o={type:l>1?"strongText":"emphasisText",start:Object.assign({},e[n][1].end),end:Object.assign({},e[u][1].start)},r={type:l>1?"strong":"emphasis",start:Object.assign({},a.start),end:Object.assign({},i.end)},e[n][1].end=Object.assign({},a.start),e[u][1].start=Object.assign({},i.end),s=[],e[n][1].end.offset-e[n][1].start.offset&&(s=Sw(s,[["enter",e[n][1],t],["exit",e[n][1],t]])),s=Sw(s,[["enter",r,t],["enter",a,t],["exit",a,t],["enter",o,t]]),s=Sw(s,rx(t.parser.constructs.insideSpan.null,e.slice(n+1,u),t)),s=Sw(s,[["exit",o,t],["enter",i,t],["exit",i,t],["exit",r,t]]),e[u][1].end.offset-e[u][1].start.offset?(c=2,s=Sw(s,[["enter",e[u][1],t],["exit",e[u][1],t]])):c=0,kw(e,n-1,u-n+3,s),u=n+s.length-c-2;break}u=-1;for(;++u13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||65535===(65535&n)||65534===(65535&n)||n>1114111?"\ufffd":String.fromCharCode(n)}const rk=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function ok(e){return e.replace(rk,ak)}function ak(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){const e=n.charCodeAt(1),t=120===e||88===e;return nk(n.slice(t?2:1),t?16:10)}return jx(n)||e}const ik={}.hasOwnProperty,lk=function(t,n,r){return"string"!==typeof n&&(r=n,n=void 0),function(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:l(ne),autolinkProtocol:_,autolinkEmail:_,atxHeading:l(Q),blockQuote:l(G),characterEscape:_,characterReference:_,codeFenced:l(K),codeFencedFenceInfo:s,codeFencedFenceMeta:s,codeIndented:l(K,s),codeText:l(Y,s),codeTextData:_,data:_,codeFlowValue:_,definition:l(X),definitionDestinationString:s,definitionLabelString:s,definitionTitleString:s,emphasis:l(Z),hardBreakEscape:l(J),hardBreakTrailing:l(J),htmlFlow:l(ee,s),htmlFlowData:_,htmlText:l(ee,s),htmlTextData:_,image:l(te),label:s,link:l(ne),listItem:l(oe),listItemValue:m,listOrdered:l(re,p),listUnordered:l(re),paragraph:l(ae),reference:U,referenceString:s,resourceDestinationString:s,resourceTitleString:s,setextHeading:l(Q),strong:l(ie),thematicBreak:l(se)},exit:{atxHeading:u(),atxHeadingSequence:S,autolink:u(),autolinkEmail:V,autolinkProtocol:q,blockQuote:u(),characterEscapeValue:P,characterReferenceMarkerHexadecimal:W,characterReferenceMarkerNumeric:W,characterReferenceValue:$,codeFenced:u(v),codeFencedFence:y,codeFencedFenceInfo:h,codeFencedFenceMeta:g,codeFlowValue:P,codeIndented:u(b),codeText:u(A),codeTextData:P,data:P,definition:u(),definitionDestinationString:k,definitionLabelString:w,definitionTitleString:x,emphasis:u(),hardBreakEscape:u(T),hardBreakTrailing:u(T),htmlFlow:u(R),htmlFlowData:P,htmlText:u(N),htmlTextData:P,image:u(D),label:z,labelText:L,lineEnding:j,link:u(I),listItem:u(),listOrdered:u(),listUnordered:u(),paragraph:u(),referenceString:H,resourceDestinationString:F,resourceTitleString:M,resource:B,setextHeading:u(C),setextHeadingLineSequence:E,setextHeadingText:O,strong:u(),thematicBreak:u()}};ck(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(e){let n={type:"root",children:[]};const r={stack:[n],tokenStack:[],config:t,enter:c,exit:d,buffer:s,resume:f,setData:a,getData:i},l=[];let u=-1;for(;++u0){const e=r.tokenStack[r.tokenStack.length-1];(e[1]||dk).call(r,void 0,e[0])}for(n.position={start:sk(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:sk(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},u=-1;++u{const n=this.data("settings");return lk(t,Object.assign({},n,e,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})}function pk(e){const t=[];let n=-1,r=0,o=0;for(;++n55295&&a<57344){const t=e.charCodeAt(n+1);a<56320&&t>56319&&t<57344?(i=String.fromCharCode(a,t),o=1):i="\ufffd"}else i=String.fromCharCode(a);i&&(t.push(e.slice(r,n),encodeURIComponent(i)),r=n+o+1,i=""),o&&(n+=o,o=0)}return t.join("")+e.slice(r)}const mk=function(e){if(void 0===e||null===e)return gk;if("string"===typeof e)return function(e){return hk(t);function t(t){return t&&t.type===e}}(e);if("object"===typeof e)return Array.isArray(e)?function(e){const t=[];let n=-1;for(;++n1?n-1:0),o=1;o":"")+")"})}return u;function u(){let c,u,d,f=[];if((!t||o(i,l,s[s.length-1]||null))&&(f=function(e){if(Array.isArray(e))return e;if("number"===typeof e)return[true,e];return[e]}(n(i,s)),false===f[0]))return f;if(i.children&&"skip"!==f[0])for(u=(r?i.children.length:-1)+a,d=s.concat(i);u>-1&&u-1?n.offset:null}}}const kk={}.hasOwnProperty;function Sk(e){return String(e||"").toUpperCase()}function Ok(e,t){const n=String(t.identifier).toUpperCase(),r=pk(n.toLowerCase()),o=e.footnoteOrder.indexOf(n);let a;-1===o?(e.footnoteOrder.push(n),e.footnoteCounts[n]=1,a=e.footnoteOrder.length):(e.footnoteCounts[n]++,a=o+1);const i=e.footnoteCounts[n],l={type:"element",tagName:"a",properties:{href:"#"+e.clobberPrefix+"fn-"+r,id:e.clobberPrefix+"fnref-"+r+(i>1?"-"+i:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(a)}]};e.patch(t,l);const s={type:"element",tagName:"sup",properties:{},children:[l]};return e.patch(t,s),e.applyData(t,s)}function Ek(e,t){const n=t.referenceType;let r="]";if("collapsed"===n?r+="[]":"full"===n&&(r+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return{type:"text",value:"!["+t.alt+r};const o=e.all(t),a=o[0];a&&"text"===a.type?a.value="["+a.value:o.unshift({type:"text",value:"["});const i=o[o.length-1];return i&&"text"===i.type?i.value+=r:o.push({type:"text",value:r}),o}function Ck(e){const t=e.spread;return void 0===t||null===t?e.children.length>1:t}const _k=9,Pk=32;function jk(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),o=0;const a=[];for(;r;)a.push(Tk(t.slice(o,r.index),o>0,!0),r[0]),o=r.index+r[0].length,r=n.exec(t);return a.push(Tk(t.slice(o),o>0,!1)),a.join("")}function Tk(e,t,n){let r=0,o=e.length;if(t){let t=e.codePointAt(r);for(;t===_k||t===Pk;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(o-1);for(;t===_k||t===Pk;)o--,t=e.codePointAt(o-1)}return o>r?e.slice(r,o):""}const Rk={blockquote:function(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)},break:function(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:"\n"}]},code:function(e,t){const n=t.value?t.value+"\n":"",r=t.lang?t.lang.match(/^[^ \t]+(?=[ \t]|$)/):null,o={};r&&(o.className=["language-"+r]);let a={type:"element",tagName:"code",properties:o,children:[{type:"text",value:n}]};return t.meta&&(a.data={meta:t.meta}),e.patch(t,a),a=e.applyData(t,a),a={type:"element",tagName:"pre",properties:{},children:[a]},e.patch(t,a),a},delete:function(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},emphasis:function(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},footnoteReference:Ok,footnote:function(e,t){const n=e.footnoteById;let r=1;for(;r in n;)r++;const o=String(r);return n[o]={type:"footnoteDefinition",identifier:o,children:[{type:"paragraph",children:t.children}],position:t.position},Ok(e,{type:"footnoteReference",identifier:o,position:t.position})},heading:function(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},html:function(e,t){if(e.dangerous){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}return null},imageReference:function(e,t){const n=e.definition(t.identifier);if(!n)return Ek(e,t);const r={src:pk(n.url||""),alt:t.alt};null!==n.title&&void 0!==n.title&&(r.title=n.title);const o={type:"element",tagName:"img",properties:r,children:[]};return e.patch(t,o),e.applyData(t,o)},image:function(e,t){const n={src:pk(t.url)};null!==t.alt&&void 0!==t.alt&&(n.alt=t.alt),null!==t.title&&void 0!==t.title&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)},inlineCode:function(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)},linkReference:function(e,t){const n=e.definition(t.identifier);if(!n)return Ek(e,t);const r={href:pk(n.url||"")};null!==n.title&&void 0!==n.title&&(r.title=n.title);const o={type:"element",tagName:"a",properties:r,children:e.all(t)};return e.patch(t,o),e.applyData(t,o)},link:function(e,t){const n={href:pk(t.url)};null!==t.title&&void 0!==t.title&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},listItem:function(e,t,n){const r=e.all(t),o=n?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r0&&n.children.unshift({type:"text",value:" "}),n.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),a.className=["task-list-item"]}let l=-1;for(;++l0){const r={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},a=bk(t.children[1]),i=wk(t.children[t.children.length-1]);a.line&&i.line&&(r.position={start:a,end:i}),o.push(r)}const a={type:"element",tagName:"table",properties:{},children:e.wrap(o,!0)};return e.patch(t,a),e.applyData(t,a)},tableCell:function(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},tableRow:function(e,t,n){const r=n?n.children:void 0,o=0===(r?r.indexOf(t):1)?"th":"td",a=n&&"table"===n.type?n.align:void 0,i=a?a.length:t.children.length;let l=-1;const s=[];for(;++l{const n=Sk(e.identifier);n&&!kk.call(t,n)&&(t[n]=e)})),function(e){const n=Sk(e);return n&&kk.call(t,n)?t[n]:null}}(e),i.footnoteById=o,i.footnoteOrder=[],i.footnoteCounts={},i.patch=Dk,i.applyData=Lk,i.one=function(e,t){return zk(i,e,t)},i.all=function(e){return Fk(i,e)},i.wrap=Mk,i.augment=a,vk(e,"footnoteDefinition",(e=>{const t=String(e.identifier).toUpperCase();Ak.call(o,t)||(o[t]=e)})),i;function a(e,t){if(e&&"data"in e&&e.data){const n=e.data;n.hName&&("element"!==t.type&&(t={type:"element",tagName:"",properties:{},children:[]}),t.tagName=n.hName),"element"===t.type&&n.hProperties&&(t.properties={...t.properties,...n.hProperties}),"children"in t&&t.children&&n.hChildren&&(t.children=n.hChildren)}if(e){const n="type"in e?e:{position:e};(function(e){return!e||!e.position||!e.position.start||!e.position.start.line||!e.position.start.column||!e.position.end||!e.position.end.line||!e.position.end.column})(n)||(t.position={start:bk(n),end:wk(n)})}return t}function i(e,t,n,r){return Array.isArray(n)&&(r=n,n={}),a(e,{type:"element",tagName:t,properties:n||{},children:r||[]})}}function Dk(e,t){e.position&&(t.position=function(e){return{start:bk(e),end:wk(e)}}(e))}function Lk(e,t){let n=t;if(e&&e.data){const t=e.data.hName,r=e.data.hChildren,o=e.data.hProperties;"string"===typeof t&&("element"===n.type?n.tagName=t:n={type:"element",tagName:t,properties:{},children:[]}),"element"===n.type&&o&&(n.properties={...n.properties,...o}),"children"in n&&n.children&&null!==r&&void 0!==r&&(n.children=r)}return n}function zk(e,t,n){const r=t&&t.type;if(!r)throw new Error("Expected node, got `"+t+"`");return Ak.call(e.handlers,r)?e.handlers[r](e,t,n):e.passThrough&&e.passThrough.includes(r)?"children"in t?{...t,children:Fk(e,t)}:t:e.unknownHandler?e.unknownHandler(e,t,n):function(e,t){const n=t.data||{},r=!("value"in t)||Ak.call(n,"hProperties")||Ak.call(n,"hChildren")?{type:"element",tagName:"div",properties:{},children:Fk(e,t)}:{type:"text",value:t.value};return e.patch(t,r),e.applyData(t,r)}(e,t)}function Fk(e,t){const n=[];if("children"in t){const r=t.children;let o=-1;for(;++o0&&n.push({type:"text",value:"\n"}),n}function Bk(e,t){const n=Ik(e,t),r=n.one(e,null),o=function(e){const t=[];let n=-1;for(;++n1?"-"+l:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:e.footnoteBackLabel},children:[{type:"text",value:"\u21a9"}]};l>1&&t.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(l)}]}),s.length>0&&s.push({type:"text",value:" "}),s.push(t)}const c=o[o.length-1];if(c&&"element"===c.type&&"p"===c.tagName){const e=c.children[c.children.length-1];e&&"text"===e.type?e.value+=" ":c.children.push({type:"text",value:" "}),c.children.push(...s)}else o.push(...s);const u={type:"element",tagName:"li",properties:{id:e.clobberPrefix+"fn-"+i},children:e.wrap(o,!0)};e.patch(r,u),t.push(u)}if(0!==t.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:e.footnoteLabelTagName,properties:{...JSON.parse(JSON.stringify(e.footnoteLabelProperties)),id:"footnote-label"},children:[{type:"text",value:e.footnoteLabel}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(t,!0)},{type:"text",value:"\n"}]}}(n);return o&&r.children.push({type:"text",value:"\n"},o),Array.isArray(r)?{type:"root",children:r}:r}const Uk=function(e,t){return e&&"run"in e?function(e,t){return(n,r,o)=>{e.run(Bk(n,t),r,(e=>{o(e)}))}}(e,t):function(e){return t=>Bk(t,e)}(e||t)};class Hk{constructor(e,t,n){this.property=e,this.normal=t,n&&(this.space=n)}}function Wk(e,t){const n={},r={};let o=-1;for(;++o"xlink:"+t.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),lS=aS({space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function sS(e,t){return t in e?e[t]:t}function cS(e,t){return sS(e,t.toLowerCase())}const uS=aS({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:cS,properties:{xmlns:null,xmlnsXLink:null}}),dS=aS({transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:Kk,ariaAutoComplete:null,ariaBusy:Kk,ariaChecked:Kk,ariaColCount:Xk,ariaColIndex:Xk,ariaColSpan:Xk,ariaControls:Zk,ariaCurrent:null,ariaDescribedBy:Zk,ariaDetails:null,ariaDisabled:Kk,ariaDropEffect:Zk,ariaErrorMessage:null,ariaExpanded:Kk,ariaFlowTo:Zk,ariaGrabbed:Kk,ariaHasPopup:null,ariaHidden:Kk,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Zk,ariaLevel:Xk,ariaLive:null,ariaModal:Kk,ariaMultiLine:Kk,ariaMultiSelectable:Kk,ariaOrientation:null,ariaOwns:Zk,ariaPlaceholder:null,ariaPosInSet:Xk,ariaPressed:Kk,ariaReadOnly:Kk,ariaRelevant:null,ariaRequired:Kk,ariaRoleDescription:Zk,ariaRowCount:Xk,ariaRowIndex:Xk,ariaRowSpan:Xk,ariaSelected:Kk,ariaSetSize:Xk,ariaSort:null,ariaValueMax:Xk,ariaValueMin:Xk,ariaValueNow:Xk,ariaValueText:null,role:null}}),fS=aS({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:cS,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Qk,acceptCharset:Zk,accessKey:Zk,action:null,allow:null,allowFullScreen:Gk,allowPaymentRequest:Gk,allowUserMedia:Gk,alt:null,as:null,async:Gk,autoCapitalize:null,autoComplete:Zk,autoFocus:Gk,autoPlay:Gk,blocking:Zk,capture:Gk,charSet:null,checked:Gk,cite:null,className:Zk,cols:Xk,colSpan:null,content:null,contentEditable:Kk,controls:Gk,controlsList:Zk,coords:Xk|Qk,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Gk,defer:Gk,dir:null,dirName:null,disabled:Gk,download:Yk,draggable:Kk,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Gk,formTarget:null,headers:Zk,height:Xk,hidden:Gk,high:Xk,href:null,hrefLang:null,htmlFor:Zk,httpEquiv:Zk,id:null,imageSizes:null,imageSrcSet:null,inert:Gk,inputMode:null,integrity:null,is:null,isMap:Gk,itemId:null,itemProp:Zk,itemRef:Zk,itemScope:Gk,itemType:Zk,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Gk,low:Xk,manifest:null,max:null,maxLength:Xk,media:null,method:null,min:null,minLength:Xk,multiple:Gk,muted:Gk,name:null,nonce:null,noModule:Gk,noValidate:Gk,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:Gk,optimum:Xk,pattern:null,ping:Zk,placeholder:null,playsInline:Gk,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Gk,referrerPolicy:null,rel:Zk,required:Gk,reversed:Gk,rows:Xk,rowSpan:Xk,sandbox:Zk,scope:null,scoped:Gk,seamless:Gk,selected:Gk,shadowRootDelegatesFocus:Gk,shadowRootMode:null,shape:null,size:Xk,sizes:null,slot:null,span:Xk,spellCheck:Kk,src:null,srcDoc:null,srcLang:null,srcSet:null,start:Xk,step:null,style:null,tabIndex:Xk,target:null,title:null,translate:null,type:null,typeMustMatch:Gk,useMap:null,value:Kk,width:Xk,wrap:null,align:null,aLink:null,archive:Zk,axis:null,background:null,bgColor:null,border:Xk,borderColor:null,bottomMargin:Xk,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Gk,declare:Gk,event:null,face:null,frame:null,frameBorder:null,hSpace:Xk,leftMargin:Xk,link:null,longDesc:null,lowSrc:null,marginHeight:Xk,marginWidth:Xk,noResize:Gk,noHref:Gk,noShade:Gk,noWrap:Gk,object:null,profile:null,prompt:null,rev:null,rightMargin:Xk,rules:null,scheme:null,scrolling:Kk,standby:null,summary:null,text:null,topMargin:Xk,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Xk,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Gk,disableRemotePlayback:Gk,prefix:null,property:null,results:Xk,security:null,unselectable:null}}),pS=aS({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:sS,properties:{about:Jk,accentHeight:Xk,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:Xk,amplitude:Xk,arabicForm:null,ascent:Xk,attributeName:null,attributeType:null,azimuth:Xk,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:Xk,by:null,calcMode:null,capHeight:Xk,className:Zk,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:Xk,diffuseConstant:Xk,direction:null,display:null,dur:null,divisor:Xk,dominantBaseline:null,download:Gk,dx:null,dy:null,edgeMode:null,editable:null,elevation:Xk,enableBackground:null,end:null,event:null,exponent:Xk,externalResourcesRequired:null,fill:null,fillOpacity:Xk,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Qk,g2:Qk,glyphName:Qk,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:Xk,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:Xk,horizOriginX:Xk,horizOriginY:Xk,id:null,ideographic:Xk,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:Xk,k:Xk,k1:Xk,k2:Xk,k3:Xk,k4:Xk,kernelMatrix:Jk,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:Xk,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:Xk,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:Xk,overlineThickness:Xk,paintOrder:null,panose1:null,path:null,pathLength:Xk,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Zk,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:Xk,pointsAtY:Xk,pointsAtZ:Xk,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Jk,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Jk,rev:Jk,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Jk,requiredFeatures:Jk,requiredFonts:Jk,requiredFormats:Jk,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:Xk,specularExponent:Xk,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:Xk,strikethroughThickness:Xk,string:null,stroke:null,strokeDashArray:Jk,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:Xk,strokeOpacity:Xk,strokeWidth:null,style:null,surfaceScale:Xk,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Jk,tabIndex:Xk,tableValues:null,target:null,targetX:Xk,targetY:Xk,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Jk,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:Xk,underlineThickness:Xk,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:Xk,values:null,vAlphabetic:Xk,vMathematical:Xk,vectorEffect:null,vHanging:Xk,vIdeographic:Xk,version:null,vertAdvY:Xk,vertOriginX:Xk,vertOriginY:Xk,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:Xk,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),mS=Wk([lS,iS,uS,dS,fS],"html"),hS=Wk([lS,iS,uS,dS,pS],"svg");function gS(e){if(e.allowedElements&&e.disallowedElements)throw new TypeError("Only one of `allowedElements` and `disallowedElements` should be defined");if(e.allowedElements||e.disallowedElements||e.allowElement)return t=>{vk(t,"element",((t,n,r)=>{const o=r;let a;if(e.allowedElements?a=!e.allowedElements.includes(t.tagName):e.disallowedElements&&(a=e.disallowedElements.includes(t.tagName)),!a&&e.allowElement&&"number"===typeof n&&(a=!e.allowElement(t,n,o)),a&&"number"===typeof n)return e.unwrapDisallowed&&t.children?o.children.splice(n,1,...t.children):o.children.splice(n,1),n}))}}var yS=n(599);function vS(e){const t=e&&"object"===typeof e&&"text"===e.type?e.value||"":e;return"string"===typeof t&&""===t.replace(/[ \t\n\f\r]/g,"")}const bS=/^data[-\w.:]+$/i,wS=/-[a-z]/g,xS=/[A-Z]/g;function kS(e){return"-"+e.toLowerCase()}function SS(e){return e.charAt(1).toUpperCase()}const OS={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};const ES=n(426),CS=["http","https","mailto","tel"];function _S(e){const t=(e||"").trim(),n=t.charAt(0);if("#"===n||"/"===n)return t;const r=t.indexOf(":");if(-1===r)return t;let o=-1;for(;++oo?t:(o=t.indexOf("#"),-1!==o&&r>o?t:"javascript:void(0)")}const PS={}.hasOwnProperty,jS=new Set(["table","thead","tbody","tfoot","tr"]);function TS(e,t){const n=[];let r,o=-1;for(;++o0?r.createElement(m,c,f):r.createElement(m,c)}function NS(e,t){let n=-1,r=0;for(;++n4&&"data"===n.slice(0,4)&&bS.test(t)){if("-"===t.charAt(4)){const e=t.slice(5).replace(wS,SS);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{const e=t.slice(4);if(!wS.test(e)){let n=e.replace(xS,kS);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}o=nS}return new o(r,t)}(r.schema,t);let a=n;null!==a&&void 0!==a&&a===a&&(Array.isArray(a)&&(a=o.commaSeparated?function(e,t){const n=t||{};return(""===e[e.length-1]?[...e,""]:e).join((n.padRight?" ":"")+","+(!1===n.padLeft?"":" ")).trim()}(a):function(e){return e.join(" ").trim()}(a)),"style"===o.property&&"string"===typeof a&&(a=function(e){const t={};try{ES(e,n)}catch{}return t;function n(e,n){const r="-ms-"===e.slice(0,4)?"ms-".concat(e.slice(4)):e;t[r.replace(/-([a-z])/g,IS)]=n}}(a)),o.space&&o.property?e[PS.call(OS,o.property)?OS[o.property]:o.property]=a:o.attribute&&(e[o.attribute]=a))}function IS(e,t){return t.toUpperCase()}const DS={}.hasOwnProperty,LS="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",zS={plugins:{to:"remarkPlugins",id:"change-plugins-to-remarkplugins"},renderers:{to:"components",id:"change-renderers-to-components"},astPlugins:{id:"remove-buggy-html-in-markdown-parser"},allowDangerousHtml:{id:"remove-buggy-html-in-markdown-parser"},escapeHtml:{id:"remove-buggy-html-in-markdown-parser"},source:{to:"children",id:"change-source-to-children"},allowNode:{to:"allowElement",id:"replace-allownode-allowedtypes-and-disallowedtypes"},allowedTypes:{to:"allowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},disallowedTypes:{to:"disallowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},includeNodeIndex:{to:"includeElementIndex",id:"change-includenodeindex-to-includeelementindex"}};function FS(e){for(const r in zS)if(DS.call(zS,r)&&DS.call(e,r)){const e=zS[r];console.warn("[react-markdown] Warning: please ".concat(e.to?"use `".concat(e.to,"` instead of"):"remove"," `").concat(r,"` (see <").concat(LS,"#").concat(e.id,"> for more info)")),delete zS[r]}const t=uw().use(fk).use(e.remarkPlugins||[]).use(Uk,{...e.remarkRehypeOptions,allowDangerousHtml:!0}).use(e.rehypePlugins||[]).use(gS,e),n=new nw;"string"===typeof e.children?n.value=e.children:void 0!==e.children&&null!==e.children&&console.warn("[react-markdown] Warning: please pass a string as `children` (not: `".concat(e.children,"`)"));const o=t.runSync(t.parse(n),n);if("root"!==o.type)throw new TypeError("Expected a `root` node");let a=r.createElement(r.Fragment,{},TS({options:e,schema:mS,listDepth:0},o));return e.className&&(a=r.createElement("div",{className:e.className},a)),a}FS.propTypes={children:Oh.string,className:Oh.string,allowElement:Oh.func,allowedElements:Oh.arrayOf(Oh.string),disallowedElements:Oh.arrayOf(Oh.string),unwrapDisallowed:Oh.bool,remarkPlugins:Oh.arrayOf(Oh.oneOfType([Oh.object,Oh.func,Oh.arrayOf(Oh.oneOfType([Oh.bool,Oh.string,Oh.object,Oh.func,Oh.arrayOf(Oh.any)]))])),rehypePlugins:Oh.arrayOf(Oh.oneOfType([Oh.object,Oh.func,Oh.arrayOf(Oh.oneOfType([Oh.bool,Oh.string,Oh.object,Oh.func,Oh.arrayOf(Oh.any)]))])),sourcePos:Oh.bool,rawSourcePos:Oh.bool,skipHtml:Oh.bool,includeElementIndex:Oh.bool,transformLinkUri:Oh.oneOfType([Oh.func,Oh.bool]),linkTarget:Oh.oneOfType([Oh.func,Oh.string]),transformImageUri:Oh.func,components:Oh.object};const MS={tokenize:function(e,t,n){let r=0;return function t(a){if((87===a||119===a)&&r<3)return r++,e.consume(a),t;if(46===a&&3===r)return e.consume(a),o;return n(a)};function o(e){return null===e?n(e):t(e)}},partial:!0},BS={tokenize:function(e,t,n){let r,o,a;return i;function i(t){return 46===t||95===t?e.check(HS,s,l)(t):null===t||Lw(t)||Mw(t)||45!==t&&Fw(t)?s(t):(a=!0,e.consume(t),i)}function l(t){return 95===t?r=!0:(o=r,r=void 0),e.consume(t),i}function s(e){return o||r||!a?n(e):t(e)}},partial:!0},US={tokenize:function(e,t){let n=0,r=0;return o;function o(i){return 40===i?(n++,e.consume(i),o):41===i&&r0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}GS[43]=VS,GS[45]=VS,GS[46]=VS,GS[95]=VS,GS[72]=[VS,qS],GS[104]=[VS,qS],GS[87]=[VS,$S],GS[119]=[VS,$S];const tO={tokenize:function(e,t,n){const r=this;return Uw(e,(function(e){const o=r.events[r.events.length-1];return o&&"gfmFootnoteDefinitionIndent"===o[1].type&&4===o[2].sliceSerialize(o[1],!0).length?t(e):n(e)}),"gfmFootnoteDefinitionIndent",5)},partial:!0};function nO(e,t,n){const r=this;let o=r.events.length;const a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i;for(;o--;){const e=r.events[o][1];if("labelImage"===e.type){i=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(o){if(!i||!i._balanced)return n(o);const l=mx(r.sliceSerialize({start:i.end,end:r.now()}));if(94!==l.codePointAt(0)||!a.includes(l.slice(1)))return n(o);return e.enter("gfmFootnoteCallLabelMarker"),e.consume(o),e.exit("gfmFootnoteCallLabelMarker"),t(o)}}function rO(e,t){let n,r=e.length;for(;r--;)if("labelImage"===e[r][1].type&&"enter"===e[r][0]){n=e[r][1];break}e[r+1][1].type="data",e[r+3][1].type="gfmFootnoteCallLabelMarker";const o={type:"gfmFootnoteCall",start:Object.assign({},e[r+3][1].start),end:Object.assign({},e[e.length-1][1].end)},a={type:"gfmFootnoteCallMarker",start:Object.assign({},e[r+3][1].end),end:Object.assign({},e[r+3][1].end)};a.end.column++,a.end.offset++,a.end._bufferIndex++;const i={type:"gfmFootnoteCallString",start:Object.assign({},a.end),end:Object.assign({},e[e.length-1][1].start)},l={type:"chunkString",contentType:"string",start:Object.assign({},i.start),end:Object.assign({},i.end)},s=[e[r+1],e[r+2],["enter",o,t],e[r+3],e[r+4],["enter",a,t],["exit",a,t],["enter",i,t],["enter",l,t],["exit",l,t],["exit",i,t],e[e.length-2],e[e.length-1],["exit",o,t]];return e.splice(r,e.length-r+1,...s),e}function oO(e,t,n){const r=this,o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a,i=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),l};function l(t){return 94!==t?n(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",s)}function s(l){if(i>999||93===l&&!a||null===l||91===l||Lw(l))return n(l);if(93===l){e.exit("chunkString");const a=e.exit("gfmFootnoteCallString");return o.includes(mx(r.sliceSerialize(a)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(l),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(l)}return Lw(l)||(a=!0),i++,e.consume(l),92===l?c:s}function c(t){return 91===t||92===t||93===t?(e.consume(t),i++,s):s(t)}}function aO(e,t,n){const r=this,o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a,i,l=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),s};function s(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",c):n(t)}function c(t){if(l>999||93===t&&!i||null===t||91===t||Lw(t))return n(t);if(93===t){e.exit("chunkString");const n=e.exit("gfmFootnoteDefinitionLabelString");return a=mx(r.sliceSerialize(n)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),d}return Lw(t)||(i=!0),l++,e.consume(t),92===t?u:c}function u(t){return 91===t||92===t||93===t?(e.consume(t),l++,c):c(t)}function d(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),o.includes(a)||o.push(a),Uw(e,f,"gfmFootnoteDefinitionWhitespace")):n(t)}function f(e){return t(e)}}function iO(e,t,n){return e.check(qw,t,e.attempt(tO,t,n))}function lO(e){e.exit("gfmFootnoteDefinition")}function sO(e){let t=(e||{}).singleTilde;const n={tokenize:function(e,n,r){const o=this.previous,a=this.events;let i=0;return function(t){if(126===o&&"characterEscape"!==a[a.length-1][1].type)return r(t);return e.enter("strikethroughSequenceTemporary"),l(t)};function l(a){const s=Fx(o);if(126===a)return i>1?r(a):(e.consume(a),i++,l);if(i<2&&!t)return r(a);const c=e.exit("strikethroughSequenceTemporary"),u=Fx(a);return c._open=!u||2===u&&Boolean(s),c._close=!s||2===s&&Boolean(u),n(a)}},resolveAll:function(e,t){let n=-1;for(;++ne[0]-t[0])),0===this.map.length)return;let t=this.map.length;const n=[];for(;t>0;)t-=1,n.push(e.slice(this.map[t][0]+this.map[t][1])),n.push(this.map[t][2]),e.length=this.map[t][0];n.push([...e]),e.length=0;let r=n.pop();for(;r;)e.push(...r),r=n.pop();this.map.length=0}}function uO(e,t){let n=!1;const r=[];for(;t-1;){const e=r.events[t][1].type;if("lineEnding"!==e&&"linePrefix"!==e)break;t--}const o=t>-1?r.events[t][1].type:null,a="tableHead"===o||"tableRow"===o?w:l;if(a===w&&r.parser.lazy[r.now().line])return n(e);return a(e)};function l(t){return e.enter("tableHead"),e.enter("tableRow"),function(e){if(124===e)return s(e);return o=!0,i+=1,s(e)}(t)}function s(t){return null===t?n(t):Dw(t)?i>1?(i=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),d):n(t):zw(t)?Uw(e,s,"whitespace")(t):(i+=1,o&&(o=!1,a+=1),124===t?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),o=!0,s):(e.enter("data"),c(t)))}function c(t){return null===t||124===t||Lw(t)?(e.exit("data"),s(t)):(e.consume(t),92===t?u:c)}function u(t){return 92===t||124===t?(e.consume(t),c):c(t)}function d(t){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(t):(e.enter("tableDelimiterRow"),o=!1,zw(t)?Uw(e,f,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):f(t))}function f(t){return 45===t||58===t?m(t):124===t?(o=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),p):b(t)}function p(t){return zw(t)?Uw(e,m,"whitespace")(t):m(t)}function m(t){return 58===t?(i+=1,o=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),h):45===t?(i+=1,h(t)):null===t||Dw(t)?v(t):b(t)}function h(t){return 45===t?(e.enter("tableDelimiterFiller"),g(t)):b(t)}function g(t){return 45===t?(e.consume(t),g):58===t?(o=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),y):(e.exit("tableDelimiterFiller"),y(t))}function y(t){return zw(t)?Uw(e,v,"whitespace")(t):v(t)}function v(n){return 124===n?f(n):(null===n||Dw(n))&&o&&a===i?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(n)):b(n)}function b(e){return n(e)}function w(t){return e.enter("tableRow"),x(t)}function x(n){return 124===n?(e.enter("tableCellDivider"),e.consume(n),e.exit("tableCellDivider"),x):null===n||Dw(n)?(e.exit("tableRow"),t(n)):zw(n)?Uw(e,x,"whitespace")(n):(e.enter("data"),k(n))}function k(t){return null===t||124===t||Lw(t)?(e.exit("data"),x(t)):(e.consume(t),92===t?S:k)}function S(t){return 92===t||124===t?(e.consume(t),k):k(t)}},resolveAll:function(e,t){let n,r,o,a=-1,i=!0,l=0,s=[0,0,0,0],c=[0,0,0,0],u=!1,d=0;const f=new cO;for(;++an[2]+1){const t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[["exit",i,t]])}return void 0!==o&&(a.end=Object.assign({},mO(t.events,o)),e.add(o,0,[["exit",a,t]]),a=void 0),a}function pO(e,t,n,r,o){const a=[],i=mO(t.events,n);o&&(o.end=Object.assign({},i),a.push(["exit",o,t])),r.end=Object.assign({},i),a.push(["exit",r,t]),e.add(n+1,0,a)}function mO(e,t){const n=e[t],r="enter"===n[0]?"start":"end";return n[1][r]}const hO={tokenize:function(e,t,n){const r=this;return function(t){if(null!==r.previous||!r._gfmTasklistFirstContentOfListItem)return n(t);return e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),o};function o(t){return Lw(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),a):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),a):n(t)}function a(t){return 93===t?(e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),i):n(t)}function i(r){return Dw(r)?t(r):zw(r)?e.check({tokenize:yO},t,n)(r):n(r)}}},gO={text:{91:hO}};function yO(e,t,n){return Uw(e,(function(e){return null===e?n(e):t(e)}),"whitespace")}function vO(e,t){const n=String(e);if("string"!==typeof t)throw new TypeError("Expected character");let r=0,o=n.indexOf(t);for(;-1!==o;)r++,o=n.indexOf(t,o+t.length);return r}const bO={}.hasOwnProperty,wO=function(e,t,n,r){let o,a;"string"===typeof t||t instanceof RegExp?(a=[[t,n]],o=r):(a=t,o=n),o||(o={});const i=mk(o.ignore||[]),l=function(e){const t=[];if("object"!==typeof e)throw new TypeError("Expected array or object as schema");if(Array.isArray(e)){let n=-1;for(;++n0?{type:"text",value:l}:void 0),!1!==l&&(a!==n&&u.push({type:"text",value:e.value.slice(a,n)}),Array.isArray(l)?u.push(...l):l&&u.push(l),a=n+d[0].length,c=!0),!r.global)break;d=r.exec(e.value)}c?(ae}const SO="phrasing",OO=["autolink","link","image","label"],EO={transforms:[function(e){wO(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,PO],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,jO]],{ignore:["link","linkReference"]})}],enter:{literalAutolink:function(e){this.enter({type:"link",title:null,url:"",children:[]},e)},literalAutolinkEmail:_O,literalAutolinkHttp:_O,literalAutolinkWww:_O},exit:{literalAutolink:function(e){this.exit(e)},literalAutolinkEmail:function(e){this.config.exit.autolinkEmail.call(this,e)},literalAutolinkHttp:function(e){this.config.exit.autolinkProtocol.call(this,e)},literalAutolinkWww:function(e){this.config.exit.data.call(this,e);const t=this.stack[this.stack.length-1];t.url="http://"+this.sliceSerialize(e)}}},CO={unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:SO,notInConstruct:OO},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:SO,notInConstruct:OO},{character:":",before:"[ps]",after:"\\/",inConstruct:SO,notInConstruct:OO}]};function _O(e){this.config.enter.autolinkProtocol.call(this,e)}function PO(e,t,n,r,o){let a="";if(!TO(o))return!1;if(/^w/i.test(t)&&(n=t+n,t="",a="http://"),!function(e){const t=e.split(".");if(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))return!1;return!0}(n))return!1;const i=function(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")");const o=vO(e,"(");let a=vO(e,")");for(;-1!==r&&o>a;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),a++;return[e,n]}(n+r);if(!i[0])return!1;const l={type:"link",title:null,url:a+t+i[0],children:[{type:"text",value:t+i[0]}]};return i[1]?[l,{type:"text",value:i[1]}]:l}function jO(e,t,n,r){return!(!TO(r,!0)||/[-\d_]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function TO(e,t){const n=e.input.charCodeAt(e.index-1);return(0===e.index||Mw(n)||Fw(n))&&(!t||47!==n)}function RO(e){return e.label||!e.identifier?e.label||"":ok(e.identifier)}function NO(e,t,n,r){let o=r.join.length;for(;o--;){const a=r.join[o](e,t,n,r);if(!0===a||1===a)break;if("number"===typeof a)return"\n".repeat(1+a);if(!1===a)return"\n\n\x3c!----\x3e\n\n"}return"\n\n"}const AO=/\r?\n|\r/g;function IO(e){if(!e._compiled){const t=(e.atBreak?"[\\r\\n][\\t ]*":"")+(e.before?"(?:"+e.before+")":"");e._compiled=new RegExp((t?"("+t+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(e.character)?"\\":"")+e.character+(e.after?"(?:"+e.after+")":""),"g")}return e._compiled}function DO(e,t){return LO(e,t.inConstruct,!0)&&!LO(e,t.notInConstruct,!1)}function LO(e,t,n){if("string"===typeof t&&(t=[t]),!t||0===t.length)return n;let r=-1;for(;++r=c||(e+10?" ":"")),o.shift(4),a+=o.move(function(e,t){const n=[];let r,o=0,a=0;for(;r=AO.exec(e);)i(e.slice(o,r.index)),n.push(r[0]),o=r.index+r[0].length,a++;return i(e.slice(o)),n.join("");function i(e){n.push(t(e,a,!e))}}(function(e,t,n){const r=t.indexStack,o=e.children||[],a=t.createTracker(n),i=[];let l=-1;for(r.push(-1);++l0&&("\r"===l||"\n"===l)&&"html"===c.type&&(a[a.length-1]=a[a.length-1].replace(/(\r?\n|\r)$/," "),l=" ",s=t.createTracker(n),s.move(a.join(""))),a.push(s.move(t.handle(c,e,t,{...s.current(),before:l,after:u}))),l=a[a.length-1].slice(-1)}return r.pop(),a.join("")}YO.peek=function(){return"["};tE.peek=function(){return"~"};const JO={canContainEols:["delete"],enter:{strikethrough:function(e){this.enter({type:"delete",children:[]},e)}},exit:{strikethrough:function(e){this.exit(e)}}},eE={unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"]}],handlers:{delete:tE}};function tE(e,t,n,r){const o=BO(r),a=n.enter("strikethrough");let i=o.move("~~");return i+=QO(e,n,{...o.current(),before:i,after:"~"}),i+=o.move("~~"),a(),i}function nE(e,t,n){let r=e.value||"",o="`",a=-1;for(;new RegExp("(^|[^`])"+o+"([^`]|$)").test(r);)o+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++a"none"===e?null:e)),children:[]},e),this.setData("inTable",!0)},tableData:lE,tableHeader:lE,tableRow:function(e){this.enter({type:"tableRow",children:[]},e)}},exit:{codeText:function(e){let t=this.resume();this.getData("inTable")&&(t=t.replace(/\\([\\|])/g,sE));const n=this.stack[this.stack.length-1];n.value=t,this.exit(e)},table:function(e){this.exit(e),this.setData("inTable")},tableData:iE,tableHeader:iE,tableRow:iE}};function iE(e){this.exit(e)}function lE(e){this.enter({type:"tableCell",children:[]},e)}function sE(e,t){return"|"===t?t:e}function cE(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,o=t.stringLength,a=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[\t :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{table:function(e,t,n,r){return l(function(e,t,n){const r=e.children;let o=-1;const a=[],i=t.enter("table");for(;++o1&&void 0!==arguments[1]?arguments[1]:{};const n=(t.align||[]).concat(),r=t.stringLength||rE,o=[],a=[],i=[],l=[];let s=0,c=-1;for(;++cs&&(s=e[c].length);++dl[d])&&(l[d]=e)}n.push(a)}a[c]=n,i[c]=o}var u;let d=-1;if("object"===typeof n&&"length"in n)for(;++dl[d]&&(l[d]=a),p[d]=a),f[d]=i}a.splice(1,0,f),i.splice(1,0,p),c=-1;const m=[];for(;++c-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+a);let i=a.length+1;("tab"===o||"mixed"===o&&(t&&"list"===t.type&&t.spread||e.spread))&&(i=4*Math.ceil(i/4));const l=n.createTracker(r);l.move(a+" ".repeat(i-a.length)),l.shift(i);const s=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,l.current()),(function(e,t,n){if(t)return(n?"":" ".repeat(i))+e;return(n?a:a+" ".repeat(i-a.length))+e}));return s(),c}const dE={exit:{taskListCheckValueChecked:pE,taskListCheckValueUnchecked:pE,paragraph:function(e){const t=this.stack[this.stack.length-2];if(t&&"listItem"===t.type&&"boolean"===typeof t.checked){const e=this.stack[this.stack.length-1],n=e.children[0];if(n&&"text"===n.type){const r=t.children;let o,a=-1;for(;++a0&&void 0!==arguments[0]?arguments[0]:{};const t=this.data();function n(e,n){(t[e]?t[e]:t[e]=[]).push(n)}n("micromarkExtensions",function(e){return Ew([KS,{document:{91:{tokenize:aO,continuation:{tokenize:iO},exit:lO}},text:{91:{tokenize:oO},93:{add:"after",tokenize:nO,resolveTo:rO}}},sO(e),dO,gO])}(e)),n("fromMarkdownExtensions",[EO,{enter:{gfmFootnoteDefinition:UO,gfmFootnoteDefinitionLabelString:HO,gfmFootnoteCall:qO,gfmFootnoteCallString:VO},exit:{gfmFootnoteDefinition:$O,gfmFootnoteDefinitionLabelString:WO,gfmFootnoteCall:KO,gfmFootnoteCallString:GO}},JO,aE,dE]),n("toMarkdownExtensions",function(e){return{extensions:[CO,{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:XO,footnoteReference:YO}},eE,cE(e),fE]}}(e))}function hE(e){let{level:t,children:n,...r}=e;return(0,Mh.jsx)(pg,{order:t,...r,children:n})}function gE(e){let{href:t,children:n}=e;return(0,Mh.jsx)(Ag,{href:t,target:"_blank",children:n})}function yE(e){let{content:t}=e;return(0,Mh.jsx)(FS,{remarkPlugins:[[mE,{singleTilde:!1}]],components:{a:gE,code(e){let{inline:t,className:n,children:r,...o}=e;const a=/language-(\w+)/.exec(n||"");return t?(0,Mh.jsx)("code",{className:n,...o,children:r}):(0,Mh.jsx)(Wb,{language:a?a[1]:"",...o,style:{maxWidth:"100%",minWidth:"100%",overflow:"auto"},children:String(r).replace(/\n$/,"")})},h1:hE,h2:hE,h3:hE,h4:hE,h5:hE,h6:hE,p(e){let{children:t}=e;return(0,Mh.jsx)(va,{style:{whiteSpace:"pre-wrap"},children:t})}},children:t||""})}const vE=fn((e=>({nameInput:{...e.fn.fontStyles(),fontFamily:e.headings.fontFamily,fontWeight:e.headings.fontWeight,fontSize:e.headings.sizes.h1.fontSize,lineHeight:e.headings.sizes.h1.lineHeight,width:"-webkit-fill-available",letterSpacing:"-1px",height:"44px"},hoverContainer:{"&:hover":{backgroundColor:"dark"===e.colorScheme?"rgba(255, 255, 255, 0.1)":e.colors.gray[1]},borderRadius:e.radius.sm,width:"-webkit-fill-available"}})));const bE=(0,r.memo)((function(e){let{name:t,description:n,setDescription:o,setName:a}=e;const{readOnly:i}=(0,r.useContext)(Fh),{classes:l}=vE(),[s,c]=(0,r.useState)(!t),[u,d]=(0,r.useState)("name"),f=(0,r.useRef)(null),p=(0,r.useRef)(null),m=hg((()=>{t&&c(!1)})),h=(0,r.useCallback)((e=>{"Enter"!==e.key||e.shiftKey||(e.stopPropagation(),c(!1))}),[]),g=(0,r.useCallback)((e=>{var t;i||(e.currentTarget===f.current?(d("name"),c(!0)):e.currentTarget!==p.current||((t=e.target)instanceof HTMLAnchorElement||t instanceof SVGElement)||(d("description"),c(!0)))}),[i]);return(0,Mh.jsx)(gp,{ref:s?m:void 0,spacing:"xs",ml:i?"auto":36,mr:"0.5em",children:s?(0,Mh.jsxs)(Mh.Fragment,{children:[(0,Mh.jsx)(Zm,{classNames:{input:l.nameInput},placeholder:"Config name",value:t,onKeyDown:h,autoFocus:"name"===u,onChange:e=>a(e.currentTarget.value)}),(0,Mh.jsx)(Sh,{placeholder:"Config description",value:null!==n&&void 0!==n?n:void 0,onKeyDown:h,autoFocus:"description"===u,onChange:e=>o(e.currentTarget.value),autosize:!0,minRows:2})]}):(0,Mh.jsxs)("div",{children:[(0,Mh.jsx)(pg,{ref:f,onClick:g,className:i?void 0:"".concat(l.hoverContainer," hoverContainer"),children:t}),n&&(0,Mh.jsx)("div",{ref:p,onClick:g,className:i?void 0:"".concat(l.hoverContainer," hoverContainer"),children:(0,Mh.jsx)(yE,{content:n})})]})})}));var wE=Dh("braces","IconBraces",[["path",{d:"M7 4a2 2 0 0 0 -2 2v3a2 3 0 0 1 -2 3a2 3 0 0 1 2 3v3a2 2 0 0 0 2 2",key:"svg-0"}],["path",{d:"M17 4a2 2 0 0 1 2 2v3a2 3 0 0 0 2 3a2 3 0 0 0 -2 3v3a2 2 0 0 1 -2 2",key:"svg-1"}]]),xE=Dh("device-floppy","IconDeviceFloppy",[["path",{d:"M6 4h10l4 4v10a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2v-12a2 2 0 0 1 2 -2",key:"svg-0"}],["path",{d:"M12 14m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0",key:"svg-1"}],["path",{d:"M14 4l0 4l-6 0l0 -4",key:"svg-2"}]]),kE=Object.defineProperty,SE=Object.getOwnPropertySymbols,OE=Object.prototype.hasOwnProperty,EE=Object.prototype.propertyIsEnumerable,CE=(e,t,n)=>t in e?kE(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,_E=(e,t)=>{for(var n in t||(t={}))OE.call(t,n)&&CE(e,n,t[n]);if(SE)for(var n of SE(t))EE.call(t,n)&&CE(e,n,t[n]);return e},PE=(e,t)=>{var n={};for(var r in e)OE.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&SE)for(var r of SE(e))t.indexOf(r)<0&&EE.call(e,r)&&(n[r]=e[r]);return n};const jE={timeout:1e3};function TE(e){const t=Ht("CopyButton",jE,e),{children:n,timeout:o,value:a}=t,i=PE(t,["children","timeout","value"]),l=vb({timeout:o});return r.createElement(r.Fragment,null,n(_E({copy:()=>l.copy(a),copied:l.copied},i)))}TE.displayName="@mantine/core/CopyButton";var RE=Dh("check","IconCheck",[["path",{d:"M5 12l5 5l10 -10",key:"svg-0"}]]),NE=Dh("copy","IconCopy",[["path",{d:"M7 7m0 2.667a2.667 2.667 0 0 1 2.667 -2.667h8.666a2.667 2.667 0 0 1 2.667 2.667v8.666a2.667 2.667 0 0 1 -2.667 2.667h-8.666a2.667 2.667 0 0 1 -2.667 -2.667z",key:"svg-0"}],["path",{d:"M4.012 16.737a2.005 2.005 0 0 1 -1.012 -1.737v-10c0 -1.1 .9 -2 2 -2h10c.75 0 1.158 .385 1.5 1",key:"svg-1"}]]);function AE(e){let{value:t,contentLabel:n}=e;const r=n?" ".concat(n):"";return(0,Mh.jsx)(TE,{value:t,timeout:2e3,children:e=>{let{copied:t,copy:n}=e;return(0,Mh.jsx)(Au,{label:t?"Copied".concat(r):"Copy".concat(r),withArrow:!0,children:(0,Mh.jsx)(_o,{color:t?"teal":"gray",onClick:n,children:t?(0,Mh.jsx)(RE,{size:"1rem"}):(0,Mh.jsx)(NE,{size:"1rem"})})})}})}const IE={headings:{fontFamily:"system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, Arial, sans-serif",sizes:{h1:{fontSize:"2rem"}}},defaultGradient:{from:"#E88949",to:"#E85921",deg:90},globalStyles:e=>{const t="light"===e.colorScheme?"#E5E7EB":"#384152",n="light"===e.colorScheme?"white":"#374151";return{"div.editorBackground":{a:{color:"".concat("light"===e.colorScheme?"#1c7ed6":"#4dabf7"," !important")},background:"light"===e.colorScheme?"white":"#0b0f19",borderRadius:"8px",height:"100%",margin:"14px auto 0 auto",minHeight:"400px",paddingTop:"2px",".mantine-Button-root.mantine-UnstyledButton-root:not(.ghost):not([aria-haspopup='menu'])":{background:"linear-gradient(to bottom right, #ffedd5, #fdba74 100%)",border:"1px solid #fed7aa",boxShadow:"0px 1px 4px 0px rgba(0, 0, 0, 0.05)",color:"#ea580c !important",fontSize:"16px",fontWeight:600,minHeight:"36px",padding:"0 1.25rem"},".mantine-Button-root.mantine-UnstyledButton-root:not(.ghost):not([aria-haspopup='menu']):hover":{background:"linear-gradient(to bottom right, #ffedd5, #fed7aa)"},".mantine-Button-root.mantine-UnstyledButton-root:not(.ghost):not([aria-haspopup='menu']):disabled":{background:"linear-gradient(to bottom right, #e5e7eb, #e5e7eb)",borderColor:"#e5e7eb",color:"#374151 !important",cursor:"not-allowed",pointerEvents:"auto"},".mantine-Button-root.mantine-UnstyledButton-root:not(.ghost):not([aria-haspopup='menu']):not(.runPromptButton)":{color:"#374151"},"button.mantine-Button-root > div.mantine-Button-inner > span.mantine-Button-label > div > svg":{stroke:"#E85921"},"button.mantine-Button-root > div.mantine-Button-inner":{"span.mantine-Button-centerLoader > svg":{stroke:"#E85921"}},"button.mantine-Button-root[data-loading]::before":{backgroundColor:"rgba(26, 27, 30, 0.2)"},".mantine-Checkbox-root":{".mantine-Checkbox-input":{borderColor:t,"&:checked":{background:"linear-gradient(to bottom right, #ffedd5, #fdba74 100%)"},"&:hover":{background:"linear-gradient(to bottom right, #ffedd5, #fed7aa)"}},".mantine-Checkbox-icon":{color:"#E85921"}},".mantine-Input-input:focus":{outline:"solid 1px #E85921 !important",outlineOffset:"-1px"},".mantine-Input-input":"dark"===e.colorScheme?{color:"#C1C2C5",backgroundColor:n}:void 0,".mantine-Menu-dropdown":{border:"0.0625rem solid ".concat(t)},".mantine-Slider-bar":{backgroundColor:"#E85921"},".mantine-Slider-thumb":{border:"0.25rem solid #E85921",backgroundColor:"#E85921"},".mantine-Tabs-tab[data-active]":{borderBottom:"solid 1px #E85921",":hover":{borderBottom:"solid 1px #E85921"}},".mantine-Tabs-tabsList":{gap:"12px"},".mantine-Text-root":"dark"===e.colorScheme?{color:"#C1C2C5"}:void 0,".mantine-TextInput-input[data-with-icon]":{paddingLeft:"2.25rem"},".mantine-Title-root.mantine-Text-root":{fontSize:"2rem"},".monoFont":{fontFamily:"sf mono, ui-monospace, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace"},".ghost":{input:{border:"1px solid ".concat(t),minHeight:"36px",fontFamily:"sf mono, ui-monospace, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace",borderRadius:"8px",margin:"8px 0px 0px 0px",backgroundColor:n,boxShadow:"0px 1px 4px 0px rgba(0, 0, 0, 0.05) inset"},button:{color:"dark"===e.colorScheme?"#C1C2C5":"inherit",":hover":{backgroundColor:"transparent"}}},".buttonGroupLeft":{borderBottomRightRadius:0,borderTopRightRadius:0},".buttonGroupRight":{borderBottomLeftRadius:0,borderTopLeftRadius:0},".cellStyle":{border:"1px solid ".concat(t),background:"light"===e.colorScheme?"white":"#1f2938",flex:1,borderTopRightRadius:"0px",borderBottomRightRadius:"0px",borderTopLeftRadius:"8px",borderBottomLeftRadius:"8px",":hover":{background:"light"===e.colorScheme?"rgba(249, 250, 251, 0.5) !important":"#1f2938"},textarea:{border:"1px solid ".concat(t," !important"),borderRadius:"8px",margin:"8px 0px 0px 0px",boxShadow:"0px 1px 4px 0px rgba(0, 0, 0, 0.05) inset",backgroundColor:n},".outputContainer > ol":{margin:"1em 0",paddingLeft:"40px"}},".sidePanel":{border:"1px solid ".concat(t),borderLeft:"none",borderTopRightRadius:"8px",borderBottomRightRadius:"8px",background:"light"===e.colorScheme?"linear-gradient(90deg, #F6F6F6, #FFFFFF)":"#0e131f",input:{border:"1px solid ".concat(t," !important"),boxShadow:"0px 1px 4px 0px rgba(0, 0, 0, 0.05) inset",backgroundColor:n,":focus":{outline:"solid 1px #E85921 !important",outlineOffset:"-1px"}},textarea:{border:"1px solid ".concat(t," !important"),boxShadow:"0px 1px 4px 0px rgba(0, 0, 0, 0.05) inset",borderRadius:"8px",backgroundColor:n,":focus":{outline:"solid 1px #E85921 !important",outlineOffset:"-1px"}},".promptActionBarClosed":{minWidth:"32px"}},".divider":{backgroundColor:t,borderTopWidth:"1px",borderTopColor:"rgba(226,232,255,.1)",marginBottom:"0.5em"},".runPromptButton":{borderRadius:"8px",border:"1px solid #FDD7AD",background:"linear-gradient(180deg, #FEE1C0 0%, #FCC792 100%)",boxShadow:"0px 1px 4px 0px rgba(0, 0, 0, 0.05)",margin:"33px 4px 4px 4px",padding:"0.625rem !important",height:"auto","div.mantine-Button-inner > span.mantine-Button-label > div > svg":{fill:"#E85921"}},".runPromptButton.runPromptButtonReadOnly":{marginTop:"13px"},".actionTabsPanel":{width:"400px"},".parametersContainer":{maxWidth:"1250px",maxHeight:"-webkit-fill-available",padding:"0",backgroundColor:"light"===e.colorScheme?"#F9FAFB":"#1f2938",borderRadius:"8px",border:"1px solid ".concat(t),button:{":hover":{backgroundColor:"light"===e.colorScheme?"#F0F1F1":"transparent"}},input:{border:"1px solid ".concat(t," !important"),boxShadow:"0px 1px 4px 0px rgba(0, 0, 0, 0.05) inset",borderRadius:"8px",backgroundColor:n},textarea:{border:"1px solid ".concat(t," !important"),boxShadow:"0px 1px 4px 0px rgba(0, 0, 0, 0.05) inset",borderRadius:"8px",backgroundColor:n,":focus":{outline:"solid 1px #E85921 !important",outlineOffset:"-1px"}}},".promptMenuButton":{marginLeft:"-8px",padding:"0 0.875rem"},".addParameterButton":{position:"sticky",left:"0",bottom:"0",margin:"16px 0 0 0",background:"linear-gradient(to bottom right, #ffedd5, #fdba74 100%)",border:"1px solid #fed7aa",boxShadow:"0px 1px 4px 0px rgba(0, 0, 0, 0.05)",color:"#ea580c !important",path:{color:"#E85921"},":hover":{background:"linear-gradient(to bottom right, #ffedd5, #fed7aa)"}}}}}};function DE(e){let{children:t,condition:n,wrapper:r}=e;return n?r(t):(0,Mh.jsx)(Mh.Fragment,{children:t})}const LE={local:{colorScheme:"dark",headings:{fontFamily:"system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, Arial, sans-serif",sizes:{h1:{fontSize:"2rem"}}},defaultGradient:{from:"pink",to:"pink",deg:45},globalStyles:()=>({".editorBackground":{background:"radial-gradient(ellipse at top,#08122d,#030712),radial-gradient(ellipse at bottom,#030712,#030712)",margin:"0 auto",minHeight:"100vh"},".monoFont":{fontFamily:"sf mono, ui-monospace, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace"},".ghost":{border:"none",borderRadius:"4px",padding:"4px",margin:"0px",backgroundColor:"transparent",":hover":{backgroundColor:"rgba(226,232,255,.1)"},input:{maxHeight:"16px",fontFamily:"sf mono, ui-monospace, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace",border:"none",borderRadius:"4px",margin:"0px",backgroundColor:"transparent"}},".cellStyle":{border:"1px solid rgba(226,232,255,.1) !important",background:"rgb(12 21 57 / 10%)",flex:1,borderTopRightRadius:"0px",borderBottomRightRadius:"0px",":hover":{background:"rgba(255, 255, 255, 0.03) !important"},textarea:{border:"1px solid rgba(226,232,255,.1)",backgroundColor:"#060c21",":focus":{outline:"solid 1px #ff1cf7 !important",outlineOffset:"-1px"}},".mantine-InputWrapper-label":{display:"none"}},".sidePanel":{border:"1px solid rgba(226,232,255,.1)",borderLeft:"none",borderTopRightRadius:"4px",borderBottomRightRadius:"4px",input:{border:"1px solid rgba(226,232,255,.1)",backgroundColor:"#060c21",":focus":{outline:"solid 1px #ff1cf7 !important",outlineOffset:"-1px"}},textarea:{border:"1px solid rgba(226,232,255,.1)",backgroundColor:"#060c21",":focus":{outline:"solid 1px #ff1cf7 !important",outlineOffset:"-1px"}}},".divider":{borderTopWidth:"1px",borderTopColor:"rgba(226,232,255,.1)",marginBottom:"0.5em"},".runPromptButton":{background:"#ff1cf7",color:"white",height:"auto","&:hover":{background:"#ff46f8"}},".actionTabsPanel":{width:"400px"},".parametersContainer":{maxWidth:"1250px",maxHeight:"-webkit-fill-available",padding:"0",backgroundColor:"rgba(226,232,255,.1)",borderRadius:"4px",border:"1px solid rgba(226,232,255,.1) !important",button:{":hover":{backgroundColor:"rgba(226,232,255,.1)"}},input:{border:"1px solid rgba(226,232,255,.1)",backgroundColor:"#060c21",borderRadius:"4px",":focus":{outline:"solid 1px #ff1cf7 !important",outlineOffset:"-1px"}},textarea:{border:"1px solid rgba(226,232,255,.1)",backgroundColor:"#060c21",borderRadius:"4px",":focus":{outline:"solid 1px #ff1cf7 !important",outlineOffset:"-1px"}}},".addParameterButton":{position:"sticky",left:"0",bottom:"0",margin:"16px 0 0 0",background:"#ff1cf7","&:hover":{background:"#ff46f8"}},".mantine-Slider-thumb":{border:"0.25rem solid #ff1cf7",backgroundColor:"white"},".mantine-Slider-bar":{backgroundColor:"#ff1cf7"},".mantine-Tabs-tab[data-active]":{borderBottom:"solid 1px #ff1cf7",":hover":{borderBottom:"solid 1px #ff1cf7"}}})},gradio:IE,vscode:{defaultGradient:{from:"#ff1cf7",to:"#ff1cf7",deg:45},globalStyles:e=>({body:{padding:"0 !important",color:"var(--vscode-editor-foreground)"},".addPromptRow":{borderRadius:"0px"},".editorBackground":{background:"var(--vscode-editor-background)",margin:"0 auto",minHeight:"100vh"},".monoFont":{fontFamily:"sf mono, ui-monospace, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace"},".ghost":{border:"none",borderRadius:"4px",padding:"4px",margin:"0px",color:"var(--vscode-editor-foreground)",backgroundColor:"var(--vscode-input-background)",":hover":{backgroundColor:"rgba(226,232,255,.1)"},input:{maxHeight:"16px",fontFamily:"sf mono, ui-monospace, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace",border:"none",borderRadius:"4px",margin:"0px",backgroundColor:"var(--vscode-input-background)",color:"var(--vscode-editor-foreground)"}},".cellStyle":{border:"1px solid",borderColor:"var(--vscode-notebook-cellBorderColor) !important",backgroundColor:"var(--vscode-editorWidget-background)",flex:1,color:"var(--vscode-editor-foreground)",borderTopRightRadius:"0px",borderBottomRightRadius:"0px",borderTopLeftRadius:"0px",borderBottomLeftRadius:"0px",":hover":{background:"rgba(249, 250, 251, 0.01) !important"},textarea:{border:"1px solid !important",borderColor:"var(--vscode-notebook-cellBorderColor) !important",color:"var(--vscode-editor-foreground)",borderRadius:"0px",margin:"0px 0px 0px 0px",boxShadow:"0px 1px 4px 0px rgba(0, 0, 0, 0.05) inset",backgroundColor:"var(--vscode-input-background)",":focus":{outline:"solid 1px #ff1cf7 !important",outlineOffset:"-1px"}},".mantine-InputWrapper-label":{display:"none"}},".sidePanel":{border:"1px solid",borderColor:"var(--vscode-notebook-cellBorderColor)",borderLeft:"none",color:"var(--vscode-editor-foreground)",borderTopRightRadius:"0px",borderBottomRightRadius:"0px",background:"var(--vscode-sideBar-background)",minWidth:"32px",input:{borderRadius:"0px",border:"1px solid",borderColor:"var(--vscode-notebook-cellBorderColor)",color:"var(--vscode-editor-foreground)",backgroundColor:"var(--vscode-input-background)",":focus":{outline:"solid 1px var(--vscode-inputOption-activeBorder) !important",outlineOffset:"-1px"}},textarea:{borderRadius:"0px",border:"1px solid",borderColor:"var(--vscode-notebook-cellBorderColor)",color:"var(--vscode-editor-foreground)",backgroundColor:"var(--vscode-input-background)",":focus":{outline:"solid 1px var(--vscode-inputOption-activeBorder) !important",outlineOffset:"-1px"}},label:{color:"var(--vscode-editor-foreground) !important"},button:{color:"var(--vscode-editor-foreground) !important",borderColor:"ff1cf7 !important"}},".runPromptButton":{background:"var(--vscode-button-background)",color:"white",borderRadius:"0",height:"auto","&:hover":{background:"var(--vscode-button-hoverBackground)"}},".primaryButton":{background:"var(--vscode-button-background)",color:"white","&:hover":{background:"var(--vscode-button-hoverBackground)"}},".secondaryButton":{background:"var(--vscode-button-secondaryBackground)",color:"white","&:hover":{background:"var(--vscode-button-secondaryHoverBackground)"}},".divider":{borderTopWidth:"1px",borderTopColor:"var(--vscode-notebook-cellBorderColor)",marginBottom:"0.5em"},".parametersContainer":{width:"100%",maxHeight:"-webkit-fill-available",margin:"16px auto",padding:"0",background:"var(--vscode-sideBar-background)",color:"var(--vscode-editor-foreground) !important",borderRadius:"0px",border:"1px solid",borderColor:"var(--vscode-notebook-cellBorderColor)",textAlign:"left",button:{":hover":{backgroundColor:"var(--vscode-toolbar-hoverBackground)"}},input:{border:"1px solid",borderColor:"var(--vscode-notebook-cellBorderColor)",borderRadius:"0px",color:"var(--vscode-editor-foreground)",backgroundColor:"var(--vscode-input-background) !important",":focus":{outline:"solid 1px var(--vscode-inputOption-activeBorder) !important",outlineOffset:"-1px"}},textarea:{border:"1px solid",borderColor:"var(--vscode-notebook-cellBorderColor)",borderRadius:"0px",color:"var(--vscode-editor-foreground)",backgroundColor:"var(--vscode-input-background) !important",":focus":{outline:"solid 1px var(--vscode-inputOption-activeBorder) !important",outlineOffset:"-1px"}},".addParameterButton":{position:"sticky",left:"0",bottom:"0",margin:"16px 0 0 0",borderRadius:"0px",background:"var(--vscode-button-background)",":hover":{backgroundColor:"var(--vscode-button-hoverBackground)"},path:{color:"#fff"}},".promptMenuButton":{marginLeft:-8,background:"var(--vscode-button-secondaryBackground)",color:"white",":hover":{backgroundColor:"var(--vscode-button-hoverBackground)"}}}})}};function zE(e){let{children:t,mode:n,themeMode:o,themeOverride:a}=e,i=function(e,t){return Zc("(prefers-color-scheme: dark)","dark"===e,t)?"dark":"light"}();o&&(i=o);const l=(0,r.useMemo)((()=>({colorScheme:i,...null!==a&&void 0!==a?a:n?LE[n]:{}})),[n,i,a]);return(0,Mh.jsx)(DE,{condition:null!=n||null!=o||null!=a,wrapper:e=>(0,Mh.jsx)(Wt,{withGlobalStyles:!0,withNormalizeCSS:!0,theme:l,children:e}),children:t})}var FE=Dh("download","IconDownload",[["path",{d:"M4 17v2a2 2 0 0 0 2 2h12a2 2 0 0 0 2 -2v-2",key:"svg-0"}],["path",{d:"M7 11l5 5l5 -5",key:"svg-1"}],["path",{d:"M12 4l0 12",key:"svg-2"}]]);const ME=fn((()=>({buttonGroupLeft:{borderBottomRightRadius:0,borderTopRightRadius:0}}))),BE=(0,r.memo)((function(e){let{onDownload:t,isGrouped:n=!1}=e;const[o,a]=(0,r.useState)(!1),{classes:i}=ME();return(0,Mh.jsx)(Au,{label:"Download config file",children:(0,Mh.jsx)(Ni,{loaderPosition:"center",loading:o,loaderProps:{size:"sm"},onClick:async()=>{o||(a(!0),await t(),a(!1))},size:"xs",variant:"filled",className:n?"".concat(i.buttonGroupLeft," buttonGroupLeft"):void 0,children:(0,Mh.jsx)(FE,{size:"20px"})})})})),[UE,HE]=xd("Modal component was not found in tree"),WE={xs:l(320),sm:l(380),md:l(440),lg:l(620),xl:l(780)};var $E=fn(((e,t,n)=>{let{yOffset:r,xOffset:o,centered:a,fullScreen:i}=t,{size:s}=n;return{content:{flex:i?"0 0 100%":"0 0 ".concat(qe({size:s,sizes:WE})),maxWidth:"100%",maxHeight:i?void 0:"calc(100dvh - (".concat(l(r)," * 2))"),height:i?"100vh":void 0,borderRadius:i?0:void 0,overflowY:"auto"},inner:{paddingTop:i?0:r,paddingBottom:i?0:r,paddingLeft:i?0:o,paddingRight:i?0:o,display:"flex",justifyContent:"center",alignItems:a?"center":"flex-start"}}}));const qE=$E;var VE=function(){return VE=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&o[o.length-1])&&(6===l[0]||2===l[0])){i=0;continue}if(3===l[0]&&(!o||l[1]>o[0]&&l[1]0)&&!(r=a.next()).done;)i.push(r.value)}catch(l){o={error:l}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(o)throw o.error}}return i}function ZE(e,t,n){if(n||2===arguments.length)for(var r,o=0,a=t.length;oo[2])return!0}r=r.parentNode}while(r&&r!==n.body);return!1},kC=function(e,t){return"v"===e?function(e){return wC(e,"overflowY")}(t):function(e){return wC(e,"overflowX")}(t)},SC=function(e,t){return"v"===e?function(e){return[e.scrollTop,e.scrollHeight,e.clientHeight]}(t):function(e){return[e.scrollLeft,e.scrollWidth,e.clientWidth]}(t)},OC=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},EC=function(e){return[e.deltaX,e.deltaY]},CC=function(e){return e&&"current"in e?e.current:e},_C=function(e){return"\n .block-interactivity-".concat(e," {pointer-events: none;}\n .allow-interactivity-").concat(e," {pointer-events: all;}\n")},PC=0,jC=[];function TC(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const RC=(NC=function(e){var t=r.useRef([]),n=r.useRef([0,0]),o=r.useRef(),a=r.useState(PC++)[0],i=r.useState(uC)[0],l=r.useRef(e);r.useEffect((function(){l.current=e}),[e]),r.useEffect((function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(a));var t=ZE([e.lockRef.current],(e.shards||[]).map(CC),!0).filter(Boolean);return t.forEach((function(e){return e.classList.add("allow-interactivity-".concat(a))})),function(){document.body.classList.remove("block-interactivity-".concat(a)),t.forEach((function(e){return e.classList.remove("allow-interactivity-".concat(a))}))}}}),[e.inert,e.lockRef.current,e.shards]);var s=r.useCallback((function(e,t){if("touches"in e&&2===e.touches.length)return!l.current.allowPinchZoom;var r,a=OC(e),i=n.current,s="deltaX"in e?e.deltaX:i[0]-a[0],c="deltaY"in e?e.deltaY:i[1]-a[1],u=e.target,d=Math.abs(s)>Math.abs(c)?"h":"v";if("touches"in e&&"h"===d&&"range"===u.type)return!1;var f=xC(d,u);if(!f)return!0;if(f?r=d:(r="v"===d?"h":"v",f=xC(d,u)),!f)return!1;if(!o.current&&"changedTouches"in e&&(s||c)&&(o.current=r),!r)return!0;var p=o.current||r;return function(e,t,n,r,o){var a=function(e,t){return"h"===e&&"rtl"===t?-1:1}(e,window.getComputedStyle(t).direction),i=a*r,l=n.target,s=t.contains(l),c=!1,u=i>0,d=0,f=0;do{var p=SC(e,l),m=p[0],h=p[1]-p[2]-a*m;(m||h)&&kC(e,l)&&(d+=h,f+=m),l=l instanceof ShadowRoot?l.host:l.parentNode}while(!s&&l!==document.body||s&&(t.contains(l)||t===l));return(u&&(o&&Math.abs(d)<1||!o&&i>d)||!u&&(o&&Math.abs(f)<1||!o&&-i>f))&&(c=!0),c}(p,t,e,"h"===p?s:c,!0)}),[]),c=r.useCallback((function(e){var n=e;if(jC.length&&jC[jC.length-1]===i){var r="deltaY"in n?EC(n):OC(n),o=t.current.filter((function(e){return e.name===n.type&&(e.target===n.target||n.target===e.shadowParent)&&(t=e.delta,o=r,t[0]===o[0]&&t[1]===o[1]);var t,o}))[0];if(o&&o.should)n.cancelable&&n.preventDefault();else if(!o){var a=(l.current.shards||[]).map(CC).filter(Boolean).filter((function(e){return e.contains(n.target)}));(a.length>0?s(n,a[0]):!l.current.noIsolation)&&n.cancelable&&n.preventDefault()}}}),[]),u=r.useCallback((function(e,n,r,o){var a={name:e,delta:n,target:r,should:o,shadowParent:TC(r)};t.current.push(a),setTimeout((function(){t.current=t.current.filter((function(e){return e!==a}))}),1)}),[]),d=r.useCallback((function(e){n.current=OC(e),o.current=void 0}),[]),f=r.useCallback((function(t){u(t.type,EC(t),t.target,s(t,e.lockRef.current))}),[]),p=r.useCallback((function(t){u(t.type,OC(t),t.target,s(t,e.lockRef.current))}),[]);r.useEffect((function(){return jC.push(i),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:p}),document.addEventListener("wheel",c,bC),document.addEventListener("touchmove",c,bC),document.addEventListener("touchstart",d,bC),function(){jC=jC.filter((function(e){return e!==i})),document.removeEventListener("wheel",c,bC),document.removeEventListener("touchmove",c,bC),document.removeEventListener("touchstart",d,bC)}}),[]);var m=e.removeScrollBar,h=e.inert;return r.createElement(r.Fragment,null,h?r.createElement(i,{styles:_C(a)}):null,m?r.createElement(gC,{gapMode:e.gapMode}):null)},rC.useMedium(NC),lC);var NC,AC=r.forwardRef((function(e,t){return r.createElement(aC,VE({},e,{ref:t,sideCar:RC}))}));AC.classNames=aC.classNames;const IC=AC;function DC(e,t,n){(0,r.useEffect)((()=>(window.addEventListener(e,t,n),()=>window.removeEventListener(e,t,n))),[e,t])}function LC(e){let{opened:t,shouldReturnFocus:n=!0}=e;const o=(0,r.useRef)(),a=()=>{var e;o.current&&"focus"in o.current&&"function"===typeof o.current.focus&&(null==(e=o.current)||e.focus({preventScroll:!0}))};return jc((()=>{let e=-1;const r=t=>{"Tab"===t.key&&window.clearTimeout(e)};return document.addEventListener("keydown",r),t?o.current=document.activeElement:n&&(e=window.setTimeout(a,10)),()=>{window.clearTimeout(e),document.removeEventListener("keydown",r)}}),[t,n]),a}const[zC,FC]=xd("ModalBase component was not found in tree");const MC=fn((()=>({close:{marginLeft:"auto",marginRight:0}})));var BC=Object.defineProperty,UC=Object.getOwnPropertySymbols,HC=Object.prototype.hasOwnProperty,WC=Object.prototype.propertyIsEnumerable,$C=(e,t,n)=>t in e?BC(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const qC={size:"sm"},VC=(0,r.forwardRef)(((e,t)=>{const n=FC(),o=Ht("".concat(n.__staticSelector,"CloseButton"),qC,e),{className:a}=o,i=((e,t)=>{var n={};for(var r in e)HC.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&UC)for(var r of UC(e))t.indexOf(r)<0&&WC.call(e,r)&&(n[r]=e[r]);return n})(o,["className"]),{classes:l,cx:s}=MC(null,n.stylesApi);return r.createElement(Wo,((e,t)=>{for(var n in t||(t={}))HC.call(t,n)&&$C(e,n,t[n]);if(UC)for(var n of UC(t))WC.call(t,n)&&$C(e,n,t[n]);return e})({className:s(l.close,a),ref:t,onClick:n.onClose},i))}));const GC=fn((()=>({overlay:{}})));var KC=Object.defineProperty,YC=Object.defineProperties,XC=Object.getOwnPropertyDescriptors,ZC=Object.getOwnPropertySymbols,QC=Object.prototype.hasOwnProperty,JC=Object.prototype.propertyIsEnumerable,e_=(e,t,n)=>t in e?KC(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,t_=(e,t)=>{for(var n in t||(t={}))QC.call(t,n)&&e_(e,n,t[n]);if(ZC)for(var n of ZC(t))JC.call(t,n)&&e_(e,n,t[n]);return e},n_=fn(((e,t)=>{let{color:n,opacity:r,blur:o,radius:a,gradient:i,fixed:s,zIndex:c}=t;return{root:(u=t_({},e.fn.cover(0)),d={position:s?"fixed":"absolute",backgroundColor:i?void 0:e.fn.rgba(n,r),backgroundImage:i,backdropFilter:o?"blur(".concat(l(o),")"):void 0,borderRadius:e.fn.radius(a),zIndex:c,"&[data-center]":{display:"flex",alignItems:"center",justifyContent:"center"}},YC(u,XC(d)))};var u,d}));const r_=n_;var o_=Object.defineProperty,a_=Object.getOwnPropertySymbols,i_=Object.prototype.hasOwnProperty,l_=Object.prototype.propertyIsEnumerable,s_=(e,t,n)=>t in e?o_(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const c_={opacity:.6,color:"#000",zIndex:Fi("modal"),radius:0},u_=(0,r.forwardRef)(((e,t)=>{const n=Ht("Overlay",c_,e),{variant:o,opacity:a,color:i,blur:l,gradient:s,zIndex:c,radius:u,children:d,className:f,classNames:p,styles:m,unstyled:h,center:g,fixed:y}=n,v=((e,t)=>{var n={};for(var r in e)i_.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&a_)for(var r of a_(e))t.indexOf(r)<0&&l_.call(e,r)&&(n[r]=e[r]);return n})(n,["variant","opacity","color","blur","gradient","zIndex","radius","children","className","classNames","styles","unstyled","center","fixed"]),{classes:b,cx:w}=r_({color:i,opacity:a,blur:l,radius:u,gradient:s,fixed:y,zIndex:c},{name:"Overlay",classNames:p,styles:m,unstyled:h,variant:o});return r.createElement(Mn,((e,t)=>{for(var n in t||(t={}))i_.call(t,n)&&s_(e,n,t[n]);if(a_)for(var n of a_(t))l_.call(t,n)&&s_(e,n,t[n]);return e})({ref:t,className:w(b.root,f),"data-center":g||void 0},v),d)}));u_.displayName="@mantine/core/Overlay";const d_=u_;var f_=Object.defineProperty,p_=Object.defineProperties,m_=Object.getOwnPropertyDescriptors,h_=Object.getOwnPropertySymbols,g_=Object.prototype.hasOwnProperty,y_=Object.prototype.propertyIsEnumerable,v_=(e,t,n)=>t in e?f_(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,b_=(e,t)=>{for(var n in t||(t={}))g_.call(t,n)&&v_(e,n,t[n]);if(h_)for(var n of h_(t))y_.call(t,n)&&v_(e,n,t[n]);return e};const w_={},x_=(0,r.forwardRef)(((e,t)=>{const n=FC(),o=Ht("".concat(n.__staticSelector,"Overlay"),w_,e),{onClick:a,transitionProps:i,style:l,className:s}=o,c=((e,t)=>{var n={};for(var r in e)g_.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&h_)for(var r of h_(e))t.indexOf(r)<0&&y_.call(e,r)&&(n[r]=e[r]);return n})(o,["onClick","transitionProps","style","className"]),{classes:u,cx:d}=GC(null,n.stylesApi),f=e=>{null==a||a(e),n.closeOnClickOutside&&n.onClose()};return r.createElement(eu,(p=b_(b_({mounted:n.opened},n.transitionProps),i),p_(p,m_({transition:"fade"}))),(e=>r.createElement(d_,b_({ref:t,onClick:f,fixed:!0,style:b_(b_({},l),e),className:d(u.overlay,s),zIndex:n.zIndex},c))));var p}));const k_=fn(((e,t)=>{let{zIndex:n}=t;return{inner:{position:"fixed",width:"100%",top:0,bottom:0,maxHeight:"100%",zIndex:n,pointerEvents:"none"},content:{pointerEvents:"all"}}})),S_=/input|select|textarea|button|object/,O_="a, input, select, textarea, button, object, [tabindex]";function E_(e){return"none"===e.style.display}function C_(e){let t=e.getAttribute("tabindex");return null===t&&(t=void 0),parseInt(t,10)}function __(e){const t=e.nodeName.toLowerCase(),n=!Number.isNaN(C_(e));return(S_.test(t)&&!e.disabled||e instanceof HTMLAnchorElement&&e.href||n)&&function(e){if(e.getAttribute("aria-hidden")||e.getAttribute("hidden")||"hidden"===e.getAttribute("type"))return!1;let t=e;for(;t&&t!==document.body&&11!==t.nodeType;){if(E_(t))return!1;t=t.parentNode}return!0}(e)}function P_(e){const t=C_(e);return(Number.isNaN(t)||t>=0)&&__(e)}function j_(e,t){const n=(r=e,Array.from(r.querySelectorAll(O_)).filter(P_));var r;if(!n.length)return void t.preventDefault();const o=n[t.shiftKey?0:n.length-1],a=e.getRootNode();if(!(o===a.activeElement||e===a.activeElement))return;t.preventDefault();const i=n[t.shiftKey?n.length-1:0];i&&i.focus()}function T_(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];const t=(0,r.useRef)(),n=(0,r.useRef)(null),o=e=>{let t=e.querySelector("[data-autofocus]");if(!t){const n=Array.from(e.querySelectorAll(O_));t=n.find(P_)||n.find(__)||null,!t&&__(e)&&(t=e)}t&&t.focus({preventScroll:!0})},a=(0,r.useCallback)((r=>{e&&(null!==r?(n.current=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body > :not(script)";const n=Yn(),r=Array.from(document.querySelectorAll(t)).map((t=>{var r;if((null==(r=null==t?void 0:t.shadowRoot)?void 0:r.contains(e))||t.contains(e))return;const o=t.getAttribute("aria-hidden"),a=t.getAttribute("data-hidden"),i=t.getAttribute("data-focus-id");return t.setAttribute("data-focus-id",n),null===o||"false"===o?t.setAttribute("aria-hidden","true"):a||i||t.setAttribute("data-hidden",o),{node:t,ariaHidden:a||null}}));return()=>{r.forEach((e=>{e&&n===e.node.getAttribute("data-focus-id")&&(null===e.ariaHidden?e.node.removeAttribute("aria-hidden"):e.node.setAttribute("aria-hidden",e.ariaHidden),e.node.removeAttribute("data-focus-id"),e.node.removeAttribute("data-hidden"))}))}}(r),t.current!==r&&(r?(setTimeout((()=>{r.getRootNode()&&o(r)})),t.current=r):t.current=null)):n.current&&(n.current(),n.current=null))}),[e]);return(0,r.useEffect)((()=>{if(!e)return;t.current&&setTimeout((()=>o(t.current)));const r=e=>{"Tab"===e.key&&t.current&&j_(t.current,e)};return document.addEventListener("keydown",r),()=>{document.removeEventListener("keydown",r),n.current&&n.current()}}),[e]),a}function R_(e){let{children:t,active:n=!0,refProp:o="ref"}=e;const a=Li(T_(n),null==t?void 0:t.ref);return Ai(t)?(0,r.cloneElement)(t,{[o]:a}):t}R_.displayName="@mantine/core/FocusTrap";var N_=fn(((e,t)=>{let{radius:n,shadow:r}=t;return{root:{outline:0,WebkitTapHighlightColor:"transparent",display:"block",textDecoration:"none",color:"dark"===e.colorScheme?e.colors.dark[0]:e.black,backgroundColor:"dark"===e.colorScheme?e.colors.dark[7]:e.white,boxSizing:"border-box",borderRadius:e.fn.radius(n),boxShadow:e.shadows[r]||r||"none","&[data-with-border]":{border:"".concat(l(1)," solid ").concat("dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[3])}}}}));const A_=N_;var I_=Object.defineProperty,D_=Object.getOwnPropertySymbols,L_=Object.prototype.hasOwnProperty,z_=Object.prototype.propertyIsEnumerable,F_=(e,t,n)=>t in e?I_(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const M_={},B_=(0,r.forwardRef)(((e,t)=>{const n=Ht("Paper",M_,e),{className:o,children:a,radius:i,withBorder:l,shadow:s,unstyled:c,variant:u}=n,d=((e,t)=>{var n={};for(var r in e)L_.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&D_)for(var r of D_(e))t.indexOf(r)<0&&z_.call(e,r)&&(n[r]=e[r]);return n})(n,["className","children","radius","withBorder","shadow","unstyled","variant"]),{classes:f,cx:p}=A_({radius:i,shadow:s},{name:"Paper",unstyled:c,variant:u});return r.createElement(Mn,((e,t)=>{for(var n in t||(t={}))L_.call(t,n)&&F_(e,n,t[n]);if(D_)for(var n of D_(t))z_.call(t,n)&&F_(e,n,t[n]);return e})({className:p(f.root,o),"data-with-border":l||void 0,ref:t},d),a)}));B_.displayName="@mantine/core/Paper";const U_=B_;var H_=Object.defineProperty,W_=Object.getOwnPropertySymbols,$_=Object.prototype.hasOwnProperty,q_=Object.prototype.propertyIsEnumerable,V_=(e,t,n)=>t in e?H_(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,G_=(e,t)=>{for(var n in t||(t={}))$_.call(t,n)&&V_(e,n,t[n]);if(W_)for(var n of W_(t))q_.call(t,n)&&V_(e,n,t[n]);return e};const K_={},Y_=(0,r.forwardRef)(((e,t)=>{const n=FC(),o=Ht("".concat(n.__staticSelector,"Content"),K_,e),{className:a,transitionProps:i,style:l,onKeyDown:s}=o,c=((e,t)=>{var n={};for(var r in e)$_.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&W_)for(var r of W_(e))t.indexOf(r)<0&&q_.call(e,r)&&(n[r]=e[r]);return n})(o,["className","transitionProps","style","onKeyDown"]),{classes:u,cx:d}=k_({zIndex:n.zIndex},n.stylesApi),f=e=>{var t;"true"!==(null==(t=e.target)?void 0:t.getAttribute("data-mantine-stop-propagation"))&&"Escape"===e.key&&n.closeOnEscape&&n.onClose(),null==s||s(e)};return r.createElement(eu,G_(G_({mounted:n.opened,transition:"pop"},n.transitionProps),i),(e=>r.createElement("div",{className:d(u.inner)},r.createElement(R_,{active:n.opened&&n.trapFocus},r.createElement(U_,G_({component:"section",role:"dialog",tabIndex:-1,"aria-modal":!0,"aria-describedby":n.bodyMounted?n.getBodyId():void 0,"aria-labelledby":n.titleMounted?n.getTitleId():void 0,onKeyDown:f,ref:t,className:d(u.content,a),style:G_(G_({},l),e),shadow:n.shadow},c),c.children)))))}));var X_=fn(((e,t)=>{let{padding:n}=t;const r=qe({size:n,sizes:e.spacing});return{header:{display:"flex",justifyContent:"space-between",alignItems:"center",padding:r,paddingRight:"calc(".concat(r," - ").concat(l(5),")"),position:"sticky",top:0,backgroundColor:"dark"===e.colorScheme?e.colors.dark[7]:e.white,zIndex:1e3}}}));const Z_=X_;var Q_=Object.defineProperty,J_=Object.getOwnPropertySymbols,eP=Object.prototype.hasOwnProperty,tP=Object.prototype.propertyIsEnumerable,nP=(e,t,n)=>t in e?Q_(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const rP={},oP=(0,r.forwardRef)(((e,t)=>{const n=FC(),o=Ht("".concat(n.__staticSelector,"Header"),rP,e),{className:a}=o,i=((e,t)=>{var n={};for(var r in e)eP.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&J_)for(var r of J_(e))t.indexOf(r)<0&&tP.call(e,r)&&(n[r]=e[r]);return n})(o,["className"]),{classes:l,cx:s}=Z_({padding:n.padding},n.stylesApi);return r.createElement(Mn,((e,t)=>{for(var n in t||(t={}))eP.call(t,n)&&nP(e,n,t[n]);if(J_)for(var n of J_(t))tP.call(t,n)&&nP(e,n,t[n]);return e})({ref:t,className:s(l.header,a)},i))}));var aP=fn((e=>({title:{lineHeight:1,padding:0,margin:0,fontWeight:400,fontSize:e.fontSizes.md}})));const iP=aP;var lP=Object.defineProperty,sP=Object.getOwnPropertySymbols,cP=Object.prototype.hasOwnProperty,uP=Object.prototype.propertyIsEnumerable,dP=(e,t,n)=>t in e?lP(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const fP={},pP=(0,r.forwardRef)(((e,t)=>{const n=FC(),o=Ht("".concat(n.__staticSelector,"Title"),fP,e),{className:a}=o,i=((e,t)=>{var n={};for(var r in e)cP.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&sP)for(var r of sP(e))t.indexOf(r)<0&&uP.call(e,r)&&(n[r]=e[r]);return n})(o,["className"]),{classes:l,cx:s}=iP(null,n.stylesApi);return(0,r.useEffect)((()=>(n.setTitleMounted(!0),()=>n.setTitleMounted(!1))),[]),r.createElement(Mn,((e,t)=>{for(var n in t||(t={}))cP.call(t,n)&&dP(e,n,t[n]);if(sP)for(var n of sP(t))uP.call(t,n)&&dP(e,n,t[n]);return e})({component:"h2",id:n.getTitleId(),className:s(l.title,a),ref:t},i))}));var mP=fn(((e,t)=>{let{padding:n}=t;return{body:{padding:qe({size:n,sizes:e.spacing}),"&:not(:only-child)":{paddingTop:0}}}}));const hP=mP;var gP=Object.defineProperty,yP=Object.getOwnPropertySymbols,vP=Object.prototype.hasOwnProperty,bP=Object.prototype.propertyIsEnumerable,wP=(e,t,n)=>t in e?gP(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const xP={},kP=(0,r.forwardRef)(((e,t)=>{const n=FC(),o=Ht("".concat(n.__staticSelector,"Body"),xP,e),{className:a}=o,i=((e,t)=>{var n={};for(var r in e)vP.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&yP)for(var r of yP(e))t.indexOf(r)<0&&bP.call(e,r)&&(n[r]=e[r]);return n})(o,["className"]),{classes:l,cx:s}=hP({padding:n.padding},n.stylesApi);return(0,r.useEffect)((()=>(n.setBodyMounted(!0),()=>n.setBodyMounted(!1))),[]),r.createElement(Mn,((e,t)=>{for(var n in t||(t={}))vP.call(t,n)&&wP(e,n,t[n]);if(yP)for(var n of yP(t))bP.call(t,n)&&wP(e,n,t[n]);return e})({id:n.getBodyId(),className:s(l.body,a),ref:t},i))}));const SP=fn((()=>({root:{}})));var OP=Object.defineProperty,EP=Object.defineProperties,CP=Object.getOwnPropertyDescriptors,_P=Object.getOwnPropertySymbols,PP=Object.prototype.hasOwnProperty,jP=Object.prototype.propertyIsEnumerable,TP=(e,t,n)=>t in e?OP(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,RP=(e,t)=>{for(var n in t||(t={}))PP.call(t,n)&&TP(e,n,t[n]);if(_P)for(var n of _P(t))jP.call(t,n)&&TP(e,n,t[n]);return e},NP=(e,t)=>EP(e,CP(t)),AP=(e,t)=>{var n={};for(var r in e)PP.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&_P)for(var r of _P(e))t.indexOf(r)<0&&jP.call(e,r)&&(n[r]=e[r]);return n};const IP={closeOnClickOutside:!0,withinPortal:!0,lockScroll:!0,trapFocus:!0,returnFocus:!0,closeOnEscape:!0,keepMounted:!1,zIndex:Fi("modal"),padding:"md",size:"md",shadow:"xl"};function DP(e){const t=Ht("ModalBase",IP,e),{opened:n,onClose:o,children:a,closeOnClickOutside:i,__staticSelector:l,transitionProps:s,withinPortal:c,portalProps:u,keepMounted:d,target:f,zIndex:p,lockScroll:m,trapFocus:h,closeOnEscape:g,returnFocus:y,padding:v,shadow:b,id:w,size:x,variant:k,classNames:S,unstyled:O,styles:E,className:C}=t,_=AP(t,["opened","onClose","children","closeOnClickOutside","__staticSelector","transitionProps","withinPortal","portalProps","keepMounted","target","zIndex","lockScroll","trapFocus","closeOnEscape","returnFocus","padding","shadow","id","size","variant","classNames","unstyled","styles","className"]),{classes:P,cx:j}=SP(null,{name:l,classNames:S,styles:E,unstyled:O,variant:k,size:x}),T=Xn(w),[R,N]=(0,r.useState)(!1),[A,I]=(0,r.useState)(!1),D="number"===typeof(null==s?void 0:s.duration)?null==s?void 0:s.duration:200,L=function(e){let{opened:t,transitionDuration:n}=e;const[o,a]=(0,r.useState)(t),i=(0,r.useRef)(),l=Qc()?0:n;return(0,r.useEffect)((()=>(t?(a(!0),window.clearTimeout(i.current)):0===l?a(!1):i.current=window.setTimeout((()=>a(!1)),l),()=>window.clearTimeout(i.current))),[t,l]),o}({opened:n,transitionDuration:D});return DC("keydown",(e=>{!h&&"Escape"===e.key&&g&&o()})),LC({opened:n,shouldReturnFocus:h&&y}),r.createElement(yc,NP(RP({},u),{withinPortal:c,target:f}),r.createElement(zC,{value:{__staticSelector:l,opened:n,onClose:o,closeOnClickOutside:i,transitionProps:NP(RP({},s),{duration:D,keepMounted:d}),zIndex:p,padding:v,id:T,getTitleId:()=>"".concat(T,"-title"),getBodyId:()=>"".concat(T,"-body"),titleMounted:R,bodyMounted:A,setTitleMounted:N,setBodyMounted:I,trapFocus:h,closeOnEscape:g,shadow:b,stylesApi:{name:l,size:x,variant:k,classNames:S,styles:E,unstyled:O}}},r.createElement(IC,{enabled:L&&m},r.createElement(Mn,RP({className:j(P.root,C)},_),a))))}DP.CloseButton=VC,DP.Overlay=x_,DP.Content=Y_,DP.Header=oP,DP.Title=pP,DP.Body=kP,DP.NativeScrollArea=function(e){let{children:t}=e;return r.createElement(r.Fragment,null,t)};var LP=Object.defineProperty,zP=Object.defineProperties,FP=Object.getOwnPropertyDescriptors,MP=Object.getOwnPropertySymbols,BP=Object.prototype.hasOwnProperty,UP=Object.prototype.propertyIsEnumerable,HP=(e,t,n)=>t in e?LP(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,WP=(e,t)=>{for(var n in t||(t={}))BP.call(t,n)&&HP(e,n,t[n]);if(MP)for(var n of MP(t))UP.call(t,n)&&HP(e,n,t[n]);return e},$P=(e,t)=>zP(e,FP(t)),qP=(e,t)=>{var n={};for(var r in e)BP.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&MP)for(var r of MP(e))t.indexOf(r)<0&&UP.call(e,r)&&(n[r]=e[r]);return n};const VP=$P(WP({},IP),{yOffset:"5dvh",xOffset:"5vw"});function GP(e){const t=Ht("ModalRoot",VP,e),{classNames:n,variant:o,size:a,yOffset:i,xOffset:l,scrollAreaComponent:s,radius:c,centered:u,fullScreen:d}=t,f=qP(t,["classNames","variant","size","yOffset","xOffset","scrollAreaComponent","radius","centered","fullScreen"]),{classes:p,cx:m}=qE({yOffset:i,xOffset:l,centered:u,fullScreen:d},{name:"Modal",variant:o,size:a});return r.createElement(UE,{value:{yOffset:i,scrollAreaComponent:s,radius:c}},r.createElement(DP,WP({__staticSelector:"Modal",size:a,variant:o,classNames:$P(WP({},n),{content:m(p.content,null==n?void 0:n.content),inner:m(p.inner,null==n?void 0:n.inner)})},f)))}var KP=Object.defineProperty,YP=Object.getOwnPropertySymbols,XP=Object.prototype.hasOwnProperty,ZP=Object.prototype.propertyIsEnumerable,QP=(e,t,n)=>t in e?KP(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const JP={shadow:"xl"},ej=(0,r.forwardRef)(((e,t)=>{const n=Ht("ModalContent",JP,e),{children:o,scrollAreaComponent:a}=n,i=((e,t)=>{var n={};for(var r in e)XP.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&YP)for(var r of YP(e))t.indexOf(r)<0&&ZP.call(e,r)&&(n[r]=e[r]);return n})(n,["children","scrollAreaComponent"]),s=HE(),c=a||s.scrollAreaComponent||DP.NativeScrollArea;return r.createElement(DP.Content,((e,t)=>{for(var n in t||(t={}))XP.call(t,n)&&QP(e,n,t[n]);if(YP)for(var n of YP(t))ZP.call(t,n)&&QP(e,n,t[n]);return e})({ref:t,radius:s.radius},i),r.createElement(c,{style:{maxHeight:"calc(100dvh - (".concat(l(s.yOffset)," * 2))")}},o))}));var tj=Object.defineProperty,nj=Object.defineProperties,rj=Object.getOwnPropertyDescriptors,oj=Object.getOwnPropertySymbols,aj=Object.prototype.hasOwnProperty,ij=Object.prototype.propertyIsEnumerable,lj=(e,t,n)=>t in e?tj(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,sj=(e,t)=>{for(var n in t||(t={}))aj.call(t,n)&&lj(e,n,t[n]);if(oj)for(var n of oj(t))ij.call(t,n)&&lj(e,n,t[n]);return e};const cj=(uj=sj({},IP),nj(uj,rj({transitionProps:{duration:200,transition:"pop"},withOverlay:!0,withCloseButton:!0})));var uj;function dj(e){const t=Ht("Modal",cj,e),{title:n,withOverlay:o,overlayProps:a,withCloseButton:i,closeButtonProps:l,children:s}=t,c=((e,t)=>{var n={};for(var r in e)aj.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&oj)for(var r of oj(e))t.indexOf(r)<0&&ij.call(e,r)&&(n[r]=e[r]);return n})(t,["title","withOverlay","overlayProps","withCloseButton","closeButtonProps","children"]),u=!!n||i;return r.createElement(GP,sj({},c),o&&r.createElement(DP.Overlay,sj({},a)),r.createElement(ej,null,u&&r.createElement(DP.Header,null,n&&r.createElement(DP.Title,null,n),i&&r.createElement(DP.CloseButton,sj({},l))),r.createElement(DP.Body,null,s)))}function fj(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;const{onOpen:n,onClose:o}=t||{},[a,i]=(0,r.useState)(e),l=(0,r.useCallback)((()=>{i((e=>e||(null==n||n(),!0)))}),[n]),s=(0,r.useCallback)((()=>{i((e=>e?(null==o||o(),!1):e))}),[o]),c=(0,r.useCallback)((()=>{a?s():l()}),[s,l,a]);return[a,{open:l,close:s,toggle:c}]}dj.Root=GP,dj.CloseButton=DP.CloseButton,dj.Overlay=DP.Overlay,dj.Content=ej,dj.Header=DP.Header,dj.Title=DP.Title,dj.Body=DP.Body,dj.NativeScrollArea=DP.NativeScrollArea;var pj=Dh("share","IconShare",[["path",{d:"M6 12m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0",key:"svg-0"}],["path",{d:"M18 6m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0",key:"svg-1"}],["path",{d:"M18 18m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0",key:"svg-2"}],["path",{d:"M8.7 10.7l6.6 -3.4",key:"svg-3"}],["path",{d:"M8.7 13.3l6.6 3.4",key:"svg-4"}]]);const mj=fn((()=>({buttonGroupRight:{borderBottomLeftRadius:0,borderTopLeftRadius:0}}))),hj=(0,r.memo)((function(e){let{onShare:t,isGrouped:n=!1}=e;const{mode:o}=(0,r.useContext)(Fh),[a,{open:i,close:l}]=fj(!1),[s,c]=(0,r.useState)(!1),[u,d]=(0,r.useState)(""),{classes:f}=mj(),p="gradio"===o?"Notebook":"Workbook",m=s?"Generating share link...":"Create a link to share your ".concat(p,"!"),h=(0,Mh.jsx)(Au,{label:m,withArrow:!0,children:(0,Mh.jsx)(Ni,{loaderPosition:"center",loading:s,loaderProps:{size:"sm"},onClick:async()=>{if(s)return;c(!0);const e=await t();c(!1),e&&(d(e),i())},size:"xs",variant:"filled",className:n?"".concat(f.buttonGroupRight," buttonGroupRight"):void 0,children:(0,Mh.jsx)(pj,{size:"20px"})})});return(0,Mh.jsxs)(Mh.Fragment,{children:[(0,Mh.jsx)(dj,{opened:a,onClose:l,title:"".concat(p," URL"),children:(0,Mh.jsx)(Vn,{p:0,mr:-8,children:(0,Mh.jsxs)(ja,{direction:"row",children:[(0,Mh.jsx)(va,{truncate:!0,children:u}),(0,Mh.jsx)(AE,{value:u,contentLabel:"".concat(p," URL")})]})})}),h]})}));const gj="Menu component was not found in the tree",yj="Menu.Target component children should be an element or a component that accepts ref. Fragments, strings, numbers and other primitive values are not supported",[vj,bj]=xd(gj);var wj=fn((e=>({divider:{marginTop:l(4),marginBottom:l(4),borderTop:"".concat(l(1)," solid ").concat("dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[2])}})));const xj=wj;var kj=Object.defineProperty,Sj=Object.getOwnPropertySymbols,Oj=Object.prototype.hasOwnProperty,Ej=Object.prototype.propertyIsEnumerable,Cj=(e,t,n)=>t in e?kj(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const _j={},Pj=(0,r.forwardRef)(((e,t)=>{const n=Ht("MenuDivider",_j,e),{children:o,className:a}=n,i=((e,t)=>{var n={};for(var r in e)Oj.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&Sj)for(var r of Sj(e))t.indexOf(r)<0&&Ej.call(e,r)&&(n[r]=e[r]);return n})(n,["children","className"]),{classNames:l,styles:s,unstyled:c,variant:u}=bj(),{classes:d,cx:f}=xj(null,{name:"Menu",classNames:l,styles:s,unstyled:c,variant:u});return r.createElement(Mn,((e,t)=>{for(var n in t||(t={}))Oj.call(t,n)&&Cj(e,n,t[n]);if(Sj)for(var n of Sj(t))Ej.call(t,n)&&Cj(e,n,t[n]);return e})({className:f(d.divider,a),ref:t},i))}));function jj(e,t){return n=>{null==e||e(n),null==t||t(n)}}function Tj(e){const t=[Pl(e.offset)];return e.middlewares.shift&&t.push(jl({limiter:Tl()})),e.middlewares.flip&&t.push(El()),e.middlewares.inline&&t.push(_l()),t.push(Gl({element:e.arrowRef,padding:e.arrowOffset})),t}Pj.displayName="@mantine/core/MenuDivider";const Rj="Popover component was not found in the tree",Nj="Popover.Target component children should be an element or a component that accepts ref. Fragments, strings, numbers and other primitive values are not supported",[Aj,Ij]=xd(Rj);var Dj=Object.defineProperty,Lj=Object.defineProperties,zj=Object.getOwnPropertyDescriptors,Fj=Object.getOwnPropertySymbols,Mj=Object.prototype.hasOwnProperty,Bj=Object.prototype.propertyIsEnumerable,Uj=(e,t,n)=>t in e?Dj(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Hj=(e,t)=>{for(var n in t||(t={}))Mj.call(t,n)&&Uj(e,n,t[n]);if(Fj)for(var n of Fj(t))Bj.call(t,n)&&Uj(e,n,t[n]);return e};const Wj={refProp:"ref",popupType:"dialog",shouldOverrideDefaultTargetId:!0},$j=(0,r.forwardRef)(((e,t)=>{const n=Ht("PopoverTarget",Wj,e),{children:o,refProp:a,popupType:i,shouldOverrideDefaultTargetId:l}=n,s=((e,t)=>{var n={};for(var r in e)Mj.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&Fj)for(var r of Fj(e))t.indexOf(r)<0&&Bj.call(e,r)&&(n[r]=e[r]);return n})(n,["children","refProp","popupType","shouldOverrideDefaultTargetId"]);if(!Ai(o))throw new Error(Nj);const c=s,u=Ij(),d=Li(u.reference,o.ref,t),f=u.withRoles?{"aria-haspopup":i,"aria-expanded":u.opened,"aria-controls":u.getDropdownId(),id:l?u.getTargetId():o.props.id}:{};return(0,r.cloneElement)(o,Hj(((e,t)=>Lj(e,zj(t)))(Hj(Hj(Hj({},c),f),u.targetProps),{className:qt(u.targetProps.className,c.className,o.props.className),[a]:d}),u.controlled?null:{onClick:u.onToggle}))}));$j.displayName="@mantine/core/PopoverTarget";const qj=()=>{};function Vj(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{active:!0};return"function"===typeof e&&t.active?n=>{var r;"Escape"===n.key&&(e(n),null==(r=t.onTrigger)||r.call(t))}:t.onKeyDown||qj}var Gj=fn(((e,t)=>{let{radius:n,shadow:r}=t;return{dropdown:{position:"absolute",backgroundColor:e.white,background:"dark"===e.colorScheme?e.colors.dark[6]:e.white,border:"".concat(l(1)," solid ").concat("dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[2]),padding:"".concat(e.spacing.sm," ").concat(e.spacing.md),boxShadow:e.shadows[r]||r||"none",borderRadius:e.fn.radius(n),"&:focus":{outline:0}},arrow:{backgroundColor:"inherit",border:"".concat(l(1)," solid ").concat("dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[2]),zIndex:1}}}));const Kj=Gj;var Yj=Object.defineProperty,Xj=Object.defineProperties,Zj=Object.getOwnPropertyDescriptors,Qj=Object.getOwnPropertySymbols,Jj=Object.prototype.hasOwnProperty,eT=Object.prototype.propertyIsEnumerable,tT=(e,t,n)=>t in e?Yj(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,nT=(e,t)=>{for(var n in t||(t={}))Jj.call(t,n)&&tT(e,n,t[n]);if(Qj)for(var n of Qj(t))eT.call(t,n)&&tT(e,n,t[n]);return e},rT=(e,t)=>Xj(e,Zj(t));const oT={};function aT(e){var t;const n=Ht("PopoverDropdown",oT,e),{style:o,className:a,children:i,onKeyDownCapture:s}=n,c=((e,t)=>{var n={};for(var r in e)Jj.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&Qj)for(var r of Qj(e))t.indexOf(r)<0&&eT.call(e,r)&&(n[r]=e[r]);return n})(n,["style","className","children","onKeyDownCapture"]),u=Ij(),{classes:d,cx:f}=Kj({radius:u.radius,shadow:u.shadow},{name:u.__staticSelector,classNames:u.classNames,styles:u.styles,unstyled:u.unstyled,variant:u.variant}),p=LC({opened:u.opened,shouldReturnFocus:u.returnFocus}),m=u.withRoles?{"aria-labelledby":u.getTargetId(),id:u.getDropdownId(),role:"dialog"}:{};return u.disabled?null:r.createElement(yc,rT(nT({},u.portalProps),{withinPortal:u.withinPortal}),r.createElement(eu,rT(nT({mounted:u.opened},u.transitionProps),{transition:u.transitionProps.transition||"fade",duration:null!=(t=u.transitionProps.duration)?t:150,keepMounted:u.keepMounted,exitDuration:"number"===typeof u.transitionProps.exitDuration?u.transitionProps.exitDuration:u.transitionProps.duration}),(e=>{var t,n;return r.createElement(R_,{active:u.trapFocus},r.createElement(Mn,nT(rT(nT({},m),{tabIndex:-1,ref:u.floating,style:rT(nT(nT({},o),e),{zIndex:u.zIndex,top:null!=(t=u.y)?t:0,left:null!=(n=u.x)?n:0,width:"target"===u.width?void 0:l(u.width)}),className:f(d.dropdown,a),onKeyDownCapture:Vj(u.onClose,{active:u.closeOnEscape,onTrigger:p,onKeyDown:s}),"data-position":u.placement}),c),i,r.createElement(xu,{ref:u.arrowRef,arrowX:u.arrowX,arrowY:u.arrowY,visible:u.withArrow,position:u.placement,arrowSize:u.arrowSize,arrowRadius:u.arrowRadius,arrowOffset:u.arrowOffset,arrowPosition:u.arrowPosition,className:d.arrow})))})))}aT.displayName="@mantine/core/PopoverDropdown";var iT=Object.getOwnPropertySymbols,lT=Object.prototype.hasOwnProperty,sT=Object.prototype.propertyIsEnumerable,cT=(e,t)=>{var n={};for(var r in e)lT.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&iT)for(var r of iT(e))t.indexOf(r)<0&&sT.call(e,r)&&(n[r]=e[r]);return n};const uT={position:"bottom",offset:8,positionDependencies:[],transitionProps:{transition:"fade",duration:150},middlewares:{flip:!0,shift:!0,inline:!1},arrowSize:7,arrowOffset:5,arrowRadius:0,arrowPosition:"side",closeOnClickOutside:!0,withinPortal:!1,closeOnEscape:!0,trapFocus:!1,withRoles:!0,returnFocus:!1,clickOutsideEvents:["mousedown","touchstart"],zIndex:Fi("popover"),__staticSelector:"Popover",width:"max-content"};function dT(e){var t,n,o,a,i,l;const s=(0,r.useRef)(null),c=Ht("Popover",uT,e),{children:u,position:d,offset:f,onPositionChange:p,positionDependencies:m,opened:h,transitionProps:g,width:y,middlewares:v,withArrow:b,arrowSize:w,arrowOffset:x,arrowRadius:k,arrowPosition:S,unstyled:O,classNames:E,styles:C,closeOnClickOutside:_,withinPortal:P,portalProps:j,closeOnEscape:T,clickOutsideEvents:R,trapFocus:N,onClose:A,onOpen:I,onChange:D,zIndex:L,radius:z,shadow:F,id:M,defaultOpened:B,__staticSelector:U,withRoles:H,disabled:W,returnFocus:$,variant:q,keepMounted:V}=c,G=cT(c,["children","position","offset","onPositionChange","positionDependencies","opened","transitionProps","width","middlewares","withArrow","arrowSize","arrowOffset","arrowRadius","arrowPosition","unstyled","classNames","styles","closeOnClickOutside","withinPortal","portalProps","closeOnEscape","clickOutsideEvents","trapFocus","onClose","onOpen","onChange","zIndex","radius","shadow","id","defaultOpened","__staticSelector","withRoles","disabled","returnFocus","variant","keepMounted"]),[K,Y]=(0,r.useState)(null),[X,Z]=(0,r.useState)(null),Q=Xn(M),J=function(e){const[t,n]=wd({value:e.opened,defaultValue:e.defaultOpened,finalValue:!1,onChange:e.onChange}),r=Ls({placement:e.position,middleware:[...Tj(e),..."target"===e.width?[Rl({apply(e){let{rects:t}=e;var n,o;Object.assign(null!=(o=null==(n=r.refs.floating.current)?void 0:n.style)?o:{},{width:"".concat(t.reference.width,"px")})}})]:[]]});return Tc({opened:e.opened,position:e.position,positionDependencies:e.positionDependencies,floating:r}),jc((()=>{var t;null==(t=e.onPositionChange)||t.call(e,r.placement)}),[r.placement]),jc((()=>{var t,n;e.opened?null==(n=e.onOpen)||n.call(e):null==(t=e.onClose)||t.call(e)}),[e.opened]),{floating:r,controlled:"boolean"===typeof e.opened,opened:t,onClose:()=>{var t;null==(t=e.onClose)||t.call(e),n(!1)},onToggle:()=>{var r,o;t?(null==(r=e.onClose)||r.call(e),n(!1)):(null==(o=e.onOpen)||o.call(e),n(!0))}}}({middlewares:v,width:y,position:Nc(Bt().dir,d),offset:"number"===typeof f?f+(b?w/2:0):f,arrowRef:s,arrowOffset:x,onPositionChange:p,positionDependencies:m,opened:h,defaultOpened:B,onChange:D,onOpen:I,onClose:A});hg((()=>J.opened&&_&&J.onClose()),R,[K,X]);const ee=(0,r.useCallback)((e=>{Y(e),J.floating.reference(e)}),[J.floating.reference]),te=(0,r.useCallback)((e=>{Z(e),J.floating.floating(e)}),[J.floating.floating]);return r.createElement(Aj,{value:{returnFocus:$,disabled:W,controlled:J.controlled,reference:ee,floating:te,x:J.floating.x,y:J.floating.y,arrowX:null==(o=null==(n=null==(t=J.floating)?void 0:t.middlewareData)?void 0:n.arrow)?void 0:o.x,arrowY:null==(l=null==(i=null==(a=J.floating)?void 0:a.middlewareData)?void 0:i.arrow)?void 0:l.y,opened:J.opened,arrowRef:s,transitionProps:g,width:y,withArrow:b,arrowSize:w,arrowOffset:x,arrowRadius:k,arrowPosition:S,placement:J.floating.placement,trapFocus:N,withinPortal:P,portalProps:j,zIndex:L,radius:z,shadow:F,closeOnEscape:T,onClose:J.onClose,onToggle:J.onToggle,getTargetId:()=>"".concat(Q,"-target"),getDropdownId:()=>"".concat(Q,"-dropdown"),withRoles:H,targetProps:G,__staticSelector:U,classNames:E,styles:C,unstyled:O,variant:q,keepMounted:V}},u)}dT.Target=$j,dT.Dropdown=aT,dT.displayName="@mantine/core/Popover";var fT=Object.defineProperty,pT=Object.getOwnPropertySymbols,mT=Object.prototype.hasOwnProperty,hT=Object.prototype.propertyIsEnumerable,gT=(e,t,n)=>t in e?fT(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const yT={};function vT(e){const t=Ht("MenuDropdown",yT,e),{children:n,onMouseEnter:o,onMouseLeave:a}=t,i=((e,t)=>{var n={};for(var r in e)mT.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&pT)for(var r of pT(e))t.indexOf(r)<0&&hT.call(e,r)&&(n[r]=e[r]);return n})(t,["children","onMouseEnter","onMouseLeave"]),l=(0,r.useRef)(),s=bj(),c=jj(o,(()=>"hover"===s.trigger&&s.openDropdown())),u=jj(a,(()=>"hover"===s.trigger&&s.closeDropdown()));return r.createElement(dT.Dropdown,((e,t)=>{for(var n in t||(t={}))mT.call(t,n)&&gT(e,n,t[n]);if(pT)for(var n of pT(t))hT.call(t,n)&&gT(e,n,t[n]);return e})({onMouseEnter:c,onMouseLeave:u,role:"menu","aria-orientation":"vertical"},i),r.createElement("div",{tabIndex:-1,"data-menu-dropdown":!0,"data-autofocus":!0,onKeyDown:e=>{var t;"ArrowUp"!==e.key&&"ArrowDown"!==e.key||(e.preventDefault(),null==(t=l.current.querySelectorAll("[data-menu-item]:not(:disabled)")[0])||t.focus())},ref:l,style:{outline:0}},n))}vT.displayName="@mantine/core/MenuDropdown";var bT=Object.defineProperty,wT=Object.defineProperties,xT=Object.getOwnPropertyDescriptors,kT=Object.getOwnPropertySymbols,ST=Object.prototype.hasOwnProperty,OT=Object.prototype.propertyIsEnumerable,ET=(e,t,n)=>t in e?bT(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,CT=(e,t)=>{for(var n in t||(t={}))ST.call(t,n)&&ET(e,n,t[n]);if(kT)for(var n of kT(t))OT.call(t,n)&&ET(e,n,t[n]);return e},_T=(e,t)=>wT(e,xT(t)),PT=fn(((e,t)=>{let{color:n,radius:r}=t;return{item:_T(CT({},e.fn.fontStyles()),{WebkitTapHighlightColor:"transparent",fontSize:e.fontSizes.sm,border:0,backgroundColor:"transparent",outline:0,width:"100%",textAlign:"left",textDecoration:"none",boxSizing:"border-box",padding:"".concat(e.spacing.xs," ").concat(e.spacing.sm),cursor:"pointer",borderRadius:e.fn.radius(r),color:n?e.fn.variant({variant:"filled",primaryFallback:!1,color:n}).background:"dark"===e.colorScheme?e.colors.dark[0]:e.black,display:"flex",alignItems:"center","&:disabled":{color:"dark"===e.colorScheme?e.colors.dark[3]:e.colors.gray[5],pointerEvents:"none",userSelect:"none"},"&[data-hovered]":{backgroundColor:n?e.fn.variant({variant:"light",color:n}).background:"dark"===e.colorScheme?e.fn.rgba(e.colors.dark[3],.35):e.colors.gray[1]}}),itemLabel:{flex:1},itemIcon:{display:"flex",justifyContent:"center",alignItems:"center",marginRight:e.spacing.xs},itemRightSection:{}}}));const jT=PT;var TT=Object.defineProperty,RT=Object.defineProperties,NT=Object.getOwnPropertyDescriptors,AT=Object.getOwnPropertySymbols,IT=Object.prototype.hasOwnProperty,DT=Object.prototype.propertyIsEnumerable,LT=(e,t,n)=>t in e?TT(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const zT={},FT=(0,r.forwardRef)(((e,t)=>{const n=Ht("MenuItem",zT,e),{children:o,className:a,color:i,closeMenuOnClick:l,icon:s,rightSection:c}=n,u=((e,t)=>{var n={};for(var r in e)IT.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&AT)for(var r of AT(e))t.indexOf(r)<0&&DT.call(e,r)&&(n[r]=e[r]);return n})(n,["children","className","color","closeMenuOnClick","icon","rightSection"]),d=bj(),{classes:f,cx:p,theme:m}=jT({radius:d.radius,color:i},{name:"Menu",classNames:d.classNames,styles:d.styles,unstyled:d.unstyled,variant:d.variant}),h=(0,r.useRef)(),g=d.getItemIndex(h.current),y=u,v=jj(y.onMouseLeave,(()=>d.setHovered(-1))),b=jj(y.onMouseEnter,(()=>d.setHovered(d.getItemIndex(h.current)))),w=jj(y.onClick,(()=>{"boolean"===typeof l?l&&d.closeDropdownImmediately():d.closeOnItemClick&&d.closeDropdownImmediately()})),x=jj(y.onFocus,(()=>d.setHovered(d.getItemIndex(h.current))));return r.createElement(Mn,((e,t)=>RT(e,NT(t)))(((e,t)=>{for(var n in t||(t={}))IT.call(t,n)&<(e,n,t[n]);if(AT)for(var n of AT(t))DT.call(t,n)&<(e,n,t[n]);return e})({component:"button",type:"button"},u),{tabIndex:-1,onFocus:x,className:p(f.item,a),ref:Li(h,t),role:"menuitem","data-menu-item":!0,"data-hovered":d.hovered===g||void 0,onMouseEnter:b,onMouseLeave:v,onClick:w,onKeyDown:Md({siblingSelector:"[data-menu-item]",parentSelector:"[data-menu-dropdown]",activateOnFocus:!1,loop:d.loop,dir:m.dir,orientation:"vertical",onKeyDown:y.onKeydown})}),s&&r.createElement("div",{className:f.itemIcon},s),o&&r.createElement("div",{className:f.itemLabel},o),c&&r.createElement("div",{className:f.itemRightSection},c))}));FT.displayName="@mantine/core/MenuItem";const MT=FT;var BT=fn((e=>({label:{color:"dark"===e.colorScheme?e.colors.dark[2]:e.colors.gray[6],fontWeight:500,fontSize:e.fontSizes.xs,padding:"calc(".concat(e.spacing.xs," / 2) ").concat(e.spacing.sm),cursor:"default"}})));const UT=BT;var HT=Object.defineProperty,WT=Object.getOwnPropertySymbols,$T=Object.prototype.hasOwnProperty,qT=Object.prototype.propertyIsEnumerable,VT=(e,t,n)=>t in e?HT(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const GT={},KT=(0,r.forwardRef)(((e,t)=>{const n=Ht("MenuLabel",GT,e),{children:o,className:a}=n,i=((e,t)=>{var n={};for(var r in e)$T.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&WT)for(var r of WT(e))t.indexOf(r)<0&&qT.call(e,r)&&(n[r]=e[r]);return n})(n,["children","className"]),{classNames:l,styles:s,unstyled:c,variant:u}=bj(),{classes:d,cx:f}=UT(null,{name:"Menu",classNames:l,styles:s,unstyled:c,variant:u});return r.createElement(va,((e,t)=>{for(var n in t||(t={}))$T.call(t,n)&&VT(e,n,t[n]);if(WT)for(var n of WT(t))qT.call(t,n)&&VT(e,n,t[n]);return e})({className:f(d.label,a),ref:t},i),o)}));KT.displayName="@mantine/core/MenuLabel";var YT=Object.defineProperty,XT=Object.getOwnPropertySymbols,ZT=Object.prototype.hasOwnProperty,QT=Object.prototype.propertyIsEnumerable,JT=(e,t,n)=>t in e?YT(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const eR={refProp:"ref"},tR=(0,r.forwardRef)(((e,t)=>{const n=Ht("MenuTarget",eR,e),{children:o,refProp:a}=n,i=((e,t)=>{var n={};for(var r in e)ZT.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&XT)for(var r of XT(e))t.indexOf(r)<0&&QT.call(e,r)&&(n[r]=e[r]);return n})(n,["children","refProp"]);if(!Ai(o))throw new Error(yj);const l=bj(),s=jj(o.props.onClick,(()=>"click"===l.trigger&&l.toggleDropdown())),c=jj(o.props.onMouseEnter,(()=>"hover"===l.trigger&&l.openDropdown())),u=jj(o.props.onMouseLeave,(()=>"hover"===l.trigger&&l.closeDropdown()));return r.createElement(dT.Target,((e,t)=>{for(var n in t||(t={}))ZT.call(t,n)&&JT(e,n,t[n]);if(XT)for(var n of XT(t))QT.call(t,n)&&JT(e,n,t[n]);return e})({refProp:a,popupType:"menu",ref:t},i),(0,r.cloneElement)(o,{onClick:s,onMouseEnter:c,onMouseLeave:u,"data-expanded":!!l.opened||void 0}))}));tR.displayName="@mantine/core/MenuTarget";const nR=fn({dropdown:{padding:l(4)}});var rR=Object.defineProperty,oR=Object.defineProperties,aR=Object.getOwnPropertyDescriptors,iR=Object.getOwnPropertySymbols,lR=Object.prototype.hasOwnProperty,sR=Object.prototype.propertyIsEnumerable,cR=(e,t,n)=>t in e?rR(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,uR=(e,t)=>{for(var n in t||(t={}))lR.call(t,n)&&cR(e,n,t[n]);if(iR)for(var n of iR(t))sR.call(t,n)&&cR(e,n,t[n]);return e},dR=(e,t)=>oR(e,aR(t)),fR=(e,t)=>{var n={};for(var r in e)lR.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&iR)for(var r of iR(e))t.indexOf(r)<0&&sR.call(e,r)&&(n[r]=e[r]);return n};const pR={closeOnItemClick:!0,loop:!0,trigger:"click",openDelay:0,closeDelay:100};function mR(e){const t=Ht("Menu",pR,e),{children:n,onOpen:o,onClose:a,opened:i,defaultOpened:l,onChange:s,closeOnItemClick:c,loop:u,closeOnEscape:d,trigger:f,openDelay:p,closeDelay:m,classNames:h,styles:g,unstyled:y,radius:v,variant:b}=t,w=fR(t,["children","onOpen","onClose","opened","defaultOpened","onChange","closeOnItemClick","loop","closeOnEscape","trigger","openDelay","closeDelay","classNames","styles","unstyled","radius","variant"]),{classes:x,cx:k}=nR(),[S,{setHovered:O,resetHovered:E}]=function(){const[e,t]=(0,r.useState)(-1);return[e,{setHovered:t,resetHovered:()=>t(-1)}]}(),[C,_]=wd({value:i,defaultValue:l,finalValue:!1,onChange:s}),P=()=>{_(!1),C&&(null==a||a())},j=()=>{_(!0),!C&&(null==o||o())},T=()=>C?P():j(),{openDropdown:R,closeDropdown:N}=function(e){let{open:t,close:n,openDelay:o,closeDelay:a}=e;const i=(0,r.useRef)(-1),l=(0,r.useRef)(-1),s=()=>{window.clearTimeout(i.current),window.clearTimeout(l.current)};return(0,r.useEffect)((()=>s),[]),{openDropdown:()=>{s(),0===o?t():i.current=window.setTimeout(t,o)},closeDropdown:()=>{s(),0===a?n():l.current=window.setTimeout(n,a)}}}({open:j,close:P,closeDelay:m,openDelay:p});return jc((()=>{E()}),[C]),r.createElement(vj,{value:{opened:C,toggleDropdown:T,getItemIndex:e=>function(e,t,n){var r;return n?Array.from((null==(r=Fd(n,t))?void 0:r.querySelectorAll(e))||[]).findIndex((e=>e===n)):null}("[data-menu-item]","[data-menu-dropdown]",e),hovered:S,setHovered:O,closeOnItemClick:c,closeDropdown:"click"===f?P:N,openDropdown:"click"===f?j:R,closeDropdownImmediately:P,loop:u,trigger:f,radius:v,classNames:h,styles:g,unstyled:y,variant:b}},r.createElement(dT,dR(uR({},w),{radius:v,opened:C,onChange:T,defaultOpened:l,trapFocus:"click"===f,closeOnEscape:d&&"click"===f,__staticSelector:"Menu",classNames:dR(uR({},h),{dropdown:k(x.dropdown,null==h?void 0:h.dropdown)}),styles:g,unstyled:y,variant:b}),n))}mR.displayName="@mantine/core/Menu",mR.Item=MT,mR.Label=KT,mR.Dropdown=vT,mR.Target=tR,mR.Divider=Pj;var hR=Dh("text-caption","IconTextCaption",[["path",{d:"M4 15h16",key:"svg-0"}],["path",{d:"M4 4m0 1a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z",key:"svg-1"}],["path",{d:"M4 20h12",key:"svg-2"}]]),gR=Dh("search","IconSearch",[["path",{d:"M10 10m-7 0a7 7 0 1 0 14 0a7 7 0 1 0 -14 0",key:"svg-0"}],["path",{d:"M21 21l-6 -6",key:"svg-1"}]]);const yR=(0,r.createContext)({showNotification:()=>{}});function vR(e,t){const[n,o]=(0,r.useState)([]),{showNotification:a}=(0,r.useContext)(yR),{readOnly:i}=(0,r.useContext)(Fh),l=(0,r.useCallback)((async e=>{if(t&&!i)try{const n=await t(e);o(n)}catch(bK){const t=bK instanceof Error?bK.message:null;a({title:"Error loading models",message:t,type:"error"})}}),[t,i,a]);return(0,r.useEffect)((()=>{l(e)}),[l,e]),n}const bR=fn((e=>({addPromptRow:{borderRadius:l(4),display:"flex",justifyContent:"center",marginLeft:36,align:"center","&:hover":{backgroundColor:"light"===e.colorScheme?e.colors.gray[1]:"rgba(255, 255, 255, 0.1)"},[e.fn.smallerThan("sm")]:{marginLeft:"0",display:"block",position:"static",bottom:-10,left:0,height:28,margin:"10px 0"}}})));function wR(e){let{models:t,onSelectModel:n,collapseLimit:o}=e;const[a,i]=(0,r.useState)(t.length>o),l=a?t.slice(0,o):t;return(0,Mh.jsxs)(yb,{mah:300,style:{overflowY:"auto"},children:[l.map((e=>(0,Mh.jsx)(mR.Item,{icon:(0,Mh.jsx)(hR,{size:"16"}),onClick:()=>n(e),children:e},e))),a&&(0,Mh.jsx)(mR.Item,{onClick:()=>i(!1),children:"..."})]})}const xR=(0,r.memo)((function(e){let{addPrompt:t,getModels:n}=e;const[o,a]=(0,r.useState)(""),[i,l]=(0,r.useState)(!1),s=(0,r.useCallback)((e=>{t(e),l(!1)}),[t]),c=vR(o,n),{classes:u}=bR();return(0,Mh.jsx)("div",{className:"".concat(u.addPromptRow," addPromptRow"),children:(0,Mh.jsxs)(mR,{position:"bottom",closeOnItemClick:!1,opened:i,onChange:l,children:[(0,Mh.jsx)(mR.Target,{children:(0,Mh.jsx)(Au,{label:"Add prompt",children:(0,Mh.jsx)(_o,{w:"100%",children:(0,Mh.jsx)(zh,{size:20})})})}),(0,Mh.jsxs)(mR.Dropdown,{children:[(0,Mh.jsx)(Zm,{icon:(0,Mh.jsx)(gR,{size:"16"}),placeholder:"Search",value:o,onChange:e=>a(e.currentTarget.value)}),(0,Mh.jsx)(wR,{models:null!==c&&void 0!==c?c:[],collapseLimit:5,onSelectModel:s})]})]})})}));var kR=Dh("dots-vertical","IconDotsVertical",[["path",{d:"M12 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0",key:"svg-0"}],["path",{d:"M12 19m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0",key:"svg-1"}],["path",{d:"M12 5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0",key:"svg-2"}]]);const SR=fn((()=>({promptMenuButton:{marginLeft:-8}}))),OR=(0,r.memo)((function(e){let{promptId:t,onDeletePrompt:n}=e;const{classes:r}=SR();return(0,Mh.jsxs)(mR,{position:"bottom-end",children:[(0,Mh.jsx)(mR.Target,{children:(0,Mh.jsx)(Ni,{size:"xs",variant:"subtle",color:"dark",className:"".concat(r.promptMenuButton," promptMenuButton"),children:(0,Mh.jsx)(kR,{size:14})})}),(0,Mh.jsx)(mR.Dropdown,{children:(0,Mh.jsx)(mR.Item,{icon:(0,Mh.jsx)(Lh,{size:16}),color:"red",onClick:()=>n(t),children:"Delete Prompt"})})]})}));function ER(e){let{data:t}=e;const n=[],r=[],o=t.reduce(((e,t,n)=>(t.group?e[t.group]?e[t.group].push(n):e[t.group]=[n]:r.push(n),e)),{});return Object.keys(o).forEach((e=>{n.push(...o[e].map((e=>t[e])))})),n.push(...r.map((e=>t[e]))),n}const CR={xs:l(1),sm:l(2),md:l(3),lg:l(4),xl:l(5)};function _R(e,t){const n=e.fn.variant({variant:"outline",color:t}).border;return"string"===typeof t&&(t in e.colors||t.split(".")[0]in e.colors)?n:void 0===t?"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[4]:t}var PR=fn(((e,t,n)=>{let{color:r}=t,{size:o,variant:a}=n;return{root:{},withLabel:{borderTop:"0 !important"},left:{"&::before":{display:"none"}},right:{"&::after":{display:"none"}},label:{display:"flex",alignItems:"center","&::before":{content:'""',flex:1,height:l(1),borderTop:"".concat(qe({size:o,sizes:CR})," ").concat(a," ").concat(_R(e,r)),marginRight:e.spacing.xs},"&::after":{content:'""',flex:1,borderTop:"".concat(qe({size:o,sizes:CR})," ").concat(a," ").concat(_R(e,r)),marginLeft:e.spacing.xs}},labelDefaultStyles:{color:"dark"===r?e.colors.dark[1]:e.fn.themeColor(r,"dark"===e.colorScheme?5:e.fn.primaryShade(),!1)},horizontal:{border:0,borderTopWidth:l(qe({size:o,sizes:CR})),borderTopColor:_R(e,r),borderTopStyle:a,margin:0},vertical:{border:0,alignSelf:"stretch",height:"auto",borderLeftWidth:l(qe({size:o,sizes:CR})),borderLeftColor:_R(e,r),borderLeftStyle:a}}}));const jR=PR;var TR=Object.defineProperty,RR=Object.defineProperties,NR=Object.getOwnPropertyDescriptors,AR=Object.getOwnPropertySymbols,IR=Object.prototype.hasOwnProperty,DR=Object.prototype.propertyIsEnumerable,LR=(e,t,n)=>t in e?TR(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,zR=(e,t)=>{for(var n in t||(t={}))IR.call(t,n)&&LR(e,n,t[n]);if(AR)for(var n of AR(t))DR.call(t,n)&&LR(e,n,t[n]);return e};const FR={orientation:"horizontal",size:"xs",labelPosition:"left",variant:"solid"},MR=(0,r.forwardRef)(((e,t)=>{const n=Ht("Divider",FR,e),{className:o,color:a,orientation:i,size:s,label:c,labelPosition:u,labelProps:d,variant:f,styles:p,classNames:m,unstyled:h}=n,g=((e,t)=>{var n={};for(var r in e)IR.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&AR)for(var r of AR(e))t.indexOf(r)<0&&DR.call(e,r)&&(n[r]=e[r]);return n})(n,["className","color","orientation","size","label","labelPosition","labelProps","variant","styles","classNames","unstyled"]),{classes:y,cx:v}=jR({color:a},{classNames:m,styles:p,unstyled:h,name:"Divider",variant:f,size:s}),b="vertical"===i,w="horizontal"===i,x=!!c&&w,k=!(null==d?void 0:d.color);return r.createElement(Mn,zR({ref:t,className:v(y.root,{[y.vertical]:b,[y.horizontal]:w,[y.withLabel]:x},o),role:"separator"},g),x&&r.createElement(va,((e,t)=>RR(e,NR(t)))(zR({},d),{size:(null==d?void 0:d.size)||"xs",mt:l(2),className:v(y.label,y[u],{[y.labelDefaultStyles]:k})}),c))}));MR.displayName="@mantine/core/Divider";var BR=Object.defineProperty,UR=Object.defineProperties,HR=Object.getOwnPropertyDescriptors,WR=Object.getOwnPropertySymbols,$R=Object.prototype.hasOwnProperty,qR=Object.prototype.propertyIsEnumerable,VR=(e,t,n)=>t in e?BR(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,GR=(e,t)=>{for(var n in t||(t={}))$R.call(t,n)&&VR(e,n,t[n]);if(WR)for(var n of WR(t))qR.call(t,n)&&VR(e,n,t[n]);return e},KR=(e,t)=>UR(e,HR(t)),YR=fn(((e,t,n)=>{let{size:r}=n;return{item:KR(GR({},e.fn.fontStyles()),{boxSizing:"border-box",wordBreak:"break-all",textAlign:"left",width:"100%",padding:"calc(".concat(qe({size:r,sizes:e.spacing})," / 1.5) ").concat(qe({size:r,sizes:e.spacing})),cursor:"pointer",fontSize:qe({size:r,sizes:e.fontSizes}),color:"dark"===e.colorScheme?e.colors.dark[0]:e.black,borderRadius:e.fn.radius(),"&[data-hovered]":{backgroundColor:"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[1]},"&[data-selected]":GR({backgroundColor:e.fn.variant({variant:"filled"}).background,color:e.fn.variant({variant:"filled"}).color},e.fn.hover({backgroundColor:e.fn.variant({variant:"filled"}).hover})),"&[data-disabled]":{cursor:"default",color:e.colors.dark[2]}}),nothingFound:{boxSizing:"border-box",color:e.colors.gray[6],paddingTop:"calc(".concat(qe({size:r,sizes:e.spacing})," / 2)"),paddingBottom:"calc(".concat(qe({size:r,sizes:e.spacing})," / 2)"),textAlign:"center"},separator:{boxSizing:"border-box",textAlign:"left",width:"100%",padding:"calc(".concat(qe({size:r,sizes:e.spacing})," / 1.5) ").concat(qe({size:r,sizes:e.spacing}))},separatorLabel:{color:"dark"===e.colorScheme?e.colors.dark[3]:e.colors.gray[5]}}}));const XR=YR;var ZR=Object.defineProperty,QR=Object.getOwnPropertySymbols,JR=Object.prototype.hasOwnProperty,eN=Object.prototype.propertyIsEnumerable,tN=(e,t,n)=>t in e?ZR(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;function nN(e){let{data:t,hovered:n,classNames:o,styles:a,isItemSelected:i,uuid:l,__staticSelector:s,onItemHover:c,onItemSelect:u,itemsRefs:d,itemComponent:f,size:p,nothingFound:m,creatable:h,createLabel:g,unstyled:y,variant:v}=e;const{classes:b}=XR(null,{classNames:o,styles:a,unstyled:y,name:s,variant:v,size:p}),w=[],x=[];let k=null;const S=(e,t)=>{const o="function"===typeof i&&i(e.value);return r.createElement(f,((e,t)=>{for(var n in t||(t={}))JR.call(t,n)&&tN(e,n,t[n]);if(QR)for(var n of QR(t))eN.call(t,n)&&tN(e,n,t[n]);return e})({key:e.value,className:b.item,"data-disabled":e.disabled||void 0,"data-hovered":!e.disabled&&n===t||void 0,"data-selected":!e.disabled&&o||void 0,selected:o,onMouseEnter:()=>c(t),id:"".concat(l,"-").concat(t),role:"option",tabIndex:-1,"aria-selected":n===t,ref:t=>{d&&d.current&&(d.current[e.value]=t)},onMouseDown:e.disabled?null:t=>{t.preventDefault(),u(e)},disabled:e.disabled,variant:v},e))};let O=null;if(t.forEach(((e,t)=>{e.creatable?k=t:e.group?(O!==e.group&&(O=e.group,x.push(r.createElement("div",{className:b.separator,key:"__mantine-divider-".concat(t)},r.createElement(MR,{classNames:{label:b.separatorLabel},label:e.group})))),x.push(S(e,t))):w.push(S(e,t))})),h){const e=t[k];w.push(r.createElement("div",{key:Yn(),className:b.item,"data-hovered":n===k||void 0,onMouseEnter:()=>c(k),onMouseDown:t=>{t.preventDefault(),u(e)},tabIndex:-1,ref:t=>{d&&d.current&&(d.current[e.value]=t)}},g))}return x.length>0&&w.length>0&&w.unshift(r.createElement("div",{className:b.separator,key:"empty-group-separator"},r.createElement(MR,null))),x.length>0||w.length>0?r.createElement(r.Fragment,null,x,w):r.createElement(va,{size:p,unstyled:y,className:b.nothingFound},m)}nN.displayName="@mantine/core/SelectItems";var rN=Object.defineProperty,oN=Object.getOwnPropertySymbols,aN=Object.prototype.hasOwnProperty,iN=Object.prototype.propertyIsEnumerable,lN=(e,t,n)=>t in e?rN(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const sN=(0,r.forwardRef)(((e,t)=>{var n=e,{label:o,value:a}=n,i=((e,t)=>{var n={};for(var r in e)aN.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&oN)for(var r of oN(e))t.indexOf(r)<0&&iN.call(e,r)&&(n[r]=e[r]);return n})(n,["label","value"]);return r.createElement("div",((e,t)=>{for(var n in t||(t={}))aN.call(t,n)&&lN(e,n,t[n]);if(oN)for(var n of oN(t))iN.call(t,n)&&lN(e,n,t[n]);return e})({ref:t},i),o||a)}));sN.displayName="@mantine/core/DefaultItem";var cN=Object.defineProperty,uN=Object.defineProperties,dN=Object.getOwnPropertyDescriptors,fN=Object.getOwnPropertySymbols,pN=Object.prototype.hasOwnProperty,mN=Object.prototype.propertyIsEnumerable,hN=(e,t,n)=>t in e?cN(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,gN=(e,t)=>{for(var n in t||(t={}))pN.call(t,n)&&hN(e,n,t[n]);if(fN)for(var n of fN(t))mN.call(t,n)&&hN(e,n,t[n]);return e};const yN=(0,r.forwardRef)(((e,t)=>{var n=e,{style:o}=n,a=((e,t)=>{var n={};for(var r in e)pN.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&fN)for(var r of fN(e))t.indexOf(r)<0&&mN.call(e,r)&&(n[r]=e[r]);return n})(n,["style"]);return r.createElement(yb,((e,t)=>uN(e,dN(t)))(gN({},a),{style:gN({width:"100%"},o),viewportProps:{tabIndex:-1},viewportRef:t}),a.children)}));yN.displayName="@mantine/core/SelectScrollArea";const vN=fn((()=>({dropdown:{},itemsWrapper:{padding:l(4),display:"flex",width:"100%",boxSizing:"border-box"}})));var bN=Object.defineProperty,wN=Object.getOwnPropertySymbols,xN=Object.prototype.hasOwnProperty,kN=Object.prototype.propertyIsEnumerable,SN=(e,t,n)=>t in e?bN(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;function ON(e){let{opened:t,transitionProps:n={transition:"fade",duration:0},shadow:o,withinPortal:a,portalProps:i,children:l,__staticSelector:s,onDirectionChange:c,switchDirectionOnFlip:u,zIndex:d,dropdownPosition:f,positionDependencies:p=[],classNames:m,styles:h,unstyled:g,readOnly:y,variant:v}=e;return r.createElement(dT,{unstyled:g,classNames:m,styles:h,width:"target",withRoles:!1,opened:t,middlewares:{flip:"flip"===f,shift:!1},position:"flip"===f?"bottom":f,positionDependencies:p,zIndex:d,__staticSelector:s,withinPortal:a,portalProps:i,transitionProps:n,shadow:o,disabled:y,onPositionChange:e=>u&&(null==c?void 0:c("top"===e?"column-reverse":"column")),variant:v},l)}function EN(e){let{data:t,limit:n,value:r,filter:o}=e;const a=[];for(let i=0;i=n));i+=1);return a}ON.Target=dT.Target,ON.Dropdown=function(e){var t=e,{children:n,component:o="div",maxHeight:a=220,direction:i="column",id:s,innerRef:c,__staticSelector:u,styles:d,classNames:f,unstyled:p}=t,m=((e,t)=>{var n={};for(var r in e)xN.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&wN)for(var r of wN(e))t.indexOf(r)<0&&kN.call(e,r)&&(n[r]=e[r]);return n})(t,["children","component","maxHeight","direction","id","innerRef","__staticSelector","styles","classNames","unstyled"]);const{classes:h}=vN(null,{name:u,styles:d,classNames:f,unstyled:p});return r.createElement(dT.Dropdown,((e,t)=>{for(var n in t||(t={}))xN.call(t,n)&&SN(e,n,t[n]);if(wN)for(var n of wN(t))kN.call(t,n)&&SN(e,n,t[n]);return e})({p:0,onMouseDown:e=>e.preventDefault()},m),r.createElement("div",{style:{maxHeight:l(a),display:"flex"}},r.createElement(Mn,{component:o||"div",id:"".concat(s,"-items"),"aria-labelledby":"".concat(s,"-label"),role:"listbox",onMouseDown:e=>e.preventDefault(),style:{flex:1,overflowY:o!==yN?"auto":void 0},"data-combobox-popover":!0,tabIndex:-1,ref:c},r.createElement("div",{className:h.itemsWrapper,style:{flexDirection:i}},n))))};const CN=fn((()=>({wrapper:{position:"relative"}})));var _N=Object.defineProperty,PN=Object.defineProperties,jN=Object.getOwnPropertyDescriptors,TN=Object.getOwnPropertySymbols,RN=Object.prototype.hasOwnProperty,NN=Object.prototype.propertyIsEnumerable,AN=(e,t,n)=>t in e?_N(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,IN=(e,t)=>{for(var n in t||(t={}))RN.call(t,n)&&AN(e,n,t[n]);if(TN)for(var n of TN(t))NN.call(t,n)&&AN(e,n,t[n]);return e},DN=(e,t)=>PN(e,jN(t));const LN={required:!1,size:"sm",shadow:"sm",limit:5,itemComponent:sN,transitionProps:{transition:"fade",duration:0},initiallyOpened:!1,filter:function(e,t){return t.value.toLowerCase().trim().includes(e.toLowerCase().trim())},switchDirectionOnFlip:!1,zIndex:Fi("popover"),dropdownPosition:"flip",maxDropdownHeight:"auto",positionDependencies:[]},zN=(0,r.forwardRef)(((e,t)=>{const n=Ep("Autocomplete",LN,e),{inputProps:o,wrapperProps:a,shadow:i,data:l,limit:s,value:c,defaultValue:u,onChange:d,unstyled:f,itemComponent:p,onItemSubmit:m,onKeyDown:h,onFocus:g,onBlur:y,onClick:v,transitionProps:b,initiallyOpened:w,classNames:x,styles:k,filter:S,nothingFound:O,onDropdownClose:E,onDropdownOpen:C,withinPortal:_,switchDirectionOnFlip:P,zIndex:j,dropdownPosition:T,maxDropdownHeight:R,dropdownComponent:N,positionDependencies:A,readOnly:I,hoverOnSearchChange:D}=n,L=((e,t)=>{var n={};for(var r in e)RN.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&TN)for(var r of TN(e))t.indexOf(r)<0&&NN.call(e,r)&&(n[r]=e[r]);return n})(n,["inputProps","wrapperProps","shadow","data","limit","value","defaultValue","onChange","unstyled","itemComponent","onItemSubmit","onKeyDown","onFocus","onBlur","onClick","transitionProps","initiallyOpened","classNames","styles","filter","nothingFound","onDropdownClose","onDropdownOpen","withinPortal","switchDirectionOnFlip","zIndex","dropdownPosition","maxDropdownHeight","dropdownComponent","positionDependencies","readOnly","hoverOnSearchChange"]),{classes:z}=CN(null,{classNames:x,styles:k,name:"Autocomplete",unstyled:f}),[F,M]=(0,r.useState)(w),[B,U]=(0,r.useState)(-1),[H,W]=(0,r.useState)("column"),$=(0,r.useRef)(null),[q,V]=(0,r.useState)(!1),[G,K]=wd({value:c,defaultValue:u,finalValue:"",onChange:d}),Y=e=>{M(e);const t=e?C:E;"function"===typeof t&&t()};jc((()=>{U(D&&G?0:-1)}),[G,D]);const X=ER({data:EN({data:l.map((e=>"string"===typeof e?{value:e}:e)),value:G,limit:s,filter:S})}),Z=F&&(X.length>0||0===X.length&&!!O);return r.createElement(Um.Wrapper,DN(IN({},a),{__staticSelector:"Autocomplete"}),r.createElement(ON,{opened:Z,transitionProps:b,shadow:"sm",withinPortal:_,__staticSelector:"Autocomplete",onDirectionChange:W,switchDirectionOnFlip:P,zIndex:j,dropdownPosition:T,positionDependencies:A,classNames:x,styles:k,unstyled:f,readOnly:I,variant:o.variant},r.createElement(ON.Target,null,r.createElement("div",{className:z.wrapper,"aria-controls":o.id,onMouseLeave:()=>U(-1),tabIndex:-1},r.createElement(Um,DN(IN(IN({type:"search",autoComplete:"off"},o),L),{readOnly:I,"data-mantine-stop-propagation":F,ref:Li(t,$),onKeyDown:e=>{if(q)return;"function"===typeof h&&h(e);const t="column"===H,n=()=>{U((e=>e{U((e=>e>0?e-1:e))};switch(e.key){case"ArrowUp":e.preventDefault(),t?r():n();break;case"ArrowDown":e.preventDefault(),t?n():r();break;case"Enter":X[B]&&F&&(e.preventDefault(),K(X[B].value),"function"===typeof m&&m(X[B]),Y(!1));break;case"Escape":F&&(e.preventDefault(),Y(!1))}},classNames:x,styles:k,__staticSelector:"Autocomplete",value:G,onChange:e=>{K(e.currentTarget.value),Y(!0)},onFocus:e=>{"function"===typeof g&&g(e),Y(!0)},onBlur:e=>{"function"===typeof y&&y(e),Y(!1)},onClick:e=>{"function"===typeof v&&v(e),Y(!0)},onCompositionStart:()=>V(!0),onCompositionEnd:()=>V(!1),role:"combobox","aria-haspopup":"listbox","aria-owns":Z?"".concat(o.id,"-items"):null,"aria-expanded":Z,"aria-autocomplete":"list","aria-controls":Z?"".concat(o.id,"-items"):null,"aria-activedescendant":B>=0?"".concat(o.id,"-").concat(B):null})))),r.createElement(ON.Dropdown,{component:N||yN,maxHeight:R,direction:H,id:o.id,__staticSelector:"Autocomplete",classNames:x,styles:k},r.createElement(nN,{data:X,hovered:B,classNames:x,styles:k,uuid:o.id,__staticSelector:"Autocomplete",onItemHover:U,onItemSelect:e=>{K(e.value),"function"===typeof m&&m(e),Y(!1)},itemComponent:p,size:o.size,nothingFound:O,variant:o.variant}))))}));function FN(e,t,n){return Math.min(Math.max(e,t),n)}zN.displayName="@mantine/core/Autocomplete";function MN(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"ltr";const o=(0,r.useRef)(),a=(0,r.useRef)(!1),i=(0,r.useRef)(!1),l=(0,r.useRef)(0),[s,c]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{a.current=!0}),[]),(0,r.useEffect)((()=>{const r=t=>{let{x:r,y:i}=t;cancelAnimationFrame(l.current),l.current=requestAnimationFrame((()=>{if(a.current&&o.current){o.current.style.userSelect="none";const t=o.current.getBoundingClientRect();if(t.width&&t.height){const o=FN((r-t.left)/t.width,0,1);e({x:"ltr"===n?o:1-o,y:FN((i-t.top)/t.height,0,1)})}}}))},s=()=>{!i.current&&a.current&&(i.current=!0,"function"===typeof(null==t?void 0:t.onScrubStart)&&t.onScrubStart(),c(!0),document.addEventListener("mousemove",f),document.addEventListener("mouseup",u),document.addEventListener("touchmove",m),document.addEventListener("touchend",u))},u=()=>{i.current&&a.current&&(i.current=!1,c(!1),document.removeEventListener("mousemove",f),document.removeEventListener("mouseup",u),document.removeEventListener("touchmove",m),document.removeEventListener("touchend",u),setTimeout((()=>{"function"===typeof(null==t?void 0:t.onScrubEnd)&&t.onScrubEnd()}),0))},d=e=>{s(),e.preventDefault(),f(e)},f=e=>r({x:e.clientX,y:e.clientY}),p=e=>{e.cancelable&&e.preventDefault(),s(),m(e)},m=e=>{e.cancelable&&e.preventDefault(),r({x:e.changedTouches[0].clientX,y:e.changedTouches[0].clientY})};return o.current.addEventListener("mousedown",d),o.current.addEventListener("touchstart",p,{passive:!1}),()=>{o.current&&(o.current.removeEventListener("mousedown",d),o.current.removeEventListener("touchstart",p))}}),[n,e]),{ref:o,active:s}}function BN(e){let{value:t,min:n,max:r}=e;const o=(t-n)/(r-n)*100;return Math.min(Math.max(o,0),100)}var UN=Object.defineProperty,HN=Object.defineProperties,WN=Object.getOwnPropertyDescriptors,$N=Object.getOwnPropertySymbols,qN=Object.prototype.hasOwnProperty,VN=Object.prototype.propertyIsEnumerable,GN=(e,t,n)=>t in e?UN(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,KN=(e,t)=>{for(var n in t||(t={}))qN.call(t,n)&&GN(e,n,t[n]);if($N)for(var n of $N(t))VN.call(t,n)&&GN(e,n,t[n]);return e},YN=(e,t)=>HN(e,WN(t));const XN={xs:l(4),sm:l(6),md:l(8),lg:l(10),xl:l(12)};var ZN=fn((e=>({root:YN(KN({},e.fn.fontStyles()),{WebkitTapHighlightColor:"transparent",outline:0,display:"flex",flexDirection:"column",alignItems:"center",touchAction:"none",position:"relative"})})));const QN=ZN;var JN=Object.defineProperty,eA=Object.defineProperties,tA=Object.getOwnPropertyDescriptors,nA=Object.getOwnPropertySymbols,rA=Object.prototype.hasOwnProperty,oA=Object.prototype.propertyIsEnumerable,aA=(e,t,n)=>t in e?JN(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,iA=(e,t)=>{for(var n in t||(t={}))rA.call(t,n)&&aA(e,n,t[n]);if(nA)for(var n of nA(t))oA.call(t,n)&&aA(e,n,t[n]);return e},lA=(e,t)=>eA(e,tA(t)),sA=fn(((e,t,n)=>{let{color:r,disabled:o,thumbSize:a}=t,{size:i}=n;return{label:{position:"absolute",top:l(-36),backgroundColor:"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[9],fontSize:e.fontSizes.xs,color:e.white,padding:"calc(".concat(e.spacing.xs," / 2)"),borderRadius:e.radius.sm,whiteSpace:"nowrap",pointerEvents:"none",userSelect:"none",touchAction:"none"},thumb:lA(iA({},e.fn.focusStyles()),{boxSizing:"border-box",position:"absolute",display:o?"none":"flex",height:a?l(a):"calc(".concat(qe({sizes:XN,size:i})," * 2)"),width:a?l(a):"calc(".concat(qe({sizes:XN,size:i})," * 2)"),backgroundColor:"dark"===e.colorScheme?e.fn.themeColor(r,e.fn.primaryShade()):e.white,border:"".concat(l(4)," solid ").concat("dark"===e.colorScheme?e.white:e.fn.themeColor(r,e.fn.primaryShade())),color:"dark"===e.colorScheme?e.white:e.fn.themeColor(r,e.fn.primaryShade()),transform:"translate(-50%, -50%)",top:"50%",cursor:"pointer",borderRadius:1e3,alignItems:"center",justifyContent:"center",transitionDuration:"100ms",transitionProperty:"box-shadow, transform",transitionTimingFunction:e.transitionTimingFunction,zIndex:3,userSelect:"none",touchAction:"none"}),dragging:{transform:"translate(-50%, -50%) scale(1.05)",boxShadow:e.shadows.sm}}}));const cA=sA,uA=(0,r.forwardRef)(((e,t)=>{let{max:n,min:o,value:a,position:i,label:l,dragging:s,onMouseDown:c,onKeyDownCapture:u,color:d,classNames:f,styles:p,size:m,labelTransition:h,labelTransitionDuration:g,labelTransitionTimingFunction:y,labelAlwaysOn:v,thumbLabel:b,onFocus:w,onBlur:x,showLabelOnHover:k,isHovered:S,children:O=null,disabled:E,unstyled:C,thumbSize:_,variant:P}=e;const{classes:j,cx:T,theme:R}=cA({color:d,disabled:E,thumbSize:_},{name:"Slider",classNames:f,styles:p,unstyled:C,variant:P,size:m}),[N,A]=(0,r.useState)(!1),I=v||s||N||k&&S;return r.createElement(Mn,{tabIndex:0,role:"slider","aria-label":b,"aria-valuemax":n,"aria-valuemin":o,"aria-valuenow":a,ref:t,className:T(j.thumb,{[j.dragging]:s}),onFocus:()=>{A(!0),"function"===typeof w&&w()},onBlur:()=>{A(!1),"function"===typeof x&&x()},onTouchStart:c,onMouseDown:c,onKeyDownCapture:u,onClick:e=>e.stopPropagation(),style:{["rtl"===R.dir?"right":"left"]:"".concat(i,"%")}},O,r.createElement(eu,{mounted:null!=l&&I,duration:g,transition:h,timingFunction:y||R.transitionTimingFunction},(e=>r.createElement("div",{style:e,className:j.label},l))))}));function dA(e){let{mark:t,offset:n,value:r,inverted:o=!1}=e;return o?"number"===typeof n&&t.value<=n||t.value>=r:"number"===typeof n?t.value>=n&&t.value<=r:t.value<=r}uA.displayName="@mantine/core/SliderThumb";var fA=fn(((e,t,n)=>{let{color:r,disabled:o,thumbSize:a}=t,{size:i}=n;return{marksContainer:{position:"absolute",right:a?l(a/2):qe({sizes:XN,size:i}),left:a?l(a/2):qe({sizes:XN,size:i}),"&:has(~ input:disabled)":{"& .mantine-Slider-markFilled":{border:"".concat(l(2)," solid ").concat("dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[2]),borderColor:"dark"===e.colorScheme?e.colors.dark[3]:e.colors.gray[4]}}},markWrapper:{position:"absolute",top:"calc(".concat(l(qe({sizes:XN,size:i}))," / 2)"),zIndex:2,height:0},mark:{boxSizing:"border-box",border:"".concat(l(2)," solid ").concat("dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[2]),height:qe({sizes:XN,size:i}),width:qe({sizes:XN,size:i}),borderRadius:1e3,transform:"translateX(calc(-".concat(qe({sizes:XN,size:i})," / 2))"),backgroundColor:e.white,pointerEvents:"none"},markFilled:{borderColor:o?"dark"===e.colorScheme?e.colors.dark[3]:e.colors.gray[4]:e.fn.variant({variant:"filled",color:r}).background},markLabel:{transform:"translate(-50%, calc(".concat(e.spacing.xs," / 2))"),fontSize:e.fontSizes.sm,color:"dark"===e.colorScheme?e.colors.dark[2]:e.colors.gray[6],whiteSpace:"nowrap",cursor:"pointer",userSelect:"none"}}}));const pA=fA;function mA(e){let{marks:t,color:n,size:o,thumbSize:a,min:i,max:l,value:s,classNames:c,styles:u,offset:d,onChange:f,disabled:p,unstyled:m,inverted:h,variant:g}=e;const{classes:y,cx:v}=pA({color:n,disabled:p,thumbSize:a},{name:"Slider",classNames:c,styles:u,unstyled:m,variant:g,size:o}),b=t.map(((e,t)=>r.createElement(Mn,{className:y.markWrapper,sx:{left:"".concat(BN({value:e.value,min:i,max:l}),"%")},key:t},r.createElement("div",{className:v(y.mark,{[y.markFilled]:dA({mark:e,value:s,offset:d,inverted:h})})}),e.label&&r.createElement("div",{className:y.markLabel,onMouseDown:t=>{t.stopPropagation(),!p&&f(e.value)},onTouchStart:t=>{t.stopPropagation(),!p&&f(e.value)}},e.label))));return r.createElement("div",{className:y.marksContainer},b)}mA.displayName="@mantine/core/SliderMarks";var hA=fn(((e,t,n)=>{let{radius:r,color:o,disabled:a,inverted:i,thumbSize:s}=t,{size:c}=n;return{trackContainer:{display:"flex",alignItems:"center",width:"100%",height:"calc(".concat(qe({sizes:XN,size:c})," * 2)"),cursor:"pointer","&:has(~ input:disabled)":{"&":{pointerEvents:"none"},"& .mantine-Slider-thumb":{display:"none"},"& .mantine-Slider-track::before":{content:'""',backgroundColor:i?"dark"===e.colorScheme?e.colors.dark[3]:e.colors.gray[4]:"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[2]},"& .mantine-Slider-bar":{backgroundColor:i?"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[2]:"dark"===e.colorScheme?e.colors.dark[3]:e.colors.gray[4]}}},track:{position:"relative",height:qe({sizes:XN,size:c}),width:"100%",marginRight:s?l(s/2):qe({size:c,sizes:XN}),marginLeft:s?l(s/2):qe({size:c,sizes:XN}),"&::before":{content:'""',position:"absolute",top:0,bottom:0,borderRadius:e.fn.radius(r),right:"calc(".concat(s?l(s/2):qe({size:c,sizes:XN})," * -1)"),left:"calc(".concat(s?l(s/2):qe({size:c,sizes:XN})," * -1)"),backgroundColor:i?a?"dark"===e.colorScheme?e.colors.dark[3]:e.colors.gray[4]:e.fn.variant({variant:"filled",color:o}).background:"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[2],zIndex:0}},bar:{position:"absolute",zIndex:1,top:0,bottom:0,backgroundColor:i?"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[2]:a?"dark"===e.colorScheme?e.colors.dark[3]:e.colors.gray[4]:e.fn.variant({variant:"filled",color:o}).background,borderRadius:e.fn.radius(r)}}}));const gA=hA;var yA=Object.defineProperty,vA=Object.defineProperties,bA=Object.getOwnPropertyDescriptors,wA=Object.getOwnPropertySymbols,xA=Object.prototype.hasOwnProperty,kA=Object.prototype.propertyIsEnumerable,SA=(e,t,n)=>t in e?yA(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,OA=(e,t)=>{for(var n in t||(t={}))xA.call(t,n)&&SA(e,n,t[n]);if(wA)for(var n of wA(t))kA.call(t,n)&&SA(e,n,t[n]);return e};function EA(e){var t=e,{filled:n,size:o,thumbSize:a,color:i,classNames:s,styles:c,radius:u,children:d,offset:f,disabled:p,marksOffset:m,unstyled:h,inverted:g,variant:y,containerProps:v}=t,b=((e,t)=>{var n={};for(var r in e)xA.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&wA)for(var r of wA(e))t.indexOf(r)<0&&kA.call(e,r)&&(n[r]=e[r]);return n})(t,["filled","size","thumbSize","color","classNames","styles","radius","children","offset","disabled","marksOffset","unstyled","inverted","variant","containerProps"]);const{classes:w}=gA({color:i,radius:u,disabled:p,inverted:g,thumbSize:a},{name:"Slider",classNames:s,styles:c,unstyled:h,variant:y,size:o});return r.createElement(r.Fragment,null,r.createElement("div",OA({className:w.trackContainer},v),r.createElement("div",{className:w.track},r.createElement(Mn,{className:w.bar,sx:{left:"calc(".concat(f,"% - ").concat(a?l(a/2):qe({size:o,sizes:XN}),")"),width:"calc(".concat(n,"% + 2 * ").concat(a?l(a/2):qe({size:o,sizes:XN}),")")}}),d)),r.createElement(mA,((e,t)=>vA(e,bA(t)))(OA({},b),{size:o,thumbSize:a,color:i,offset:m,classNames:s,styles:c,disabled:p,unstyled:h,inverted:g,variant:y})))}EA.displayName="@mantine/core/SliderTrack";var CA=Object.defineProperty,_A=Object.defineProperties,PA=Object.getOwnPropertyDescriptors,jA=Object.getOwnPropertySymbols,TA=Object.prototype.hasOwnProperty,RA=Object.prototype.propertyIsEnumerable,NA=(e,t,n)=>t in e?CA(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const AA=(0,r.forwardRef)(((e,t)=>{var n=e,{className:o,size:a,classNames:i,styles:l,disabled:s,unstyled:c,variant:u}=n,d=((e,t)=>{var n={};for(var r in e)TA.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&jA)for(var r of jA(e))t.indexOf(r)<0&&RA.call(e,r)&&(n[r]=e[r]);return n})(n,["className","size","classNames","styles","disabled","unstyled","variant"]);const{classes:f,cx:p}=QN(null,{name:"Slider",classNames:i,styles:l,unstyled:c,variant:u,size:a});return r.createElement(Mn,((e,t)=>_A(e,PA(t)))(((e,t)=>{for(var n in t||(t={}))TA.call(t,n)&&NA(e,n,t[n]);if(jA)for(var n of jA(t))RA.call(t,n)&&NA(e,n,t[n]);return e})({},d),{tabIndex:-1,className:p(f.root,o),ref:t}))}));function IA(e,t){return parseFloat(e.toFixed(t))}AA.displayName="@mantine/core/SliderRoot";var DA=Object.defineProperty,LA=Object.defineProperties,zA=Object.getOwnPropertyDescriptors,FA=Object.getOwnPropertySymbols,MA=Object.prototype.hasOwnProperty,BA=Object.prototype.propertyIsEnumerable,UA=(e,t,n)=>t in e?DA(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const HA={size:"md",radius:"xl",min:0,max:100,step:1,marks:[],label:e=>e,labelTransition:"skew-down",labelTransitionDuration:0,labelAlwaysOn:!1,thumbLabel:"",showLabelOnHover:!0,disabled:!1,scale:e=>e},WA=(0,r.forwardRef)(((e,t)=>{const n=Ht("Slider",HA,e),{classNames:o,styles:a,color:i,value:l,onChange:s,onChangeEnd:c,size:u,radius:d,min:f,max:p,step:m,precision:h,defaultValue:g,name:y,marks:v,label:b,labelTransition:w,labelTransitionDuration:x,labelTransitionTimingFunction:k,labelAlwaysOn:S,thumbLabel:O,showLabelOnHover:E,thumbChildren:C,disabled:_,unstyled:P,thumbSize:j,scale:T,inverted:R,variant:N}=n,A=((e,t)=>{var n={};for(var r in e)MA.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&FA)for(var r of FA(e))t.indexOf(r)<0&&BA.call(e,r)&&(n[r]=e[r]);return n})(n,["classNames","styles","color","value","onChange","onChangeEnd","size","radius","min","max","step","precision","defaultValue","name","marks","label","labelTransition","labelTransitionDuration","labelTransitionTimingFunction","labelAlwaysOn","thumbLabel","showLabelOnHover","thumbChildren","disabled","unstyled","thumbSize","scale","inverted","variant"]),I=null!=h?h:function(e){if(!e)return 0;const t=e.toString().split(".");return t.length>1?t[1].length:0}(m),D=Bt(),[L,z]=(0,r.useState)(!1),[F,M]=wd({value:"number"===typeof l?FN(l,f,p):l,defaultValue:"number"===typeof g?FN(g,f,p):g,finalValue:FN(0,f,p),onChange:s}),B=(0,r.useRef)(F),U=(0,r.useRef)(),H=(0,r.useRef)(),W=BN({value:F,min:f,max:p}),$=T(F),q="function"===typeof b?b($):b,V=(0,r.useCallback)((e=>{let{x:t}=e;if(!_){const e=function(e){let{value:t,containerWidth:n,min:r,max:o,step:a,precision:i}=e;const l=(n?Math.min(Math.max(t,0),n)/n:t)*(o-r),s=(0!==l?Math.round(l/a)*a:0)+r,c=Math.max(s,r);return void 0!==i?Number(c.toFixed(i)):c}({value:t,min:f,max:p,step:m,precision:I});M(e),B.current=e}}),[_,f,p,m,I,M]),{ref:G,active:K}=MN(V,{onScrubEnd:()=>null==c?void 0:c(B.current)},D.dir);return r.createElement(AA,((e,t)=>LA(e,zA(t)))(((e,t)=>{for(var n in t||(t={}))MA.call(t,n)&&UA(e,n,t[n]);if(FA)for(var n of FA(t))BA.call(t,n)&&UA(e,n,t[n]);return e})({},A),{ref:Li(t,U),onKeyDownCapture:e=>{if(!_)switch(e.key){case"ArrowUp":{e.preventDefault(),H.current.focus();const t=IA(Math.min(Math.max(F+m,f),p),I);null==c||c(t),M(t);break}case"ArrowRight":{e.preventDefault(),H.current.focus();const t=IA(Math.min(Math.max("rtl"===D.dir?F-m:F+m,f),p),I);null==c||c(t),M(t);break}case"ArrowDown":{e.preventDefault(),H.current.focus();const t=IA(Math.min(Math.max(F-m,f),p),I);null==c||c(t),M(t);break}case"ArrowLeft":{e.preventDefault(),H.current.focus();const t=IA(Math.min(Math.max("rtl"===D.dir?F+m:F-m,f),p),I);null==c||c(t),M(t);break}case"Home":e.preventDefault(),H.current.focus(),null==c||c(f),M(f);break;case"End":e.preventDefault(),H.current.focus(),null==c||c(p),M(p)}},onMouseDownCapture:()=>{var e;return null==(e=U.current)?void 0:e.focus()},size:u,classNames:o,styles:a,disabled:_,unstyled:P,variant:N}),r.createElement(EA,{inverted:R,offset:0,filled:W,marks:v,size:u,thumbSize:j,radius:d,color:i,min:f,max:p,value:$,onChange:M,classNames:o,styles:a,disabled:_,unstyled:P,variant:N,containerProps:{ref:G,onMouseEnter:E?()=>z(!0):void 0,onMouseLeave:E?()=>z(!1):void 0}},r.createElement(uA,{max:p,min:f,value:$,position:W,dragging:K,color:i,size:u,label:q,ref:H,labelTransition:w,labelTransitionDuration:x,labelTransitionTimingFunction:k,labelAlwaysOn:S,classNames:o,styles:a,thumbLabel:O,showLabelOnHover:E,isHovered:L,disabled:_,unstyled:P,thumbSize:j,variant:N},C)),r.createElement("input",{type:"hidden",name:y,value:$}))}));function $A(){if("undefined"===typeof window)return"undetermined";const{userAgent:e}=window.navigator;return/(Macintosh)|(MacIntel)|(MacPPC)|(Mac68K)/i.test(e)?"macos":/(iPhone)|(iPad)|(iPod)/i.test(e)?"ios":/(Win32)|(Win64)|(Windows)|(WinCE)/i.test(e)?"windows":/Android/i.test(e)?"android":/Linux/i.test(e)?"linux":"undetermined"}function qA(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{getValueInEffect:!0};const[t,n]=(0,r.useState)(e.getValueInEffect?"undetermined":$A());return Gn((()=>{e.getValueInEffect&&n($A)}),[]),t}WA.displayName="@mantine/core/Slider";const VA=(e,t,n)=>Number.isInteger(e)&&e>=0&&0===t?"numeric":!Number.isInteger(e)&&e>=0&&0!==t?"decimal":Number.isInteger(e)&&e<0&&0===t||!Number.isInteger(e)&&e<0&&0!==t?"ios"===n?"text":"decimal":"numeric";function GA(e){let{direction:t,size:n}=e;return r.createElement("svg",{style:{width:l(n),height:l(n),transform:"up"===t?"rotate(180deg)":void 0},viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:"M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}))}const KA={xs:l(20),sm:l(24),md:l(30),lg:l(34),xl:l(36)};var YA=fn(((e,t,n)=>{let{radius:r}=t,{size:o}=n;return{rightSection:{display:"flex",flexDirection:"column",height:"calc(100% - ".concat(l(2),")"),margin:l(1),overflow:"hidden",borderTopRightRadius:e.fn.radius(r),borderBottomRightRadius:e.fn.radius(r)},control:{margin:0,position:"relative",flex:"0 0 50%",display:"flex",alignItems:"center",justifyContent:"center",boxSizing:"border-box",width:qe({size:o,sizes:KA}),padding:0,WebkitTapHighlightColor:"transparent",borderBottom:"".concat(l(1)," solid ").concat("dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[4]),borderLeft:"".concat(l(1)," solid ").concat("dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[4]),borderTop:0,borderRight:0,backgroundColor:"transparent",marginRight:l(1),color:"dark"===e.colorScheme?e.colors.dark[0]:e.black,"&:not(:disabled):hover":{backgroundColor:"dark"===e.colorScheme?e.colors.dark[5]:e.colors.gray[0]},"&:disabled":{color:"dark"===e.colorScheme?e.colors.dark[3]:e.colors.gray[4]}},controlUp:{},controlDown:{borderBottom:0}}}));const XA=YA;var ZA=Object.defineProperty,QA=Object.defineProperties,JA=Object.getOwnPropertyDescriptors,eI=Object.getOwnPropertySymbols,tI=Object.prototype.hasOwnProperty,nI=Object.prototype.propertyIsEnumerable,rI=(e,t,n)=>t in e?ZA(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const oI={xs:l(10),sm:l(14),md:l(16),lg:l(18),xl:l(20)},aI={step:1,hideControls:!1,size:"sm",precision:0,noClampOnBlur:!1,removeTrailingZeros:!1,decimalSeparator:".",formatter:e=>e||"",parser:e=>{if("-"===e)return e;let t=e;"."===t[0]&&(t="0".concat(e));const n=parseFloat(t);return Number.isNaN(n)?"":e},type:"text"},iI=(0,r.forwardRef)(((e,t)=>{const n=Ht("NumberInput",aI,e),{readOnly:o,disabled:a,value:i,onChange:s,decimalSeparator:c,thousandsSeparator:u,min:d,max:f,startValue:p,step:m,stepHoldInterval:h,stepHoldDelay:g,onFocus:y,onBlur:v,onKeyDown:b,onKeyUp:w,hideControls:x,radius:k,variant:S,precision:O,removeTrailingZeros:E,defaultValue:C,noClampOnBlur:_,handlersRef:P,classNames:j,styles:T,size:R,rightSection:N,rightSectionWidth:A,formatter:I,parser:D,inputMode:L,unstyled:z,type:F}=n,M=((e,t)=>{var n={};for(var r in e)tI.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&eI)for(var r of eI(e))t.indexOf(r)<0&&nI.call(e,r)&&(n[r]=e[r]);return n})(n,["readOnly","disabled","value","onChange","decimalSeparator","thousandsSeparator","min","max","startValue","step","stepHoldInterval","stepHoldDelay","onFocus","onBlur","onKeyDown","onKeyUp","hideControls","radius","variant","precision","removeTrailingZeros","defaultValue","noClampOnBlur","handlersRef","classNames","styles","size","rightSection","rightSectionWidth","formatter","parser","inputMode","unstyled","type"]),{classes:B,cx:U}=XA({radius:k},{classNames:j,styles:T,unstyled:z,name:"NumberInput",variant:S,size:R}),H=e=>{if(""===e)return"";let t=e.toFixed(O);return E&&O>0&&(t=t.replace(new RegExp("[0]{0,".concat(O,"}$")),""),t.endsWith(".")&&(t=t.slice(0,-1))),t},W=e=>(e=>{let t=e;return c&&(t=t.replace(".",c)),I(t)})(H(e)),[$,q]=(0,r.useState)("number"===typeof i?i:"number"===typeof C?C:""),[V,G]=(0,r.useState)((()=>W($))),K=(0,r.useRef)(),[Y,X]=(0,r.useState)(!1),Z=(e,t)=>{if(!Y||t){const t=W(e);t!==V&&G(t)}e!==$&&q(e)},Q="number"===typeof d?d:-1/0,J="number"===typeof f?f:1/0,ee=(0,r.useRef)();ee.current=()=>{var e;let t;t=""===$?null!=(e=null!=p?p:d)?e:0:parseFloat(H(FN($+m,Q,J))),Z(t,!0),null==s||s(t)};const te=(0,r.useRef)();te.current=()=>{var e;let t;t=""===$?null!=(e=null!=p?p:d)?e:0:parseFloat(H(FN($-m,Q,J))),Z(t,!0),null==s||s(t)},Ii(P,{increment:ee.current,decrement:te.current}),(0,r.useEffect)((()=>{Y||Z(void 0===i?$:i,!0)}),[i,Y]);const ne=void 0!==g&&void 0!==h,re=(0,r.useRef)(null),oe=(0,r.useRef)(0),ae=()=>{re.current&&window.clearTimeout(re.current),re.current=null,oe.current=0},ie=e=>{e?ee.current():te.current(),oe.current+=1},le=e=>{if(ie(e),ne){const t="number"===typeof h?h:h(oe.current);re.current=window.setTimeout((()=>le(e)),t)}},se=(e,t)=>{e.preventDefault(),K.current.focus(),ie(t),ne&&(re.current=window.setTimeout((()=>le(t)),g))};(0,r.useEffect)((()=>(ae(),ae)),[]);const ce=r.createElement("div",{className:B.rightSection},r.createElement("button",{type:"button",tabIndex:-1,"aria-hidden":!0,disabled:$>=f,className:U(B.control,B.controlUp),onPointerDown:e=>{se(e,!0)},onPointerUp:ae,onPointerLeave:ae},r.createElement(GA,{size:qe({size:R,sizes:oI}),direction:"up"})),r.createElement("button",{type:"button",tabIndex:-1,"aria-hidden":!0,disabled:$<=d,className:U(B.control,B.controlDown),onPointerDown:e=>{se(e,!1)},onPointerUp:ae,onPointerLeave:ae},r.createElement(GA,{size:qe({size:R,sizes:oI}),direction:"down"}))),ue=e=>{let t=e;t[0]!=="".concat(c)&&"."!==t[0]||(t="0".concat(t));const n=parseFloat(H(parseFloat((e=>{let t=e;return c&&(t=t.replaceAll(u,"").replace(c,".")),D(t)})(t)))),r=_?n:FN(n,Q,J),o=Number.isNaN(r)?"":r,a=$!==o;G(e),Z(o),a&&(null==s||s(o))};return r.createElement(Zm,((e,t)=>QA(e,JA(t)))(((e,t)=>{for(var n in t||(t={}))tI.call(t,n)&&rI(e,n,t[n]);if(eI)for(var n of eI(t))nI.call(t,n)&&rI(e,n,t[n]);return e})({},M),{type:F,variant:S,value:V,disabled:a,readOnly:o,ref:Li(K,t),onChange:e=>{e.nativeEvent.isComposing||ue(e.target.value)},onFocus:e=>{X(!0),null==y||y(e)},onBlur:e=>{X(!1),null==v||v(e)},onKeyDown:e=>{"function"===typeof b&&b(e),!e.repeat||!ne||"ArrowUp"!==e.key&&"ArrowDown"!==e.key?o||("ArrowUp"===e.key?se(e,!0):"ArrowDown"===e.key&&se(e,!1)):e.preventDefault()},onKeyUp:e=>{"function"===typeof w&&w(e),"ArrowUp"!==e.key&&"ArrowDown"!==e.key||ae()},rightSection:N||(a||o||x||"unstyled"===S?null:ce),rightSectionWidth:null!=A?A:"calc(".concat(qe({size:R,sizes:KA})," + ").concat(l(1),")"),radius:k,max:f,min:d,step:m,size:R,styles:T,classNames:j,inputMode:L||VA(m,O,qA()),__staticSelector:"NumberInput",unstyled:z}))}));iI.displayName="@mantine/core/NumberInput";const lI=(0,r.createContext)(null),sI=lI.Provider;var cI=Object.defineProperty,uI=Object.getOwnPropertySymbols,dI=Object.prototype.hasOwnProperty,fI=Object.prototype.propertyIsEnumerable,pI=(e,t,n)=>t in e?cI(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,mI=(e,t)=>{for(var n in t||(t={}))dI.call(t,n)&&pI(e,n,t[n]);if(uI)for(var n of uI(t))fI.call(t,n)&&pI(e,n,t[n]);return e};const hI={size:"sm"},gI=(0,r.forwardRef)(((e,t)=>{const n=Ht("CheckboxGroup",hI,e),{children:o,value:a,defaultValue:i,onChange:l,size:s,wrapperProps:c}=n,u=((e,t)=>{var n={};for(var r in e)dI.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&uI)for(var r of uI(e))t.indexOf(r)<0&&fI.call(e,r)&&(n[r]=e[r]);return n})(n,["children","value","defaultValue","onChange","size","wrapperProps"]),[d,f]=wd({value:a,defaultValue:i,finalValue:[],onChange:l});return r.createElement(sI,{value:{value:d,onChange:e=>{const t=e.currentTarget.value;f(d.includes(t)?d.filter((e=>e!==t)):[...d,t])},size:s}},r.createElement(Um.Wrapper,mI(mI({labelElement:"div",size:s,__staticSelector:"CheckboxGroup",ref:t},c),u),o))}));gI.displayName="@mantine/core/CheckboxGroup";var yI=Object.defineProperty,vI=Object.getOwnPropertySymbols,bI=Object.prototype.hasOwnProperty,wI=Object.prototype.propertyIsEnumerable,xI=(e,t,n)=>t in e?yI(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,kI=(e,t)=>{for(var n in t||(t={}))bI.call(t,n)&&xI(e,n,t[n]);if(vI)for(var n of vI(t))wI.call(t,n)&&xI(e,n,t[n]);return e},SI=(e,t)=>{var n={};for(var r in e)bI.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&vI)for(var r of vI(e))t.indexOf(r)<0&&wI.call(e,r)&&(n[r]=e[r]);return n};function OI(e){const t=e,{width:n,height:o,style:a}=t,i=SI(t,["width","height","style"]);return r.createElement("svg",kI({viewBox:"0 0 10 7",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:kI({width:n,height:o},a)},i),r.createElement("path",{d:"M4 4.586L1.707 2.293A1 1 0 1 0 .293 3.707l3 3a.997.997 0 0 0 1.414 0l5-5A1 1 0 1 0 8.293.293L4 4.586z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}))}var EI=Object.defineProperty,CI=Object.defineProperties,_I=Object.getOwnPropertyDescriptors,PI=Object.getOwnPropertySymbols,jI=Object.prototype.hasOwnProperty,TI=Object.prototype.propertyIsEnumerable,RI=(e,t,n)=>t in e?EI(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,NI=(e,t)=>{for(var n in t||(t={}))jI.call(t,n)&&RI(e,n,t[n]);if(PI)for(var n of PI(t))TI.call(t,n)&&RI(e,n,t[n]);return e},AI=(e,t)=>CI(e,_I(t));const II={xs:l(16),sm:l(20),md:l(24),lg:l(30),xl:l(36)};var DI=fn(((e,t,n)=>{let{radius:r,color:o,transitionDuration:a,labelPosition:i,error:s,indeterminate:c}=t,{size:u}=n;const d=qe({size:u,sizes:II}),f=e.fn.variant({variant:"filled",color:o});return{icon:AI(NI({},e.fn.cover()),{ref:tb("icon"),color:c?"inherit":e.white,transform:c?"none":"translateY(".concat(l(5),") scale(0.5)"),opacity:c?1:0,transitionProperty:"opacity, transform",transitionTimingFunction:"ease",transitionDuration:"".concat(a,"ms"),pointerEvents:"none",width:"60%",position:"absolute",zIndex:1,margin:"auto","@media (prefers-reduced-motion)":{transitionDuration:e.respectReducedMotion?"0ms":void 0}}),inner:{position:"relative",width:d,height:d,order:"left"===i?2:1},input:AI(NI({},e.fn.focusStyles()),{appearance:"none",backgroundColor:"dark"===e.colorScheme?e.colors.dark[6]:e.white,border:"".concat(l(1)," solid ").concat(s?e.fn.variant({variant:"filled",color:"red"}).background:"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[4]),width:d,height:d,borderRadius:e.fn.radius(r),padding:0,display:"block",margin:0,transition:"border-color ".concat(a,"ms ease, background-color ").concat(a,"ms ease"),cursor:e.cursorType,"&:checked":{backgroundColor:f.background,borderColor:f.background,["& + .".concat(tb("icon"))]:{opacity:1,color:e.white,transform:"translateY(0) scale(1)"}},"&:disabled":{backgroundColor:"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[2],borderColor:"dark"===e.colorScheme?e.colors.dark[6]:e.colors.gray[3],cursor:"not-allowed",pointerEvents:"none",["& + .".concat(tb("icon"))]:{color:"dark"===e.colorScheme?e.colors.dark[6]:e.colors.gray[5]}}})}}));const LI=DI;var zI=Object.defineProperty,FI=Object.defineProperties,MI=Object.getOwnPropertyDescriptors,BI=Object.getOwnPropertySymbols,UI=Object.prototype.hasOwnProperty,HI=Object.prototype.propertyIsEnumerable,WI=(e,t,n)=>t in e?zI(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,$I=(e,t)=>{for(var n in t||(t={}))UI.call(t,n)&&WI(e,n,t[n]);if(BI)for(var n of BI(t))HI.call(t,n)&&WI(e,n,t[n]);return e},qI=(e,t)=>FI(e,MI(t));const VI={xs:l(16),sm:l(20),md:l(24),lg:l(30),xl:l(36)};var GI=fn(((e,t,n)=>{let{labelPosition:r}=t,{size:o}=n;return{root:{},body:{display:"flex","&:has(input:disabled) label":{color:"dark"===e.colorScheme?e.colors.dark[3]:e.colors.gray[5]}},labelWrapper:qI($I({},e.fn.fontStyles()),{display:"inline-flex",flexDirection:"column",WebkitTapHighlightColor:"transparent",fontSize:o in VI?qe({size:o,sizes:e.fontSizes}):void 0,lineHeight:o in VI?qe({size:o,sizes:VI}):void 0,color:"dark"===e.colorScheme?e.colors.dark[0]:e.black,cursor:e.cursorType,order:"left"===r?1:2}),description:{marginTop:"calc(".concat(e.spacing.xs," / 2)"),["left"===r?"paddingRight":"paddingLeft"]:e.spacing.sm},error:{marginTop:"calc(".concat(e.spacing.xs," / 2)"),["left"===r?"paddingRight":"paddingLeft"]:e.spacing.sm},label:{cursor:e.cursorType,["left"===r?"paddingRight":"paddingLeft"]:e.spacing.sm,"&:disabled, &[data-disabled]":{color:"dark"===e.colorScheme?e.colors.dark[3]:e.colors.gray[5]}}}}));const KI=GI;var YI=Object.defineProperty,XI=Object.getOwnPropertySymbols,ZI=Object.prototype.hasOwnProperty,QI=Object.prototype.propertyIsEnumerable,JI=(e,t,n)=>t in e?YI(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const eD=(0,r.forwardRef)(((e,t)=>{var n=e,{__staticSelector:o,className:a,classNames:i,styles:l,unstyled:s,children:c,label:u,description:d,id:f,disabled:p,error:m,size:h,labelPosition:g,variant:y}=n,v=((e,t)=>{var n={};for(var r in e)ZI.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&XI)for(var r of XI(e))t.indexOf(r)<0&&QI.call(e,r)&&(n[r]=e[r]);return n})(n,["__staticSelector","className","classNames","styles","unstyled","children","label","description","id","disabled","error","size","labelPosition","variant"]);const{classes:b,cx:w}=KI({labelPosition:g},{name:o,styles:l,classNames:i,unstyled:s,variant:y,size:h});return r.createElement(Mn,((e,t)=>{for(var n in t||(t={}))ZI.call(t,n)&&JI(e,n,t[n]);if(XI)for(var n of XI(t))QI.call(t,n)&&JI(e,n,t[n]);return e})({className:w(b.root,a),ref:t},v),r.createElement("div",{className:w(b.body)},c,r.createElement("div",{className:b.labelWrapper},null!=u&&r.createElement("label",{className:b.label,"data-disabled":p||void 0,htmlFor:f},u),d&&r.createElement(Um.Description,{className:b.description},d),m&&"boolean"!==m&&r.createElement(Um.Error,{className:b.error},m))))}));eD.displayName="@mantine/core/InlineInput";var tD=Object.defineProperty,nD=Object.getOwnPropertySymbols,rD=Object.prototype.hasOwnProperty,oD=Object.prototype.propertyIsEnumerable,aD=(e,t,n)=>t in e?tD(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,iD=(e,t)=>{for(var n in t||(t={}))rD.call(t,n)&&aD(e,n,t[n]);if(nD)for(var n of nD(t))oD.call(t,n)&&aD(e,n,t[n]);return e};const lD={size:"sm",transitionDuration:100,icon:function(e){var t=e,{indeterminate:n}=t,o=SI(t,["indeterminate"]);return n?r.createElement("svg",kI({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 6"},o),r.createElement("rect",{width:"32",height:"6",fill:"currentColor",rx:"3"})):r.createElement(OI,kI({},o))},labelPosition:"right"},sD=(0,r.forwardRef)(((e,t)=>{const n=Ht("Checkbox",lD,e),{className:o,style:a,sx:i,checked:l,disabled:s,color:c,label:u,indeterminate:d,id:f,size:p,radius:m,wrapperProps:h,children:g,classNames:y,styles:v,transitionDuration:b,icon:w,unstyled:x,labelPosition:k,description:S,error:O,variant:E}=n,C=((e,t)=>{var n={};for(var r in e)rD.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&nD)for(var r of nD(e))t.indexOf(r)<0&&oD.call(e,r)&&(n[r]=e[r]);return n})(n,["className","style","sx","checked","disabled","color","label","indeterminate","id","size","radius","wrapperProps","children","classNames","styles","transitionDuration","icon","unstyled","labelPosition","description","error","variant"]),_=(0,r.useContext)(lI),P=Xn(f),{systemStyles:j,rest:T}=bn(C),{classes:R}=LI({radius:m,color:c,transitionDuration:b,labelPosition:k,error:!!O,indeterminate:d},{name:"Checkbox",classNames:y,styles:v,unstyled:x,variant:E,size:(null==_?void 0:_.size)||p}),N=_?{checked:_.value.includes(T.value),onChange:_.onChange}:{};return r.createElement(eD,iD(iD({className:o,sx:i,style:a,id:P,size:(null==_?void 0:_.size)||p,labelPosition:k,label:u,description:S,error:O,disabled:s,__staticSelector:"Checkbox",classNames:y,styles:v,unstyled:x,"data-checked":N.checked||void 0,variant:E},j),h),r.createElement("div",{className:R.inner},r.createElement("input",iD(iD({id:P,ref:t,type:"checkbox",className:R.input,checked:l,disabled:s},T),N)),r.createElement(w,{indeterminate:d,className:R.icon})))}));sD.displayName="@mantine/core/Checkbox",sD.Group=gI;const cD=e=>e<.5?2*e*e:(4-2*e)*e-1;function uD(){let{duration:e=1250,axis:t="y",onScrollFinish:n,easing:o=cD,offset:a=0,cancelable:i=!0,isList:l=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const s=(0,r.useRef)(0),c=(0,r.useRef)(0),u=(0,r.useRef)(!1),d=(0,r.useRef)(null),f=(0,r.useRef)(null),p=Qc(),m=()=>{s.current&&cancelAnimationFrame(s.current)},h=(0,r.useCallback)((function(){let{alignment:r="start"}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};var i;u.current=!1,s.current&&m();const h=null!=(i=(e=>{let{axis:t,parent:n}=e;if(!n&&"undefined"===typeof document)return 0;const r="y"===t?"scrollTop":"scrollLeft";if(n)return n[r];const{body:o,documentElement:a}=document;return o[r]+a[r]})({parent:d.current,axis:t}))?i:0,g=(e=>{let{axis:t,target:n,parent:r,alignment:o,offset:a,isList:i}=e;if(!n||!r&&"undefined"===typeof document)return 0;const l=!!r,s=(r||document.body).getBoundingClientRect(),c=n.getBoundingClientRect(),u=e=>c[e]-s[e];if("y"===t){const e=u("top");if(0===e)return 0;if("start"===o){const t=e-a;return t<=c.height*(i?0:1)||!i?t:0}const t=l?s.height:window.innerHeight;if("end"===o){const n=e+a-t+c.height;return n>=-c.height*(i?0:1)||!i?n:0}return"center"===o?e-t/2+c.height/2:0}if("x"===t){const e=u("left");if(0===e)return 0;if("start"===o){const t=e-a;return t<=c.width||!i?t:0}const t=l?s.width:window.innerWidth;if("end"===o){const n=e+a-t+c.width;return n>=-c.width||!i?n:0}return"center"===o?e-t/2+c.width/2:0}return 0})({parent:d.current,target:f.current,axis:t,alignment:r,offset:a,isList:l})-(d.current?0:h);!function r(){0===c.current&&(c.current=performance.now());const a=performance.now()-c.current,i=p||0===e?1:a/e,l=h+g*o(i);(e=>{let{axis:t,parent:n,distance:r}=e;if(!n&&"undefined"===typeof document)return;const o="y"===t?"scrollTop":"scrollLeft";if(n)n[o]=r;else{const{body:e,documentElement:t}=document;e[o]=r,t[o]=r}})({parent:d.current,axis:t,distance:l}),!u.current&&i<1?s.current=requestAnimationFrame(r):("function"===typeof n&&n(),c.current=0,s.current=0,m())}()}),[t,e,o,l,a,n,p]),g=()=>{i&&(u.current=!0)};return DC("wheel",g,{passive:!0}),DC("touchmove",g,{passive:!0}),(0,r.useEffect)((()=>m),[]),{scrollableRef:d,targetRef:f,scrollIntoView:h,cancel:m}}var dD=Object.defineProperty,fD=Object.getOwnPropertySymbols,pD=Object.prototype.hasOwnProperty,mD=Object.prototype.propertyIsEnumerable,hD=(e,t,n)=>t in e?dD(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,gD=(e,t)=>{for(var n in t||(t={}))pD.call(t,n)&&hD(e,n,t[n]);if(fD)for(var n of fD(t))mD.call(t,n)&&hD(e,n,t[n]);return e},yD=(e,t)=>{var n={};for(var r in e)pD.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&fD)for(var r of fD(e))t.indexOf(r)<0&&mD.call(e,r)&&(n[r]=e[r]);return n};const vD={xs:l(14),sm:l(18),md:l(20),lg:l(24),xl:l(28)};function bD(e){var t=e,{size:n,error:o,style:a}=t,i=yD(t,["size","error","style"]);const l=Bt(),s=qe({size:n,sizes:vD});return r.createElement("svg",gD({viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:gD({color:o?l.colors.red[6]:l.colors.gray[6],width:s,height:s},a),"data-chevron":!0},i),r.createElement("path",{d:"M4.93179 5.43179C4.75605 5.60753 4.75605 5.89245 4.93179 6.06819C5.10753 6.24392 5.39245 6.24392 5.56819 6.06819L7.49999 4.13638L9.43179 6.06819C9.60753 6.24392 9.89245 6.24392 10.0682 6.06819C10.2439 5.89245 10.2439 5.60753 10.0682 5.43179L7.81819 3.18179C7.73379 3.0974 7.61933 3.04999 7.49999 3.04999C7.38064 3.04999 7.26618 3.0974 7.18179 3.18179L4.93179 5.43179ZM10.0682 9.56819C10.2439 9.39245 10.2439 9.10753 10.0682 8.93179C9.89245 8.75606 9.60753 8.75606 9.43179 8.93179L7.49999 10.8636L5.56819 8.93179C5.39245 8.75606 5.10753 8.75606 4.93179 8.93179C4.75605 9.10753 4.75605 9.39245 4.93179 9.56819L7.18179 11.8182C7.35753 11.9939 7.64245 11.9939 7.81819 11.8182L10.0682 9.56819Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}))}var wD=Object.defineProperty,xD=Object.defineProperties,kD=Object.getOwnPropertyDescriptors,SD=Object.getOwnPropertySymbols,OD=Object.prototype.hasOwnProperty,ED=Object.prototype.propertyIsEnumerable,CD=(e,t,n)=>t in e?wD(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,_D=(e,t)=>{for(var n in t||(t={}))OD.call(t,n)&&CD(e,n,t[n]);if(SD)for(var n of SD(t))ED.call(t,n)&&CD(e,n,t[n]);return e},PD=(e,t)=>xD(e,kD(t));function jD(e){let{shouldClear:t,clearButtonProps:n,onClear:o,size:a,error:i}=e;return t?r.createElement(Wo,PD(_D({},n),{variant:"transparent",onClick:o,size:a,onMouseDown:e=>e.preventDefault()})):r.createElement(bD,{error:i,size:a})}jD.displayName="@mantine/core/SelectRightSection";var TD=Object.defineProperty,RD=Object.defineProperties,ND=Object.getOwnPropertyDescriptors,AD=Object.getOwnPropertySymbols,ID=Object.prototype.hasOwnProperty,DD=Object.prototype.propertyIsEnumerable,LD=(e,t,n)=>t in e?TD(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,zD=(e,t)=>{for(var n in t||(t={}))ID.call(t,n)&&LD(e,n,t[n]);if(AD)for(var n of AD(t))DD.call(t,n)&&LD(e,n,t[n]);return e},FD=(e,t)=>RD(e,ND(t));function MD(e){var t=e,{styles:n,rightSection:o,rightSectionWidth:a,theme:i}=t,l=((e,t)=>{var n={};for(var r in e)ID.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&AD)for(var r of AD(e))t.indexOf(r)<0&&DD.call(e,r)&&(n[r]=e[r]);return n})(t,["styles","rightSection","rightSectionWidth","theme"]);if(o)return{rightSection:o,rightSectionWidth:a,styles:n};const s="function"===typeof n?n(i):n;return{rightSection:!l.readOnly&&!(l.disabled&&l.shouldClear)&&r.createElement(jD,zD({},l)),styles:FD(zD({},s),{rightSection:FD(zD({},null==s?void 0:s.rightSection),{pointerEvents:l.shouldClear?void 0:"none"})})}}const BD=fn((()=>({input:{"&:not(:disabled)":{cursor:"pointer","&::selection":{backgroundColor:"transparent"}}}})));var UD=Object.defineProperty,HD=Object.defineProperties,WD=Object.getOwnPropertyDescriptors,$D=Object.getOwnPropertySymbols,qD=Object.prototype.hasOwnProperty,VD=Object.prototype.propertyIsEnumerable,GD=(e,t,n)=>t in e?UD(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,KD=(e,t)=>{for(var n in t||(t={}))qD.call(t,n)&&GD(e,n,t[n]);if($D)for(var n of $D(t))VD.call(t,n)&&GD(e,n,t[n]);return e},YD=(e,t)=>HD(e,WD(t));const XD={required:!1,size:"sm",shadow:"sm",itemComponent:sN,transitionProps:{transition:"fade",duration:0},initiallyOpened:!1,filter:function(e,t){return t.label.toLowerCase().trim().includes(e.toLowerCase().trim())},maxDropdownHeight:220,searchable:!1,clearable:!1,limit:1/0,disabled:!1,creatable:!1,shouldCreate:function(e,t){return!!e&&!t.some((t=>t.label.toLowerCase()===e.toLowerCase()))},selectOnBlur:!1,switchDirectionOnFlip:!1,filterDataOnExactSearchMatch:!1,zIndex:Fi("popover"),positionDependencies:[],dropdownPosition:"flip"},ZD=(0,r.forwardRef)(((e,t)=>{const n=Ep("Select",XD,e),{inputProps:o,wrapperProps:a,shadow:i,data:l,value:s,defaultValue:c,onChange:u,itemComponent:d,onKeyDown:f,onBlur:p,onFocus:m,transitionProps:h,initiallyOpened:g,unstyled:y,classNames:v,styles:b,filter:w,maxDropdownHeight:x,searchable:k,clearable:S,nothingFound:O,limit:E,disabled:C,onSearchChange:_,searchValue:P,rightSection:j,rightSectionWidth:T,creatable:R,getCreateLabel:N,shouldCreate:A,selectOnBlur:I,onCreate:D,dropdownComponent:L,onDropdownClose:z,onDropdownOpen:F,withinPortal:M,portalProps:B,switchDirectionOnFlip:U,zIndex:H,name:W,dropdownPosition:$,allowDeselect:q,placeholder:V,filterDataOnExactSearchMatch:G,form:K,positionDependencies:Y,readOnly:X,clearButtonProps:Z,hoverOnSearchChange:Q}=n,J=((e,t)=>{var n={};for(var r in e)qD.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&$D)for(var r of $D(e))t.indexOf(r)<0&&VD.call(e,r)&&(n[r]=e[r]);return n})(n,["inputProps","wrapperProps","shadow","data","value","defaultValue","onChange","itemComponent","onKeyDown","onBlur","onFocus","transitionProps","initiallyOpened","unstyled","classNames","styles","filter","maxDropdownHeight","searchable","clearable","nothingFound","limit","disabled","onSearchChange","searchValue","rightSection","rightSectionWidth","creatable","getCreateLabel","shouldCreate","selectOnBlur","onCreate","dropdownComponent","onDropdownClose","onDropdownOpen","withinPortal","portalProps","switchDirectionOnFlip","zIndex","name","dropdownPosition","allowDeselect","placeholder","filterDataOnExactSearchMatch","form","positionDependencies","readOnly","clearButtonProps","hoverOnSearchChange"]),{classes:ee,cx:te,theme:ne}=BD(),[re,oe]=(0,r.useState)(g),[ae,ie]=(0,r.useState)(-1),le=(0,r.useRef)(),se=(0,r.useRef)({}),[ce,ue]=(0,r.useState)("column"),de="column"===ce,{scrollIntoView:fe,targetRef:pe,scrollableRef:me}=uD({duration:0,offset:5,cancelable:!1,isList:!0}),he=void 0===q?S:q,ge=e=>{if(re!==e){oe(e);const t=e?F:z;"function"===typeof t&&t()}},ye=R&&"function"===typeof N;let ve=null;const be=ER({data:l.map((e=>"string"===typeof e?{label:e,value:e}:e))}),[we,xe,ke]=wd({value:s,defaultValue:c,finalValue:null,onChange:u}),Se=be.find((e=>e.value===we)),[Oe,Ee]=wd({value:P,defaultValue:(null==Se?void 0:Se.label)||"",finalValue:void 0,onChange:_}),Ce=e=>{Ee(e),k&&"function"===typeof _&&_(e)};(0,r.useEffect)((()=>{const e=be.find((e=>e.value===we));e?Ce(e.label):ye&&we||Ce("")}),[we]),(0,r.useEffect)((()=>{!Se||k&&re||Ce(Se.label)}),[null==Se?void 0:Se.label]);const _e=e=>{if(!X)if(he&&(null==Se?void 0:Se.value)===e.value)xe(null),ge(!1);else{if(e.creatable&&"function"===typeof D){const t=D(e.value);"undefined"!==typeof t&&null!==t&&xe("string"===typeof t?t:t.value)}else xe(e.value);ke||Ce(e.label),ie(-1),ge(!1),le.current.focus()}},Pe=function(e){let{data:t,searchable:n,limit:r,searchValue:o,filter:a,value:i,filterDataOnExactSearchMatch:l}=e;if(!n)return t;const s=null!=i&&t.find((e=>e.value===i))||null;if(s&&!l&&(null==s?void 0:s.label)===o){if(r){if(r>=t.length)return t;const e=t.indexOf(s),n=e+r,o=n-t.length;return o>0?t.slice(e-o):t.slice(e,n)}return t}const c=[];for(let u=0;u=r));u+=1);return c}({data:be,searchable:k,limit:E,searchValue:Oe,filter:w,filterDataOnExactSearchMatch:G,value:we});ye&&A(Oe,Pe)&&(ve=N(Oe),Pe.push({label:Oe,value:Oe,creatable:!0}));const je=(e,t,n)=>{let r=e;for(;n(r);)if(r=t(r),!Pe[r].disabled)return r;return e};jc((()=>{ie(Q&&Oe?0:-1)}),[Oe,Q]);const Te=we?Pe.findIndex((e=>e.value===we)):0,Re=!X&&(Pe.length>0?re:re&&!!O),Ne=()=>{ie((e=>{var t;const n=je(e,(e=>e-1),(e=>e>0));return pe.current=se.current[null==(t=Pe[n])?void 0:t.value],Re&&fe({alignment:de?"start":"end"}),n}))},Ae=()=>{ie((e=>{var t;const n=je(e,(e=>e+1),(e=>ewindow.setTimeout((()=>{var e;pe.current=se.current[null==(e=Pe[Te])?void 0:e.value],fe({alignment:de?"end":"start"})}),50);jc((()=>{Re&&Ie()}),[Re]);return r.createElement(Um.Wrapper,YD(KD({},a),{__staticSelector:"Select"}),r.createElement(ON,{opened:Re,transitionProps:h,shadow:i,withinPortal:M,portalProps:B,__staticSelector:"Select",onDirectionChange:ue,switchDirectionOnFlip:U,zIndex:H,dropdownPosition:$,positionDependencies:[...Y,Oe],classNames:v,styles:b,unstyled:y,variant:o.variant},r.createElement(ON.Target,null,r.createElement("div",{role:"combobox","aria-haspopup":"listbox","aria-owns":Re?"".concat(o.id,"-items"):null,"aria-controls":o.id,"aria-expanded":Re,onMouseLeave:()=>ie(-1),tabIndex:-1},r.createElement("input",{type:"hidden",name:W,value:we||"",form:K,disabled:C}),r.createElement(Um,KD(YD(KD(KD({autoComplete:"off",type:"search"},o),J),{ref:Li(t,le),onKeyDown:e=>{switch("function"===typeof f&&f(e),e.key){case"ArrowUp":e.preventDefault(),re?de?Ne():Ae():(ie(Te),ge(!0),Ie());break;case"ArrowDown":e.preventDefault(),re?de?Ae():Ne():(ie(Te),ge(!0),Ie());break;case"Home":if(!k){e.preventDefault(),re||ge(!0);const t=Pe.findIndex((e=>!e.disabled));ie(t),Re&&fe({alignment:de?"end":"start"})}break;case"End":if(!k){e.preventDefault(),re||ge(!0);const t=Pe.map((e=>!!e.disabled)).lastIndexOf(!1);ie(t),Re&&fe({alignment:de?"end":"start"})}break;case"Escape":e.preventDefault(),ge(!1),ie(-1);break;case" ":k||(e.preventDefault(),Pe[ae]&&re?_e(Pe[ae]):(ge(!0),ie(Te),Ie()));break;case"Enter":k||e.preventDefault(),Pe[ae]&&re&&(e.preventDefault(),_e(Pe[ae]))}},__staticSelector:"Select",value:Oe,placeholder:V,onChange:e=>{X||(Ce(e.currentTarget.value),S&&""===e.currentTarget.value&&xe(null),ie(-1),ge(!0))},"aria-autocomplete":"list","aria-controls":Re?"".concat(o.id,"-items"):null,"aria-activedescendant":ae>=0?"".concat(o.id,"-").concat(ae):null,onMouseDown:()=>{X||(ge(!re),we&&!re&&ie(Te))},onBlur:e=>{"function"===typeof p&&p(e);const t=be.find((e=>e.value===we));I&&Pe[ae]&&re&&_e(Pe[ae]),Ce((null==t?void 0:t.label)||""),ge(!1)},onFocus:e=>{"function"===typeof m&&m(e),k&&ge(!0)},readOnly:!k||X,disabled:C,"data-mantine-stop-propagation":Re,name:null,classNames:YD(KD({},v),{input:te({[ee.input]:!k},null==v?void 0:v.input)})}),MD({theme:ne,rightSection:j,rightSectionWidth:T,styles:b,size:o.size,shouldClear:S&&!!Se,onClear:()=>{var e;X||(xe(null),ke||Ce(""),null==(e=le.current)||e.focus())},error:a.error,clearButtonProps:Z,disabled:C,readOnly:X}))))),r.createElement(ON.Dropdown,{component:L||yN,maxHeight:x,direction:ce,id:o.id,innerRef:me,__staticSelector:"Select",classNames:v,styles:b},r.createElement(nN,{data:Pe,hovered:ae,classNames:v,styles:b,isItemSelected:e=>e===we,uuid:o.id,__staticSelector:"Select",onItemHover:ie,onItemSelect:_e,itemsRefs:se,itemComponent:d,size:o.size,nothingFound:O,creatable:ye&&!!ve,createLabel:ve,"aria-label":a.label,unstyled:y,variant:o.variant}))))}));ZD.displayName="@mantine/core/Select";var QD=Dh("help","IconHelp",[["path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0",key:"svg-0"}],["path",{d:"M12 17l0 .01",key:"svg-1"}],["path",{d:"M12 13.5a1.5 1.5 0 0 1 1 -1.5a2.6 2.6 0 1 0 -3 -4",key:"svg-2"}]]);const JD={x:0,y:0,width:0,height:0,top:0,left:0,bottom:0,right:0};function eL(){const e=(0,r.useRef)(0),t=(0,r.useRef)(null),[n,o]=(0,r.useState)(JD),a=(0,r.useMemo)((()=>"undefined"!==typeof window?new ResizeObserver((n=>{const r=n[0];r&&(cancelAnimationFrame(e.current),e.current=requestAnimationFrame((()=>{t.current&&o(r.contentRect)})))})):null),[]);return Gn((()=>(t.current&&(a.observe(t.current),o(t.current.getBoundingClientRect())),()=>{a.disconnect(),e.current&&cancelAnimationFrame(e.current)})),[t.current]),[t,n]}var tL=Object.defineProperty,nL=Object.defineProperties,rL=Object.getOwnPropertyDescriptors,oL=Object.getOwnPropertySymbols,aL=Object.prototype.hasOwnProperty,iL=Object.prototype.propertyIsEnumerable,lL=(e,t,n)=>t in e?tL(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,sL=(e,t)=>{for(var n in t||(t={}))aL.call(t,n)&&lL(e,n,t[n]);if(oL)for(var n of oL(t))iL.call(t,n)&&lL(e,n,t[n]);return e},cL=(e,t)=>nL(e,rL(t));const uL={xs:"".concat(l(3)," ").concat(l(6)),sm:"".concat(l(5)," ").concat(l(10)),md:"".concat(l(7)," ").concat(l(14)),lg:"".concat(l(9)," ").concat(l(16)),xl:"".concat(l(12)," ").concat(l(20))};var dL=fn(((e,t,n)=>{let{fullWidth:r,color:o,radius:a,shouldAnimate:i,transitionDuration:s,transitionTimingFunction:c,orientation:u}=t,{size:d}=n;const f="vertical"===u,p=e.fn.variant({variant:"filled",color:o});return{label:cL(sL(sL({ref:tb("label")},e.fn.focusStyles()),e.fn.fontStyles()),{WebkitTapHighlightColor:"transparent",borderRadius:e.fn.radius(a),fontWeight:500,fontSize:d in e.fontSizes?e.fontSizes[d]:e.fontSizes.sm,cursor:"pointer",display:"block",textAlign:"center",padding:uL[d in uL?d:"sm"],whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",userSelect:"none",color:"dark"===e.colorScheme?e.colors.dark[1]:e.colors.gray[7],transition:"color ".concat(i?0:s,"ms ").concat(c||e.transitionTimingFunction),"&:hover":{color:"dark"===e.colorScheme?e.colors.dark[0]:e.black},"&[data-disabled]":{"&, &:hover":{color:"dark"===e.colorScheme?e.colors.dark[3]:e.colors.gray[5],cursor:"not-allowed",pointerEvents:"none"}},"&[data-active]":{"&, &:hover":{color:o||"dark"===e.colorScheme?e.white:e.black}}}),control:{ref:tb("control"),position:"relative",boxSizing:"border-box",flex:1,zIndex:2,transition:"border-left-color ".concat(i?0:s,"ms ").concat(c||e.transitionTimingFunction),"&:not(:first-of-type)":{borderStyle:"solid",borderWidth:f?"".concat(l(1)," 0 0 0"):"0 0 0 ".concat(l(1)),borderColor:"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[3]}},input:{height:0,width:0,position:"absolute",overflow:"hidden",whiteSpace:"nowrap",opacity:0,"&:focus":{outline:"none",["& + .".concat(tb("label"))]:sL({},"always"===e.focusRing||"auto"===e.focusRing?e.focusRingStyles.styles(e):e.focusRingStyles.resetStyles(e)),"&:focus:not(:focus-visible)":{["& + .".concat(tb("label"))]:sL({},"auto"===e.focusRing||"never"===e.focusRing?e.focusRingStyles.resetStyles(e):null)}},"&:disabled + label":{"&, &:hover":{color:"dark"===e.colorScheme?e.colors.dark[3]:e.colors.gray[5],cursor:"not-allowed",pointerEvents:"none"}}},root:{position:"relative",display:r||f?"flex":"inline-flex",width:f&&!r?"max-content":"auto",flexDirection:f?"column":"row",backgroundColor:"dark"===e.colorScheme?e.colors.dark[8]:e.colors.gray[1],borderRadius:e.fn.radius(a),overflow:"hidden",padding:4},controlActive:{borderLeftColor:"transparent !important",borderTopColor:"transparent !important",["& + .".concat(tb("control"))]:{[f?"borderTopColor":"borderLeftColor"]:"transparent !important"},borderRadius:e.fn.radius(a),boxShadow:i?o||"dark"===e.colorScheme?"none":e.shadows.xs:void 0,backgroundColor:i?o?p.background:"dark"===e.colorScheme?e.colors.dark[5]:e.white:void 0},indicator:{boxSizing:"border-box",borderRadius:e.fn.radius(a),position:"absolute",zIndex:1,boxShadow:o||"dark"===e.colorScheme?"none":e.shadows.xs,transition:"transform ".concat(i?0:s,"ms ").concat(e.transitionTimingFunction,", width ").concat(i?0:s/2,"ms ").concat(c||e.transitionTimingFunction),backgroundColor:o?p.background:"dark"===e.colorScheme?e.colors.dark[5]:e.white}}}));const fL=dL;var pL=Object.defineProperty,mL=Object.getOwnPropertySymbols,hL=Object.prototype.hasOwnProperty,gL=Object.prototype.propertyIsEnumerable,yL=(e,t,n)=>t in e?pL(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const vL={disabled:!1,size:"sm",transitionDuration:200},bL=(0,r.forwardRef)(((e,t)=>{var n,o,a,i;const l=Ht("SegmentedControl",vL,e),{className:s,disabled:c,data:u,name:d,value:f,onChange:p,color:m,fullWidth:h,radius:g,size:y,transitionDuration:v,transitionTimingFunction:b,classNames:w,styles:x,defaultValue:k,orientation:S,unstyled:O,variant:E,readOnly:C}=l,_=((e,t)=>{var n={};for(var r in e)hL.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&mL)for(var r of mL(e))t.indexOf(r)<0&&gL.call(e,r)&&(n[r]=e[r]);return n})(l,["className","disabled","data","name","value","onChange","color","fullWidth","radius","size","transitionDuration","transitionTimingFunction","classNames","styles","defaultValue","orientation","unstyled","variant","readOnly"]),P=Bt(),j=Qc(),T=!!P.respectReducedMotion&&j,R=u.map((e=>"string"===typeof e?{label:e,value:e}:e)),N=(0,r.useRef)(),[A,I]=(0,r.useState)(!1),[D,L]=wd({value:f,defaultValue:k,finalValue:Array.isArray(R)&&null!=(i=null!=(a=null==(n=R.find((e=>!e.disabled)))?void 0:n.value)?a:null==(o=R[0])?void 0:o.value)?i:null,onChange:p}),{classes:z,cx:F}=fL({fullWidth:h,color:m,radius:g,shouldAnimate:T||!A,transitionDuration:v,transitionTimingFunction:b,orientation:S},{name:"SegmentedControl",classNames:w,styles:x,unstyled:O,variant:E,size:y}),[M,B]=(0,r.useState)({width:0,height:0,translate:[0,0]}),U=Xn(d),H=(0,r.useRef)({}),[W,$]=eL();Gn((()=>{N.current?I(!0):(N.current=!0,I(!1))})),(0,r.useEffect)((()=>{if(D in H.current&&W.current){const e=H.current[D],t=e.getBoundingClientRect(),n=e.offsetWidth/t.width,r=t.width*n||0,o=t.height*n||0,a=$.width-e.parentElement.offsetLeft+4-r,i=e.parentElement.offsetLeft-4;B({width:r,height:o,translate:["rtl"===P.dir?a:i,e.parentElement.offsetTop-4]})}}),[D,$]);const q=R.map((e=>r.createElement("div",{className:F(z.control,{[z.controlActive]:D===e.value}),key:e.value},r.createElement("input",{className:z.input,disabled:c||e.disabled,type:"radio",name:U,value:e.value,id:"".concat(U,"-").concat(e.value),checked:D===e.value,onChange:()=>!C&&L(e.value)}),r.createElement("label",{className:z.label,"data-active":D===e.value&&!(c||e.disabled)||void 0,"data-disabled":c||e.disabled||void 0,htmlFor:"".concat(U,"-").concat(e.value),ref:t=>{H.current[e.value]=t}},e.label)))),V=Li(W,t);return 0===R.length?null:r.createElement(Mn,((e,t)=>{for(var n in t||(t={}))hL.call(t,n)&&yL(e,n,t[n]);if(mL)for(var n of mL(t))gL.call(t,n)&&yL(e,n,t[n]);return e})({className:F(z.root,s),ref:V},_),"string"===typeof D&&A&&r.createElement(Mn,{component:"span",className:z.indicator,sx:{width:M.width,height:M.height,transform:"translate(".concat(M.translate[0],"px, ").concat(M.translate[1],"px)")}}),q)}));bL.displayName="@mantine/core/SegmentedControl";const wL=(0,r.memo)((function(e){const{disabled:t,property:n,renderProperty:o,setValue:a,...i}=e,l=(0,r.useMemo)((()=>n.types.map(((e,t)=>({label:"",value:t.toString()})))),[n.types]),[s,c]=(0,r.useState)(new Map),[u,d]=(0,r.useState)("0"),f=(0,r.useCallback)((e=>{console.log("set value: ",s.get(e)),a(s.get(e)),d(e)}),[s,a]),p=(0,r.useCallback)((e=>{const t="function"===typeof e?e(s):e;c((e=>e.set(u,t))),a(t)}),[u,s,a]);return(0,Mh.jsxs)(ja,{direction:"column",children:[(0,Mh.jsx)(bL,{data:l,value:u,onChange:f,disabled:t}),(0,Mh.jsx)("div",{style:{marginLeft:"1em"},children:o({...i,property:n.types[parseInt(u)],setValue:p,propertyName:""})})]})}));function xL(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function kL(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function SL(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function EL(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?e.apply(this,o):function(){for(var e=arguments.length,r=new Array(e),a=0;a1&&void 0!==arguments[1]?arguments[1]:{};AL.initial(e),AL.handler(t);var n={current:e},r=jL(LL)(n,t),o=jL(DL)(n),a=jL(AL.changes)(e),i=jL(IL)(n);return[function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(e){return e};return AL.selector(e),e(n.current)},function(e){!function(){for(var e=arguments.length,t=new Array(e),n=0;n=e.length?e.apply(this,o):function(){for(var e=arguments.length,r=new Array(e),a=0;a2&&void 0!==arguments[2])||arguments[2],o=(0,r.useRef)(!0);(0,r.useEffect)(o.current||!n?()=>{o.current=!1}:e,t)};function hz(){}function gz(e,t,n,r){return function(e,t){return e.editor.getModel(yz(e,t))}(e,r)||function(e,t,n,r){return e.editor.createModel(t,n,r?yz(e,r):void 0)}(e,t,n,r)}function yz(e,t){return e.Uri.parse(t)}var vz=function(e){let{original:t,modified:n,language:o,originalLanguage:a,modifiedLanguage:i,originalModelPath:l,modifiedModelPath:s,keepCurrentOriginalModel:c=!1,keepCurrentModifiedModel:u=!1,theme:d="light",loading:f="Loading...",options:p={},height:m="100%",width:h="100%",className:g,wrapperProps:y={},beforeMount:v=hz,onMount:b=hz}=e,[w,x]=(0,r.useState)(!1),[k,S]=(0,r.useState)(!0),O=(0,r.useRef)(null),E=(0,r.useRef)(null),C=(0,r.useRef)(null),_=(0,r.useRef)(b),P=(0,r.useRef)(v),j=(0,r.useRef)(!1);pz((()=>{let e=lz.init();return e.then((e=>(E.current=e)&&S(!1))).catch((e=>"cancelation"!==(null===e||void 0===e?void 0:e.type)&&console.error("Monaco initialization: error:",e))),()=>O.current?function(){var e,t,n,r;let o=null===(e=O.current)||void 0===e?void 0:e.getModel();c||null!==o&&void 0!==o&&null!==(t=o.original)&&void 0!==t&&t.dispose(),u||null!==o&&void 0!==o&&null!==(n=o.modified)&&void 0!==n&&n.dispose(),null===(r=O.current)||void 0===r||r.dispose()}():e.cancel()})),mz((()=>{if(O.current&&E.current){let e=O.current.getOriginalEditor(),n=gz(E.current,t||"",a||o||"text",l||"");n!==e.getModel()&&e.setModel(n)}}),[l],w),mz((()=>{if(O.current&&E.current){let e=O.current.getModifiedEditor(),t=gz(E.current,n||"",i||o||"text",s||"");t!==e.getModel()&&e.setModel(t)}}),[s],w),mz((()=>{let e=O.current.getModifiedEditor();e.getOption(E.current.editor.EditorOption.readOnly)?e.setValue(n||""):n!==e.getValue()&&(e.executeEdits("",[{range:e.getModel().getFullModelRange(),text:n||"",forceMoveMarkers:!0}]),e.pushUndoStop())}),[n],w),mz((()=>{var e;null===(e=O.current)||void 0===e||null===(e=e.getModel())||void 0===e||e.original.setValue(t||"")}),[t],w),mz((()=>{let{original:e,modified:t}=O.current.getModel();E.current.editor.setModelLanguage(e,a||o||"text"),E.current.editor.setModelLanguage(t,i||o||"text")}),[o,a,i],w),mz((()=>{var e;null===(e=E.current)||void 0===e||e.editor.setTheme(d)}),[d],w),mz((()=>{var e;null===(e=O.current)||void 0===e||e.updateOptions(p)}),[p],w);let T=(0,r.useCallback)((()=>{var e;if(!E.current)return;P.current(E.current);let r=gz(E.current,t||"",a||o||"text",l||""),c=gz(E.current,n||"",i||o||"text",s||"");null===(e=O.current)||void 0===e||e.setModel({original:r,modified:c})}),[o,n,i,t,a,l,s]),R=(0,r.useCallback)((()=>{var e;!j.current&&C.current&&(O.current=E.current.editor.createDiffEditor(C.current,{automaticLayout:!0,...p}),T(),null!==(e=E.current)&&void 0!==e&&e.editor.setTheme(d),x(!0),j.current=!0)}),[p,d,T]);return(0,r.useEffect)((()=>{w&&_.current(O.current,E.current)}),[w]),(0,r.useEffect)((()=>{!k&&!w&&R()}),[k,w,R]),r.createElement(fz,{width:h,height:m,isEditorReady:w,loading:f,_ref:C,className:g,wrapperProps:y})};(0,r.memo)(vz);var bz=function(e){let t=(0,r.useRef)();return(0,r.useEffect)((()=>{t.current=e}),[e]),t.current},wz=new Map;var xz=function(e){let{defaultValue:t,defaultLanguage:n,defaultPath:o,value:a,language:i,path:l,theme:s="light",line:c,loading:u="Loading...",options:d={},overrideServices:f={},saveViewState:p=!0,keepCurrentModel:m=!1,width:h="100%",height:g="100%",className:y,wrapperProps:v={},beforeMount:b=hz,onMount:w=hz,onChange:x,onValidate:k=hz}=e,[S,O]=(0,r.useState)(!1),[E,C]=(0,r.useState)(!0),_=(0,r.useRef)(null),P=(0,r.useRef)(null),j=(0,r.useRef)(null),T=(0,r.useRef)(w),R=(0,r.useRef)(b),N=(0,r.useRef)(),A=(0,r.useRef)(a),I=bz(l),D=(0,r.useRef)(!1),L=(0,r.useRef)(!1);pz((()=>{let e=lz.init();return e.then((e=>(_.current=e)&&C(!1))).catch((e=>"cancelation"!==(null===e||void 0===e?void 0:e.type)&&console.error("Monaco initialization: error:",e))),()=>P.current?function(){var e,t;null!==(e=N.current)&&void 0!==e&&e.dispose(),m?p&&wz.set(l,P.current.saveViewState()):null===(t=P.current.getModel())||void 0===t||t.dispose(),P.current.dispose()}():e.cancel()})),mz((()=>{var e,r,s,c;let u=gz(_.current,t||a||"",n||i||"",l||o||"");u!==(null===(e=P.current)||void 0===e?void 0:e.getModel())&&(p&&wz.set(I,null===(r=P.current)||void 0===r?void 0:r.saveViewState()),null!==(s=P.current)&&void 0!==s&&s.setModel(u),p&&(null===(c=P.current)||void 0===c||c.restoreViewState(wz.get(l))))}),[l],S),mz((()=>{var e;null===(e=P.current)||void 0===e||e.updateOptions(d)}),[d],S),mz((()=>{!P.current||void 0===a||(P.current.getOption(_.current.editor.EditorOption.readOnly)?P.current.setValue(a):a!==P.current.getValue()&&(L.current=!0,P.current.executeEdits("",[{range:P.current.getModel().getFullModelRange(),text:a,forceMoveMarkers:!0}]),P.current.pushUndoStop(),L.current=!1))}),[a],S),mz((()=>{var e,t;let n=null===(e=P.current)||void 0===e?void 0:e.getModel();n&&i&&(null===(t=_.current)||void 0===t||t.editor.setModelLanguage(n,i))}),[i],S),mz((()=>{var e;void 0!==c&&(null===(e=P.current)||void 0===e||e.revealLine(c))}),[c],S),mz((()=>{var e;null===(e=_.current)||void 0===e||e.editor.setTheme(s)}),[s],S);let z=(0,r.useCallback)((()=>{if(j.current&&_.current&&!D.current){var e;R.current(_.current);let r=l||o,u=gz(_.current,a||t||"",n||i||"",r||"");P.current=null===(e=_.current)||void 0===e?void 0:e.editor.create(j.current,{model:u,automaticLayout:!0,...d},f),p&&P.current.restoreViewState(wz.get(r)),_.current.editor.setTheme(s),void 0!==c&&P.current.revealLine(c),O(!0),D.current=!0}}),[t,n,o,a,i,l,d,f,p,s,c]);return(0,r.useEffect)((()=>{S&&T.current(P.current,_.current)}),[S]),(0,r.useEffect)((()=>{!E&&!S&&z()}),[E,S,z]),A.current=a,(0,r.useEffect)((()=>{var e,t;S&&x&&(null!==(e=N.current)&&void 0!==e&&e.dispose(),N.current=null===(t=P.current)||void 0===t?void 0:t.onDidChangeModelContent((e=>{L.current||x(P.current.getValue(),e)})))}),[S,x]),(0,r.useEffect)((()=>{if(S){let e=_.current.editor.onDidChangeMarkers((e=>{var t;let n=null===(t=P.current.getModel())||void 0===t?void 0:t.uri;if(n&&e.find((e=>e.path===n.path))){let e=_.current.editor.getModelMarkers({resource:n});null===k||void 0===k||k(e)}}));return()=>{null===e||void 0===e||e.dispose()}}return()=>{}}),[S,k]),r.createElement(fz,{width:h,height:g,isEditorReady:S,loading:u,_ref:j,className:y,wrapperProps:v})},kz=(0,r.memo)(xz);const Sz=fn((()=>({monacoEditor:{minHeight:"300px"}})));const Oz=(0,r.memo)((function(e){let{content:t,onChangeContent:n,schema:r}=e;const o=Bt(),{classes:a}=Sz();return(0,Mh.jsx)(kz,{defaultLanguage:"json",value:JSON.stringify(t,null,2),onChange:e=>{if(e)try{const t=JSON.parse(e);n(t)}catch(t){return}},theme:"dark"===o.colorScheme?"vs-dark":void 0,className:a.monacoEditor,options:{lineNumbers:!1,minimap:{enabled:!1},wordWrap:"on"},onMount:(e,t)=>{r&&function(e,t,n){t.languages.json.jsonDefaults.setDiagnosticsOptions({validate:!0,schemas:[{uri:"https://json.schemastore.org/aiconfig-1.0",fileMatch:["*"],schema:n}],enableSchemaRequest:!0})}(0,t,r)}})})),Ez=(0,r.memo)((function(e){let{content:t,onChange:n,schema:o}=e;const{readOnly:a}=(0,r.useContext)(Fh);let i=null;return!n||a?null!=t&&(i=(0,Mh.jsx)(Wb,{language:"json",styles:{code:{textWrap:"pretty"}},children:JSON.stringify(t,null,2)})):i=(0,Mh.jsx)(Oz,{content:t,onChangeContent:n,schema:o}),i}));function Cz(e){const{propertyName:t,propertyDescription:n}=e;return null!=n&&""!==n.trim()?(0,Mh.jsxs)(Ma,{spacing:"xs",children:[(0,Mh.jsx)(va,{size:"md",children:t}),(0,Mh.jsx)(Au,{label:n,multiline:!0,maw:400,children:(0,Mh.jsx)(_o,{children:(0,Mh.jsx)(QD,{size:16})})})]}):(0,Mh.jsx)(va,{size:"md",children:t})}function _z(e){var t;let{propertyName:n,property:o,isRequired:a=!1,initialValue:i=null,setValue:l}=e;const{readOnly:s}=(0,r.useContext)(Fh),c=o.type,u=o.default,d=o.description,[f,p]=(0,r.useState)(null!==i&&void 0!==i?i:u);let m;const h=(0,r.useCallback)((e=>{const t="function"===typeof e?e(f):e;null!=n&&""!==n.trim()?l((e=>({...e&&"object"===typeof e?e:{},[n]:t}))):l(t),p(t)}),[n,f,l]),g=(0,r.useRef)(Array.isArray(f)?new Map(f.map((e=>[(0,Uu.uniqueId)(),e]))):new Map),[y,v]=(0,r.useState)((()=>Array.from(g.current,(e=>{let[t,n]=e;return(0,Mh.jsxs)(Ma,{children:[(0,Mh.jsx)(_z,{propertyName:"",property:o.items,initialValue:n,setValue:e=>{g.current.set(t,e),h(Array.from(g.current.values()))}}),(0,Mh.jsx)(_o,{onClick:()=>b(t),children:(0,Mh.jsx)(Lh,{size:16})})]},t)})))),b=(0,r.useCallback)((async e=>{v((t=>t.filter((t=>t.key!==e)))),g.current.delete(e),h(Array.from(g.current.values()))}),[h]),w=(0,r.useCallback)((async()=>{const e=(0,Uu.uniqueId)();v((t=>[...t,(0,Mh.jsxs)(Ma,{children:[(0,Mh.jsx)(_z,{propertyName:"",property:o.items,setValue:t=>{g.current.set(e,t),h(Array.from(g.current.values()))}}),(0,Mh.jsx)(_o,{onClick:()=>b(e),children:(0,Mh.jsx)(Lh,{size:16})})]},e)]))}),[o.items,b,h]);switch(c){case"string":m=null!=o.enum?(0,Mh.jsx)(zN,{label:(0,Mh.jsx)(Cz,{propertyName:n,propertyDescription:d}),filter:(e,t)=>{const n=t.value.toLocaleLowerCase(),r=e.toLocaleLowerCase().trim();return!(!o.enum||!o.enum.some((e=>e===r)))||n.includes(r)},required:a,placeholder:null!==f&&void 0!==f?f:"select",data:o.enum,value:null!==f&&void 0!==f?f:"",onChange:h,disabled:s}):(0,Mh.jsx)(Sh,{label:(0,Mh.jsx)(Cz,{propertyName:n,propertyDescription:d}),placeholder:f,required:a,withAsterisk:a,radius:"md",value:null!==f&&void 0!==f?f:"",onChange:e=>h(e.currentTarget.value),autosize:!0,maxRows:20,disabled:s});break;case"text":m=(0,Mh.jsx)(Sh,{label:(0,Mh.jsx)(Cz,{propertyName:n,propertyDescription:d}),placeholder:f,required:a,withAsterisk:a,radius:"md",value:null!==f&&void 0!==f?f:"",onChange:e=>h(e.currentTarget.value),autosize:!0,disabled:s});break;case"number":var x,k,S;if(null!=o.minimum&&null!=o.maximum)m=(0,Mh.jsxs)(gp,{children:[(0,Mh.jsx)(Cz,{propertyName:n,propertyDescription:d}),(0,Mh.jsx)(WA,{defaultValue:null!==f&&void 0!==f?f:o.minimum,min:o.minimum,max:o.maximum,label:e=>e.toFixed(1),step:null!==(x=o.step)&&void 0!==x?x:.1,styles:{markLabel:{display:"none"}},value:f,onChange:h,style:{padding:"0 0.5em"},disabled:s})]});else m=(0,Mh.jsx)(iI,{label:(0,Mh.jsx)(Cz,{propertyName:n,propertyDescription:d}),defaultValue:f,min:o.minimum,max:o.maximum,step:null!==(k=o.step)&&void 0!==k?k:.05,precision:null!==(S=o.precision)&&void 0!==S?S:2,required:a,withAsterisk:a,radius:"md",value:null!==f&&void 0!==f?f:"",onChange:e=>h(e),disabled:s});break;case"integer":var O,E;if(null!=o.minimum&&null!=o.maximum)m=(0,Mh.jsxs)(gp,{children:[(0,Mh.jsx)(Cz,{propertyName:n,propertyDescription:d}),(0,Mh.jsx)(WA,{defaultValue:null!==f&&void 0!==f?f:o.minimum,min:o.minimum,max:o.maximum,label:e=>e.toFixed(0),step:null!==(O=o.step)&&void 0!==O?O:1,styles:{markLabel:{display:"none"}},value:f,onChange:h,style:{padding:"0 0.5em"},disabled:s})]});else m=(0,Mh.jsx)(iI,{label:(0,Mh.jsx)(Cz,{propertyName:n,propertyDescription:d}),defaultValue:f,min:o.minimum,max:o.maximum,step:null!==(E=o.step)&&void 0!==E?E:1,required:a,withAsterisk:a,radius:"md",value:null!==f&&void 0!==f?f:"",onChange:e=>h(e),disabled:s});break;case"boolean":m=(0,Mh.jsx)(sD,{label:(0,Mh.jsx)(Cz,{propertyName:n,propertyDescription:d}),checked:f,onChange:e=>h(e.currentTarget.checked),disabled:s,styles:{inner:{alignSelf:"center"}}});break;case"array":m=(0,Mh.jsxs)(Mh.Fragment,{children:[(0,Mh.jsxs)(Ma,{align:"end",children:[(0,Mh.jsx)(va,{size:"md",children:n}),null!=d&&""!==d.trim()?(0,Mh.jsx)(Au,{label:d,multiline:!0,children:(0,Mh.jsx)(_o,{children:(0,Mh.jsx)(QD,{size:16})})}):null,(0,Mh.jsx)(_o,{onClick:()=>w(),children:(0,Mh.jsx)(zh,{size:16})})]}),(0,Mh.jsx)(gp,{children:y})]});break;case"object":{var C;const e=new Set(null!==(C=o.required)&&void 0!==C?C:[]),t=o.properties,r=[];for(const n in t){const o=e.has(n),a=t[n];!0!==a.exclude&&r.push((0,Mh.jsx)(_z,{isRequired:o,property:a,propertyName:n,initialValue:null===i||void 0===i?void 0:i[n],setValue:h},n))}m=r.length>0?(0,Mh.jsxs)(Mh.Fragment,{children:[null!=n&&""!==n.trim()?(0,Mh.jsx)(va,{children:n}):(0,Mh.jsx)(Mh.Fragment,{}),(0,Mh.jsx)(gp,{children:r})]}):(0,Mh.jsxs)(gp,{children:[(0,Mh.jsx)(Cz,{propertyName:n,propertyDescription:d}),(0,Mh.jsx)("div",{style:{minWidth:"350px"},children:(0,Mh.jsx)(Ez,{content:i,onChange:h})})]});break}case"select":null!=o.values&&(m=(0,Mh.jsx)(ZD,{label:(0,Mh.jsx)(Cz,{propertyName:n,propertyDescription:d}),data:o.values,value:f,onChange:e=>{h(e)},defaultValue:o.default,disabled:s}));break;case"union":m=(0,Mh.jsxs)(gp,{children:[(0,Mh.jsx)(Cz,{propertyName:n,propertyDescription:d}),(0,Mh.jsx)(wL,{property:o,isRequired:a,propertyName:n,initialValue:i,setValue:h,renderProperty:e=>(0,Mh.jsx)(_z,{...e}),disabled:s})]});break;default:console.warn("Warning: Unable to render property '".concat(n,"' of type '").concat(c,"'."))}return null!==(t=m)&&void 0!==t?t:null}const Pz=(0,r.memo)((function(e){let{schema:t,settings:n,onUpdateModelSettings:o}=e;const a=(0,r.useMemo)((()=>(0,Uu.debounce)((e=>o(e)),250)),[o]);return(0,Mh.jsx)(_z,{propertyName:"",property:t,isRequired:!1,initialValue:n,setValue:e=>{const t="function"===typeof e?e(n):e;a(t)}})}));var jz=Dh("braces-off","IconBracesOff",[["path",{d:"M5.176 5.177c-.113 .251 -.176 .53 -.176 .823v3c0 1.657 -.895 3 -2 3c1.105 0 2 1.343 2 3v3a2 2 0 0 0 2 2",key:"svg-0"}],["path",{d:"M17 4a2 2 0 0 1 2 2v3c0 1.657 .895 3 2 3c-1.105 0 -2 1.343 -2 3m-.176 3.821a2 2 0 0 1 -1.824 1.179",key:"svg-1"}],["path",{d:"M3 3l18 18",key:"svg-2"}]]);function Tz(e){let{isRawJSON:t,setIsRawJSON:n}=e;const{readOnly:o}=(0,r.useContext)(Fh),a=o?"View JSON":"Toggle JSON Editor";return(0,Mh.jsx)(Au,{label:a,withArrow:!0,children:(0,Mh.jsx)(_o,{onClick:()=>n(!t),children:t?(0,Mh.jsx)(jz,{size:"1rem"}):(0,Mh.jsx)(wE,{size:"1rem"})})})}const Rz=(0,r.createContext)(null),Nz={didCatch:!1,error:null};class Az extends r.Component{constructor(e){super(e),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=Nz}static getDerivedStateFromError(e){return{didCatch:!0,error:e}}resetErrorBoundary(){const{error:e}=this.state;if(null!==e){for(var t,n,r=arguments.length,o=new Array(r),a=0;a0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return e.length!==t.length||e.some(((e,n)=>!Object.is(e,t[n])))}(e.resetKeys,r)&&(null===(o=(a=this.props).onReset)||void 0===o||o.call(a,{next:r,prev:e.resetKeys,reason:"keys"}),this.setState(Nz))}render(){const{children:e,fallbackRender:t,FallbackComponent:n,fallback:o}=this.props,{didCatch:a,error:i}=this.state;let l=e;if(a){const e={error:i,resetErrorBoundary:this.resetErrorBoundary};if("function"===typeof t)l=t(e);else if(n)l=(0,r.createElement)(n,e);else{if(null!==o&&!(0,r.isValidElement)(o))throw i;l=o}}return(0,r.createElement)(Rz.Provider,{value:{didCatch:a,error:i,resetErrorBoundary:this.resetErrorBoundary}},l)}}function Iz(){const e=(0,r.useContext)(Rz);!function(e){if(null==e||"boolean"!==typeof e.didCatch||"function"!==typeof e.resetErrorBoundary)throw new Error("ErrorBoundaryContext not found")}(e);const[t,n]=(0,r.useState)({error:null,hasError:!1}),o=(0,r.useMemo)((()=>({resetBoundary:()=>{e.resetErrorBoundary(),n({error:null,hasError:!1})},showBoundary:e=>n({error:e,hasError:!0})})),[e.resetErrorBoundary]);if(t.hasError)throw t.error;return o}const Dz=fn((()=>({settingsContainer:{overflow:"auto",paddingTop:"0.5em",width:"100%"}})));function Lz(e){let{settings:t,toggleJSONEditor:n}=e;const{resetBoundary:r}=Iz();return(0,Mh.jsxs)(ja,{direction:"column",children:[(0,Mh.jsxs)(va,{color:"red",size:"sm",children:[(0,Mh.jsx)(ja,{justify:"flex-end",children:(0,Mh.jsx)(Tz,{isRawJSON:!1,setIsRawJSON:()=>{r(),n()}})}),"Invalid settings format for model. Toggle JSON editor to update. Set to"," {}"," in JSON editor and toggle back to reset."]}),(0,Mh.jsx)(Ez,{content:t})]})}const zz=(0,r.memo)((function(e){let{model:t,settings:n,schema:o,onUpdateModelSettings:a}=e;const{classes:i}=Dz(),[l,s]=(0,r.useState)(null==o),c=(0,Mh.jsx)(ja,{justify:"flex-end",children:(0,Mh.jsx)(Tz,{isRawJSON:l,setIsRawJSON:s})});return(0,Mh.jsx)(ja,{direction:"column",className:i.settingsContainer,children:l||!o?(0,Mh.jsxs)(Mh.Fragment,{children:[o&&c,(0,Mh.jsx)(Ez,{content:n,onChange:e=>a(e)},t)]}):(0,Mh.jsxs)(Az,{fallbackRender:()=>(0,Mh.jsx)(Lz,{settings:n,toggleJSONEditor:()=>s(!0)}),children:[c,(0,Mh.jsx)(Pz,{settings:n,schema:o,onUpdateModelSettings:a},t)]})})})),Fz=(0,r.memo)((function(e){let{schema:t,metadata:n,onUpdatePromptMetadata:o}=e;const a=(0,r.useMemo)((()=>(0,Uu.debounce)((e=>o(e)),qh)),[o]);return(0,Mh.jsx)(_z,{propertyName:"",property:t,isRequired:!1,initialValue:n,setValue:e=>{const t="function"===typeof e?e(n):e;a(t)}})})),Mz=fn((()=>({metadataContainer:{overflow:"auto",paddingTop:"0.5em",width:"100%"}})));function Bz(e){let{metadata:t,toggleJSONEditor:n}=e;const{resetBoundary:r}=Iz();return(0,Mh.jsxs)(ja,{direction:"column",children:[(0,Mh.jsxs)(va,{color:"red",size:"sm",children:[(0,Mh.jsx)(ja,{justify:"flex-end",children:(0,Mh.jsx)(Tz,{isRawJSON:!1,setIsRawJSON:()=>{r(),n()}})}),"Invalid metadata format for model. Toggle JSON editor to update. Set to"," {}"," in JSON editor and toggle back to reset."]}),(0,Mh.jsx)(Ez,{content:t})]})}const Uz=(0,r.memo)((function(e){let{metadata:t,onUpdatePromptMetadata:n,schema:o}=e;const{classes:a}=Mz(),[i,l]=(0,r.useState)(null==o),s=(0,Mh.jsx)(ja,{justify:"flex-end",children:(0,Mh.jsx)(Tz,{isRawJSON:i,setIsRawJSON:l})});return(0,Mh.jsx)(ja,{direction:"column",className:a.metadataContainer,children:i||!o?(0,Mh.jsxs)(Mh.Fragment,{children:[o&&s,(0,Mh.jsx)(Ez,{content:t,onChange:e=>n(e)})]}):(0,Mh.jsxs)(Az,{fallbackRender:()=>(0,Mh.jsx)(Bz,{metadata:t,toggleJSONEditor:()=>l(!0)}),children:[s,(0,Mh.jsx)(Fz,{metadata:t,schema:o,onUpdatePromptMetadata:n})]})})}));var Hz=Dh("clear-all","IconClearAll",[["path",{d:"M8 6h12",key:"svg-0"}],["path",{d:"M6 12h12",key:"svg-1"}],["path",{d:"M4 18h12",key:"svg-2"}]]);function Wz(e){var t,n,r;if("string"!==typeof(null===(t=e.metadata)||void 0===t?void 0:t.model))return null===(n=e.metadata)||void 0===n||null===(r=n.model)||void 0===r?void 0:r.settings}function $z(e){const t={...e.metadata};return delete t.model,delete t.parameters,null===t.tags&&delete t.tags,t}function qz(e){var t;return null===(t=e.metadata)||void 0===t?void 0:t.parameters}const Vz=(0,r.memo)((function(e){let{defaultConfigModelName:t,prompt:n,promptSchema:o,onUpdateModelSettings:a,onUpdateParameters:i,onUpdatePromptMetadata:l}=e;const[s,c]=(0,r.useState)(!1),[u,d]=(0,r.useState)("settings"),f=null===o||void 0===o?void 0:o.model_settings,p=null===o||void 0===o?void 0:o.prompt_metadata,m=rH.get(n._ui.id);let h;return m&&(h=Math.max(m-84,300)),(0,Mh.jsx)(ja,{direction:"column",justify:"space-between",children:s?(0,Mh.jsxs)(Vn,{miw:"400px",children:[(0,Mh.jsx)(_o,{size:"sm",onClick:()=>c(!1),mt:"0.5em",children:(0,Mh.jsx)(Hz,{})}),(0,Mh.jsxs)(Wy,{defaultValue:"settings",value:u,mb:"1em",onTabChange:d,children:[(0,Mh.jsxs)(Wy.List,{children:[(0,Mh.jsx)(Wy.Tab,{value:"settings",children:"Settings"}),pd(n)&&(0,Mh.jsx)(Wy.Tab,{value:"parameters",children:"Local Parameters"})]}),"settings"===u&&(0,Mh.jsx)(Wy.Panel,{value:"settings",className:"actionTabsPanel",children:(0,Mh.jsxs)(yb,{h:h,type:"auto",style:{overflowY:"auto"},children:[(0,Mh.jsx)(zz,{model:ud(n,t),settings:Wz(n),schema:f,onUpdateModelSettings:a}),p&&(0,Mh.jsx)(Uz,{metadata:$z(n),onUpdatePromptMetadata:l,schema:p})]})}),"parameters"===u&&pd(n)&&(0,Mh.jsx)(Wy.Panel,{value:"parameters",className:"actionTabsPanel",children:(0,Mh.jsx)(Wh,{initialValue:qz(n),onUpdateParameters:i,maxHeight:h?h-46:void 0})})]})]}):(0,Mh.jsx)(ja,{className:"promptActionBarClosed",direction:"column",justify:"space-between",h:"100%",children:(0,Mh.jsx)(ja,{direction:"row",justify:"center",mt:"0.5em",children:(0,Mh.jsx)(_o,{size:"sm",onClick:()=>c(!0),children:(0,Mh.jsx)(Hz,{})})})})})}));var Gz=fn(((e,t)=>{let{transitionDuration:n}=t;return{control:{},root:{position:"relative"},content:{display:"flex",flexDirection:"column",overflow:"hidden",transitionProperty:"max-height",transitionTimingFunction:e.transitionTimingFunction,transitionDuration:"".concat(n,"ms"),"@media (prefers-reduced-motion)":{transitionDuration:e.respectReducedMotion?"0ms":void 0}}}}));const Kz=Gz;var Yz=Object.defineProperty,Xz=Object.getOwnPropertySymbols,Zz=Object.prototype.hasOwnProperty,Qz=Object.prototype.propertyIsEnumerable,Jz=(e,t,n)=>t in e?Yz(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const eF={maxHeight:100,transitionDuration:200,initialState:!1},tF=(0,r.forwardRef)(((e,t)=>{const n=Ht("Spoiler",eF,e),{className:o,children:a,maxHeight:i,hideLabel:s,showLabel:c,transitionDuration:u,controlRef:d,initialState:f,classNames:p,styles:m,unstyled:h,variant:g}=n,y=((e,t)=>{var n={};for(var r in e)Zz.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&Xz)for(var r of Xz(e))t.indexOf(r)<0&&Qz.call(e,r)&&(n[r]=e[r]);return n})(n,["className","children","maxHeight","hideLabel","showLabel","transitionDuration","controlRef","initialState","classNames","styles","unstyled","variant"]),{classes:v,cx:b}=Kz({transitionDuration:u},{name:"Spoiler",classNames:p,styles:m,unstyled:h,variant:g}),[w,x]=(0,r.useState)(f),{ref:k,height:S}=function(){const[e,{width:t,height:n}]=eL();return{ref:e,width:t,height:n}}(),O=i{for(var n in t||(t={}))Zz.call(t,n)&&Jz(e,n,t[n]);if(Xz)for(var n of Xz(t))Qz.call(t,n)&&Jz(e,n,t[n]);return e})({className:b(v.root,o),ref:t},y),r.createElement("div",{className:v.content,style:{maxHeight:w?S?l(S):void 0:l(i)}},r.createElement("div",{ref:k},a)),O&&r.createElement(Ag,{component:"button",ref:d,onClick:()=>x((e=>!e)),className:v.control},E))}));tF.displayName="@mantine/core/Spoiler";const nF=(0,r.memo)((function(e){let{schema:t,data:n,onChangeData:o}=e;const{readOnly:a}=(0,r.useContext)(Fh);if("string"===t.type){const e=n||"";return a?(0,Mh.jsx)("div",{style:{padding:"0.5em"},children:(0,Mh.jsx)(tF,{maxHeight:200,showLabel:"Show more",hideLabel:"Hide",initialState:!1,transitionDuration:300,children:(0,Mh.jsx)(yE,{content:e})})}):(0,Mh.jsx)(Sh,{value:e,onChange:e=>o(e.target.value),disabled:a,placeholder:a?"":"Type a prompt"})}return null}));var rF=Dh("edit","IconEdit",[["path",{d:"M7 7h-1a2 2 0 0 0 -2 2v9a2 2 0 0 0 2 2h9a2 2 0 0 0 2 -2v-1",key:"svg-0"}],["path",{d:"M20.385 6.585a2.1 2.1 0 0 0 -2.97 -2.97l-8.415 8.385v3h3l8.385 -8.415z",key:"svg-1"}],["path",{d:"M16 5l3 3",key:"svg-2"}]]);const oF=(0,r.memo)((function(e){return null}));var aF=Object.defineProperty,iF=Object.getOwnPropertySymbols,lF=Object.prototype.hasOwnProperty,sF=Object.prototype.propertyIsEnumerable,cF=(e,t,n)=>t in e?aF(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,uF=(e,t)=>{for(var n in t||(t={}))lF.call(t,n)&&cF(e,n,t[n]);if(iF)for(var n of iF(t))sF.call(t,n)&&cF(e,n,t[n]);return e};function dF(e){const t=e,{width:n,height:o,style:a}=t,i=((e,t)=>{var n={};for(var r in e)lF.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&iF)for(var r of iF(e))t.indexOf(r)<0&&sF.call(e,r)&&(n[r]=e[r]);return n})(t,["width","height","style"]);return r.createElement("svg",uF({viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:uF({width:n,height:o},a)},i),r.createElement("path",{d:"M2.5 1H12.5C13.3284 1 14 1.67157 14 2.5V12.5C14 13.3284 13.3284 14 12.5 14H2.5C1.67157 14 1 13.3284 1 12.5V2.5C1 1.67157 1.67157 1 2.5 1ZM2.5 2C2.22386 2 2 2.22386 2 2.5V8.3636L3.6818 6.6818C3.76809 6.59551 3.88572 6.54797 4.00774 6.55007C4.12975 6.55216 4.24568 6.60372 4.32895 6.69293L7.87355 10.4901L10.6818 7.6818C10.8575 7.50607 11.1425 7.50607 11.3182 7.6818L13 9.3636V2.5C13 2.22386 12.7761 2 12.5 2H2.5ZM2 12.5V9.6364L3.98887 7.64753L7.5311 11.4421L8.94113 13H2.5C2.22386 13 2 12.7761 2 12.5ZM12.5 13H10.155L8.48336 11.153L11 8.6364L13 10.6364V12.5C13 12.7761 12.7761 13 12.5 13ZM6.64922 5.5C6.64922 5.03013 7.03013 4.64922 7.5 4.64922C7.96987 4.64922 8.35078 5.03013 8.35078 5.5C8.35078 5.96987 7.96987 6.35078 7.5 6.35078C7.03013 6.35078 6.64922 5.96987 6.64922 5.5ZM7.5 3.74922C6.53307 3.74922 5.74922 4.53307 5.74922 5.5C5.74922 6.46693 6.53307 7.25078 7.5 7.25078C8.46693 7.25078 9.25078 6.46693 9.25078 5.5C9.25078 4.53307 8.46693 3.74922 7.5 3.74922Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}))}var fF=Object.defineProperty,pF=Object.defineProperties,mF=Object.getOwnPropertyDescriptors,hF=Object.getOwnPropertySymbols,gF=Object.prototype.hasOwnProperty,yF=Object.prototype.propertyIsEnumerable,vF=(e,t,n)=>t in e?fF(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,bF=(e,t)=>{for(var n in t||(t={}))gF.call(t,n)&&vF(e,n,t[n]);if(hF)for(var n of hF(t))yF.call(t,n)&&vF(e,n,t[n]);return e},wF=(e,t)=>pF(e,mF(t)),xF=fn(((e,t)=>{let{radius:n}=t;return{root:{},imageWrapper:{position:"relative"},figure:{margin:0},image:wF(bF({},e.fn.fontStyles()),{display:"block",width:"100%",height:"100%",border:0,borderRadius:e.fn.radius(n)}),caption:{color:"dark"===e.colorScheme?e.colors.dark[2]:e.colors.gray[7],marginTop:e.spacing.xs},placeholder:wF(bF({},e.fn.cover()),{display:"flex",alignItems:"center",justifyContent:"center",color:"dark"===e.colorScheme?e.colors.dark[2]:e.colors.gray[6],backgroundColor:"dark"===e.colorScheme?e.colors.dark[8]:e.colors.gray[0],borderRadius:e.fn.radius(n)})}}));const kF=xF;var SF=Object.defineProperty,OF=Object.defineProperties,EF=Object.getOwnPropertyDescriptors,CF=Object.getOwnPropertySymbols,_F=Object.prototype.hasOwnProperty,PF=Object.prototype.propertyIsEnumerable,jF=(e,t,n)=>t in e?SF(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,TF=(e,t)=>{for(var n in t||(t={}))_F.call(t,n)&&jF(e,n,t[n]);if(CF)for(var n of CF(t))PF.call(t,n)&&jF(e,n,t[n]);return e};const RF={fit:"cover",width:"100%",height:"auto",radius:0},NF=(0,r.forwardRef)(((e,t)=>{const n=Ht("Image",RF,e),{className:o,alt:a,src:i,fit:s,width:c,height:u,radius:d,imageProps:f,withPlaceholder:p,placeholder:m,imageRef:h,classNames:g,styles:y,caption:v,unstyled:b,style:w,variant:x}=n,k=((e,t)=>{var n={};for(var r in e)_F.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&CF)for(var r of CF(e))t.indexOf(r)<0&&PF.call(e,r)&&(n[r]=e[r]);return n})(n,["className","alt","src","fit","width","height","radius","imageProps","withPlaceholder","placeholder","imageRef","classNames","styles","caption","unstyled","style","variant"]),{classes:S,cx:O}=kF({radius:d},{classNames:g,styles:y,unstyled:b,name:"Image",variant:x}),[E,C]=(0,r.useState)(!i),_=p&&E;return jc((()=>{C(!i)}),[i]),r.createElement(Mn,TF({className:O(S.root,o),style:TF({width:l(c)},w),ref:t},k),r.createElement("figure",{className:S.figure},r.createElement("div",{className:S.imageWrapper},r.createElement("img",((e,t)=>OF(e,EF(t)))(TF({src:i,alt:a,ref:h},f),{className:O(S.image,null==f?void 0:f.className),onError:e=>{C(!0),"function"===typeof(null==f?void 0:f.onError)&&f.onError(e)},style:TF(TF({objectFit:s,width:l(c),height:l(u)},_&&{overflow:"hidden"}),null==f?void 0:f.style)})),_&&r.createElement("div",{className:S.placeholder,title:a},m||r.createElement("div",null,r.createElement(dF,{width:l(40),height:l(40)})))),!!v&&r.createElement(va,{component:"figcaption",size:"sm",align:"center",className:S.caption},v)))}));NF.displayName="@mantine/core/Image";const AF=(0,r.memo)((function(e){let{mimeType:t,content:n}=e;switch((null!==t&&void 0!==t?t:"text/plain").split("/",1)[0]){case"image":return(0,Mh.jsx)(NF,{alt:"Attachment image",src:n,maw:300});case"audio":return(0,Mh.jsx)("audio",{controls:!0,children:(0,Mh.jsx)("source",{src:n,type:t})});default:return(0,Mh.jsx)("span",{children:n})}})),IF=(0,r.memo)((function(e){var t;let{schema:n,attachment:o,onUpdateMetadata:a,onRemoveAttachment:i,onEditAttachment:l}=e;const{readOnly:s}=(0,r.useContext)(Fh);return(0,Mh.jsxs)(Vn,{display:"flex",children:[(0,Mh.jsxs)(ja,{direction:"column",children:[l&&!s&&(0,Mh.jsx)(_o,{onClick:l,children:(0,Mh.jsx)(Au,{label:"Edit attachment",children:(0,Mh.jsx)(rF,{size:16})})}),i&&!s&&(0,Mh.jsx)(_o,{onClick:i,children:(0,Mh.jsx)(Au,{label:"Remove attachment",children:(0,Mh.jsx)(Lh,{size:16,color:"red"})})})]}),(0,Mh.jsx)(AF,{mimeType:o.mime_type,content:o.data.value}),(null===(t=n.items.properties)||void 0===t?void 0:t.metadata)&&(0,Mh.jsx)(oF,{schema:n.items.properties.metadata,attachment:o,onUpdateMetadata:a})]})}));var DF=new Map([["aac","audio/aac"],["abw","application/x-abiword"],["arc","application/x-freearc"],["avif","image/avif"],["avi","video/x-msvideo"],["azw","application/vnd.amazon.ebook"],["bin","application/octet-stream"],["bmp","image/bmp"],["bz","application/x-bzip"],["bz2","application/x-bzip2"],["cda","application/x-cdf"],["csh","application/x-csh"],["css","text/css"],["csv","text/csv"],["doc","application/msword"],["docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"],["eot","application/vnd.ms-fontobject"],["epub","application/epub+zip"],["gz","application/gzip"],["gif","image/gif"],["heic","image/heic"],["heif","image/heif"],["htm","text/html"],["html","text/html"],["ico","image/vnd.microsoft.icon"],["ics","text/calendar"],["jar","application/java-archive"],["jpeg","image/jpeg"],["jpg","image/jpeg"],["js","text/javascript"],["json","application/json"],["jsonld","application/ld+json"],["mid","audio/midi"],["midi","audio/midi"],["mjs","text/javascript"],["mp3","audio/mpeg"],["mp4","video/mp4"],["mpeg","video/mpeg"],["mpkg","application/vnd.apple.installer+xml"],["odp","application/vnd.oasis.opendocument.presentation"],["ods","application/vnd.oasis.opendocument.spreadsheet"],["odt","application/vnd.oasis.opendocument.text"],["oga","audio/ogg"],["ogv","video/ogg"],["ogx","application/ogg"],["opus","audio/opus"],["otf","font/otf"],["png","image/png"],["pdf","application/pdf"],["php","application/x-httpd-php"],["ppt","application/vnd.ms-powerpoint"],["pptx","application/vnd.openxmlformats-officedocument.presentationml.presentation"],["rar","application/vnd.rar"],["rtf","application/rtf"],["sh","application/x-sh"],["svg","image/svg+xml"],["swf","application/x-shockwave-flash"],["tar","application/x-tar"],["tif","image/tiff"],["tiff","image/tiff"],["ts","video/mp2t"],["ttf","font/ttf"],["txt","text/plain"],["vsd","application/vnd.visio"],["wav","audio/wav"],["weba","audio/webm"],["webm","video/webm"],["webp","image/webp"],["woff","font/woff"],["woff2","font/woff2"],["xhtml","application/xhtml+xml"],["xls","application/vnd.ms-excel"],["xlsx","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],["xml","application/xml"],["xul","application/vnd.mozilla.xul+xml"],["zip","application/zip"],["7z","application/x-7z-compressed"],["mkv","video/x-matroska"],["mov","video/quicktime"],["msg","application/vnd.ms-outlook"]]);function LF(e,t){var n=function(e){var t=e.name;if(t&&-1!==t.lastIndexOf(".")&&!e.type){var n=t.split(".").pop().toLowerCase(),r=DF.get(n);r&&Object.defineProperty(e,"type",{value:r,writable:!1,configurable:!1,enumerable:!0})}return e}(e);if("string"!==typeof n.path){var r=e.webkitRelativePath;Object.defineProperty(n,"path",{value:"string"===typeof t?t:"string"===typeof r&&r.length>0?r:e.name,writable:!1,configurable:!1,enumerable:!0})}return n}var zF=[".DS_Store","Thumbs.db"];function FF(e){return"object"===typeof e&&null!==e}function MF(e){return WF(e.target.files).map((function(e){return LF(e)}))}function BF(e){return KE(this,void 0,void 0,(function(){return YE(this,(function(t){switch(t.label){case 0:return[4,Promise.all(e.map((function(e){return e.getFile()})))];case 1:return[2,t.sent().map((function(e){return LF(e)}))]}}))}))}function UF(e,t){return KE(this,void 0,void 0,(function(){var n;return YE(this,(function(r){switch(r.label){case 0:return e.items?(n=WF(e.items).filter((function(e){return"file"===e.kind})),"drop"!==t?[2,n]:[4,Promise.all(n.map($F))]):[3,2];case 1:return[2,HF(qF(r.sent()))];case 2:return[2,HF(WF(e.files).map((function(e){return LF(e)})))]}}))}))}function HF(e){return e.filter((function(e){return-1===zF.indexOf(e.name)}))}function WF(e){if(null===e)return[];for(var t=[],n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);nn)return[!1,cM(n)];if(e.sizen)return[!1,cM(n)]}return[!0,null]}function mM(e){return void 0!==e&&null!==e}function hM(e){return"function"===typeof e.isPropagationStopped?e.isPropagationStopped():"undefined"!==typeof e.cancelBubble&&e.cancelBubble}function gM(e){return e.dataTransfer?Array.prototype.some.call(e.dataTransfer.types,(function(e){return"Files"===e||"application/x-moz-file"===e})):!!e.target&&!!e.target.files}function yM(e){e.preventDefault()}function vM(){for(var e=arguments.length,t=new Array(e),n=0;n1?n-1:0),o=1;oe.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var AM=(0,r.forwardRef)((function(e,t){var n=e.children,o=LM(NM(e,xM)),a=o.open,i=NM(o,kM);return(0,r.useImperativeHandle)(t,(function(){return{open:a}}),[a]),r.createElement(r.Fragment,null,n(TM(TM({},i),{},{open:a})))}));AM.displayName="Dropzone";var IM={disabled:!1,getFilesFromEvent:function(e){return KE(this,void 0,void 0,(function(){return YE(this,(function(t){return FF(e)&&FF(e.dataTransfer)?[2,UF(e.dataTransfer,e.type)]:function(e){return FF(e)&&FF(e.target)}(e)?[2,MF(e)]:Array.isArray(e)&&e.every((function(e){return"getFile"in e&&"function"===typeof e.getFile}))?[2,BF(e)]:[2,[]]}))}))},maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1,validator:null,useFsAccessApi:!0,autoFocus:!1};AM.defaultProps=IM,AM.propTypes={children:Eh().func,accept:Eh().objectOf(Eh().arrayOf(Eh().string)),multiple:Eh().bool,preventDropOnDocument:Eh().bool,noClick:Eh().bool,noKeyboard:Eh().bool,noDrag:Eh().bool,noDragEventsBubbling:Eh().bool,minSize:Eh().number,maxSize:Eh().number,maxFiles:Eh().number,disabled:Eh().bool,getFilesFromEvent:Eh().func,onFileDialogCancel:Eh().func,onFileDialogOpen:Eh().func,useFsAccessApi:Eh().bool,autoFocus:Eh().bool,onDragEnter:Eh().func,onDragLeave:Eh().func,onDragOver:Eh().func,onDrop:Eh().func,onDropAccepted:Eh().func,onDropRejected:Eh().func,onError:Eh().func,validator:Eh().func};var DM={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,acceptedFiles:[],fileRejections:[]};function LM(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=TM(TM({},IM),e),n=t.accept,o=t.disabled,a=t.getFilesFromEvent,i=t.maxSize,l=t.minSize,s=t.multiple,c=t.maxFiles,u=t.onDragEnter,d=t.onDragLeave,f=t.onDragOver,p=t.onDrop,m=t.onDropAccepted,h=t.onDropRejected,g=t.onFileDialogCancel,y=t.onFileDialogOpen,v=t.useFsAccessApi,b=t.autoFocus,w=t.preventDropOnDocument,x=t.noClick,k=t.noKeyboard,S=t.noDrag,O=t.noDragEventsBubbling,E=t.onError,C=t.validator,_=(0,r.useMemo)((function(){return function(e){if(mM(e))return Object.entries(e).reduce((function(e,t){var n=tM(t,2),r=n[0],o=n[1];return[].concat(ZF(e),[r],ZF(o))}),[]).filter((function(e){return bM(e)||wM(e)})).join(",")}(n)}),[n]),P=(0,r.useMemo)((function(){return function(e){if(mM(e)){var t=Object.entries(e).filter((function(e){var t=tM(e,2),n=t[0],r=t[1],o=!0;return bM(n)||(console.warn('Skipped "'.concat(n,'" because it is not a valid MIME type. Check https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types for a list of valid MIME types.')),o=!1),Array.isArray(r)&&r.every(wM)||(console.warn('Skipped "'.concat(n,'" because an invalid file extension was provided.')),o=!1),o})).reduce((function(e,t){var n=tM(t,2),r=n[0],o=n[1];return JF(JF({},e),{},eM({},r,o))}),{});return[{description:"Files",accept:t}]}return e}(n)}),[n]),j=(0,r.useMemo)((function(){return"function"===typeof y?y:FM}),[y]),T=(0,r.useMemo)((function(){return"function"===typeof g?g:FM}),[g]),R=(0,r.useRef)(null),N=(0,r.useRef)(null),A=CM((0,r.useReducer)(zM,DM),2),I=A[0],D=A[1],L=I.isFocused,z=I.isFileDialogActive,F=(0,r.useRef)("undefined"!==typeof window&&window.isSecureContext&&v&&"showOpenFilePicker"in window),M=function(){!F.current&&z&&setTimeout((function(){N.current&&(N.current.files.length||(D({type:"closeDialog"}),T()))}),300)};(0,r.useEffect)((function(){return window.addEventListener("focus",M,!1),function(){window.removeEventListener("focus",M,!1)}}),[N,z,T,F]);var B=(0,r.useRef)([]),U=function(e){R.current&&R.current.contains(e.target)||(e.preventDefault(),B.current=[])};(0,r.useEffect)((function(){return w&&(document.addEventListener("dragover",yM,!1),document.addEventListener("drop",U,!1)),function(){w&&(document.removeEventListener("dragover",yM),document.removeEventListener("drop",U))}}),[R,w]),(0,r.useEffect)((function(){return!o&&b&&R.current&&R.current.focus(),function(){}}),[R,b,o]);var H=(0,r.useCallback)((function(e){E?E(e):console.error(e)}),[E]),W=(0,r.useCallback)((function(e){e.preventDefault(),e.persist(),ne(e),B.current=[].concat(EM(B.current),[e.target]),gM(e)&&Promise.resolve(a(e)).then((function(t){if(!hM(e)||O){var n=t.length,r=n>0&&function(e){var t=e.files,n=e.accept,r=e.minSize,o=e.maxSize,a=e.multiple,i=e.maxFiles,l=e.validator;return!(!a&&t.length>1||a&&i>=1&&t.length>i)&&t.every((function(e){var t=tM(fM(e,n),1)[0],a=tM(pM(e,r,o),1)[0],i=l?l(e):null;return t&&a&&!i}))}({files:t,accept:_,minSize:l,maxSize:i,multiple:s,maxFiles:c,validator:C});D({isDragAccept:r,isDragReject:n>0&&!r,isDragActive:!0,type:"setDraggedFiles"}),u&&u(e)}})).catch((function(e){return H(e)}))}),[a,u,H,O,_,l,i,s,c,C]),$=(0,r.useCallback)((function(e){e.preventDefault(),e.persist(),ne(e);var t=gM(e);if(t&&e.dataTransfer)try{e.dataTransfer.dropEffect="copy"}catch(n){}return t&&f&&f(e),!1}),[f,O]),q=(0,r.useCallback)((function(e){e.preventDefault(),e.persist(),ne(e);var t=B.current.filter((function(e){return R.current&&R.current.contains(e)})),n=t.indexOf(e.target);-1!==n&&t.splice(n,1),B.current=t,t.length>0||(D({type:"setDraggedFiles",isDragActive:!1,isDragAccept:!1,isDragReject:!1}),gM(e)&&d&&d(e))}),[R,d,O]),V=(0,r.useCallback)((function(e,t){var n=[],r=[];e.forEach((function(e){var t=CM(fM(e,_),2),o=t[0],a=t[1],s=CM(pM(e,l,i),2),c=s[0],u=s[1],d=C?C(e):null;if(o&&c&&!d)n.push(e);else{var f=[a,u];d&&(f=f.concat(d)),r.push({file:e,errors:f.filter((function(e){return e}))})}})),(!s&&n.length>1||s&&c>=1&&n.length>c)&&(n.forEach((function(e){r.push({file:e,errors:[dM]})})),n.splice(0)),D({acceptedFiles:n,fileRejections:r,type:"setFiles"}),p&&p(n,r,t),r.length>0&&h&&h(r,t),n.length>0&&m&&m(n,t)}),[D,s,_,l,i,c,p,m,h,C]),G=(0,r.useCallback)((function(e){e.preventDefault(),e.persist(),ne(e),B.current=[],gM(e)&&Promise.resolve(a(e)).then((function(t){hM(e)&&!O||V(t,e)})).catch((function(e){return H(e)})),D({type:"reset"})}),[a,V,H,O]),K=(0,r.useCallback)((function(){if(F.current){D({type:"openDialog"}),j();var e={multiple:s,types:P};window.showOpenFilePicker(e).then((function(e){return a(e)})).then((function(e){V(e,null),D({type:"closeDialog"})})).catch((function(e){!function(e){return e instanceof DOMException&&("AbortError"===e.name||e.code===e.ABORT_ERR)}(e)?!function(e){return e instanceof DOMException&&("SecurityError"===e.name||e.code===e.SECURITY_ERR)}(e)?H(e):(F.current=!1,N.current?(N.current.value=null,N.current.click()):H(new Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no was provided."))):(T(e),D({type:"closeDialog"}))}))}else N.current&&(D({type:"openDialog"}),j(),N.current.value=null,N.current.click())}),[D,j,T,v,V,H,P,s]),Y=(0,r.useCallback)((function(e){R.current&&R.current.isEqualNode(e.target)&&(" "!==e.key&&"Enter"!==e.key&&32!==e.keyCode&&13!==e.keyCode||(e.preventDefault(),K()))}),[R,K]),X=(0,r.useCallback)((function(){D({type:"focus"})}),[]),Z=(0,r.useCallback)((function(){D({type:"blur"})}),[]),Q=(0,r.useCallback)((function(){x||(!function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator.userAgent;return function(e){return-1!==e.indexOf("MSIE")||-1!==e.indexOf("Trident/")}(e)||function(e){return-1!==e.indexOf("Edge/")}(e)}()?K():setTimeout(K,0))}),[x,K]),J=function(e){return o?null:e},ee=function(e){return k?null:J(e)},te=function(e){return S?null:J(e)},ne=function(e){O&&e.stopPropagation()},re=(0,r.useMemo)((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,n=void 0===t?"ref":t,r=e.role,a=e.onKeyDown,i=e.onFocus,l=e.onBlur,s=e.onClick,c=e.onDragEnter,u=e.onDragOver,d=e.onDragLeave,f=e.onDrop,p=NM(e,SM);return TM(TM(RM({onKeyDown:ee(vM(a,Y)),onFocus:ee(vM(i,X)),onBlur:ee(vM(l,Z)),onClick:J(vM(s,Q)),onDragEnter:te(vM(c,W)),onDragOver:te(vM(u,$)),onDragLeave:te(vM(d,q)),onDrop:te(vM(f,G)),role:"string"===typeof r&&""!==r?r:"presentation"},n,R),o||k?{}:{tabIndex:0}),p)}}),[R,Y,X,Z,Q,W,$,q,G,k,S,o]),oe=(0,r.useCallback)((function(e){e.stopPropagation()}),[]),ae=(0,r.useMemo)((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,n=void 0===t?"ref":t,r=e.onChange,o=e.onClick,a=NM(e,OM);return TM(TM({},RM({accept:_,multiple:s,type:"file",style:{display:"none"},onChange:J(vM(r,G)),onClick:J(vM(o,oe)),tabIndex:-1},n,N)),a)}}),[N,n,s,G,o]);return TM(TM({},I),{},{isFocused:L&&!o,getRootProps:re,getInputProps:ae,rootRef:R,inputRef:N,open:J(K)})}function zM(e,t){switch(t.type){case"focus":return TM(TM({},e),{},{isFocused:!0});case"blur":return TM(TM({},e),{},{isFocused:!1});case"openDialog":return TM(TM({},DM),{},{isFileDialogActive:!0});case"closeDialog":return TM(TM({},e),{},{isFileDialogActive:!1});case"setDraggedFiles":return TM(TM({},e),{},{isDragActive:t.isDragActive,isDragAccept:t.isDragAccept,isDragReject:t.isDragReject});case"setFiles":return TM(TM({},e),{},{acceptedFiles:t.acceptedFiles,fileRejections:t.fileRejections});case"reset":return TM({},DM);default:return e}}function FM(){}var MM=Object.defineProperty,BM=Object.defineProperties,UM=Object.getOwnPropertyDescriptors,HM=Object.getOwnPropertySymbols,WM=Object.prototype.hasOwnProperty,$M=Object.prototype.propertyIsEnumerable,qM=(e,t,n)=>t in e?MM(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,VM=(e,t)=>{for(var n in t||(t={}))WM.call(t,n)&&qM(e,n,t[n]);if(HM)for(var n of HM(t))$M.call(t,n)&&qM(e,n,t[n]);return e},GM=(e,t)=>BM(e,UM(t)),KM=fn((e=>({root:GM(VM({},e.fn.cover()),{display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden"})})));const YM=KM;var XM=Object.defineProperty,ZM=Object.defineProperties,QM=Object.getOwnPropertyDescriptors,JM=Object.getOwnPropertySymbols,eB=Object.prototype.hasOwnProperty,tB=Object.prototype.propertyIsEnumerable,nB=(e,t,n)=>t in e?XM(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,rB=(e,t)=>{for(var n in t||(t={}))eB.call(t,n)&&nB(e,n,t[n]);if(JM)for(var n of JM(t))tB.call(t,n)&&nB(e,n,t[n]);return e},oB=(e,t)=>ZM(e,QM(t));const aB={overlayOpacity:.75,transitionDuration:0,radius:0,zIndex:Fi("overlay")},iB=(0,r.forwardRef)(((e,t)=>{const n=Ht("LoadingOverlay",aB,e),{className:o,visible:a,loaderProps:i,overlayOpacity:l,overlayColor:s,transitionDuration:c,exitTransitionDuration:u,zIndex:d,style:f,loader:p,radius:m,overlayBlur:h,unstyled:g,variant:y,keepMounted:v}=n,b=((e,t)=>{var n={};for(var r in e)eB.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&JM)for(var r of JM(e))t.indexOf(r)<0&&tB.call(e,r)&&(n[r]=e[r]);return n})(n,["className","visible","loaderProps","overlayOpacity","overlayColor","transitionDuration","exitTransitionDuration","zIndex","style","loader","radius","overlayBlur","unstyled","variant","keepMounted"]),{classes:w,cx:x,theme:k}=YM(null,{name:"LoadingOverlay",unstyled:g,variant:y}),S="calc(".concat(d," + 1)");return r.createElement(eu,{keepMounted:v,duration:c,exitDuration:u,mounted:a,transition:"fade"},(e=>r.createElement(Mn,rB({className:x(w.root,o),style:oB(rB(rB({},e),f),{zIndex:d}),ref:t},b),p?r.createElement("div",{style:{zIndex:S}},p):r.createElement(eo,rB({style:{zIndex:S}},i)),r.createElement(d_,{opacity:l,zIndex:d,radius:m,blur:h,unstyled:g,color:s||("dark"===k.colorScheme?k.colors.dark[5]:k.white)}))))}));iB.displayName="@mantine/core/LoadingOverlay";const[lB,sB]=xd("Dropzone component was not found in tree");function cB(e){return"string"!==typeof e?"":e.charAt(0).toUpperCase()+e.slice(1)}var uB=Object.getOwnPropertySymbols,dB=Object.prototype.hasOwnProperty,fB=Object.prototype.propertyIsEnumerable;function pB(e){const t=t=>{const n=Ht("Dropzone".concat(cB(e)),{},t),{children:o}=n,a=((e,t)=>{var n={};for(var r in e)dB.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&uB)for(var r of uB(e))t.indexOf(r)<0&&fB.call(e,r)&&(n[r]=e[r]);return n})(n,["children"]),i=sB(),l=Ai(o)?o:r.createElement("span",null,o);return i[e]?(0,r.cloneElement)(l,a):null};return t.displayName="@mantine/dropzone/".concat(cB(e)),t}const mB=pB("accept"),hB=pB("reject"),gB=pB("idle");var yB=Object.defineProperty,vB=Object.defineProperties,bB=Object.getOwnPropertyDescriptors,wB=Object.getOwnPropertySymbols,xB=Object.prototype.hasOwnProperty,kB=Object.prototype.propertyIsEnumerable,SB=(e,t,n)=>t in e?yB(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,OB=(e,t)=>{for(var n in t||(t={}))xB.call(t,n)&&SB(e,n,t[n]);if(wB)for(var n of wB(t))kB.call(t,n)&&SB(e,n,t[n]);return e},EB=(e,t)=>vB(e,bB(t)),CB=fn(((e,t)=>{let{padding:n,radius:r}=t;const o=e.fn.variant({color:"red",variant:"light"}),a=e.fn.variant({color:e.primaryColor,variant:"light"});return{root:EB(OB(OB({},e.fn.fontStyles()),e.fn.focusStyles()),{boxSizing:"border-box",backgroundColor:"dark"===e.colorScheme?e.colors.dark[6]:e.white,border:"".concat(l(2)," dashed ").concat("dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[4]),padding:qe({size:n,sizes:e.spacing}),borderRadius:e.fn.radius(r),cursor:"pointer",userSelect:"none",transition:"background-color 150ms ease",position:"relative","&:hover":{backgroundColor:"dark"===e.colorScheme?e.colors.dark[5]:e.colors.gray[0]},"&[data-loading]":{cursor:"default","&:hover":{backgroundColor:"dark"===e.colorScheme?e.colors.dark[6]:e.white}},"&[data-accept]":{backgroundColor:"dark"===e.colorScheme?a.background:e.colors[e.primaryColor][0],borderColor:"dark"===e.colorScheme?a.border:e.colors[e.primaryColor][4],"&:hover":{backgroundColor:"dark"===e.colorScheme?a.background:e.colors[e.primaryColor][0]}},"&[data-reject]":{backgroundColor:"dark"===e.colorScheme?o.background:e.colors.red[0],borderColor:"dark"===e.colorScheme?o.border:e.colors.red[4],"&:hover":{backgroundColor:"dark"===e.colorScheme?o.background:e.colors.red[0]}}}),inner:{pointerEvents:"none",userSelect:"none"}}}));const _B=CB;var PB=Object.defineProperty,jB=Object.defineProperties,TB=Object.getOwnPropertyDescriptors,RB=Object.getOwnPropertySymbols,NB=Object.prototype.hasOwnProperty,AB=Object.prototype.propertyIsEnumerable,IB=(e,t,n)=>t in e?PB(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,DB=(e,t)=>{for(var n in t||(t={}))NB.call(t,n)&&IB(e,n,t[n]);if(RB)for(var n of RB(t))AB.call(t,n)&&IB(e,n,t[n]);return e},LB=(e,t)=>jB(e,TB(t)),zB=(e,t)=>{var n={};for(var r in e)NB.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&RB)for(var r of RB(e))t.indexOf(r)<0&&AB.call(e,r)&&(n[r]=e[r]);return n};const FB={padding:"md",loading:!1,multiple:!0,maxSize:1/0,autoFocus:!1,activateOnClick:!0,activateOnDrag:!0,dragEventsBubbling:!0,activateOnKeyboard:!0,useFsAccessApi:!0};function MB(e){const t=Ht("Dropzone",FB,e),{className:n,padding:o,radius:a,disabled:i,classNames:l,styles:s,loading:c,multiple:u,maxSize:d,accept:f,children:p,onDropAny:m,onDrop:h,onReject:g,openRef:y,name:v,unstyled:b,maxFiles:w,autoFocus:x,activateOnClick:k,activateOnDrag:S,dragEventsBubbling:O,activateOnKeyboard:E,onDragEnter:C,onDragLeave:_,onDragOver:P,onFileDialogCancel:j,onFileDialogOpen:T,preventDropOnDocument:R,useFsAccessApi:N,getFilesFromEvent:A,validator:I,variant:D}=t,L=zB(t,["className","padding","radius","disabled","classNames","styles","loading","multiple","maxSize","accept","children","onDropAny","onDrop","onReject","openRef","name","unstyled","maxFiles","autoFocus","activateOnClick","activateOnDrag","dragEventsBubbling","activateOnKeyboard","onDragEnter","onDragLeave","onDragOver","onFileDialogCancel","onFileDialogOpen","preventDropOnDocument","useFsAccessApi","getFilesFromEvent","validator","variant"]),{classes:z,cx:F}=_B({radius:a,padding:o},{name:"Dropzone",classNames:l,styles:s,unstyled:b,variant:D}),{getRootProps:M,getInputProps:B,isDragAccept:U,isDragReject:H,open:W}=LM(DB({onDrop:m,onDropAccepted:h,onDropRejected:g,disabled:i||c,accept:Array.isArray(f)?f.reduce(((e,t)=>LB(DB({},e),{[t]:[]})),{}):f,multiple:u,maxSize:d,maxFiles:w,autoFocus:x,noClick:!k,noDrag:!S,noDragEventsBubbling:!O,noKeyboard:!E,onDragEnter:C,onDragLeave:_,onDragOver:P,onFileDialogCancel:j,onFileDialogOpen:T,preventDropOnDocument:R,useFsAccessApi:N,validator:I},A?{getFilesFromEvent:A}:null));Ii(y,W);const $=!U&&!H;return r.createElement(lB,{value:{accept:U,reject:H,idle:$}},r.createElement(Mn,LB(DB(DB({},L),M()),{"data-accept":U||void 0,"data-reject":H||void 0,"data-idle":$||void 0,"data-loading":c||void 0,className:F(z.root,n)}),r.createElement(iB,{visible:c,radius:a,unstyled:b}),r.createElement("input",LB(DB({},B()),{name:v})),r.createElement("div",{className:z.inner},p)))}MB.displayName="@mantine/dropzone/Dropzone",MB.Accept=mB,MB.Reject=hB,MB.Idle=gB;const BB=MB;var UB=Object.defineProperty,HB=Object.defineProperties,WB=Object.getOwnPropertyDescriptors,$B=Object.getOwnPropertySymbols,qB=Object.prototype.hasOwnProperty,VB=Object.prototype.propertyIsEnumerable,GB=(e,t,n)=>t in e?UB(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,KB=(e,t)=>{for(var n in t||(t={}))qB.call(t,n)&&GB(e,n,t[n]);if($B)for(var n of $B(t))VB.call(t,n)&&GB(e,n,t[n]);return e},YB=(e,t)=>HB(e,WB(t)),XB=fn((e=>({wrapper:YB(KB({},e.fn.cover(0)),{position:"fixed",backgroundColor:"dark"===e.colorScheme?e.colors.dark[7]:e.white,display:"flex",padding:e.spacing.xs,transition:"opacity 100ms ease"}),dropzone:{flex:1}})));const ZB=XB;var QB=Object.defineProperty,JB=Object.defineProperties,eU=Object.getOwnPropertyDescriptors,tU=Object.getOwnPropertySymbols,nU=Object.prototype.hasOwnProperty,rU=Object.prototype.propertyIsEnumerable,oU=(e,t,n)=>t in e?QB(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,aU=(e,t)=>{for(var n in t||(t={}))nU.call(t,n)&&oU(e,n,t[n]);if(tU)for(var n of tU(t))rU.call(t,n)&&oU(e,n,t[n]);return e},iU=(e,t)=>JB(e,eU(t));const lU={padding:"md",loading:!1,multiple:!0,maxSize:1/0,autoFocus:!1,activateOnClick:!0,activateOnDrag:!0,dragEventsBubbling:!0,activateOnKeyboard:!0,active:!0,zIndex:Fi("max"),withinPortal:!0};function sU(e){const t=Ht("DropzoneFullScreen",lU,e),{classNames:n,styles:o,sx:a,className:i,style:l,unstyled:s,active:c,onDrop:u,onReject:d,zIndex:f,withinPortal:p,portalProps:m}=t,h=((e,t)=>{var n={};for(var r in e)nU.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&tU)for(var r of tU(e))t.indexOf(r)<0&&rU.call(e,r)&&(n[r]=e[r]);return n})(t,["classNames","styles","sx","className","style","unstyled","active","onDrop","onReject","zIndex","withinPortal","portalProps"]),[g,y]=r.useState(0),[v,{open:b,close:w}]=fj(!1),{classes:x,cx:k}=ZB(null,{name:"DropzoneFullScreen",classNames:n,styles:o,unstyled:s}),S=e=>{e.dataTransfer.types.includes("Files")&&(y((e=>e+1)),b())},O=()=>{y((e=>e-1))};return(0,r.useEffect)((()=>{0===g&&w()}),[g]),(0,r.useEffect)((()=>{if(c)return document.addEventListener("dragenter",S,!1),document.addEventListener("dragleave",O,!1),()=>{document.removeEventListener("dragenter",S,!1),document.removeEventListener("dragleave",O,!1)}}),[c]),r.createElement(yc,iU(aU({},m),{withinPortal:p}),r.createElement(Mn,{className:k(x.wrapper,i),sx:a,style:iU(aU({},l),{opacity:v?1:0,pointerEvents:v?"all":"none",zIndex:f})},r.createElement(MB,iU(aU({},h),{classNames:n,styles:o,unstyled:s,className:x.dropzone,onDrop:e=>{null==u||u(e),w()},onReject:e=>{null==d||d(e),w()}}))))}sU.displayName="@mantine/dropzone/DropzoneFullScreen",BB.FullScreen=sU;const cU=BB;var uU=Dh("x","IconX",[["path",{d:"M18 6l-12 12",key:"svg-0"}],["path",{d:"M6 6l12 12",key:"svg-1"}]]);async function dU(e){const t=Math.round(1e4*Math.random()),n="https://s3.amazonaws.com/lastmileai.aiconfig.public/",r="uploads/".concat(function(){const e=new Date,t="".concat(e.getFullYear(),"_").concat(e.getMonth()+1,"_").concat(e.getDate()),n="".concat(e.getUTCHours(),"_").concat(e.getUTCMinutes(),"_").concat(e.getUTCSeconds());return"".concat(t,"_").concat(n)}(),"/").concat(t,"/").concat(e.name.replace(/[_+]/g,"_"));const o=new FormData;o.append("key",r),o.append("acl","public-read"),o.append("Content-Type",e.type),o.append("success_action_status","201"),o.append("file",e);const a=await fetch(n,{method:"POST",mode:"cors",cache:"no-cache",body:o,headers:{Authorization:""}});if(a.ok&&201===a.status)return{url:"".concat(n).concat(r)};throw new Error("Error uploading to S3!")}function fU(e){return e.items.mime_types.join(", ")}const pU=(0,r.memo)((function(e){let{schema:t,onUploadAttachments:n,onCancel:o}=e;const[a,i]=(0,r.useState)([]),[l,s]=(0,r.useState)("idle"),[c,u]=(0,r.useState)(null),{readOnly:d}=(0,r.useContext)(Fh),f=t.items.max_size;return(0,Mh.jsxs)("div",{children:[("upload_error"===l||"dropzone_error"===l)&&c&&(0,Mh.jsx)(va,{size:"xs",color:"red",children:c}),(0,Mh.jsxs)(Vn,{display:"flex",children:[o&&(0,Mh.jsx)(_o,{onClick:o,children:(0,Mh.jsx)(Au,{label:"Cancel",children:(0,Mh.jsx)(uU,{size:16})})}),(0,Mh.jsx)(cU,{multiple:!0,onDrop:e=>{s("idle"),i(e),(async e=>{if("dropzone_error"===l)return;let t=[];try{var r;if(e.length>0&&(s("uploading"),t=await Promise.all(e.map((async e=>({url:(await dU(e)).url,mimeType:e.type}))))),!(null===(r=t[0])||void 0===r?void 0:r.url))throw new Error("Error uploading file");s("success");const o=t.map((e=>({data:{value:e.url,kind:"file_uri"},mime_type:e.mimeType})));n(o)}catch(o){s("upload_error");const e=o instanceof Error?o.message:"Error uploading file";u(e)}})(e)},onReject:e=>{var t,n,r,o;s("dropzone_error");const a=null===e||void 0===e||null===(t=e[0])||void 0===t||null===(n=t.file)||void 0===n?void 0:n.name,i=null===e||void 0===e||null===(r=e[0])||void 0===r||null===(o=r.errors)||void 0===o?void 0:o[0];u(function(e,t){let n="Failed to upload file".concat(t?" ".concat(t):"");return"file-too-large"===(null===e||void 0===e?void 0:e.code)?n+=": File too large. Please upload a smaller file":null!==e&&void 0!==e&&e.message&&(n+=": ".concat(e.message)),n}(i,a))},accept:t.items.mime_types,disabled:d,children:a.length>0?"".concat(a.length," File(s) Uploading..."):(0,Mh.jsxs)("div",{children:[(0,Mh.jsx)(pg,{order:4,children:"Upload File"}),(0,Mh.jsxs)(va,{fz:"sm",c:"dimmed",children:["Supported files: ",fU(t)]}),f&&(0,Mh.jsxs)(va,{fz:"sm",c:"dimmed",children:["Max file size: ",f,"MB"]})]})})]})]})}));function mU(e){let{schema:t,attachment:n,onUpdateAttachment:o,onAddAttachments:a,onRemoveAttachment:i}=e;const[l,s]=(0,r.useState)(null==(null===n||void 0===n?void 0:n.data)),{readOnly:c}=(0,r.useContext)(Fh);return(0,Mh.jsx)(Vn,{m:"xs",children:n&&!l?(0,Mh.jsx)(IF,{attachment:n,schema:t,onUpdateMetadata:e=>o({...n,metadata:e}),onRemoveAttachment:i,onEditAttachment:()=>s(!0)}):(0,Mh.jsx)(pU,{schema:t,onUploadAttachments:e=>{a(e),s(!1)},onCancel:n?()=>s(!1):void 0})})}const hU=(0,r.memo)((function(e){let{schema:t,onChangeAttachments:n,attachments:r=[]}=e;const o=(e,t)=>{const o=[...r];o[t]=e,n(o)},a=(e,t)=>{let o;o=t>r.length?[...r,...e]:r.reduce(((n,r,o)=>o===t?[...n,...e]:[...n,r]),[]),n(o)},i=r.length;return(0,Mh.jsxs)(Mh.Fragment,{children:[r.map(((e,i)=>(0,Mh.jsx)(mU,{attachment:e,schema:t,onUpdateAttachment:e=>o(e,i),onAddAttachments:e=>a(e,i),onRemoveAttachment:()=>(e=>{const t=[...r.slice(0,e),...r.slice(e+1)];n(t)})(i)},"".concat(JSON.stringify(e.data),"-").concat(i)))),(null==t.max_items||io(e,i+1),onAddAttachments:e=>a(e,i+1)},i)]})}));function gU(e){let{input:t,schema:n,onChangeInput:r}=e;const{data:o,attachments:a,...i}=n.properties;if("string"===typeof t)throw new Error("Expected input type object but got string");const{data:l,attachments:s,...c}=t;return(0,Mh.jsxs)(ja,{direction:"column",children:[o&&(0,Mh.jsx)(nF,{schema:o,data:l,onChangeData:e=>{r({...t,data:e})}}),a&&(0,Mh.jsx)(hU,{schema:a,onChangeAttachments:e=>{r({...t,attachments:e})},attachments:null!==s&&void 0!==s?s:[]})]})}const yU=(0,r.memo)((function(e){const{readOnly:t}=(0,r.useContext)(Fh);return"string"===e.schema.type?e.input&&"string"!==typeof e.input?(0,Mh.jsxs)(Mh.Fragment,{children:[(0,Mh.jsxs)(va,{color:"red",children:["Expected input type string. Toggle JSON editor to update. Set to",' ""'," in JSON editor and toggle back to reset."]}),(0,Mh.jsx)(Ez,{content:e.input})]}):t?(0,Mh.jsx)("div",{style:{padding:"0.5em"},children:(0,Mh.jsx)(tF,{maxHeight:200,showLabel:"Show more",hideLabel:"Hide",initialState:!1,transitionDuration:300,children:(0,Mh.jsx)(yE,{content:e.input})})}):(0,Mh.jsx)(Sh,{value:e.input,label:"Prompt",onChange:t=>e.onChangeInput(t.target.value),onKeyDown:t=>{"Enter"===t.key&&(t.shiftKey||t.ctrlKey)&&(t.preventDefault(),e.runPrompt())},placeholder:"Type a prompt",autosize:!0}):(0,Mh.jsx)(gU,{...e,schema:e.schema})})),vU=(0,r.memo)((function(e){let{input:t,onChangeInput:n,runPrompt:o}=e;const{readOnly:a}=(0,r.useContext)(Fh);return a?(0,Mh.jsx)("div",{style:{padding:"0.5em"},children:(0,Mh.jsx)(tF,{maxHeight:200,showLabel:"Show more",hideLabel:"Hide",initialState:!1,transitionDuration:300,children:(0,Mh.jsx)(yE,{content:t})})}):(0,Mh.jsx)(Sh,{label:"Prompt",value:t,onChange:e=>n(e.target.value),onKeyDown:e=>{"Enter"===e.key&&(e.shiftKey||e.ctrlKey)&&(e.preventDefault(),o())},disabled:a})})),bU={anyOf:[{type:"object",additionalProperties:{},properties:{data:{description:"Input to the model. This can represent a single input, or multiple inputs.\nThe structure of the data object is up to the ModelParser. Attachments field should be leveraged for non-text inputs (e.g. image, audio)."},attachments:{description:"Used to include non-text inputs (e.g. image, audio) of specified MIME types in the prompt",type:"array",items:{$ref:"#/definitions/Attachment"}}}},{type:"string"}],definitions:{Attachment:{description:"Data of specified MIME type to attach to a prompt",type:"object",required:["data"],properties:{mime_type:{description:"MIME type of the attachment. If not specified, the MIME type will be assumed to be text/plain.",type:"string"},data:{description:"Data representing the attachment"},metadata:{description:"Attachment metadata.",type:"object",additionalProperties:{}}}}}},wU=(0,r.memo)((function(e){let{input:t,onChangeInput:n}=e;const o=(0,r.useCallback)((e=>{n(e)}),[n]);return(0,Mh.jsx)(Ez,{content:t,onChange:o,schema:bU})}));var xU=Dh("player-stop","IconPlayerStop",[["path",{d:"M5 5m0 2a2 2 0 0 1 2 -2h10a2 2 0 0 1 2 2v10a2 2 0 0 1 -2 2h-10a2 2 0 0 1 -2 -2z",key:"svg-0"}]]),kU=Dh("player-play-filled","IconPlayerPlayFilled",[["path",{d:"M6 4v16a1 1 0 0 0 1.524 .852l13 -8a1 1 0 0 0 0 -1.704l-13 -8a1 1 0 0 0 -1.524 .852z",fill:"currentColor",key:"svg-0",strokeWidth:"0"}]]);const SU=(0,r.memo)((function(e){let{cancel:t,runPrompt:n,isRunning:o=!1,disabled:a=!1}=e;const{readOnly:i}=(0,r.useContext)(Fh),l=a||i,s=(0,Mh.jsx)(Ni,{onClick:async()=>o?await t():await n(),disabled:l,p:"xs",size:"xs",className:"runPromptButton ".concat(i?"runPromptButtonReadOnly":""),children:o?(0,Mh.jsxs)(ja,{align:"center",justify:"center",children:[(0,Mh.jsx)(eo,{style:{position:"absolute"},size:"xs",color:"white"}),(0,Mh.jsx)(xU,{fill:"white",size:14})]}):(0,Mh.jsx)(Mh.Fragment,{children:(0,Mh.jsx)(kU,{size:"16"})})});return l?i?s:(0,Mh.jsx)(Au,{label:"Can't run while another prompt is running",withArrow:!0,children:(0,Mh.jsx)("div",{children:s})}):s})),OU=fn((()=>({promptInputButtonWrapper:{marginLeft:"4px"},promptInputRendererWrapper:{width:"100%"}})));function EU(e){let{input:t,toggleJSONEditor:n,renderRunButton:r}=e;const{classes:o}=OU(),{resetBoundary:a}=Iz();return(0,Mh.jsxs)(Mh.Fragment,{children:[(0,Mh.jsxs)(ja,{direction:"column",children:[(0,Mh.jsxs)(va,{color:"red",size:"sm",children:["Invalid input format for model. Toggle JSON editor to update. Set to"," {}"," in JSON editor and toggle back to reset."]}),(0,Mh.jsxs)(ja,{children:[(0,Mh.jsx)("div",{className:o.promptInputRendererWrapper,children:(0,Mh.jsx)(Ez,{content:t})}),r()]})]}),(0,Mh.jsx)(ja,{justify:"flex-end",children:(0,Mh.jsx)(Tz,{isRawJSON:!1,setIsRawJSON:()=>{a(),n()}})})]})}const CU=(0,r.memo)((function(e){let{input:t,schema:n,onChangeInput:o,onCancelRun:a,onRunPrompt:i,isRunning:l=!1,isRunButtonDisabled:s=!1}=e;const{classes:c}=OU(),[u,d]=(0,r.useState)(!1),f=(0,Mh.jsx)(ja,{justify:"flex-end",children:(0,Mh.jsx)(Tz,{isRawJSON:u,setIsRawJSON:d})}),{showNotification:p}=(0,r.useContext)(yR),m=(0,r.useCallback)((async()=>{l?p({title:"Prompt already running",message:"Cannot run prompt while it is currently running. Click run button to cancel",type:"warning"}):s?p({title:"Another prompt is running",message:"Cannot run prompt while another prompt is running",type:"warning"}):await i()}),[s,l,i,p]),h=(0,Mh.jsx)("div",{className:c.promptInputButtonWrapper,children:(0,Mh.jsx)(SU,{isRunning:l,disabled:s,cancel:a,runPrompt:m})}),g=(0,Mh.jsxs)(ja,{children:[(0,Mh.jsx)("div",{className:c.promptInputRendererWrapper,children:n?(0,Mh.jsx)(yU,{input:t,schema:n,onChangeInput:o,runPrompt:m}):(0,Mh.jsx)(vU,{input:t,onChangeInput:o,runPrompt:m})}),h]});return(0,Mh.jsx)(Mh.Fragment,{children:u?(0,Mh.jsxs)(Mh.Fragment,{children:[(0,Mh.jsxs)(ja,{children:[(0,Mh.jsx)(wU,{input:t,onChangeInput:o}),h]}),(0,Mh.jsx)(ja,{justify:"flex-end",children:f})]}):(0,Mh.jsxs)(Az,{fallbackRender:()=>(0,Mh.jsx)(EU,{input:t,toggleJSONEditor:()=>d(!0),renderRunButton:()=>h}),children:[g,(0,Mh.jsx)(ja,{justify:"flex-end",children:f})]})})})),_U=(0,r.memo)((function(e){let{children:t,copyContent:n,output:o,withRawJSONToggle:a=!1}=e;const[i,l]=(0,r.useState)(!1);return(0,Mh.jsxs)(Mh.Fragment,{children:[(0,Mh.jsxs)(ja,{justify:"flex-end",children:[n&&(0,Mh.jsx)(AE,{value:n}),a&&(0,Mh.jsx)(Au,{label:"Toggle raw JSON",withArrow:!0,children:(0,Mh.jsx)(_o,{onClick:()=>l((e=>!e)),children:i?(0,Mh.jsx)(jz,{size:"1rem"}):(0,Mh.jsx)(wE,{size:"1rem"})})})]}),i?(0,Mh.jsx)(Ez,{content:o}):(0,Mh.jsx)(Mh.Fragment,{children:t})]})}));function PU(e){let{output:t}=e;return(0,Mh.jsx)(ja,{direction:"column",children:(0,Mh.jsxs)(Xo,{color:"red",title:t.ename,children:[(0,Mh.jsx)(yE,{content:t.evalue}),(0,Mh.jsx)(yE,{content:t.traceback.join("\n")})]})})}const jU=(0,r.memo)((function(e){let{output:t}=e;if(null==t.data)return(0,Mh.jsx)(Ez,{content:t});if("string"===typeof t.data)return(0,Mh.jsx)(_U,{copyContent:t.data,output:t,withRawJSONToggle:!0,children:(0,Mh.jsx)(yE,{content:t.data})});if("object"===typeof t.data&&!Array.isArray(t.data)&&Object.prototype.hasOwnProperty.call(t.data,"kind"))switch(t.data.kind){case"file_uri":return(0,Mh.jsx)(_U,{copyContent:t.data.value,output:t,withRawJSONToggle:!0,children:(0,Mh.jsx)(AF,{mimeType:t.mime_type,content:t.data.value})});case"base64":return(0,Mh.jsx)(_U,{copyContent:t.data.value,output:t,withRawJSONToggle:!0,children:(0,Mh.jsx)(AF,{mimeType:t.mime_type,content:"data:".concat(t.mime_type,";base64, ").concat(t.data.value)})});default:return(0,Mh.jsx)(Ez,{content:t.data.value})}return(0,Mh.jsx)(Ez,{content:t.data})})),TU=(0,r.memo)((function(e){let{output:t}=e;switch(t.output_type){case"execute_result":return(0,Mh.jsx)(jU,{output:t});case"error":return(0,Mh.jsx)(PU,{output:t})}})),RU=(0,r.memo)((function(e){let{outputs:t}=e;return(0,Mh.jsx)(ja,{direction:"column",className:"outputContainer",children:t.map(((e,t)=>(0,Mh.jsx)(TU,{output:e},t)))})})),NU=(0,r.createContext)({padding:0}),AU=NU.Provider;var IU=fn(((e,t)=>{let{padding:n,withBorder:r,inheritPadding:o}=t;const a=qe({size:n,sizes:e.spacing}),i="calc(-1 * ".concat(a,")"),s="dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[3];return{cardSection:{display:"block",marginLeft:i,marginRight:i,paddingLeft:o?a:void 0,paddingRight:o?a:void 0,borderTop:r?"".concat(l(1)," solid ").concat(s):void 0,borderBottom:r?"".concat(l(1)," solid ").concat(s):void 0,"& + &":{borderTop:0},"&[data-first]":{marginTop:i,borderTop:0,borderBottom:r?"".concat(l(1)," solid ").concat(s):void 0},"&[data-last]":{marginBottom:i,borderBottom:0}}}}));const DU=IU;var LU=Object.defineProperty,zU=Object.getOwnPropertySymbols,FU=Object.prototype.hasOwnProperty,MU=Object.prototype.propertyIsEnumerable,BU=(e,t,n)=>t in e?LU(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const UU={withBorder:!1,inheritPadding:!1},HU=(0,r.forwardRef)(((e,t)=>{const n=Ht("CardSection",UU,e),{className:o,withBorder:a,inheritPadding:i,unstyled:l,variant:s}=n,c=((e,t)=>{var n={};for(var r in e)FU.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&zU)for(var r of zU(e))t.indexOf(r)<0&&MU.call(e,r)&&(n[r]=e[r]);return n})(n,["className","withBorder","inheritPadding","unstyled","variant"]),{classes:u,cx:d}=DU({padding:(0,r.useContext)(NU).padding,withBorder:a,inheritPadding:i},{name:"Card",unstyled:l,variant:s});return r.createElement(Mn,((e,t)=>{for(var n in t||(t={}))FU.call(t,n)&&BU(e,n,t[n]);if(zU)for(var n of zU(t))MU.call(t,n)&&BU(e,n,t[n]);return e})({className:d(u.cardSection,o),ref:t},c))}));HU.displayName="@mantine/core/CardSection";const WU=HU;var $U=fn((e=>({root:{position:"relative",overflow:"hidden",backgroundColor:"dark"===e.colorScheme?e.colors.dark[6]:e.white}})));const qU=$U;var VU=Object.defineProperty,GU=Object.getOwnPropertySymbols,KU=Object.prototype.hasOwnProperty,YU=Object.prototype.propertyIsEnumerable,XU=(e,t,n)=>t in e?VU(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const ZU={padding:"md"},QU=(0,r.forwardRef)(((e,t)=>{const n=Ht("Card",ZU,e),{className:o,padding:a,radius:i,children:l,unstyled:s,variant:c}=n,u=((e,t)=>{var n={};for(var r in e)KU.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&GU)for(var r of GU(e))t.indexOf(r)<0&&YU.call(e,r)&&(n[r]=e[r]);return n})(n,["className","padding","radius","children","unstyled","variant"]),{classes:d,cx:f}=qU(null,{name:"Card",unstyled:s,variant:c}),p=r.Children.toArray(l),m=p.map(((e,t)=>"object"===typeof e&&e&&"type"in e&&e.type===WU?(0,r.cloneElement)(e,{variant:c,padding:a,"data-first":0===t||void 0,"data-last":t===p.length-1||void 0}):e));return r.createElement(AU,{value:{padding:a}},r.createElement(U_,((e,t)=>{for(var n in t||(t={}))KU.call(t,n)&&XU(e,n,t[n]);if(GU)for(var n of GU(t))YU.call(t,n)&&XU(e,n,t[n]);return e})({className:f(d.root,o),radius:i,p:a,ref:t},u),m))}));QU.Section=WU,QU.displayName="@mantine/core/Card";const JU=QU,eH=(0,r.memo)((function(){return(0,Mh.jsxs)(ja,{direction:"column",mt:"0.5em",children:[(0,Mh.jsx)(MR,{size:"sm",className:"divider"}),(0,Mh.jsx)(va,{color:"dimmed",size:"xs",className:"monoFont",children:"Output"})]})})),tH=(0,r.memo)((function(e){let{promptId:t,name:n,onUpdate:o}=e;const{getState:a,readOnly:i}=(0,r.useContext)(Fh),[l,s]=(0,r.useState)(n);return(0,Mh.jsx)(Zm,{value:l,label:"Prompt Name",className:"ghost",variant:"unstyled",placeholder:"Name this prompt",onChange:e=>{s(e.currentTarget.value),o(e.currentTarget.value)},disabled:i,error:a().prompts.some((e=>e.name===l&&e._ui.id!==t))?"Name already exists":null})})),nH=(0,r.memo)((function(e){let{prompt:t,getModels:n,onSetModel:o,defaultConfigModelName:a}=e;const{mode:i}=(0,r.useContext)(Fh),{readOnly:l}=(0,r.useContext)(Fh),[s,c]=(0,r.useState)(ud(t,a)),[u,d]=(0,r.useState)(!0),[f,p]=(0,r.useState)(ud(t,a)),m=vR(u?"":null!==f&&void 0!==f?f:"",n),h=e=>{c(e),o(e)};return(0,Mh.jsx)(zN,{placeholder:"Select ".concat("gradio"===i?"task":"model"),limit:100,className:"ghost",label:"gradio"===i?"Hugging Face Task":"Model",variant:"unstyled",maxDropdownHeight:200,disabled:l,rightSection:s?(0,Mh.jsx)(Ni,{size:"xs",variant:"subtle",className:"ghost",mr:10,onClick:()=>{h(void 0),d(!0),p("")},children:(0,Mh.jsx)(uU,{size:10})}):null,filter:(e,t)=>{if(u)return!0;return t.value.toLocaleLowerCase().includes(e.toLocaleLowerCase().trim())},data:m,value:f,onChange:e=>{p(e),d(!1),h(e),m.some((t=>{if(t===e)return d(!0),!0}))}})})),rH=new Map,oH=(0,r.memo)((function(e){let{prompt:t,cancel:n,getModels:o,onChangePromptInput:a,onChangePromptName:i,defaultConfigModelName:l,onRunPrompt:s,onUpdateModel:c,onUpdateModelSettings:u,onUpdateParameters:d,onUpdatePromptMetadata:f,isRunButtonDisabled:p=!1}=e;const m=t._ui.id,h=(0,r.useCallback)((e=>a(m,e)),[m,a]),g=(0,r.useCallback)((e=>i(m,e)),[m,i]),y=(0,r.useCallback)((e=>u(m,e)),[m,u]),v=(0,r.useCallback)((e=>d(m,e)),[m,d]),b=(0,r.useCallback)((e=>f(m,e)),[m,f]),w=(0,r.useCallback)((async()=>await s(m)),[m,s]),x=(0,r.useCallback)((async()=>{if(n)return t._ui.cancellationToken?await n(t._ui.cancellationToken):void console.log("Warning: No cancellation token found for prompt: ".concat(t.name))}),[t.name,t._ui.cancellationToken,n]),k=(0,r.useCallback)((e=>c(m,e)),[m,c]),S=(0,r.useRef)(null),O=(0,r.useMemo)((()=>(0,Uu.debounce)((e=>{if(e.length>0){const t=e[0].target.getBoundingClientRect().height;rH.set(m,t)}}),qh)),[m]);(0,r.useEffect)((()=>{if(!S.current)return;const e=new ResizeObserver(O);return e.observe(S.current),()=>e.disconnect()}),[O]);const E=fd(t,l),C=null===E||void 0===E?void 0:E.input;return(0,Mh.jsxs)(ja,{justify:"space-between",w:"100%",children:[(0,Mh.jsx)(JU,{withBorder:!0,className:"cellStyle",ref:S,children:(0,Mh.jsxs)(ja,{direction:"column",children:[(0,Mh.jsxs)(ja,{justify:"space-between",mb:"0.5em",children:[(0,Mh.jsx)(tH,{promptId:m,name:t.name,onUpdate:g}),(0,Mh.jsx)(nH,{getModels:o,prompt:t,onSetModel:k,defaultConfigModelName:l})]}),(0,Mh.jsx)(CU,{input:t.input,schema:C,onChangeInput:h,onCancelRun:x,onRunPrompt:w,isRunning:t._ui.isRunning,isRunButtonDisabled:p}),t.outputs&&t.outputs.length>0&&(0,Mh.jsxs)(Mh.Fragment,{children:[(0,Mh.jsx)(eH,{}),(0,Mh.jsx)(RU,{outputs:t.outputs})]})]})}),(0,Mh.jsx)("div",{className:"sidePanel",children:(0,Mh.jsx)(Vz,{defaultConfigModelName:l,prompt:t,promptSchema:E,onUpdateModelSettings:y,onUpdateParameters:v,onUpdatePromptMetadata:b})})]})})),aH=fn((e=>({promptsContainer:{[e.fn.smallerThan("sm")]:{padding:"0 0 200px 0"},paddingBottom:400}}))),iH=(0,r.memo)((function(e){const{classes:t}=aH(),{readOnly:n}=(0,r.useContext)(Fh);return(0,Mh.jsxs)("div",{className:"".concat(t.promptsContainer," promptsContainer"),children:[!n&&(0,Mh.jsx)(xR,{getModels:e.getModels,addPrompt:t=>e.onAddPrompt(0,t)}),e.prompts.map(((t,r)=>{const o=void 0!==e.runningPromptId&&e.runningPromptId!==t._ui.id;return(0,Mh.jsxs)(gp,{children:[(0,Mh.jsxs)(ja,{mt:"md",children:[!n&&(0,Mh.jsx)(OR,{promptId:t._ui.id,onDeletePrompt:()=>e.onDeletePrompt(t._ui.id)}),(0,Mh.jsx)(oH,{prompt:t,getModels:e.getModels,onChangePromptInput:e.onChangePromptInput,onChangePromptName:e.onChangePromptName,cancel:e.cancelRunPrompt,onRunPrompt:e.onRunPrompt,onUpdateModel:e.onUpdatePromptModel,onUpdateModelSettings:e.onUpdatePromptModelSettings,onUpdateParameters:e.onUpdatePromptParameters,onUpdatePromptMetadata:e.onUpdatePromptMetadata,defaultConfigModelName:e.defaultModel,isRunButtonDisabled:o})]}),!n&&(0,Mh.jsx)(xR,{getModels:e.getModels,addPrompt:t=>e.onAddPrompt(r+1,t)})]},t._ui.id)}))]})}));const lH="undefined"!==typeof window?r.useLayoutEffect:r.useEffect;const[sH,cH]=function(e){return[function(t){const n=Object.keys(t).reduce(((n,r)=>(n["".concat(e,":").concat(r)]=e=>t[r](e.detail),n)),{});lH((()=>(Object.keys(n).forEach((e=>{window.removeEventListener(e,n[e]),window.addEventListener(e,n[e])})),()=>Object.keys(n).forEach((e=>{window.removeEventListener(e,n[e])})))),[n])},function(t){return function(){return n="".concat(e,":").concat(String(t)),r=arguments.length<=0?void 0:arguments[0],void window.dispatchEvent(new CustomEvent(n,{detail:r}));var n,r}}]}("mantine-notifications"),uH=cH("show"),dH=cH("hide"),fH=cH("clean"),pH=cH("cleanQueue"),mH=cH("update"),hH={show:uH,hide:dH,clean:fH,cleanQueue:pH,update:mH};function gH(e,t){return gH=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},gH(e,t)}function yH(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,gH(e,t)}const vH=!1,bH=r.createContext(null);var wH="unmounted",xH="exited",kH="entering",SH="entered",OH="exiting",EH=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var o,a=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?a?(o=xH,r.appearStatus=kH):o=SH:o=t.unmountOnExit||t.mountOnEnter?wH:xH,r.state={status:o},r.nextCallback=null,r}yH(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===wH?{status:xH}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==kH&&n!==SH&&(t=kH):n!==kH&&n!==SH||(t=OH)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!==typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){void 0===e&&(e=!1),null!==t?(this.cancelNextCallback(),t===kH?this.performEnter(e):this.performExit()):this.props.unmountOnExit&&this.state.status===xH&&this.setState({status:wH})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,o=this.props.nodeRef?[r]:[Mi.findDOMNode(this),r],a=o[0],i=o[1],l=this.getTimeouts(),s=r?l.appear:l.enter;!e&&!n||vH?this.safeSetState({status:SH},(function(){t.props.onEntered(a)})):(this.props.onEnter(a,i),this.safeSetState({status:kH},(function(){t.props.onEntering(a,i),t.onTransitionEnd(s,(function(){t.safeSetState({status:SH},(function(){t.props.onEntered(a,i)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:Mi.findDOMNode(this);t&&!vH?(this.props.onExit(r),this.safeSetState({status:OH},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:xH},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:xH},(function(){e.props.onExited(r)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:Mi.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],a=o[0],i=o[1];this.props.addEndListener(a,i)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===wH)return null;var t=this.props,n=t.children,o=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,Qm(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return r.createElement(bH.Provider,{value:null},"function"===typeof n?n(e,o):r.cloneElement(r.Children.only(n),o))},t}(r.Component);function CH(){}EH.contextType=bH,EH.propTypes={},EH.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:CH,onEntering:CH,onEntered:CH,onExit:CH,onExiting:CH,onExited:CH},EH.UNMOUNTED=wH,EH.EXITED=xH,EH.ENTERING=kH,EH.ENTERED=SH,EH.EXITING=OH;const _H=EH;function PH(e,t){var n=Object.create(null);return e&&r.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&(0,r.isValidElement)(e)?t(e):e}(e)})),n}function jH(e,t,n){return null!=n[t]?n[t]:e.props[t]}function TH(e,t,n){var o=PH(e.children),a=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,o=Object.create(null),a=[];for(var i in e)i in t?a.length&&(o[i]=a,a=[]):a.push(i);var l={};for(var s in t){if(o[s])for(r=0;r(e+1)%1e6;const DH=function(e,t){let[n,r]=e;const o={};return"top"===n&&(o.top=t),"bottom"===n&&(o.bottom=t),"left"===r&&(o.left=t),"right"===r&&(o.right=t),"center"===r&&(o.left="50%",o.transform="translateX(-50%)"),o};var LH=Object.defineProperty,zH=Object.getOwnPropertySymbols,FH=Object.prototype.hasOwnProperty,MH=Object.prototype.propertyIsEnumerable,BH=(e,t,n)=>t in e?LH(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,UH=(e,t)=>{for(var n in t||(t={}))FH.call(t,n)&&BH(e,n,t[n]);if(zH)for(var n of zH(t))MH.call(t,n)&&BH(e,n,t[n]);return e};const HH={left:"translateX(-100%)",right:"translateX(100%)","top-center":"translateY(-100%)","bottom-center":"translateY(100%)"},WH={left:"translateX(0)",right:"translateX(0)","top-center":"translateY(0)","bottom-center":"translateY(0)"};const $H=function(e){let{state:t,maxHeight:n,positioning:r,transitionDuration:o}=e;const[a,i]=r,l="center"===i?"".concat(a,"-center"):i,s={opacity:0,maxHeight:n,transform:HH[l],transitionDuration:"".concat(o,"ms, ").concat(o,"ms, ").concat(o,"ms"),transitionTimingFunction:"cubic-bezier(.51,.3,0,1.21), cubic-bezier(.51,.3,0,1.21), linear",transitionProperty:"opacity, transform, max-height"},c={opacity:1,transform:WH[l]},u={opacity:0,maxHeight:0,transform:HH[l]},d={entering:c,entered:c,exiting:u,exited:u};return UH(UH({},s),d[t])};var qH=fn(((e,t)=>{let{color:n,radius:r,withTitle:o}=t;const a=e.fn.radius(r),i=e.fn.variant({variant:"filled",color:n});return{closeButton:e.fn.hover({backgroundColor:"dark"===e.colorScheme?e.colors.dark[8]:e.colors.gray[0]}),icon:{boxSizing:"border-box",marginRight:e.spacing.md,width:l(28),height:l(28),borderRadius:l(28),display:"flex",flex:"none",alignItems:"center",justifyContent:"center",backgroundColor:i.background,color:e.white},root:{overflow:"hidden",boxSizing:"border-box",position:"relative",display:"flex",alignItems:"center",paddingLeft:l(22),paddingRight:e.spacing.xs,paddingTop:e.spacing.xs,paddingBottom:e.spacing.xs,borderRadius:a,backgroundColor:"dark"===e.colorScheme?e.colors.dark[6]:e.white,boxShadow:e.shadows.lg,"&::before":{content:'""',display:"block",position:"absolute",width:l(6),top:a,bottom:a,left:l(4),borderRadius:a,backgroundColor:i.background},"&[data-with-icon]":{paddingLeft:e.spacing.xs,"&::before":{display:"none"}},"&[data-with-border]":{border:"".concat(l(1)," solid ").concat("dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[3])}},body:{flex:1,overflow:"hidden",marginRight:e.spacing.xs},loader:{marginRight:e.spacing.md},title:{lineHeight:1.4,marginBottom:l(2),overflow:"hidden",textOverflow:"ellipsis",color:"dark"===e.colorScheme?e.white:e.colors.gray[9]},description:{color:o?"dark"===e.colorScheme?e.colors.dark[2]:e.colors.gray[6]:"dark"===e.colorScheme?e.colors.dark[0]:e.black,lineHeight:1.4,overflow:"hidden",textOverflow:"ellipsis"}}}));const VH=qH;var GH=Object.defineProperty,KH=Object.defineProperties,YH=Object.getOwnPropertyDescriptors,XH=Object.getOwnPropertySymbols,ZH=Object.prototype.hasOwnProperty,QH=Object.prototype.propertyIsEnumerable,JH=(e,t,n)=>t in e?GH(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,eW=(e,t)=>{for(var n in t||(t={}))ZH.call(t,n)&&JH(e,n,t[n]);if(XH)for(var n of XH(t))QH.call(t,n)&&JH(e,n,t[n]);return e};const tW={withCloseButton:!0},nW=(0,r.forwardRef)(((e,t)=>{const n=Ht("Notification",tW,e),{className:o,color:a,radius:i,loading:l,withCloseButton:s,withBorder:c,title:u,icon:d,children:f,onClose:p,closeButtonProps:m,classNames:h,styles:g,unstyled:y,variant:v}=n,b=((e,t)=>{var n={};for(var r in e)ZH.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&XH)for(var r of XH(e))t.indexOf(r)<0&&QH.call(e,r)&&(n[r]=e[r]);return n})(n,["className","color","radius","loading","withCloseButton","withBorder","title","icon","children","onClose","closeButtonProps","classNames","styles","unstyled","variant"]),{classes:w,cx:x}=VH({color:a,radius:i,withTitle:!!u},{name:"Notification",classNames:h,styles:g,unstyled:y,variant:v});return r.createElement(Mn,eW({className:x(w.root,o),"data-with-icon":!!d||l||void 0,"data-with-border":c||void 0,role:"alert",ref:t},b),d&&!l&&r.createElement("div",{className:w.icon},d),l&&r.createElement(eo,{size:28,color:a,className:w.loader}),r.createElement("div",{className:w.body},u&&r.createElement(va,{className:w.title,size:"sm",weight:500},u),r.createElement(va,{color:"dimmed",className:w.description,size:"sm"},f)),s&&r.createElement(Wo,((e,t)=>KH(e,YH(t)))(eW({iconSize:16,color:"gray"},m),{onClick:p,className:w.closeButton})))}));nW.displayName="@mantine/core/Notification";const rW=function(e,t){return"number"===typeof t?t:!1!==t&&!1!==e&&e};var oW=Object.defineProperty,aW=Object.defineProperties,iW=Object.getOwnPropertyDescriptors,lW=Object.getOwnPropertySymbols,sW=Object.prototype.hasOwnProperty,cW=Object.prototype.propertyIsEnumerable,uW=(e,t,n)=>t in e?oW(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,dW=(e,t)=>{for(var n in t||(t={}))sW.call(t,n)&&uW(e,n,t[n]);if(lW)for(var n of lW(t))cW.call(t,n)&&uW(e,n,t[n]);return e},fW=(e,t)=>{var n={};for(var r in e)sW.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&lW)for(var r of lW(e))t.indexOf(r)<0&&cW.call(e,r)&&(n[r]=e[r]);return n};function pW(e){var t=e,{notification:n,autoClose:o,onHide:a,innerRef:i}=t,l=fW(t,["notification","autoClose","onHide","innerRef"]);const s=n,{autoClose:c,message:u}=s,d=fW(s,["autoClose","message"]),f=rW(o,c),p=(0,r.useRef)(),m=()=>{a(n.id),window.clearTimeout(p.current)},h=()=>{clearTimeout(p.current)},g=()=>{"number"===typeof f&&(p.current=window.setTimeout(m,f))};return(0,r.useEffect)((()=>{"function"===typeof n.onOpen&&n.onOpen(n)}),[]),(0,r.useEffect)((()=>(g(),h)),[o,n.autoClose]),r.createElement(nW,((e,t)=>aW(e,iW(t)))(dW(dW({},d),l),{onClose:m,onMouseEnter:h,onMouseLeave:g,ref:i}),u)}pW.displayName="@mantine/notifications/NotificationContainer";const mW=pW;var hW=fn(((e,t)=>{let{zIndex:n}=t;return{notifications:{width:"calc(100% - ".concat(e.spacing.md," * 2)"),boxSizing:"border-box",position:"fixed",zIndex:n},notification:{"&:not(:first-of-type)":{marginTop:e.spacing.sm}}}}));const gW=hW;var yW=Object.defineProperty,vW=Object.defineProperties,bW=Object.getOwnPropertyDescriptors,wW=Object.getOwnPropertySymbols,xW=Object.prototype.hasOwnProperty,kW=Object.prototype.propertyIsEnumerable,SW=(e,t,n)=>t in e?yW(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,OW=(e,t)=>{for(var n in t||(t={}))xW.call(t,n)&&SW(e,n,t[n]);if(wW)for(var n of wW(t))kW.call(t,n)&&SW(e,n,t[n]);return e},EW=(e,t)=>vW(e,bW(t));const CW=function(e){let{limit:t}=e;const{state:n,queue:o,update:a,cleanQueue:i}=function(e){let{initialValues:t=[],limit:n}=e;const[{state:o,queue:a},i]=(0,r.useState)({state:t.slice(0,n),queue:t.slice(n)});return{state:o,queue:a,add:function(){for(var e=arguments.length,t=new Array(e),r=0;r{const r=[...e.state,...e.queue,...t];return{state:r.slice(0,n),queue:r.slice(n)}}))},update:e=>i((t=>{const r=e([...t.state,...t.queue]);return{state:r.slice(0,n),queue:r.slice(n)}})),cleanQueue:()=>i((e=>({state:e.state,queue:[]})))}}({initialValues:[],limit:t});return{notifications:n,queue:o,showNotification:e=>{const t=e.id||Yn();return a((n=>e.id&&n.some((t=>t.id===e.id))?n:[...n,EW(OW({},e),{id:t})])),t},updateNotification:e=>a((t=>{const n=t.findIndex((t=>t.id===e.id));if(-1===n)return t;const r=[...t];return r[n]=e,r})),hideNotification:e=>a((t=>t.filter((t=>t.id!==e||("function"===typeof t.onClose&&t.onClose(t),!1))))),cleanQueue:i,clean:()=>a((()=>[]))}};var _W=Object.defineProperty,PW=Object.getOwnPropertySymbols,jW=Object.prototype.hasOwnProperty,TW=Object.prototype.propertyIsEnumerable,RW=(e,t,n)=>t in e?_W(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,NW=(e,t)=>{for(var n in t||(t={}))jW.call(t,n)&&RW(e,n,t[n]);if(PW)for(var n of PW(t))TW.call(t,n)&&RW(e,n,t[n]);return e};const AW=["top-left","top-right","top-center","bottom-left","bottom-right","bottom-center"],IW=e=>{var t=e,{className:n,position:o="bottom-right",autoClose:a=4e3,transitionDuration:i=250,containerWidth:s=l(440),notificationMaxHeight:c=l(200),limit:u=5,zIndex:d=Fi("overlay"),style:f,children:p,target:m}=t,h=((e,t)=>{var n={};for(var r in e)jW.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&PW)for(var r of PW(e))t.indexOf(r)<0&&TW.call(e,r)&&(n[r]=e[r]);return n})(t,["className","position","autoClose","transitionDuration","containerWidth","notificationMaxHeight","limit","zIndex","style","children","target"]);const g=function(){const[,e]=(0,r.useReducer)(IH,0);return e}(),y=(0,r.useRef)({}),v=(0,r.useRef)(0),{notifications:b,showNotification:w,updateNotification:x,hideNotification:k,clean:S,cleanQueue:O}=CW({limit:u}),{classes:E,cx:C,theme:_}=gW({zIndex:d}),P=Qc(),j=!!_.respectReducedMotion&&P?1:i,T=(AW.includes(o)?o:"bottom-right").split("-");jc((()=>{b.length>v.current&&setTimeout((()=>g()),0),v.current=b.length}),[b]),sH({show:w,hide:k,update:x,clean:S,cleanQueue:O});const R=b.map((e=>r.createElement(_H,{key:e.id,timeout:j,onEnter:()=>y.current[e.id].offsetHeight,nodeRef:{current:y.current[e.id]}},(t=>r.createElement(mW,{innerRef:t=>{y.current[e.id]=t},notification:e,onHide:k,className:E.notification,autoClose:a,sx:[NW({},$H({state:t,positioning:T,transitionDuration:j,maxHeight:c})),...Array.isArray(e.sx)?e.sx:[e.sx]]})))));return r.createElement(cc,{target:m},r.createElement(Mn,NW({className:C(E.notifications,n),style:f,sx:NW({maxWidth:s},DH(T,_.spacing.md))},h),r.createElement(AH,null,R)))};IW.displayName="@mantine/notifications/Notifications",IW.show=hH.show,IW.hide=hH.hide,IW.update=hH.update,IW.clean=hH.clean,IW.cleanQueue=hH.cleanQueue;const DW={info:"blue",success:"green",warning:"yellow",error:"red"};function LW(e){let{children:t,showNotification:n}=e;const o=(0,r.useCallback)((e=>{var t;return uH({...e,color:DW[null!==(t=e.type)&&void 0!==t?t:"info"]})}),[]),a=(0,r.useMemo)((()=>({showNotification:null!==n&&void 0!==n?n:o})),[o,n]);return(0,Mh.jsxs)(yR.Provider,{value:a,children:[!n&&(0,Mh.jsx)(IW,{}),t]})}function zW(e){var t,n;let{aiconfig:o,callbacks:a,mode:i,readOnly:l=!1}=e;const[s,c]=(0,r.useState)(!1),[u,d]=(0,r.useState)("OK"),[f,p]=(0,r.useReducer)(yd,$u(o)),[m,h]=(0,r.useState)(o);m!==o&&(h(o),p({type:"PROVIDED_AICONFIG_UPDATE",config:o}));const{showNotification:g}=(0,r.useContext)(yR),y=(0,r.useRef)(f);y.current=f;const v=null===a||void 0===a?void 0:a.logEventHandler,b=null===a||void 0===a?void 0:a.download,w=null===a||void 0===a?void 0:a.openInTextEditor,x=(0,r.useCallback)((async()=>{if(b)try{await b(),null===v||void 0===v||v("DOWNLOAD_BUTTON_CLICKED")}catch(bK){var e;const n=null!==(e=bK.message)&&void 0!==e?e:null;g({title:"Error downloading AIConfig",message:n,type:"error"})}}),[b,v,g]),k=null===a||void 0===a?void 0:a.share,S=(0,r.useCallback)((async()=>{if(k)try{const{share_url:e}=await k();return null===v||void 0===v||v("SHARE_BUTTON_CLICKED"),e}catch(bK){var e;const n=null!==(e=bK.message)&&void 0!==e?e:null;g({title:"Error sharing AIConfig",message:n,type:"error"})}}),[v,k,g]),O=null===a||void 0===a?void 0:a.save,E=(0,r.useCallback)((async()=>{if(O){c(!0);try{await O(Wu(y.current)),p({type:"SAVE_CONFIG_SUCCESS"})}catch(bK){var e;const n=null!==(e=bK.message)&&void 0!==e?e:null;g({title:"Error saving",message:n,type:"error"})}finally{c(!1)}}}),[O,g]),C=null===a||void 0===a?void 0:a.updatePrompt,_=(0,r.useMemo)((()=>{if(C)return(0,Uu.debounce)((async(e,t,n)=>{try{const o=await C(e,t);var r;if(null!==o&&void 0!==o&&o.aiconfig)null===n||void 0===n||null===(r=n.onSuccess)||void 0===r||r.call(n,o.aiconfig)}catch(bK){var o;null===n||void 0===n||null===(o=n.onError)||void 0===o||o.call(n,bK)}}),qh)}),[C]),P=(0,r.useCallback)((async(e,t)=>{if(!_)return;const n={type:"UPDATE_PROMPT_INPUT",id:e,input:t};p(n),null===v||void 0===v||v("UPDATE_PROMPT_INPUT");const r=e=>{var t;const n=null!==(t=e.message)&&void 0!==t?t:null;g({title:"Error updating prompt input",message:n,type:"error"})};try{const o=vd(y.current,e);if(!o)throw new Error("Could not find prompt with id ".concat(e));const a=Hu(o);await _(a.name,{...a,input:t},{onSuccess:e=>p({type:"CONSOLIDATE_AICONFIG",action:n,config:e}),onError:r})}catch(bK){r(bK)}}),[_,p,v,g]),j=(0,r.useCallback)((async(e,t)=>{if(!_)return;const n=e=>{var t;const n=null!==(t=e.message)&&void 0!==t?t:null;g({title:"Error updating prompt name",message:n,type:"error"})};try{const r=vd(y.current,e);if(!r)throw new Error("Could not find prompt with id ".concat(e));const o=Hu(r);await _(o.name,{...o,name:t},{onSuccess:()=>{p({type:"UPDATE_PROMPT_NAME",id:e,name:t}),null===v||void 0===v||v("UPDATE_PROMPT_NAME")},onError:n})}catch(bK){n(bK)}}),[_,v,g]),T=null===a||void 0===a?void 0:a.updateModel,R=(0,r.useMemo)((()=>{if(T)return(0,Uu.debounce)((async(e,t)=>{try{await T(e)}catch(bK){t(bK)}}),qh)}),[T]),N=(0,r.useCallback)((async(e,t)=>{if(!_)return;p({type:"UPDATE_PROMPT_METADATA",id:e,metadata:t});const n=e=>{var t;const n=null!==(t=e.message)&&void 0!==t?t:null;g({title:"Error updating prompt metadata",message:n,type:"error"})};try{var r,o;const a=vd(y.current,e);if(!a)throw new Error("Could not find prompt with id ".concat(e));const i=Hu(a);await _(i.name,{...i,metadata:{...t,model:null===(r=i.metadata)||void 0===r?void 0:r.model,parameters:null===(o=i.metadata)||void 0===o?void 0:o.parameters}},{onError:n})}catch(bK){n(bK)}}),[_,g]),A=(0,r.useCallback)((async(e,t)=>{if(!R)return;p({type:"UPDATE_PROMPT_MODEL_SETTINGS",id:e,modelSettings:t}),null===v||void 0===v||v("UPDATE_PROMPT_MODEL_SETTINGS");const n=e=>{var t;const n=null!==(t=e.message)&&void 0!==t?t:null;g({title:"Error updating prompt model settings",message:n,type:"error"})};try{const r=vd(y.current,e);if(!r)throw new Error("Could not find prompt with id ".concat(e));const o=ud(r,y.current.metadata.default_model);if(!o)throw new Error("Could not find model name for prompt ".concat(e));await R({modelName:o,settings:t,promptName:r.name},n)}catch(bK){n(bK)}}),[R,p,v,g]),I=(0,r.useCallback)((async(e,t)=>{if(!R)return;p({type:"UPDATE_PROMPT_MODEL",id:e,modelName:t}),null===v||void 0===v||v("UPDATE_PROMPT_MODEL",{model:t});const n=e=>{var t;const n=null!==(t=e.message)&&void 0!==t?t:null;g({title:"Error updating model for prompt",message:n,type:"error"})};try{const r=vd(y.current,e);if(!r)throw new Error("Could not find prompt with id ".concat(e));await R({modelName:t,promptName:r.name},n)}catch(bK){n(bK)}}),[p,R,v,g]),D=null===a||void 0===a?void 0:a.setParameters,L=(0,r.useMemo)((()=>{if(D)return(0,Uu.debounce)((async(e,t,n)=>{try{await D(e,t)}catch(bK){null===n||void 0===n||n(bK)}}),qh)}),[D]),z=(0,r.useCallback)((async e=>{if(!L)return;p({type:"UPDATE_GLOBAL_PARAMETERS",parameters:e}),null===v||void 0===v||v("UPDATE_GLOBAL_PARAMETERS");const t=e=>{var t;const n=null!==(t=e.message)&&void 0!==t?t:null;g({title:"Error setting global parameters",message:n,type:"error"})};try{await L(e,void 0,t)}catch(bK){t(bK)}}),[L,p,v,g]),F=(0,r.useCallback)((async(e,t)=>{if(!L)return;p({type:"UPDATE_PROMPT_PARAMETERS",id:e,parameters:t}),null===v||void 0===v||v("UPDATE_PROMPT_PARAMETERS");const n=t=>{var n,r,o;const a=null!==(n=t.message)&&void 0!==n?n:null,i=null!==(r=null===(o=vd(y.current,e))||void 0===o?void 0:o.name)&&void 0!==r?r:e;g({title:"Error setting parameters for prompt ".concat(i),message:a,type:"error"})};try{const r=vd(y.current,e);if(!r)throw new Error("Could not find prompt with id ".concat(e));await L(t,r.name,n)}catch(bK){n(bK)}}),[L,p,v,g]),M=null===a||void 0===a?void 0:a.addPrompt,B=(0,r.useCallback)((async(e,t)=>{if(!M)return;const n=function(e){const t=e.prompts.map((e=>e.name));let n=t.length+1;for(;t.includes("prompt_".concat(n));)n++;return"prompt_".concat(n)}(y.current),r={name:n,input:md(t),metadata:{model:t}},o={type:"ADD_PROMPT_AT_INDEX",index:e,prompt:{...r,_ui:{id:(0,Uu.uniqueId)()}}};p(o),null===v||void 0===v||v("ADD_PROMPT",{model:t,promptIndex:e});try{const t=await M(n,r,e);p({type:"CONSOLIDATE_AICONFIG",action:o,config:t.aiconfig})}catch(bK){var a;const t=null!==(a=bK.message)&&void 0!==a?a:null;g({title:"Error adding prompt to config",message:t,type:"error"})}}),[M,v,g]),U=null===a||void 0===a?void 0:a.deletePrompt,H=(0,r.useCallback)((async e=>{if(U){p({type:"DELETE_PROMPT",id:e}),null===v||void 0===v||v("DELETE_PROMPT");try{const t=vd(y.current,e);if(!t)throw new Error("Could not find prompt with id ".concat(e));await U(t.name)}catch(bK){var t;const n=null!==(t=bK.message)&&void 0!==t?t:null;g({title:"Error deleting prompt",message:n,type:"error"})}}}),[U,p,v,g]),W=null===a||void 0===a?void 0:a.clearOutputs,$=(0,r.useCallback)((async()=>{if(W){p({type:"CLEAR_OUTPUTS"}),null===v||void 0===v||v("CLEAR_OUTPUTS");try{await W()}catch(bK){var e;const n=null!==(e=bK.message)&&void 0!==e?e:null;g({title:"Error clearing outputs",message:n,type:"error"})}}}),[W,p,v,g]),q=null===a||void 0===a?void 0:a.runPrompt,V=(0,r.useCallback)((async e=>{if(!q)return;const t=Bu();p({type:"RUN_PROMPT_START",promptId:e,cancellationToken:t}),null===v||void 0===v||v("RUN_PROMPT_START");const n=t=>{var n;p({type:"RUN_PROMPT_ERROR",promptId:e,message:null!==t&&void 0!==t?t:void 0}),null===v||void 0===v||v("RUN_PROMPT_ERROR");const r=null===(n=vd(y.current,e))||void 0===n?void 0:n.name;g({title:"Error running prompt".concat(r?" ".concat(r):""),message:t,type:"error"})};try{const r=vd(y.current,e);if(!r)throw new Error("Could not find prompt with id ".concat(e));const o=r.name,a=function(e,t){var n,r;const o=null!==(n=e.metadata)&&void 0!==n&&n.model&&"string"!==typeof e.metadata.model?null===(r=e.metadata.model)||void 0===r?void 0:r.settings:void 0;if(o){if(!0===(null===o||void 0===o?void 0:o.stream))return!0;if(!1===(null===o||void 0===o?void 0:o.stream))return!1}const a=ud(e);if(a){var i,l,s;const e=null===(i=t.metadata)||void 0===i||null===(l=i.models)||void 0===l||null===(s=l[a])||void 0===s?void 0:s.settings;if(!0===(null===e||void 0===e?void 0:e.stream))return!0;if(!1===(null===o||void 0===o?void 0:o.stream))return!1}}(r,y.current),i=await q(o,(t=>{"output_chunk"===t.type?p({type:"STREAM_OUTPUT_CHUNK",promptId:e,output:t.data}):"aiconfig_chunk"===t.type?p({type:"STREAM_AICONFIG_CHUNK",config:t.data}):"stop_streaming"===t.type&&(p({type:"RUN_PROMPT_SUCCESS",promptId:e}),null===v||void 0===v||v("RUN_PROMPT_SUCCESS"))}),(t=>{if(console.log("Error running prompt ".concat(o,": ").concat(JSON.stringify(t))),"error"===t.type)if(499===t.data.code){var r;p({type:"RUN_PROMPT_CANCEL",promptId:e,config:t.data.data}),null===v||void 0===v||v("RUN_PROMPT_CANCELED");const n=null===(r=vd(y.current,e))||void 0===r?void 0:r.name;g({title:"Execution interrupted for prompt".concat(n?" '".concat(n,"'"):"",". Resetting output to previous state."),message:t.data.message,type:"warning"})}else n(t.data.message)}),a,t);null!==i&&void 0!==i&&i.aiconfig&&(p({type:"RUN_PROMPT_SUCCESS",promptId:e,config:i.aiconfig}),null===v||void 0===v||v("RUN_PROMPT_SUCCESS"))}catch(bK){var r;const t=null!==(r=bK.message)&&void 0!==r?r:null;n(t)}}),[v,q,g]),G=null===a||void 0===a?void 0:a.setConfigName,K=(0,r.useMemo)((()=>{if(G)return(0,Uu.debounce)((async(e,t)=>{try{await G(e)}catch(bK){t(bK)}}),qh)}),[G]),Y=(0,r.useCallback)((async e=>{K&&(p({type:"SET_NAME",name:e}),null===v||void 0===v||v("SET_NAME"),await K(e,(e=>{var t;const n=null!==(t=e.message)&&void 0!==t?t:null;g({title:"Error setting config name",message:n,type:"error"})})))}),[K,v,g]),X=null===a||void 0===a?void 0:a.setConfigDescription,Z=(0,r.useMemo)((()=>{if(X)return(0,Uu.debounce)((async(e,t)=>{try{await X(e)}catch(bK){t(bK)}}),qh)}),[X]),Q=(0,r.useCallback)((async e=>{Z&&(p({type:"SET_DESCRIPTION",description:e}),null===v||void 0===v||v("SET_DESCRIPTION"),await Z(e,(e=>{var t;const n=null!==(t=e.message)&&void 0!==t?t:null;g({title:"Error setting config description",message:n,type:"error"})})))}),[Z,v,g]),J=(0,r.useCallback)((()=>y.current),[]),ee=(0,r.useMemo)((()=>({getState:J,logEventHandler:v,mode:i,readOnly:l})),[J,v,i,l]),te=!1!==f._ui.isDirty;(0,r.useEffect)((()=>{if(!te||!O)return;const e=setInterval(E,$h);return()=>clearInterval(e)}),[te,E,O]),(0,r.useEffect)((()=>{if(!O)return;const e=e=>{"s"===e.key&&(e.metaKey||e.ctrlKey)&&(e.preventDefault(),y.current._ui.isDirty&&E())};return window.addEventListener("keydown",e,!1),()=>window.removeEventListener("keydown",e)}),[E,O]);const ne=null===a||void 0===a?void 0:a.getServerStatus;(0,r.useEffect)((()=>{if(l||!ne||"OK"!==u)return;const e=setInterval((async()=>{try{const e=await ne();d(e.status)}catch(bK){d("ERROR")}}),Vh);return()=>clearInterval(e)}),[ne,l,u]);const re=f._ui.runningPromptId;return(0,Mh.jsx)(Fh.Provider,{value:ee,children:(0,Mh.jsxs)(Vn,{className:"editorBackground",maw:"80rem",children:["OK"!==u&&(0,Mh.jsxs)(Mh.Fragment,{children:[(0,Mh.jsx)("div",{style:{height:"100px"}}),(0,Mh.jsxs)(Xo,{color:"red",title:"Server Connection Error",w:"100%",style:{position:"fixed",top:0,zIndex:999},children:[(0,Mh.jsx)(va,{children:"There is a problem with the editor server connection. Please copy important changes somewhere safe and then try reloading the page or restarting the editor."}),(0,Mh.jsxs)(ja,{align:"center",children:[(0,Mh.jsx)(AE,{value:JSON.stringify(Wu(f),null,2),contentLabel:"AIConfig JSON"}),(0,Mh.jsx)(va,{color:"dimmed",children:"Click to copy current AIConfig JSON"})]})]})]}),(0,Mh.jsxs)("div",{children:[(0,Mh.jsx)(ja,{justify:"flex-end",pt:"md",mb:"xs",children:(0,Mh.jsxs)(Ma,{spacing:"xs",children:[!l&&$&&(0,Mh.jsx)(Ni,{loading:void 0,onClick:$,size:"xs",variant:"gradient",children:"Clear Outputs"}),(b||k)&&(0,Mh.jsxs)("div",{children:[b&&(0,Mh.jsx)(BE,{onDownload:x,isGrouped:null!=k}),k&&(0,Mh.jsx)(hj,{onShare:S,isGrouped:null!=b})]}),w&&(0,Mh.jsx)(Au,{label:"Open in Text Editor",withArrow:!0,children:(0,Mh.jsx)(_o,{onClick:w,className:"secondaryButton",children:(0,Mh.jsx)(wE,{size:"1rem"})})}),!l&&O&&(0,Mh.jsx)(Au,{label:te?"Save changes to config":"No unsaved changes",children:(0,Mh.jsx)(Ni,{leftIcon:(0,Mh.jsx)(xE,{}),loading:s,onClick:()=>{E(),null===v||void 0===v||v("SAVE_BUTTON_CLICKED")},disabled:!te,size:"xs",variant:"gradient",children:"Save"})})]})}),(0,Mh.jsx)(bE,{name:f.name,description:f.description,setDescription:Q,setName:Y})]}),(0,Mh.jsx)(Kh,{initialValue:null!==(t=null===f||void 0===f||null===(n=f.metadata)||void 0===n?void 0:n.parameters)&&void 0!==t?t:{},onUpdateParameters:z}),(0,Mh.jsx)(iH,{cancelRunPrompt:null===a||void 0===a?void 0:a.cancel,defaultModel:f.metadata.default_model,getModels:null===a||void 0===a?void 0:a.getModels,onAddPrompt:B,onChangePromptInput:P,onChangePromptName:j,onDeletePrompt:H,onRunPrompt:V,onUpdatePromptMetadata:N,onUpdatePromptModel:I,onUpdatePromptModelSettings:A,onUpdatePromptParameters:F,prompts:f.prompts,runningPromptId:re})]})})}function FW(e){var t;return(0,Mh.jsx)(zE,{mode:e.mode,themeMode:e.themeMode,themeOverride:e.themeOverride,children:(0,Mh.jsx)(LW,{showNotification:null===(t=e.callbacks)||void 0===t?void 0:t.showNotification,children:(0,Mh.jsx)(zW,{...e})})})}var MW=n(454);function BW(){return function(e){var t=[];if(0===e.length)return"";if("string"!==typeof e[0])throw new TypeError("Url must be a string. Received "+e[0]);if(e[0].match(/^[^/:]+:\/*$/)&&e.length>1){var n=e.shift();e[0]=n+e[0]}e[0].match(/^file:\/\/\//)?e[0]=e[0].replace(/^([^/:]+):\/*/,"$1:///"):e[0]=e[0].replace(/^([^/:]+):\/*/,"$1://");for(var r=0;r0&&(o=o.replace(/^[\/]+/,"")),o=r0?"?":"")+i.join("&")}("object"===typeof arguments[0]?arguments[0]:[].slice.call(arguments))}const UW="".concat("","/api"),HW={ADD_PROMPT:BW(UW,"/add_prompt"),CANCEL:BW(UW,"/cancel"),CLEAR_OUTPUTS:BW(UW,"/clear_outputs"),DELETE_PROMPT:BW(UW,"/delete_prompt"),GET_AICONFIGRC:BW(UW,"/get_aiconfigrc"),SAVE:BW(UW,"/save"),SET_DESCRIPTION:BW(UW,"/set_description"),SERVER_STATUS:BW(UW,"/server_status"),SET_NAME:BW(UW,"/set_name"),SET_PARAMETERS:BW(UW,"/set_parameters"),LOAD:BW(UW,"/load"),LIST_MODELS:BW(UW,"/list_models"),RUN_PROMPT:BW(UW,"/run"),UPDATE_MODEL:BW(UW,"/update_model"),UPDATE_PROMPT:BW(UW,"/update_prompt")};var WW=n(62),$W=n.n(WW);var qW={log:"log",debug:"debug",info:"info",warn:"warn",error:"error"},VW=console,GW={};Object.keys(qW).forEach((function(e){GW[e]=VW[e]}));var KW="Datadog Browser SDK:",YW={debug:GW.debug.bind(VW,KW),log:GW.log.bind(VW,KW),info:GW.info.bind(VW,KW),warn:GW.warn.bind(VW,KW),error:GW.error.bind(VW,KW)};function XW(e,t){return function(){for(var n=[],r=0;r"}finally{r(),o(),a(),i()}}function S$(e){var t=e,n=t.toJSON;return n?(delete t.toJSON,function(){t.toJSON=n}):x$}function O$(e){return 0===Object.keys(e).length}var E$=3*d$,C$=16*d$,_$=200;function P$(e){void 0===e&&(e=2);var t=new Map,n=!1;function r(r){if(void 0===r&&(r=0),!n&&0!==e){var o=2===e?E$:C$,a=r;t.forEach((function(e){a+=e.getBytesCount()})),a>o&&(!function(e){YW.warn("Customer data exceeds the recommended ".concat(e/d$,"KiB threshold. More details: https://docs.datadoghq.com/real_user_monitoring/browser/troubleshooting/#customer-data-exceeds-the-recommended-threshold-warning"))}(o),n=!0)}}return{createDetachedTracker:function(){var e=j$((function(){return r(e.getBytesCount())}));return e},getOrCreateTracker:function(e){return t.has(e)||t.set(e,j$(r)),t.get(e)},setCompressionStatus:function(t){0===e&&(e=t,r())},getCompressionStatus:function(){return e},stop:function(){t.forEach((function(e){return e.stop()})),t.clear()}}}function j$(e){var t=0,n=w$((function(n){t=m$(k$(n)),e()}),_$),r=n.throttled,o=n.cancel,a=function(){o(),t=0};return{updateCustomerData:function(e){O$(e)?a():r(e)},resetCustomerData:a,getBytesCount:function(){return t},stop:function(){o()}}}function T$(e){return null===e?"null":Array.isArray(e)?"array":typeof e}function R$(e,t,n){if(void 0===n&&(n=function(){if("undefined"!==typeof WeakSet){var e=new WeakSet;return{hasAlreadyBeenSeen:function(t){var n=e.has(t);return n||e.add(t),n}}}var t=[];return{hasAlreadyBeenSeen:function(e){var n=t.indexOf(e)>=0;return n||t.push(e),n}}}()),void 0===t)return e;if("object"!==typeof t||null===t)return t;if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){var r=t.flags||[t.global?"g":"",t.ignoreCase?"i":"",t.multiline?"m":"",t.sticky?"y":"",t.unicode?"u":""].join("");return new RegExp(t.source,r)}if(!n.hasAlreadyBeenSeen(t)){if(Array.isArray(t)){for(var o=Array.isArray(e)?e:[],a=0;at)){for(;a.length>0&&st){M$(t,"truncated",e);break}c.target[d]=f}else for(var d in c.source)if(Object.prototype.hasOwnProperty.call(c.source,d)){var f;if(void 0!==(f=F$(c.source[d],c.path,d,a,i))&&(s+=JSON.stringify(f).length+u+d.length+L$,u=1),s>t){M$(t,"truncated",e);break}c.target[d]=f}}return r(),o(),l}M$(t,"discarded",e)}function F$(e,t,n,r,o){var a=function(e){var t=e;if(t&&"function"===typeof t.toJSON)try{return t.toJSON()}catch(CG){}return e}(e);if(!a||"object"!==typeof a)return function(e){if("bigint"===typeof e)return"[BigInt] ".concat(e.toString());if("function"===typeof e)return"[Function] ".concat(e.name||"unknown");if("symbol"===typeof e)return"[Symbol] ".concat(e.description||e.toString());return e}(a);var i=function(e){try{if(e instanceof Event)return{isTrusted:e.isTrusted};var t=Object.prototype.toString.call(e).match(/\[object (.*)\]/);if(t&&t[1])return"[".concat(t[1],"]")}catch(CG){}return"[Unserializable]"}(a);if("[Object]"!==i&&"[Array]"!==i&&"[Error]"!==i)return i;var l=e;if(o.has(l))return"[Reference seen at ".concat(o.get(l),"]");var s=void 0!==n?"".concat(t,".").concat(n):t,c=Array.isArray(a)?[]:{};return o.set(l,s),r.push({source:a,target:c,path:s}),c}function M$(e,t,n){YW.warn("The data provided has been ".concat(t," as it is over the limit of ").concat(e," characters:"),n)}var B$=function(){function e(e){this.onFirstSubscribe=e,this.observers=[]}return e.prototype.subscribe=function(e){var t=this;return!this.observers.length&&this.onFirstSubscribe&&(this.onLastUnsubscribe=this.onFirstSubscribe(this)||void 0),this.observers.push(e),{unsubscribe:function(){t.observers=t.observers.filter((function(t){return e!==t})),!t.observers.length&&t.onLastUnsubscribe&&t.onLastUnsubscribe()}}},e.prototype.notify=function(e){this.observers.forEach((function(t){return t(e)}))},e}();function U$(){for(var e=[],t=0;t500&&this.buffer.splice(0,1)},e.prototype.drain=function(){this.buffer.forEach((function(e){return e()})),this.buffer.length=0},e}(),V$=1e3,G$=60*V$,K$=60*G$;function Y$(){return(new Date).getTime()}function X$(){return Y$()}function Z$(){return performance.now()}function Q$(){return{relative:Z$(),timeStamp:X$()}}function J$(e,t){return e+t}function eq(){return void 0===W$&&(W$=performance.timing.navigationStart),W$}function tq(){var e=u$().DatadogEventBridge;if(e)return{getAllowedWebViewHosts:function(){return JSON.parse(e.getAllowedWebViewHosts())},send:function(t,n){e.send(JSON.stringify({eventType:t,event:n}))}}}function nq(e){var t;void 0===e&&(e=null===(t=u$().location)||void 0===t?void 0:t.hostname);var n=tq();return!!n&&n.getAllowedWebViewHosts().some((function(t){return e===t||function(e,t){return e.slice(-t.length)===t}(e,".".concat(t))}))}function rq(e,t,n,r,o){return oq(e,t,[n],r,o)}function oq(e,t,n,r,o){var a=void 0===o?{}:o,i=a.once,l=a.capture,s=a.passive,c=n$((function(t){(t.isTrusted||t.__ddIsTrusted||e.allowUntrustedEvents)&&(i&&f(),r(t))})),u=s?{capture:l,passive:s}:l,d=h$(t,"addEventListener");function f(){var e=h$(t,"removeEventListener");n.forEach((function(n){return e.call(t,n,c,u)}))}return n.forEach((function(e){return d.call(t,e,c,u)})),{stop:f}}!function(e){e.BEFORE_UNLOAD="beforeunload",e.CLICK="click",e.DBL_CLICK="dblclick",e.KEY_DOWN="keydown",e.LOAD="load",e.POP_STATE="popstate",e.SCROLL="scroll",e.TOUCH_START="touchstart",e.TOUCH_END="touchend",e.TOUCH_MOVE="touchmove",e.VISIBILITY_CHANGE="visibilitychange",e.PAGE_SHOW="pageshow",e.FREEZE="freeze",e.RESUME="resume",e.DOM_CONTENT_LOADED="DOMContentLoaded",e.POINTER_DOWN="pointerdown",e.POINTER_UP="pointerup",e.POINTER_CANCEL="pointercancel",e.HASH_CHANGE="hashchange",e.PAGE_HIDE="pagehide",e.MOUSE_DOWN="mousedown",e.MOUSE_UP="mouseup",e.MOUSE_MOVE="mousemove",e.FOCUS="focus",e.BLUR="blur",e.CONTEXT_MENU="contextmenu",e.RESIZE="resize",e.CHANGE="change",e.INPUT="input",e.PLAY="play",e.PAUSE="pause",e.SECURITY_POLICY_VIOLATION="securitypolicyviolation",e.SELECTION_CHANGE="selectionchange",e.STORAGE="storage"}($$||($$={}));var aq,iq="_dd_c",lq=[];function sq(e,t,n,r){var o=function(e,t){return"".concat(iq,"_").concat(e,"_").concat(t)}(t,n),a=H$(r);return i(),lq.push(rq(e,window,$$.STORAGE,(function(e){var t=e.key;o===t&&i()}))),a.changeObservable.subscribe((function(){localStorage.setItem(o,JSON.stringify(a.getContext()))})),a;function i(){var e=localStorage.getItem(o),t=null!==e?JSON.parse(e):{};a.setContext(t)}}function cq(e){var t=c$({},e);return["id","name","email"].forEach((function(e){e in t&&(t[e]=String(t[e]))})),t}!function(e){e.PAGEHIDE="pagehide",e.FEATURE_FLAGS="feature_flags",e.RESOURCE_PAGE_STATES="resource_page_states",e.COLLECT_FLUSH_REASON="collect_flush_reason",e.ZERO_LCP_TELEMETRY="zero_lcp_telemetry",e.DISABLE_REPLAY_INLINE_CSS="disable_replay_inline_css",e.WRITABLE_RESOURCE_GRAPHQL="writable_resource_graphql"}(aq||(aq={}));var uq=new Set;function dq(e){return uq.has(e)}function fq(){return uq}function pq(e){return 0!==e&&100*Math.random()<=e}function mq(e){return function(e){return"number"===typeof e}(e)&&e>=0&&e<=100}function hq(e){return e?(parseInt(e,10)^16*Math.random()>>parseInt(e,10)/4).toString(16):"".concat(1e7,"-").concat(1e3,"-").concat(4e3,"-").concat(8e3,"-").concat(1e11).replace(/[018]/g,hq)}var gq=/([\w-]+)\s*=\s*([^;]+)/g;function yq(e,t,n){void 0===n&&(n="");var r=e.charCodeAt(t-1),o=r>=55296&&r<=56319?t+1:t;return e.length<=o?e:"".concat(e.slice(0,o)).concat(n)}var vq,bq,wq,xq=4*K$,kq=15*G$;function Sq(){return null!==vq&&void 0!==vq?vq:vq=function(e){var t;void 0===e&&(e=window);var n=e.navigator.userAgent;if(e.chrome||/HeadlessChrome/.test(n))return 1;if(0===(null===(t=e.navigator.vendor)||void 0===t?void 0:t.indexOf("Apple"))||/safari/i.test(n)&&!/chrome|android/i.test(n))return 2;if(e.document.documentMode)return 0;return 3}()}function Oq(e,t,n,r){var o=new Date;o.setTime(o.getTime()+n);var a="expires=".concat(o.toUTCString()),i=r&&r.crossSite?"none":"strict",l=r&&r.domain?";domain=".concat(r.domain):"",s=r&&r.secure?";secure":"",c=r&&r.partitioned?";partitioned":"";document.cookie="".concat(e,"=").concat(t,";").concat(a,";path=/;samesite=").concat(i).concat(l).concat(s).concat(c)}function Eq(e){return function(e,t){for(gq.lastIndex=0;;){var n=gq.exec(e);if(!n)break;if(n[1]===t)return n[2]}}(document.cookie,e)}function Cq(e){return bq||(bq=function(e){var t=new Map;for(gq.lastIndex=0;;){var n=gq.exec(e);if(!n)break;t.set(n[1],n[2])}return t}(document.cookie)),bq.get(e)}function _q(e,t){Oq(e,"",0,t)}var Pq="_dd_s",jq=/^([a-z]+)=([a-z0-9-]+)$/,Tq="&";function Rq(e){return O$(e)}function Nq(e){e.expire=String(Y$()+kq)}function Aq(e){return(t=e,Object.keys(t).map((function(e){return[e,t[e]]}))).map((function(e){var t=e[0],n=e[1];return"".concat(t,"=").concat(n)})).join(Tq);var t}function Iq(e){var t={};return function(e){return!!e&&(-1!==e.indexOf(Tq)||jq.test(e))}(e)&&e.split(Tq).forEach((function(e){var n=jq.exec(e);if(null!==n){var r=n[1],o=n[2];t[r]=o}})),t}var Dq="_dd",Lq="_dd_r",zq="_dd_l",Fq="rum",Mq="logs";function Bq(e){var t=function(e){var t={};t.secure=!!e.useSecureSessionCookie||!!e.usePartitionedCrossSiteSessionCookie||!!e.useCrossSiteSessionCookie,t.crossSite=!!e.usePartitionedCrossSiteSessionCookie||!!e.useCrossSiteSessionCookie,t.partitioned=!!e.usePartitionedCrossSiteSessionCookie,e.trackSessionAcrossSubdomains&&(t.domain=function(){if(void 0===wq){for(var e="dd_site_test_".concat(hq()),t=window.location.hostname.split("."),n=t.pop();t.length&&!Eq(e);)n="".concat(t.pop(),".").concat(n),Oq(e,"test",V$,{domain:n});_q(e,{domain:n}),wq=n}return wq}());return t}(e);return function(e){if(void 0===document.cookie||null===document.cookie)return!1;try{var t="dd_cookie_test_".concat(hq()),n="test";Oq(t,n,G$,e);var r=Eq(t)===n;return _q(t,e),r}catch(o){return YW.error(o),!1}}(t)?{type:"Cookie",cookieOptions:t}:void 0}function Uq(e){var t={isLockEnabled:1===Sq(),persistSession:Hq(e),retrieveSession:Wq,clearSession:$q(e)};return function(e){if(!Cq(Pq)){var t=Cq(Dq),n=Cq(Lq),r=Cq(zq),o={};t&&(o.id=t),r&&/^[01]$/.test(r)&&(o[Mq]=r),n&&/^[012]$/.test(n)&&(o[Fq]=n),Rq(o)||(Nq(o),e.persistSession(o))}}(t),t}function Hq(e){return function(t){Oq(Pq,Aq(t),kq,e)}}function Wq(){return Iq(Eq(Pq))}function $q(e){return function(){_q(Pq,e)}}var qq="_dd_test_";function Vq(e){localStorage.setItem(Pq,Aq(e))}function Gq(){return Iq(localStorage.getItem(Pq))}function Kq(){localStorage.removeItem(Pq)}var Yq,Xq=10,Zq=100,Qq=[];function Jq(e,t,n){var r;void 0===n&&(n=0);var o=t.isLockEnabled,a=t.retrieveSession,i=t.persistSession,l=t.clearSession;if(Yq||(Yq=e),e===Yq)if(o&&n>=Zq)tV(t);else{var s,c=a();if(o){if(c.lock)return void eV(e,t,n);if(s=hq(),c.lock=s,i(c),(c=a()).lock!==s)return void eV(e,t,n)}var u=e.process(c);if(o&&(c=a()).lock!==s)eV(e,t,n);else{if(u&&(Rq(u)?l():(Nq(u),i(u))),o&&(!u||!Rq(u))){if((c=a()).lock!==s)return void eV(e,t,n);delete c.lock,i(c),u=c}null===(r=e.after)||void 0===r||r.call(e,u||c),tV(t)}}else Qq.push(e)}function eV(e,t,n){g$((function(){Jq(e,t,n+1)}),Xq)}function tV(e){Yq=void 0;var t=Qq.shift();t&&Jq(t,e)}var nV=V$;function rV(e){var t=Bq(e);return!t&&e.allowFallbackToLocalStorage&&(t=function(){try{var e=hq(),t="".concat(qq).concat(e);localStorage.setItem(t,e);var n=localStorage.getItem(t);return localStorage.removeItem(t),e===n?{type:"LocalStorage"}:void 0}catch(r){return}}()),t}function oV(e,t,n){var r=new B$,o=new B$,a="Cookie"===e.type?Uq(e.cookieOptions):{isLockEnabled:!1,persistSession:Vq,retrieveSession:Gq,clearSession:Kq},i=a.clearSession,l=a.retrieveSession,s=v$((function(){Jq({process:function(e){return f(e)?void 0:{}},after:u},a)}),nV),c=function(){var e=l();if(f(e))return e;return{}}();function u(e){return f(e)||(e={}),d()&&(!function(e){return c.id!==e.id||c[t]!==e[t]}(e)?c=e:(c={},o.notify())),e}function d(){return void 0!==c[t]}function f(e){return(void 0===e.created||Y$()-Number(e.created)n||hV.test(t))&&YW.warn("".concat(e," value doesn't meet tag requirements and will be sanitized"));var r=t.replace(/,/g,"_");return"".concat(e,":").concat(r)}function yV(e){var t=function(e){var t=e.env,n=e.service,r=e.version,o=e.datacenter,a=[];return t&&a.push(gV("env",t)),n&&a.push(gV("service",n)),r&&a.push(gV("version",r)),o&&a.push(gV("datacenter",o)),a}(e),n=function(e,t){return{logsEndpointBuilder:pV(e,"logs",t),rumEndpointBuilder:pV(e,"rum",t),sessionReplayEndpointBuilder:pV(e,"replay",t)}}(e,t),r=l$(n).map((function(e){return e.urlPrefix})),o=function(e,t,n){if(!e.replica)return;var r=c$({},e,{site:fV,clientToken:e.replica.clientToken}),o={logsEndpointBuilder:pV(r,"logs",n),rumEndpointBuilder:pV(r,"rum",n)};return t.push.apply(t,l$(o).map((function(e){return e.urlPrefix}))),c$({applicationId:e.replica.applicationId},o)}(e,r,t);return c$({isIntakeUrl:function(e){return r.some((function(t){return 0===e.indexOf(t)}))},replica:o,site:e.site||fV},n)}function vV(e){var t,n,r;if(e&&e.clientToken)if(void 0===e.sessionSampleRate||mq(e.sessionSampleRate))if(void 0===e.telemetrySampleRate||mq(e.telemetrySampleRate)){if(void 0===e.telemetryConfigurationSampleRate||mq(e.telemetryConfigurationSampleRate))return Array.isArray(e.enableExperimentalFeatures)&&e.enableExperimentalFeatures.filter((function(e){return t=aq,n=e,Object.keys(t).some((function(e){return t[e]===n}));var t,n})).forEach((function(e){uq.add(e)})),c$({beforeSend:e.beforeSend&&XW(e.beforeSend,"beforeSend threw an error:"),sessionStoreStrategyType:rV(e),sessionSampleRate:null!==(t=e.sessionSampleRate)&&void 0!==t?t:100,telemetrySampleRate:null!==(n=e.telemetrySampleRate)&&void 0!==n?n:20,telemetryConfigurationSampleRate:null!==(r=e.telemetryConfigurationSampleRate)&&void 0!==r?r:5,service:e.service,silentMultipleInit:!!e.silentMultipleInit,allowUntrustedEvents:!!e.allowUntrustedEvents,batchBytesLimit:16*d$,eventRateLimiterThreshold:3e3,maxTelemetryEventsPerPage:15,flushTimeout:30*V$,batchMessagesLimit:50,messageBytesLimit:256*d$},yV(e));YW.error("Telemetry Configuration Sample Rate should be a number between 0 and 100")}else YW.error("Telemetry Sample Rate should be a number between 0 and 100");else YW.error("Session Sample Rate should be a number between 0 and 100");else YW.error("Client Token is not configured, we will not send any data.")}var bV="?";function wV(e){var t=[],n=jV(e,"stack"),r=String(e);return n&&s$(n,r)&&(n=n.slice(r.length)),n&&n.split("\n").forEach((function(e){var n=function(e){var t=SV.exec(e);if(!t)return;var n=t[2]&&0===t[2].indexOf("native"),r=t[2]&&0===t[2].indexOf("eval"),o=OV.exec(t[2]);r&&o&&(t[2]=o[1],t[3]=o[2],t[4]=o[3]);return{args:n?[t[2]]:[],column:t[4]?+t[4]:void 0,func:t[1]||bV,line:t[3]?+t[3]:void 0,url:n?void 0:t[2]}}(e)||function(e){var t=EV.exec(e);if(!t)return;return{args:[],column:t[3]?+t[3]:void 0,func:bV,line:t[2]?+t[2]:void 0,url:t[1]}}(e)||function(e){var t=CV.exec(e);if(!t)return;return{args:[],column:t[4]?+t[4]:void 0,func:t[1]||bV,line:+t[3],url:t[2]}}(e)||function(e){var t=_V.exec(e);if(!t)return;var n=t[3]&&t[3].indexOf(" > eval")>-1,r=PV.exec(t[3]);n&&r&&(t[3]=r[1],t[4]=r[2],t[5]=void 0);return{args:t[2]?t[2].split(","):[],column:t[5]?+t[5]:void 0,func:t[1]||bV,line:t[4]?+t[4]:void 0,url:t[3]}}(e);n&&(!n.func&&n.line&&(n.func=bV),t.push(n))})),{message:jV(e,"message"),name:jV(e,"name"),stack:t}}var xV="((?:file|https?|blob|chrome-extension|native|eval|webpack|snippet||\\w+\\.|\\/).*?)",kV="(?::(\\d+))",SV=new RegExp("^\\s*at (.*?) ?\\(".concat(xV).concat(kV,"?").concat(kV,"?\\)?\\s*$"),"i"),OV=new RegExp("\\((\\S*)".concat(kV).concat(kV,"\\)"));var EV=new RegExp("^\\s*at ?".concat(xV).concat(kV,"?").concat(kV,"??\\s*$"),"i");var CV=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i;var _V=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|capacitor|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i,PV=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function jV(e,t){if("object"===typeof e&&e&&t in e){var n=e[t];return"string"===typeof n?n:void 0}}function TV(e,t,n,r){var o=[{url:t,column:r,line:n}],a=function(e){var t,n,r;"[object String]"==={}.toString.call(e)&&(n=(t=RV.exec(e))[1],r=t[2]);return{name:n,message:r}}(e);return{name:a.name,message:a.message,stack:o}}var RV=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?([\s\S]*)$/;var NV="No stack, consider using an instance of Error";function AV(e){var t=e.stackTrace,n=e.originalError,r=e.handlingStack,o=e.startClocks,a=e.nonErrorPrefix,i=e.source,l=e.handling,s=n instanceof Error,c=function(e,t,n,r){return(null===e||void 0===e?void 0:e.message)&&(null===e||void 0===e?void 0:e.name)?e.message:t?"Empty message":"".concat(n," ").concat(k$(z$(r)))}(t,s,a,n),u=function(e,t){if(void 0===t)return!1;if(e)return!0;return t.stack.length>0&&(t.stack.length>1||void 0!==t.stack[0].url)}(s,t)?DV(t):NV,d=s?function(e,t){var n=e,r=[];for(;(null===n||void 0===n?void 0:n.cause)instanceof Error&&r.length<10;){var o=wV(n.cause);r.push({message:n.cause.message,source:t,type:null===o||void 0===o?void 0:o.name,stack:o&&DV(o)}),n=n.cause}return r.length?r:void 0}(n,i):void 0;return{startClocks:o,source:i,handling:l,handlingStack:r,originalError:n,type:null===t||void 0===t?void 0:t.name,message:c,stack:u,causes:d,fingerprint:IV(n)}}function IV(e){return e instanceof Error&&"dd_fingerprint"in e?String(e.dd_fingerprint):void 0}function DV(e){var t=LV(e);return e.stack.forEach((function(e){var n="?"===e.func?"":e.func,r=e.args&&e.args.length>0?"(".concat(e.args.join(", "),")"):"",o=e.line?":".concat(e.line):"",a=e.line&&e.column?":".concat(e.column):"";t+="\n at ".concat(n).concat(r," @ ").concat(e.url).concat(o).concat(a)})),t}function LV(e){return"".concat(e.name||"Error",": ").concat(e.message)}var zV={intervention:"intervention",deprecation:"deprecation",cspViolation:"csp_violation"};function FV(e,t){var n=[];a$(t,zV.cspViolation)&&n.push(function(e){return new B$((function(t){return rq(e,document,$$.SECURITY_POLICY_VIOLATION,(function(e){t.notify(function(e){var t=zV.cspViolation,n="'".concat(e.blockedURI,"' blocked by '").concat(e.effectiveDirective,"' directive");return{type:zV.cspViolation,subtype:e.effectiveDirective,message:"".concat(t,": ").concat(n),stack:MV(e.effectiveDirective,e.originalPolicy?"".concat(n,' of the policy "').concat(yq(e.originalPolicy,100,"..."),'"'):"no policy",e.sourceFile,e.lineNumber,e.columnNumber),originalReport:e}}(e))})).stop}))}(e));var r=t.filter((function(e){return e!==zV.cspViolation}));return r.length&&n.push(function(e){return new B$((function(t){if(window.ReportingObserver){var n=n$((function(e,n){return e.forEach((function(e){t.notify(function(e){var t=e.type,n=e.body;return{type:t,subtype:n.id,message:"".concat(t,": ").concat(n.message),originalReport:e,stack:MV(n.id,n.message,n.sourceFile,n.lineNumber,n.columnNumber)}}(e))}))})),r=new window.ReportingObserver(n,{types:e,buffered:!0});return r.observe(),function(){r.disconnect()}}}))}(r)),U$.apply(void 0,n)}function MV(e,t,n,r,o){return n?DV({name:e,message:t,stack:[{func:"?",url:n,line:null!==r&&void 0!==r?r:void 0,column:null!==o&&void 0!==o?o:void 0}]}):void 0}var BV=32*d$;function UV(e,t,n){return void 0===e?[]:"all"===e||Array.isArray(e)&&e.every((function(e){return a$(t,e)}))?"all"===e?t:function(e){var t=new Set;return e.forEach((function(e){return t.add(e)})),i$(t)}(e):void YW.error("".concat(n,' should be "all" or an array with allowed values "').concat(t.join('", "'),'"'))}var HV={AGENT:"agent",CONSOLE:"console",CUSTOM:"custom",LOGGER:"logger",NETWORK:"network",SOURCE:"source",REPORT:"report"},WV=function(e,t,n,r){var o,a=arguments.length,i=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)i=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(i=(a<3?o(i):a>3?o(t,n,i):o(t,n))||i);return a>3&&i&&Object.defineProperty(t,n,i),i},$V={debug:"debug",error:"error",info:"info",warn:"warn"},qV={console:"console",http:"http",silent:"silent"},VV=Object.keys($V),GV=function(){function e(e,t,n,r,o,a){void 0===r&&(r=qV.http),void 0===o&&(o=$V.debug),void 0===a&&(a={}),this.handleLogStrategy=e,this.handlerType=r,this.level=o,this.contextManager=H$(t),this.contextManager.setContext(a),n&&this.contextManager.setContextProperty("logger",{name:n})}return e.prototype.log=function(e,t,n,r){var o;if(void 0===n&&(n=$V.info),void 0!==r&&null!==r){var a=AV({stackTrace:r instanceof Error?wV(r):void 0,originalError:r,nonErrorPrefix:"Provided",source:HV.LOGGER,handling:"handled",startClocks:Q$()});o={stack:a.stack,kind:a.type,message:a.message}}var i=z$(t),l=o?A$({error:o},i):i;this.handleLogStrategy({message:z$(e),context:l,status:n},this)},e.prototype.debug=function(e,t,n){this.log(e,t,$V.debug,n)},e.prototype.info=function(e,t,n){this.log(e,t,$V.info,n)},e.prototype.warn=function(e,t,n){this.log(e,t,$V.warn,n)},e.prototype.error=function(e,t,n){this.log(e,t,$V.error,n)},e.prototype.setContext=function(e){this.contextManager.setContext(e)},e.prototype.getContext=function(){return this.contextManager.getContext()},e.prototype.setContextProperty=function(e,t){this.contextManager.setContextProperty(e,t)},e.prototype.removeContextProperty=function(e){this.contextManager.removeContextProperty(e)},e.prototype.clearContext=function(){this.contextManager.clearContext()},e.prototype.setHandler=function(e){this.handlerType=e},e.prototype.getHandler=function(){return this.handlerType},e.prototype.setLevel=function(e){this.level=e},e.prototype.getLevel=function(){return this.level},WV([t$],e.prototype,"log",null),e}(),KV="logs";function YV(e,t){var n=window.__ddBrowserSdkExtensionCallback;n&&n({type:e,payload:t})}var XV={HIDDEN:"visibility_hidden",UNLOADING:"before_unload",PAGEHIDE:"page_hide",FROZEN:"page_frozen"};var ZV="datadog-synthetics-public-id",QV="datadog-synthetics-result-id",JV="datadog-synthetics-injects-rum";function eG(){return Boolean(window._DATADOG_SYNTHETICS_INJECTS_RUM||Cq(JV))}function tG(){var e=window._DATADOG_SYNTHETICS_PUBLIC_ID||Cq(ZV);return"string"===typeof e?e:void 0}function nG(){var e=window._DATADOG_SYNTHETICS_RESULT_ID||Cq(QV);return"string"===typeof e?e:void 0}var rG=1/0,oG=G$,aG=function(){function e(e,t){var n=this;this.expireDelay=e,this.maxEntries=t,this.entries=[],this.clearOldValuesInterval=v$((function(){return n.clearOldValues()}),oG)}return e.prototype.add=function(e,t){var n=this,r={value:e,startTime:t,endTime:rG,remove:function(){var e=n.entries.indexOf(r);e>=0&&n.entries.splice(e,1)},close:function(e){r.endTime=e}};return this.maxEntries&&this.entries.length>=this.maxEntries&&this.entries.pop(),this.entries.unshift(r),r},e.prototype.find=function(e){void 0===e&&(e=rG);for(var t=0,n=this.entries;t0&&this.entries[this.entries.length-1].endTime"],gG=["ddog-gov.com"],yG={maxEventsPerPage:0,sentEventCount:0,telemetryEnabled:!1,telemetryConfigurationEnabled:!1};function vG(e,t){var n,r=new B$;yG.telemetryEnabled=!a$(gG,t.site)&&pq(t.telemetrySampleRate),yG.telemetryConfigurationEnabled=yG.telemetryEnabled&&pq(t.telemetryConfigurationSampleRate);var o={is_local_file:"file:"===window.location.protocol,is_worker:"WorkerGlobalScope"in self};return pG=function(t){if(yG.telemetryEnabled){var a=function(e,t,r){return A$({type:"telemetry",date:X$(),service:e,version:"5.7.0",source:"browser",_dd:{format_version:2},telemetry:A$(t,{runtime_env:r}),experimental_features:i$(fq())},void 0!==n?n():{})}(e,t,o);r.notify(a),YV("telemetry",a)}},ZW=wG,c$(yG,{maxEventsPerPage:t.maxTelemetryEventsPerPage,sentEventCount:0}),{setContextProvider:function(e){n=e},observable:r,enabled:yG.telemetryEnabled}}function bG(e,t){o$(qW.debug,e,t),xG(c$({type:mG.log,message:e,status:"debug"},t))}function wG(e,t){xG(c$({type:mG.log,status:"error"},function(e){if(e instanceof Error){var t=wV(e);return{error:{kind:t.name,stack:DV(kG(t))},message:t.message}}return{error:{stack:NV},message:"".concat("Uncaught"," ").concat(k$(e))}}(e),t))}function xG(e){pG&&yG.sentEventCount=500}function UG(e,t){if(!e.forwardErrorsToLogs)return{stop:x$};var n=LG(e).subscribe((function(e){"complete"===e.state&&o("xhr",e)})),r=MG().subscribe((function(e){"resolve"===e.state&&o("fetch",e)}));function o(n,r){function o(e){t.notify(0,{rawLogsEvent:{message:"".concat(WG(n)," error ").concat(r.method," ").concat(r.url),date:r.startClocks.timeStamp,error:{stack:e||"Failed to load"},http:{method:r.method,status_code:r.status,url:r.url},status:$V.error,origin:HV.NETWORK}})}e.isIntakeUrl(r.url)||!function(e){return 0===e.status&&"opaque"!==e.responseType}(r)&&!BG(r.status)||("xhr"in r?function(e,t,n){"string"===typeof e.response?n(HG(e.response,t)):n(e.response)}(r.xhr,e,o):r.response?function(e,t,n){var r=function(e){try{return e.clone()}catch(t){return}}(e);r&&r.body?window.TextDecoder?function(e,t,n){!function(e,t,n){var r=e.getReader(),o=[],a=0;function i(){var e,i;if(r.cancel().catch(x$),n.collectStreamBody){var l;if(1===o.length)l=o[0];else{l=new Uint8Array(a);var s=0;o.forEach((function(e){l.set(e,s),s+=e.length}))}e=l.slice(0,n.bytesLimit),i=l.length>n.bytesLimit}t(void 0,e,i)}!function e(){r.read().then(n$((function(t){t.done?i():(n.collectStreamBody&&o.push(t.value),(a+=t.value.length)>n.bytesLimit?i():e())})),n$((function(e){return t(e)})))}()}(e,(function(e,t,r){if(e)n(e);else{var o=(new TextDecoder).decode(t);r&&(o+="..."),n(void 0,o)}}),{bytesLimit:t,collectStreamBody:!0})}(r.body,t.requestErrorResponseLengthLimit,(function(e,t){n(e?"Unable to retrieve response: ".concat(e):t)})):r.text().then(n$((function(e){return n(HG(e,t))})),n$((function(e){return n("Unable to retrieve response: ".concat(e))}))):n()}(r.response,e,o):r.error&&function(e,t,n){n(HG(DV(wV(e)),t))}(r.error,e,o))}return{stop:function(){n.unsubscribe(),r.unsubscribe()}}}function HG(e,t){return e.length>t.requestErrorResponseLengthLimit?"".concat(e.substring(0,t.requestErrorResponseLengthLimit),"..."):e}function WG(e){return"xhr"===e?"XHR":"Fetch"}function $G(e){var t,n=function(t,n){var r=AV({stackTrace:t,originalError:n,startClocks:Q$(),nonErrorPrefix:"Uncaught",source:HV.SOURCE,handling:"unhandled"});e.notify(r)},r=(t=n,AG(window,"onerror",(function(e){var n,r=e.parameters,o=r[0],a=r[1],i=r[2],l=r[3],s=r[4];n=s instanceof Error?wV(s):TV(o,a,i,l),t(n,null!==s&&void 0!==s?s:o)}))).stop,o=function(e){return AG(window,"onunhandledrejection",(function(t){var n=t.parameters[0].reason||"Empty reason",r=wV(n);e(r,n)}))}(n).stop;return{stop:function(){r(),o()}}}var qG,VG=function(){function e(){this.callbacks={}}return e.prototype.notify=function(e,t){var n=this.callbacks[e];n&&n.forEach((function(e){return e(t)}))},e.prototype.subscribe=function(e,t){var n=this;return this.callbacks[e]||(this.callbacks[e]=[]),this.callbacks[e].push(t),{unsubscribe:function(){n.callbacks[e]=n.callbacks[e].filter((function(e){return t!==e}))}}},e}(),GG=((qG={})[$V.debug]=0,qG[$V.info]=1,qG[$V.warn]=2,qG[$V.error]=3,qG);function KG(e){return{handleLog:function(t,n,r,o){var a=A$(n.getContext(),t.context);YG(t.status,qV.console,n)&&function(e,t){GW[e.status].call(VW,e.message,t)}(t,a),YG(t.status,qV.http,n)&&e.notify(0,{rawLogsEvent:{date:o||X$(),message:t.message,status:t.status,origin:HV.LOGGER},messageContext:a,savedCommonContext:r})}}}function YG(e,t,n){var r=n.getHandler(),o=Array.isArray(r)?r:[r];return GG[e]>=GG[n.getLevel()]&&a$(o,t)}var XG=function(){function e(e,t,n,r){var o=this;this.encoder=e,this.request=t,this.flushController=n,this.messageBytesLimit=r,this.upsertBuffer={},this.flushSubscription=this.flushController.flushObservable.subscribe((function(e){return o.flush(e)}))}return e.prototype.add=function(e){this.addOrUpdate(e)},e.prototype.upsert=function(e,t){this.addOrUpdate(e,t)},e.prototype.stop=function(){this.flushSubscription.unsubscribe()},e.prototype.flush=function(e){var t=l$(this.upsertBuffer).join("\n");this.upsertBuffer={};var n,r=(n=e.reason,a$(l$(XV),n)),o=r?this.request.sendOnExit:this.request.send;if(r&&this.encoder.isAsync){var a=this.encoder.finishSync();a.outputBytesCount&&o(ZG(a,e));var i=[a.pendingData,t].filter(Boolean).join("\n");i&&o({data:i,bytesCount:m$(i),flushReason:e.reason})}else t&&this.encoder.write(this.encoder.isEmpty?t:"\n".concat(t)),this.encoder.finish((function(t){o(ZG(t,e))}))},e.prototype.addOrUpdate=function(e,t){var n=k$(e),r=this.encoder.estimateEncodedBytesCount(n);r>=this.messageBytesLimit?YW.warn("Discarded a message whose size was bigger than the maximum allowed size ".concat(this.messageBytesLimit,"KB.")):(this.hasMessageFor(t)&&this.remove(t),this.push(n,r,t))},e.prototype.push=function(e,t,n){var r=this;this.flushController.notifyBeforeAddMessage(t),void 0!==n?(this.upsertBuffer[n]=e,this.flushController.notifyAfterAddMessage()):this.encoder.write(this.encoder.isEmpty?e:"\n".concat(e),(function(e){r.flushController.notifyAfterAddMessage(e-t)}))},e.prototype.remove=function(e){var t=this.upsertBuffer[e];delete this.upsertBuffer[e];var n=this.encoder.estimateEncodedBytesCount(t);this.flushController.notifyAfterRemoveMessage(n)},e.prototype.hasMessageFor=function(e){return void 0!==e&&void 0!==this.upsertBuffer[e]},e}();function ZG(e,t){return{data:"string"===typeof e.output?e.output:new Blob([e.output],{type:"text/plain"}),bytesCount:e.outputBytesCount,encoding:e.encoding,flushReason:t.reason}}var QG=80*d$,JG=32,eK=3*f$,tK=G$,nK=V$;function rK(e,t,n,r,o){0===t.transportStatus&&0===t.queuedPayloads.size()&&t.bandwidthMonitor.canHandle(e)?aK(e,t,n,{onSuccess:function(){return iK(0,t,n,r,o)},onFailure:function(){t.queuedPayloads.enqueue(e),oK(t,n,r,o)}}):t.queuedPayloads.enqueue(e)}function oK(e,t,n,r){2===e.transportStatus&&g$((function(){aK(e.queuedPayloads.first(),e,t,{onSuccess:function(){e.queuedPayloads.dequeue(),e.currentBackoffTime=nK,iK(1,e,t,n,r)},onFailure:function(){e.currentBackoffTime=Math.min(tK,2*e.currentBackoffTime),oK(e,t,n,r)}})}),e.currentBackoffTime)}function aK(e,t,n,r){var o=r.onSuccess,a=r.onFailure;t.bandwidthMonitor.add(e),n(e,(function(n){t.bandwidthMonitor.remove(e),!function(e){return"opaque"!==e.type&&(0===e.status&&!navigator.onLine||408===e.status||429===e.status||BG(e.status))}(n)?(t.transportStatus=0,o()):(t.transportStatus=t.bandwidthMonitor.ongoingRequestCount>0?1:2,e.retry={count:e.retry?e.retry.count+1:1,lastFailureStatus:n.status},a())}))}function iK(e,t,n,r,o){0===e&&t.queuedPayloads.isFull()&&!t.queueFullReported&&(o({message:"Reached max ".concat(r," events size queued for upload: ").concat(eK/f$,"MiB"),source:HV.AGENT,startClocks:Q$()}),t.queueFullReported=!0);var a=t.queuedPayloads;for(t.queuedPayloads=lK();a.size()>0;)rK(a.dequeue(),t,n,r,o)}function lK(){var e=[];return{bytesCount:0,enqueue:function(t){this.isFull()||(e.push(t),this.bytesCount+=t.bytesCount)},first:function(){return e[0]},dequeue:function(){var t=e.shift();return t&&(this.bytesCount-=t.bytesCount),t},size:function(){return e.length},isFull:function(){return this.bytesCount>=eK}}}function sK(e,t,n,r){var o={transportStatus:0,currentBackoffTime:nK,bandwidthMonitor:{ongoingRequestCount:0,ongoingByteCount:0,canHandle:function(e){return 0===this.ongoingRequestCount||this.ongoingByteCount+e.bytesCount<=QG&&this.ongoingRequestCount=r&&f("bytes_limit"),d+=1,u+=e,void 0===t&&(t=g$((function(){f("duration_limit")}),o))},notifyAfterAddMessage:function(e){void 0===e&&(e=0),u+=e,d>=n?f("messages_limit"):u>=r&&f("bytes_limit")},notifyAfterRemoveMessage:function(e){u-=e,0===(d-=1)&&p()}}}function fK(e,t,n,r,o,a){var i=s(e,t),l=n&&s(e,n);function s(e,t){var n=t.endpoint,i=t.encoder;return new XG(i,sK(e,n,e.batchBytesLimit,r),dK({messagesLimit:e.batchMessagesLimit,bytesLimit:e.batchBytesLimit,durationLimit:e.flushTimeout,pageExitObservable:o,sessionExpireObservable:a}),e.messageBytesLimit)}return{flushObservable:i.flushController.flushObservable,add:function(e,t){void 0===t&&(t=!0),i.add(e),l&&t&&l.add(n.transformMessage?n.transformMessage(e):e)},upsert:function(e,t){i.upsert(e,t),l&&l.upsert(n.transformMessage?n.transformMessage(e):e,t)},stop:function(){i.stop(),null===l||void 0===l||l.stop()}}}function pK(){var e="",t=0;return{isAsync:!1,get isEmpty(){return!e},write:function(n,r){var o=m$(n);t+=o,e+=n,r&&r(o)},finish:function(e){e(this.finishSync())},finishSync:function(){var n={output:e,outputBytesCount:t,rawBytesCount:t,pendingData:""};return e="",t=0,n},estimateEncodedBytesCount:function(e){return e.length}}}function mK(e,t,n,r,o){var a=vG("browser-logs-sdk",t);a.setContextProvider((function(){var e,t,n,r,a,i;return{application:{id:null===(e=OG())||void 0===e?void 0:e.application_id},session:{id:null===(t=o.findTrackedSession())||void 0===t?void 0:t.id},view:{id:null===(r=null===(n=OG())||void 0===n?void 0:n.view)||void 0===r?void 0:r.id},action:{id:null===(i=null===(a=OG())||void 0===a?void 0:a.user_action)||void 0===i?void 0:i.id}}}));var i=[];if(nq()){var l=tq(),s=a.observable.subscribe((function(e){return l.send("internal_telemetry",e)}));i.push((function(){return s.unsubscribe()}))}else{var c=fK(t,{endpoint:t.rumEndpointBuilder,encoder:pK()},t.replica&&{endpoint:t.replica.rumEndpointBuilder,encoder:pK()},n,r,o.expireObservable);i.push((function(){return c.stop()}));var u=a.observable.subscribe((function(e){return c.add(e,function(e){return e.site===uV}(t))}));i.push((function(){return u.unsubscribe()}))}return function(e){yG.telemetryConfigurationEnabled&&xG({type:mG.configuration,configuration:e})}(function(e){var t,n={session_sample_rate:(t=e).sessionSampleRate,telemetry_sample_rate:t.telemetrySampleRate,telemetry_configuration_sample_rate:t.telemetryConfigurationSampleRate,use_before_send:!!t.beforeSend,use_cross_site_session_cookie:t.useCrossSiteSessionCookie,use_partitioned_cross_site_session_cookie:t.usePartitionedCrossSiteSessionCookie,use_secure_session_cookie:t.useSecureSessionCookie,use_proxy:!!t.proxy,silent_multiple_init:t.silentMultipleInit,track_session_across_subdomains:t.trackSessionAcrossSubdomains,allow_fallback_to_local_storage:!!t.allowFallbackToLocalStorage,store_contexts_across_pages:!!t.storeContextsAcrossPages,allow_untrusted_events:!!t.allowUntrustedEvents};return c$({forward_errors_to_logs:e.forwardErrorsToLogs,forward_console_logs:e.forwardConsoleLogs,forward_reports:e.forwardReports},n)}(e)),{telemetry:a,stop:function(){i.forEach((function(e){return e()}))}}}var hK=function(e){var t=!1,n=P$(),r=H$(n.getOrCreateTracker(2)),o=H$(n.getOrCreateTracker(1)),a={},i=function(){},l=new q$,s=function(e,t,n,r){void 0===n&&(n=N$(u())),void 0===r&&(r=X$()),l.add((function(){return s(e,t,n,r)}))},c=function(){};function u(){return{view:{referrer:document.referrer,url:window.location.href},context:r.getContext(),user:o.getContext()}}return function(e){var t=c$({version:"5.7.0",onReady:function(e){e()}},e);return Object.defineProperty(t,"_setDebug",{get:function(){return e$},enumerable:!1}),t}({logger:new GV((function(){for(var e=[],t=0;t({editorBackground:{background:"radial-gradient(ellipse at top,#08122d,#030712),radial-gradient(ellipse at bottom,#030712,#030712)",margin:"0 auto",minHeight:"100vh"},logo:{maxWidth:"80rem",margin:"0 auto",padding:"32px 0 0 32px",display:"flex",justifyContent:"space-between",alignItems:"center"}}))),yK="local";function vK(){const[e,t]=(0,r.useState)(),{classes:n}=gK(),o=(0,r.useCallback)((async()=>{const e=await MW.ufetch.post(HW.LOAD,{});t(e.aiconfig)}),[]);(0,r.useEffect)((()=>{o()}),[o]);const a=(0,r.useCallback)((async()=>{var e;if("development"===(null!==(e="production")?e:"development"))return;var t;(await MW.ufetch.get(HW.GET_AICONFIGRC,{})).allow_usage_data_sharing&&(hK.init({clientToken:"pub356987caf022337989e492681d1944a8",env:null!==(t="production")?t:"development",service:"aiconfig-editor",site:"us5.datadoghq.com",forwardErrorsToLogs:!0,sessionSampleRate:100}),hK.setGlobalContextProperty("mode",yK))}),[]);(0,r.useEffect)((()=>{a()}),[a]);const i=(0,r.useCallback)((async e=>await MW.ufetch.post(HW.SAVE,{aiconfig:e})),[]),l=(0,r.useCallback)((async e=>{const t=(await MW.ufetch.get(HW.LIST_MODELS)).data;if(e&&e.length>0){const n=e.toLowerCase();return t.filter((e=>e.toLocaleLowerCase().indexOf(n)>=0))}return t}),[]),s=(0,r.useCallback)((async(e,t,n)=>await MW.ufetch.post(HW.ADD_PROMPT,{prompt_name:e,prompt_data:t,index:n})),[]),c=(0,r.useCallback)((async e=>await MW.ufetch.post(HW.DELETE_PROMPT,{prompt_name:e})),[]),u=(0,r.useCallback)((async()=>await MW.ufetch.post(HW.CLEAR_OUTPUTS,{})),[]),d=(0,r.useCallback)((async function(e,t,n){let r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=arguments.length>4?arguments[4]:void 0;return await async function(e,t){return new Promise(((n,r)=>{let o=$W()(e);Object.keys(t).forEach((e=>{const n=t[e];o=o.node(e,n)})),o.done((e=>n(e))).fail((e=>r(e.jsonBody)))}))}({url:HW.RUN_PROMPT,method:"POST",body:{prompt_name:e,stream:r,cancellation_token_id:o}},{output_chunk:e=>{t({type:"output_chunk",data:e})},aiconfig_chunk:e=>{t({type:"aiconfig_chunk",data:e})},stop_streaming:e=>{t({type:"stop_streaming",data:null})},error:e=>{n({type:"error",data:e})}})}),[]),f=(0,r.useCallback)((async e=>await MW.ufetch.post(HW.CANCEL,{cancellation_token_id:e})),[]),p=(0,r.useCallback)((async(e,t)=>await MW.ufetch.post(HW.UPDATE_PROMPT,{prompt_name:e,prompt_data:t})),[]),m=(0,r.useCallback)((async e=>await MW.ufetch.post(HW.UPDATE_MODEL,{model_name:e.modelName,settings:e.settings,prompt_name:e.promptName})),[]),h=(0,r.useCallback)((async e=>await MW.ufetch.post(HW.SET_NAME,{name:e})),[]),g=(0,r.useCallback)((async e=>await MW.ufetch.post(HW.SET_DESCRIPTION,{description:e})),[]),y=(0,r.useCallback)((async(e,t)=>await MW.ufetch.post(HW.SET_PARAMETERS,{parameters:e,prompt_name:t})),[]),v=(0,r.useCallback)((async()=>await MW.ufetch.get(HW.SERVER_STATUS)),[]),b=(0,r.useCallback)(((e,t)=>{try{hK.logger.info(e,t)}catch(n){}}),[]),w=(0,r.useMemo)((()=>({addPrompt:s,cancel:f,clearOutputs:u,deletePrompt:c,getModels:l,getServerStatus:v,logEventHandler:b,runPrompt:d,save:i,setConfigDescription:g,setConfigName:h,setParameters:y,updateModel:m,updatePrompt:p})),[s,f,u,c,l,v,b,d,i,g,h,y,m,p]);return(0,Mh.jsxs)("div",{className:n.editorBackground,children:[(0,Mh.jsx)("div",{className:n.logo,children:(0,Mh.jsx)(NF,{withPlaceholder:!0,maw:140,src:"images/aiconfigLogo.png",alt:"AiConfig Logo"})}),e?(0,Mh.jsx)(FW,{aiconfig:e,callbacks:w,mode:yK}):(0,Mh.jsx)(ja,{justify:"center",mt:"xl",children:(0,Mh.jsx)(eo,{size:"xl"})})]})}a.createRoot(document.getElementById("root")).render((0,Mh.jsx)(r.StrictMode,{children:(0,Mh.jsx)(vK,{})}))})()})();
-//# sourceMappingURL=main.2eb53053.js.map
\ No newline at end of file
diff --git a/python/src/aiconfig/editor/server/static/static/js/main.2eb53053.js.map b/python/src/aiconfig/editor/server/static/static/js/main.2eb53053.js.map
deleted file mode 100644
index 6eb9d7679..000000000
--- a/python/src/aiconfig/editor/server/static/static/js/main.2eb53053.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"static/js/main.2eb53053.js","mappings":";sCAIAA,EAAQ,EAAU,SAAUC,EAAMC,GAChC,GAAID,GAAQC,EAAe,CACzB,IAAIC,EAAqBC,MAAMC,QAAQH,GAAiBA,EAAgBA,EAAcI,MAAM,KACxFC,EAAWN,EAAKO,MAAQ,GACxBC,GAAYR,EAAKS,MAAQ,IAAIC,cAC7BC,E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UACA,UACA,UACA,UACA,UACA,WAEFC,OAAQ,CACN,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,WAEFC,OAAQ,CACN,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,WAEFC,KAAM,CACJ,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,WAEFC,KAAM,CACJ,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,WAEFC,KAAM,CACJ,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,WAEFC,MAAO,CACL,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,WAEFC,KAAM,CACJ,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,WAEFC,OAAQ,CACN,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,WAEFC,OAAQ,CACN,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,YCvKJ,IAAIC,GAAYxhG,OAAOK,eACnBohG,GAAsBzhG,OAAO8D,sBAC7B49F,GAAe1hG,OAAOC,UAAUC,eAChCyhG,GAAe3hG,OAAOC,UAAU4Y,qBAChC+oF,GAAkBA,CAACjhG,EAAKC,EAAKS,IAAUT,KAAOD,EAAM6gG,GAAU7gG,EAAKC,EAAK,CAAEO,YAAY,EAAMC,cAAc,EAAMG,UAAU,EAAMF,UAAWV,EAAIC,GAAOS,EACtJwgG,GAAiBA,CAACnzD,EAAGC,KACvB,IAAK,IAAIhnC,KAAQgnC,IAAMA,EAAI,IACrB+yD,GAAajhG,KAAKkuC,EAAGhnC,IACvBi6F,GAAgBlzD,EAAG/mC,EAAMgnC,EAAEhnC,IAC/B,GAAI85F,GACF,IAAK,IAAI95F,KAAQ85F,GAAoB9yD,GAC/BgzD,GAAalhG,KAAKkuC,EAAGhnC,IACvBi6F,GAAgBlzD,EAAG/mC,EAAMgnC,EAAEhnC,IAEjC,OAAO+mC,CAAC,ECdH,SAASozD,GAAanC,GAC3B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EACHA,EAAC,IACD2nD,EAAG,IACHC,EAAG,KACHC,EAAI,IACJC,EAAG,IACHC,EAAG,IACHC,EAAG,IACHxpG,EAAG,IACH49D,EAAG,KACHF,EAAI,OACJ6/B,EAAM,MACND,EAAK,MACLmM,EAAK,QACL/vB,GACEsoB,EAAIxmE,EAAOysE,GAAUjG,EAAI,CAC3B,IACA,KACA,KACA,KACA,KACA,KACA,KACA,IACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,IACA,UACA,KACA,KACA,KACA,MACA,KACA,KACA,KACA,KACA,KACA,IACA,MACA,MACA,IACA,MACA,MACA,OACA,MACA,MACA,MACA,MACA,MACA,OACA,SACA,QACA,QACA,YA+CF,MAAO,CAAE0H,aA7CYpH,GAAY,CAC/B7iG,IACA4oG,KACAC,KACAC,KACAhkD,KACAo6B,KACA6pB,KACA/iE,IACA+pD,KACAiZ,KACAC,KACAvjD,KACA45B,KACA4pB,KACA7kC,KACAhkE,IACAknD,UACAqY,KACAupC,KACAC,KACAC,MACAxpD,KACA4qB,KACA6+B,KACAC,KACAr1C,KACA4M,IACA0oC,MACAC,MACA1nD,IACA2nD,MACAC,MACAC,OACAC,MACAC,MACAC,MACAxpG,MACA49D,MACAF,OACA6/B,SACAD,QACAmM,QACA/vB,YAEqBl+C,OACzB,CCnJO,SAASmuE,GAAkBhO,GAAuC,IAAtC,MAAE/hG,EAAK,MAAEs+F,EAAK,SAAElqE,EAAQ,SAAE3tB,GAAUs7F,EACrE,GAAa,MAAT/hG,EACF,OAEF,GAAqB,kBAAVA,EAAoB,CAC7B,MAAMsR,EATV,SAAuBtR,EAAOs+F,GAC5B,MAAM0R,EAASrxG,OAAOsE,KAAKjD,GAAOogC,QAAQkjE,GAA8B,SAAfA,IAAuBr6E,MAAK,CAACokB,EAAGC,IAAM20D,GAAmBH,GAAQ,CAAEntF,KAAM04B,EAAG20D,MAAO1D,EAAMiF,eAAkBtB,GAAmBH,GAAQ,CAAEntF,KAAM24B,EAAG00D,MAAO1D,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,EACX7zE,KAAMk7M,MAPR3tI,EAAAA,GAAAA,KAAC/iC,GAAI,CAACD,QAAQ,SAASlI,GAAG,KAAIvkD,UAC5ByvF,EAAAA,GAAAA,KAACjmC,GAAM,CAACj/F,KAAK,WAWvB,CEvSakjH,EAAAA,WACXtzE,SAASmgG,eAAe,SAErBpiJ,QACHu3I,EAAAA,GAAAA,KAAC/7C,EAAAA,WAAgB,CAAA1zC,UACfyvF,EAAAA,GAAAA,KAAC4tI,GAAW","sources":["../node_modules/attr-accept/dist/es/index.js","../node_modules/extend/index.js","../node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js","../node_modules/inline-style-parser/index.js","../node_modules/is-buffer/index.js","../node_modules/isomorphic-fetch/fetch-npm-browserify.js","../node_modules/lodash/lodash.js","../node_modules/oboe/dist/oboe-browser.js","../node_modules/prop-types/factoryWithThrowingShims.js","../node_modules/prop-types/index.js","../node_modules/prop-types/lib/ReactPropTypesSecret.js","../node_modules/react-dom/cjs/react-dom.production.min.js","../node_modules/react-dom/client.js","../node_modules/react-dom/index.js","../node_modules/react-is/cjs/react-is.production.min.js","../node_modules/react-is/index.js","../node_modules/react-markdown/node_modules/react-is/cjs/react-is.production.min.js","../node_modules/react-markdown/node_modules/react-is/index.js","../node_modules/react/cjs/react-jsx-runtime.production.min.js","../node_modules/react/cjs/react.production.min.js","../node_modules/react/index.js","../node_modules/react/jsx-runtime.js","../node_modules/scheduler/cjs/scheduler.production.min.js","../node_modules/scheduler/index.js","../node_modules/style-to-object/index.js","../node_modules/ufetch/browserindex.js","../node_modules/ufetch/dist/ufetch.js","../node_modules/whatwg-fetch/fetch.js","../webpack/bootstrap","../webpack/runtime/compat get default export","../webpack/runtime/create fake namespace object","../webpack/runtime/define property getters","../webpack/runtime/global","../webpack/runtime/hasOwnProperty shorthand","../webpack/runtime/make namespace object","../webpack/runtime/node module decorator","../webpack/runtime/nonce","../node_modules/@mantine/styles/src/theme/utils/rem/rem.ts","../node_modules/@emotion/sheet/dist/emotion-sheet.browser.esm.js","../node_modules/stylis/src/Utility.js","../node_modules/stylis/src/Tokenizer.js","../node_modules/stylis/src/Enum.js","../node_modules/stylis/src/Serializer.js","../node_modules/stylis/src/Parser.js","../node_modules/@emotion/cache/dist/emotion-cache.browser.esm.js","../node_modules/stylis/src/Middleware.js","../node_modules/@babel/runtime/helpers/esm/extends.js","../node_modules/@emotion/weak-memoize/dist/emotion-weak-memoize.esm.js","../node_modules/@emotion/unitless/dist/emotion-unitless.esm.js","../node_modules/@emotion/memoize/dist/emotion-memoize.esm.js","../node_modules/@emotion/serialize/dist/emotion-serialize.browser.esm.js","../node_modules/@emotion/hash/dist/emotion-hash.esm.js","../node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.browser.esm.js","../node_modules/@emotion/react/dist/emotion-element-c39617d8.browser.esm.js","../node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js","../node_modules/@emotion/react/dist/emotion-react.browser.esm.js","../node_modules/@mantine/styles/src/theme/default-colors.ts","../node_modules/@mantine/styles/src/theme/functions/fns/focus-styles/focus-styles.ts","../node_modules/@mantine/styles/src/theme/functions/fns/primary-shade/primary-shade.ts","../node_modules/@mantine/styles/src/theme/functions/fns/theme-color/theme-color.ts","../node_modules/@mantine/styles/src/theme/functions/fns/gradient/get-gradient-color-stops/get-gradient-color-stops.ts","../node_modules/@mantine/styles/src/theme/functions/fns/gradient/gradient.ts","../node_modules/@mantine/styles/src/theme/utils/get-size/get-size.ts","../node_modules/@mantine/styles/src/theme/functions/fns/breakpoints/breakpoints.ts","../node_modules/@mantine/styles/src/theme/utils/to-rgba/to-rgba.ts","../node_modules/@mantine/styles/src/theme/functions/fns/rgba/rgba.ts","../node_modules/@mantine/styles/src/theme/functions/fns/index.ts","../node_modules/@mantine/styles/src/theme/functions/fns/font-styles/font-styles.ts","../node_modules/@mantine/styles/src/theme/functions/fns/cover/cover.ts","../node_modules/@mantine/styles/src/theme/functions/fns/darken/darken.ts","../node_modules/@mantine/styles/src/theme/functions/fns/lighten/lighten.ts","../node_modules/@mantine/styles/src/theme/functions/fns/radius/radius.ts","../node_modules/@mantine/styles/src/theme/functions/fns/variant/variant.ts","../node_modules/@mantine/styles/src/theme/functions/fns/hover/hover.ts","../node_modules/@mantine/styles/src/theme/functions/fns/primary-color/primary-color.ts","../node_modules/@mantine/styles/src/theme/functions/fns/placeholder-styles/placeholder-styles.ts","../node_modules/@mantine/styles/src/theme/functions/fns/dimmed/dimmed.ts","../node_modules/@mantine/styles/src/theme/functions/attach-functions.ts","../node_modules/@mantine/styles/src/theme/default-theme.ts","../node_modules/@mantine/styles/src/theme/GlobalStyles.tsx","../node_modules/@mantine/styles/src/theme/MantineCssVariables.tsx","../node_modules/@mantine/styles/src/theme/utils/merge-theme/merge-theme.ts","../node_modules/@mantine/styles/src/theme/utils/filter-props/filter-props.ts","../node_modules/@mantine/styles/src/theme/NormalizeCSS.tsx","../node_modules/@mantine/styles/src/theme/MantineProvider.tsx","../node_modules/clsx/dist/clsx.m.js","../node_modules/@mantine/styles/src/tss/default-emotion-cache.ts","../node_modules/@mantine/styles/src/tss/use-css.tsx","../node_modules/@mantine/styles/src/tss/use-emotion-cache.ts","../node_modules/@mantine/styles/src/tss/utils/use-guaranteed-memo/use-guaranteed-memo.ts","../node_modules/@mantine/styles/src/tss/utils/merge-class-names/merge-class-names.ts","../node_modules/@mantine/styles/src/tss/create-styles.ts","../node_modules/@mantine/core/src/Container/Container.styles.ts","../node_modules/@mantine/core/src/Box/style-system-props/extract-system-styles/extract-system-styles.ts","../node_modules/@mantine/core/src/Box/style-system-props/get-responsive-value/get-responsive-value.ts","../node_modules/@mantine/core/src/Box/style-system-props/value-getters/get-spacing-value.ts","../node_modules/@mantine/core/src/Box/style-system-props/value-getters/value-getters.ts","../node_modules/@mantine/core/src/Box/style-system-props/value-getters/get-default-value.ts","../node_modules/@mantine/core/src/Box/style-system-props/value-getters/get-color-value.ts","../node_modules/@mantine/core/src/Box/style-system-props/value-getters/get-font-size-value.ts","../node_modules/@mantine/core/src/Box/style-system-props/system-props/system-props.ts","../node_modules/@mantine/core/src/Box/style-system-props/get-system-styles/get-system-styles.ts","../node_modules/@mantine/core/src/Box/use-sx/use-sx.ts","../node_modules/@mantine/core/src/Box/Box.tsx","../node_modules/@mantine/core/src/Container/Container.tsx","../node_modules/@mantine/hooks/src/use-isomorphic-effect/use-isomorphic-effect.ts","../node_modules/@mantine/hooks/src/use-id/use-react-id.ts","../node_modules/@mantine/hooks/src/utils/random-id/random-id.ts","../node_modules/@mantine/hooks/src/use-id/use-id.ts","../node_modules/@mantine/core/src/Alert/Alert.styles.ts","../node_modules/@mantine/core/src/ActionIcon/ActionIcon.styles.ts","../node_modules/@mantine/core/src/Loader/loaders/Bars.tsx","../node_modules/@mantine/core/src/Loader/loaders/Oval.tsx","../node_modules/@mantine/core/src/Loader/loaders/Dots.tsx","../node_modules/@mantine/core/src/Loader/Loader.tsx","../node_modules/@mantine/core/src/UnstyledButton/UnstyledButton.styles.ts","../node_modules/@mantine/core/src/UnstyledButton/UnstyledButton.tsx","../node_modules/@mantine/core/src/ActionIcon/ActionIcon.tsx","../node_modules/@mantine/core/src/CloseButton/CloseIcon.tsx","../node_modules/@mantine/core/src/CloseButton/CloseButton.tsx","../node_modules/@mantine/core/src/Alert/Alert.tsx","../node_modules/@mantine/core/src/Text/Text.styles.ts","../node_modules/@mantine/core/src/Text/Text.tsx","../node_modules/@mantine/utils/src/pack-sx/pack-sx.ts","../node_modules/@mantine/core/src/Flex/flex-props.ts","../node_modules/@mantine/core/src/Flex/Flex.tsx","../node_modules/@mantine/core/src/Group/Group.styles.ts","../node_modules/@mantine/core/src/Group/Group.tsx","../node_modules/@mantine/core/src/Group/filter-falsy-children/filter-falsy-children.ts","../node_modules/@mantine/core/src/Button/ButtonGroup/ButtonGroup.styles.ts","../node_modules/@mantine/core/src/Button/ButtonGroup/ButtonGroup.tsx","../node_modules/@mantine/core/src/Input/Input.styles.ts","../node_modules/@mantine/core/src/Button/Button.styles.ts","../node_modules/@mantine/core/src/Button/Button.tsx","../node_modules/@mantine/utils/src/is-element/is-element.ts","../node_modules/@mantine/hooks/src/utils/assign-ref/assign-ref.ts","../node_modules/@mantine/hooks/src/use-merged-ref/use-merged-ref.ts","../node_modules/@mantine/styles/src/theme/utils/get-default-z-index/get-default-z-index.ts","../node_modules/@floating-ui/utils/dom/dist/floating-ui.utils.dom.mjs","../node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs","../node_modules/@floating-ui/core/dist/floating-ui.core.mjs","../node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs","../node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.esm.js","../node_modules/@floating-ui/react/dist/floating-ui.react.esm.js","../node_modules/@mantine/core/src/Tooltip/TooltipGroup/TooltipGroup.context.ts","../node_modules/@mantine/core/src/Tooltip/TooltipGroup/TooltipGroup.tsx","../node_modules/@mantine/core/src/Tooltip/Tooltip.styles.ts","../node_modules/@mantine/core/src/Tooltip/Tooltip.errors.ts","../node_modules/@mantine/core/src/Portal/Portal.tsx","../node_modules/@mantine/core/src/Portal/OptionalPortal.tsx","../node_modules/@mantine/core/src/Tooltip/TooltipFloating/TooltipFloating.tsx","../node_modules/@mantine/core/src/Tooltip/TooltipFloating/use-floating-tooltip.ts","../node_modules/@mantine/hooks/src/use-did-update/use-did-update.ts","../node_modules/@mantine/core/src/Floating/use-floating-auto-update.ts","../node_modules/@mantine/core/src/Tooltip/use-tooltip.ts","../node_modules/@mantine/core/src/Floating/get-floating-position/get-floating-position.ts","../node_modules/@mantine/core/src/Transition/transitions.ts","../node_modules/@mantine/core/src/Transition/get-transition-styles/get-transition-styles.ts","../node_modules/@mantine/hooks/src/use-media-query/use-media-query.ts","../node_modules/@mantine/hooks/src/use-reduced-motion/use-reduced-motion.ts","../node_modules/@mantine/core/src/Transition/use-transition.ts","../node_modules/@mantine/core/src/Transition/Transition.tsx","../node_modules/@mantine/core/src/Floating/FloatingArrow/get-arrow-position-styles.ts","../node_modules/@mantine/core/src/Floating/FloatingArrow/FloatingArrow.tsx","../node_modules/@mantine/core/src/Tooltip/Tooltip.tsx","../node_modules/uuid/dist/esm-browser/native.js","../node_modules/uuid/dist/esm-browser/rng.js","../node_modules/uuid/dist/esm-browser/stringify.js","../node_modules/uuid/dist/esm-browser/v4.js","shared/types.ts","shared/prompt_schemas/OpenAIChatModelParserPromptSchema.ts","shared/prompt_schemas/OpenAIChatVisionModelParserPromptSchema.ts","shared/prompt_schemas/DalleImageGenerationParserPromptSchema.ts","shared/prompt_schemas/HuggingFaceAutomaticSpeechRecognitionPromptSchema.ts","shared/prompt_schemas/HuggingFaceAutomaticSpeechRecognitionRemoteInferencePromptSchema.ts","shared/prompt_schemas/HuggingFaceImage2TextTransformerPromptSchema.ts","shared/prompt_schemas/HuggingFaceText2ImageDiffusorPromptSchema.ts","shared/prompt_schemas/HuggingFaceText2ImageRemoteInferencePromptSchema.ts","shared/prompt_schemas/HuggingFaceText2SpeechRemoteInferencePromptSchema.ts","shared/prompt_schemas/HuggingFaceText2SpeechTransformerPromptSchema.ts","shared/prompt_schemas/HuggingFaceTextGenerationTransformerPromptSchema.ts","shared/prompt_schemas/HuggingFaceTextSummarizationTransformerPromptSchema.ts","shared/prompt_schemas/HuggingFaceTextGenerationRemoteInferencePromptSchema.ts","shared/prompt_schemas/HuggingFaceTextSummarizationRemoteInferencePromptSchema.ts","shared/prompt_schemas/HuggingFaceTextTranslationRemoteInferencePromptSchema.ts","shared/prompt_schemas/HuggingFaceImage2TextRemoteInferencePromptSchema.ts","shared/prompt_schemas/HuggingFaceConversationalRemoteInferencePromptSchema.ts","utils/promptUtils.ts","shared/prompt_schemas/ClaudeBedrockPromptSchema.ts","shared/prompt_schemas/PaLMTextParserPromptSchema.ts","shared/prompt_schemas/PaLMChatParserPromptSchema.ts","shared/prompt_schemas/GeminiPromptSchema.ts","shared/prompt_schemas/AnyscaleEndpointPromptSchema.ts","reducers/aiconfigReducer.ts","utils/aiconfigStateUtils.ts","../node_modules/@mantine/utils/src/get-safe-id/get-safe-id.ts","../node_modules/@mantine/hooks/src/use-uncontrolled/use-uncontrolled.ts","../node_modules/@mantine/utils/src/create-safe-context/create-safe-context.tsx","../node_modules/@mantine/core/src/Accordion/Accordion.errors.ts","../node_modules/@mantine/core/src/Accordion/Accordion.context.ts","../node_modules/@mantine/core/src/Accordion/AccordionProvider.tsx","../node_modules/@mantine/core/src/Accordion/AccordionItem.context.ts","../node_modules/@mantine/core/src/Accordion/AccordionItem/AccordionItem.styles.ts","../node_modules/@mantine/core/src/Accordion/AccordionItem/AccordionItem.tsx","../node_modules/@mantine/utils/src/find-element-ancestor/find-element-ancestor.ts","../node_modules/@mantine/utils/src/create-scoped-keydown-handler/create-scoped-keydown-handler.ts","../node_modules/@mantine/core/src/Accordion/AccordionControl/AccordionControl.styles.ts","../node_modules/@mantine/core/src/Accordion/AccordionControl/AccordionControl.tsx","../node_modules/@mantine/core/src/Accordion/AccordionPanel/AccordionPanel.styles.ts","../node_modules/@mantine/core/src/Collapse/use-collapse.ts","../node_modules/@mantine/core/src/Collapse/Collapse.tsx","../node_modules/@mantine/core/src/Accordion/AccordionPanel/AccordionPanel.tsx","../node_modules/@mantine/core/src/Accordion/ChevronIcon.tsx","../node_modules/@mantine/core/src/Accordion/Accordion.tsx","../node_modules/@mantine/core/src/Stack/Stack.styles.ts","../node_modules/@mantine/core/src/Stack/Stack.tsx","../node_modules/@mantine/core/src/Input/use-input-props.ts","../node_modules/@mantine/core/src/Input/InputLabel/InputLabel.styles.ts","../node_modules/@mantine/core/src/Input/InputLabel/InputLabel.tsx","../node_modules/@mantine/core/src/Input/InputError/InputError.styles.ts","../node_modules/@mantine/core/src/Input/InputError/InputError.tsx","../node_modules/@mantine/core/src/Input/InputDescription/InputDescription.styles.ts","../node_modules/@mantine/core/src/Input/InputDescription/InputDescription.tsx","../node_modules/@mantine/core/src/Input/InputWrapper.context.ts","../node_modules/@mantine/core/src/Input/InputWrapper/get-input-offsets.ts","../node_modules/@mantine/core/src/Input/InputWrapper/InputWrapper.styles.ts","../node_modules/@mantine/core/src/Input/InputWrapper/InputWrapper.tsx","../node_modules/@mantine/core/src/Input/InputPlaceholder/InputPlaceholder.tsx","../node_modules/@mantine/core/src/Input/Input.tsx","../node_modules/@mantine/core/src/TextInput/TextInput.tsx","../node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js","../node_modules/use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.browser.esm.js","../node_modules/use-latest/dist/use-latest.esm.js","../node_modules/use-composed-ref/dist/use-composed-ref.esm.js","../node_modules/react-textarea-autosize/dist/react-textarea-autosize.browser.esm.js","../node_modules/@mantine/core/src/Textarea/Textarea.styles.ts","../node_modules/@mantine/core/src/Textarea/Textarea.tsx","../node_modules/@tabler/icons-react/src/defaultAttributes.js","../node_modules/@tabler/icons-react/src/createReactComponent.js","../node_modules/@tabler/icons-react/src/icons/IconTrash.js","../node_modules/@tabler/icons-react/src/icons/IconPlus.js","contexts/AIConfigContext.tsx","components/ParametersRenderer.tsx","utils/constants.ts","components/GlobalParametersContainer.tsx","../node_modules/@mantine/core/src/Title/Title.styles.ts","../node_modules/@mantine/core/src/Title/Title.tsx","../node_modules/@mantine/hooks/src/use-click-outside/use-click-outside.ts","../node_modules/@mantine/core/src/Anchor/Anchor.styles.ts","../node_modules/@mantine/core/src/Anchor/Anchor.tsx","../node_modules/@mantine/core/src/Tabs/Tabs.errors.ts","../node_modules/@mantine/core/src/Tabs/Tabs.context.ts","../node_modules/@mantine/core/src/Tabs/TabsList/TabsList.styles.ts","../node_modules/@mantine/core/src/Tabs/TabsList/TabsList.tsx","../node_modules/@mantine/core/src/Tabs/TabsPanel/TabsPanel.styles.ts","../node_modules/@mantine/core/src/Tabs/TabsPanel/TabsPanel.tsx","../node_modules/@mantine/core/src/Tabs/Tab/Tab.styles.ts","../node_modules/@mantine/core/src/Tabs/Tab/Tab.tsx","../node_modules/@mantine/core/src/Tabs/TabsProvider.tsx","../node_modules/@mantine/core/src/Tabs/Tabs.styles.ts","../node_modules/@mantine/core/src/Tabs/Tabs.tsx","../node_modules/prism-react-renderer/prism/index.js","../node_modules/prism-react-renderer/dist/index.js","../node_modules/prism-react-renderer/themes/duotoneDark/index.js","../node_modules/@radix-ui/react-compose-refs/dist/packages/react/compose-refs/src/composeRefs.tsx","../node_modules/@radix-ui/react-slot/dist/packages/react/slot/src/Slot.tsx","../node_modules/@radix-ui/react-primitive/dist/packages/react/primitive/src/Primitive.tsx","../node_modules/@radix-ui/react-use-layout-effect/dist/packages/react/use-layout-effect/src/useLayoutEffect.tsx","../node_modules/@radix-ui/react-presence/dist/packages/react/presence/src/Presence.tsx","../node_modules/@radix-ui/react-presence/dist/packages/react/presence/src/useStateMachine.tsx","../node_modules/@radix-ui/react-context/dist/packages/react/context/src/createContext.tsx","../node_modules/@radix-ui/react-use-callback-ref/dist/packages/react/use-callback-ref/src/useCallbackRef.tsx","../node_modules/@radix-ui/react-direction/dist/packages/react/direction/src/Direction.tsx","../node_modules/@radix-ui/primitive/dist/packages/core/primitive/src/primitive.tsx","../node_modules/@radix-ui/react-scroll-area/dist/packages/react/scroll-area/src/ScrollArea.tsx","../node_modules/@radix-ui/react-scroll-area/dist/packages/react/scroll-area/src/useStateMachine.ts","../node_modules/@radix-ui/number/dist/packages/core/number/src/number.ts","../node_modules/@mantine/styles/src/tss/get-styles-ref.ts","../node_modules/@mantine/core/src/ScrollArea/ScrollArea.styles.ts","../node_modules/@mantine/core/src/ScrollArea/ScrollArea.tsx","../node_modules/@mantine/hooks/src/use-clipboard/use-clipboard.ts","../node_modules/@mantine/prism/src/Prism/CopyIcon.tsx","../node_modules/@mantine/prism/src/Prism/Prism.styles.ts","../node_modules/@mantine/prism/src/Prism/Prism.tsx","../node_modules/@mantine/prism/src/Prism/prism-theme.ts","../node_modules/@mantine/prism/src/PrismTabs/PrismTabs.styles.ts","../node_modules/@mantine/prism/src/PrismTabs/PrismTabs.tsx","../node_modules/@mantine/prism/src/index.ts","../node_modules/unist-util-stringify-position/lib/index.js","../node_modules/vfile-message/lib/index.js","../node_modules/vfile/lib/minpath.browser.js","../node_modules/vfile/lib/minproc.browser.js","../node_modules/vfile/lib/minurl.shared.js","../node_modules/vfile/lib/minurl.browser.js","../node_modules/vfile/lib/index.js","../node_modules/bail/index.js","../node_modules/is-plain-obj/index.js","../node_modules/trough/index.js","../node_modules/unified/lib/index.js","../node_modules/mdast-util-to-string/lib/index.js","../node_modules/micromark-util-chunked/index.js","../node_modules/micromark-util-combine-extensions/index.js","../node_modules/micromark-util-character/lib/unicode-punctuation-regex.js","../node_modules/micromark-util-character/index.js","../node_modules/micromark-factory-space/index.js","../node_modules/micromark/lib/initialize/content.js","../node_modules/micromark/lib/initialize/document.js","../node_modules/micromark-core-commonmark/lib/blank-line.js","../node_modules/micromark-util-subtokenize/index.js","../node_modules/micromark-core-commonmark/lib/content.js","../node_modules/micromark/lib/initialize/flow.js","../node_modules/micromark/lib/initialize/text.js","../node_modules/micromark-util-resolve-all/index.js","../node_modules/micromark/lib/create-tokenizer.js","../node_modules/micromark-core-commonmark/lib/thematic-break.js","../node_modules/micromark-core-commonmark/lib/list.js","../node_modules/micromark-core-commonmark/lib/block-quote.js","../node_modules/micromark-factory-destination/index.js","../node_modules/micromark-factory-label/index.js","../node_modules/micromark-factory-title/index.js","../node_modules/micromark-factory-whitespace/index.js","../node_modules/micromark-util-normalize-identifier/index.js","../node_modules/micromark-core-commonmark/lib/definition.js","../node_modules/micromark-core-commonmark/lib/code-indented.js","../node_modules/micromark-core-commonmark/lib/heading-atx.js","../node_modules/micromark-core-commonmark/lib/setext-underline.js","../node_modules/micromark-util-html-tag-name/index.js","../node_modules/micromark-core-commonmark/lib/html-flow.js","../node_modules/micromark-core-commonmark/lib/code-fenced.js","../node_modules/decode-named-character-reference/index.dom.js","../node_modules/micromark-core-commonmark/lib/character-reference.js","../node_modules/micromark-core-commonmark/lib/character-escape.js","../node_modules/micromark-core-commonmark/lib/line-ending.js","../node_modules/micromark-core-commonmark/lib/label-end.js","../node_modules/micromark-core-commonmark/lib/label-start-image.js","../node_modules/micromark-util-classify-character/index.js","../node_modules/micromark-core-commonmark/lib/attention.js","../node_modules/micromark-core-commonmark/lib/autolink.js","../node_modules/micromark-core-commonmark/lib/html-text.js","../node_modules/micromark-core-commonmark/lib/label-start-link.js","../node_modules/micromark-core-commonmark/lib/hard-break-escape.js","../node_modules/micromark-core-commonmark/lib/code-text.js","../node_modules/micromark/lib/constructs.js","../node_modules/micromark/lib/preprocess.js","../node_modules/micromark-util-decode-numeric-character-reference/index.js","../node_modules/micromark-util-decode-string/index.js","../node_modules/mdast-util-from-markdown/lib/index.js","../node_modules/micromark/lib/postprocess.js","../node_modules/micromark/lib/parse.js","../node_modules/remark-parse/lib/index.js","../node_modules/micromark-util-sanitize-uri/index.js","../node_modules/unist-util-is/lib/index.js","../node_modules/unist-util-visit-parents/lib/index.js","../node_modules/unist-util-visit/lib/index.js","../node_modules/unist-util-position/lib/index.js","../node_modules/mdast-util-definitions/lib/index.js","../node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js","../node_modules/mdast-util-to-hast/lib/revert.js","../node_modules/mdast-util-to-hast/lib/handlers/list-item.js","../node_modules/trim-lines/index.js","../node_modules/mdast-util-to-hast/lib/handlers/index.js","../node_modules/mdast-util-to-hast/lib/handlers/blockquote.js","../node_modules/mdast-util-to-hast/lib/handlers/break.js","../node_modules/mdast-util-to-hast/lib/handlers/code.js","../node_modules/mdast-util-to-hast/lib/handlers/delete.js","../node_modules/mdast-util-to-hast/lib/handlers/emphasis.js","../node_modules/mdast-util-to-hast/lib/handlers/footnote.js","../node_modules/mdast-util-to-hast/lib/handlers/heading.js","../node_modules/mdast-util-to-hast/lib/handlers/html.js","../node_modules/mdast-util-to-hast/lib/handlers/image-reference.js","../node_modules/mdast-util-to-hast/lib/handlers/image.js","../node_modules/mdast-util-to-hast/lib/handlers/inline-code.js","../node_modules/mdast-util-to-hast/lib/handlers/link-reference.js","../node_modules/mdast-util-to-hast/lib/handlers/link.js","../node_modules/mdast-util-to-hast/lib/handlers/list.js","../node_modules/mdast-util-to-hast/lib/handlers/paragraph.js","../node_modules/mdast-util-to-hast/lib/handlers/root.js","../node_modules/mdast-util-to-hast/lib/handlers/strong.js","../node_modules/mdast-util-to-hast/lib/handlers/table.js","../node_modules/mdast-util-to-hast/lib/handlers/table-cell.js","../node_modules/mdast-util-to-hast/lib/handlers/table-row.js","../node_modules/mdast-util-to-hast/lib/handlers/text.js","../node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js","../node_modules/mdast-util-to-hast/lib/state.js","../node_modules/unist-util-generated/lib/index.js","../node_modules/mdast-util-to-hast/lib/index.js","../node_modules/mdast-util-to-hast/lib/footer.js","../node_modules/remark-rehype/lib/index.js","../node_modules/property-information/lib/util/schema.js","../node_modules/property-information/lib/util/merge.js","../node_modules/property-information/lib/normalize.js","../node_modules/property-information/lib/util/info.js","../node_modules/property-information/lib/util/types.js","../node_modules/property-information/lib/util/defined-info.js","../node_modules/property-information/lib/util/create.js","../node_modules/property-information/lib/xlink.js","../node_modules/property-information/lib/xml.js","../node_modules/property-information/lib/util/case-sensitive-transform.js","../node_modules/property-information/lib/util/case-insensitive-transform.js","../node_modules/property-information/lib/xmlns.js","../node_modules/property-information/lib/aria.js","../node_modules/property-information/lib/html.js","../node_modules/property-information/lib/svg.js","../node_modules/property-information/index.js","../node_modules/react-markdown/lib/rehype-filter.js","../node_modules/hast-util-whitespace/index.js","../node_modules/property-information/lib/find.js","../node_modules/property-information/lib/hast-to-react.js","../node_modules/style-to-object/index.mjs","../node_modules/react-markdown/lib/uri-transformer.js","../node_modules/react-markdown/lib/ast-to-react.js","../node_modules/comma-separated-tokens/index.js","../node_modules/space-separated-tokens/index.js","../node_modules/react-markdown/lib/react-markdown.js","../node_modules/micromark-extension-gfm-autolink-literal/lib/syntax.js","../node_modules/micromark-extension-gfm-footnote/lib/syntax.js","../node_modules/micromark-extension-gfm-strikethrough/lib/syntax.js","../node_modules/micromark-extension-gfm-table/lib/edit-map.js","../node_modules/micromark-extension-gfm-table/lib/infer.js","../node_modules/micromark-extension-gfm-table/lib/syntax.js","../node_modules/micromark-extension-gfm-task-list-item/lib/syntax.js","../node_modules/ccount/index.js","../node_modules/mdast-util-find-and-replace/lib/index.js","../node_modules/mdast-util-find-and-replace/node_modules/escape-string-regexp/index.js","../node_modules/mdast-util-gfm-autolink-literal/lib/index.js","../node_modules/mdast-util-to-markdown/lib/util/association.js","../node_modules/mdast-util-to-markdown/lib/util/container-flow.js","../node_modules/mdast-util-to-markdown/lib/util/indent-lines.js","../node_modules/mdast-util-to-markdown/lib/util/pattern-compile.js","../node_modules/mdast-util-to-markdown/lib/util/pattern-in-scope.js","../node_modules/mdast-util-to-markdown/lib/util/safe.js","../node_modules/mdast-util-to-markdown/lib/util/track.js","../node_modules/mdast-util-gfm-footnote/lib/index.js","../node_modules/mdast-util-to-markdown/lib/util/container-phrasing.js","../node_modules/mdast-util-gfm-strikethrough/lib/index.js","../node_modules/mdast-util-to-markdown/lib/handle/inline-code.js","../node_modules/markdown-table/index.js","../node_modules/mdast-util-gfm-table/lib/index.js","../node_modules/mdast-util-to-markdown/lib/handle/list-item.js","../node_modules/mdast-util-to-markdown/lib/util/check-list-item-indent.js","../node_modules/mdast-util-to-markdown/lib/util/check-bullet.js","../node_modules/mdast-util-gfm-task-list-item/lib/index.js","../node_modules/remark-gfm/index.js","../node_modules/micromark-extension-gfm/index.js","../node_modules/mdast-util-gfm/lib/index.js","components/prompt/TextRenderer.tsx","components/ConfigNameDescription.tsx","../node_modules/@tabler/icons-react/src/icons/IconBraces.js","../node_modules/@tabler/icons-react/src/icons/IconDeviceFloppy.js","../node_modules/@mantine/core/src/CopyButton/CopyButton.tsx","../node_modules/@tabler/icons-react/src/icons/IconCheck.js","../node_modules/@tabler/icons-react/src/icons/IconCopy.js","components/CopyButton.tsx","themes/LocalTheme.ts","themes/GradioTheme.ts","components/ConditionalWrapper.tsx","themes/AIConfigEditorThemeProvider.tsx","themes/VSCodeTheme.ts","../node_modules/@mantine/hooks/src/use-color-scheme/use-color-scheme.ts","../node_modules/@tabler/icons-react/src/icons/IconDownload.js","components/global/DownloadButton.tsx","../node_modules/@mantine/core/src/Modal/Modal.context.ts","../node_modules/@mantine/core/src/Modal/ModalRoot/ModalRoot.styles.ts","../node_modules/tslib/tslib.es6.mjs","../node_modules/react-remove-scroll-bar/dist/es2015/constants.js","../node_modules/use-callback-ref/dist/es2015/useMergeRef.js","../node_modules/use-callback-ref/dist/es2015/useRef.js","../node_modules/use-callback-ref/dist/es2015/assignRef.js","../node_modules/use-sidecar/dist/es2015/medium.js","../node_modules/react-remove-scroll/dist/es2015/medium.js","../node_modules/react-remove-scroll/dist/es2015/UI.js","../node_modules/use-sidecar/dist/es2015/exports.js","../node_modules/get-nonce/dist/es2015/index.js","../node_modules/react-style-singleton/dist/es2015/singleton.js","../node_modules/react-style-singleton/dist/es2015/component.js","../node_modules/react-style-singleton/dist/es2015/hook.js","../node_modules/react-remove-scroll-bar/dist/es2015/utils.js","../node_modules/react-remove-scroll-bar/dist/es2015/component.js","../node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js","../node_modules/react-remove-scroll/dist/es2015/handleScroll.js","../node_modules/react-remove-scroll/dist/es2015/SideEffect.js","../node_modules/react-remove-scroll/dist/es2015/sidecar.js","../node_modules/react-remove-scroll/dist/es2015/Combination.js","../node_modules/@mantine/hooks/src/use-window-event/use-window-event.ts","../node_modules/@mantine/hooks/src/use-focus-return/use-focus-return.ts","../node_modules/@mantine/core/src/ModalBase/ModalBase.context.ts","../node_modules/@mantine/core/src/ModalBase/ModalBaseCloseButton/ModalBaseCloseButton.styles.ts","../node_modules/@mantine/core/src/ModalBase/ModalBaseCloseButton/ModalBaseCloseButton.tsx","../node_modules/@mantine/core/src/ModalBase/ModalBaseOverlay/ModalBaseOverlay.styles.ts","../node_modules/@mantine/core/src/Overlay/Overlay.styles.ts","../node_modules/@mantine/core/src/Overlay/Overlay.tsx","../node_modules/@mantine/core/src/ModalBase/ModalBaseOverlay/ModalBaseOverlay.tsx","../node_modules/@mantine/core/src/ModalBase/ModalBaseContent/ModalBaseContent.styles.ts","../node_modules/@mantine/hooks/src/use-focus-trap/tabbable.ts","../node_modules/@mantine/hooks/src/use-focus-trap/scope-tab.ts","../node_modules/@mantine/hooks/src/use-focus-trap/use-focus-trap.ts","../node_modules/@mantine/hooks/src/use-focus-trap/create-aria-hider.ts","../node_modules/@mantine/core/src/FocusTrap/FocusTrap.tsx","../node_modules/@mantine/core/src/Paper/Paper.styles.ts","../node_modules/@mantine/core/src/Paper/Paper.tsx","../node_modules/@mantine/core/src/ModalBase/ModalBaseContent/ModalBaseContent.tsx","../node_modules/@mantine/core/src/ModalBase/ModalBaseHeader/ModalBaseHeader.styles.ts","../node_modules/@mantine/core/src/ModalBase/ModalBaseHeader/ModalBaseHeader.tsx","../node_modules/@mantine/core/src/ModalBase/ModalBaseTitle/ModalBaseTitle.styles.ts","../node_modules/@mantine/core/src/ModalBase/ModalBaseTitle/ModalBaseTitle.tsx","../node_modules/@mantine/core/src/ModalBase/ModalBaseBody/ModalBaseBody.styles.ts","../node_modules/@mantine/core/src/ModalBase/ModalBaseBody/ModalBaseBody.tsx","../node_modules/@mantine/core/src/ModalBase/ModalBase.styles.ts","../node_modules/@mantine/core/src/ModalBase/ModalBase.tsx","../node_modules/@mantine/core/src/ModalBase/use-lock-scroll.ts","../node_modules/@mantine/core/src/ModalBase/NativeScrollArea/NativeScrollArea.tsx","../node_modules/@mantine/core/src/Modal/ModalRoot/ModalRoot.tsx","../node_modules/@mantine/core/src/Modal/ModalContent/ModalContent.tsx","../node_modules/@mantine/core/src/Modal/Modal.tsx","../node_modules/@mantine/hooks/src/use-disclosure/use-disclosure.ts","../node_modules/@tabler/icons-react/src/icons/IconShare.js","components/global/ShareButton.tsx","../node_modules/@mantine/core/src/Menu/Menu.errors.ts","../node_modules/@mantine/core/src/Menu/Menu.context.ts","../node_modules/@mantine/core/src/Menu/MenuDivider/MenuDivider.styles.ts","../node_modules/@mantine/core/src/Menu/MenuDivider/MenuDivider.tsx","../node_modules/@mantine/utils/src/create-event-handler/create-event-handler.ts","../node_modules/@mantine/core/src/Popover/use-popover.ts","../node_modules/@mantine/core/src/Popover/Popover.errors.ts","../node_modules/@mantine/core/src/Popover/Popover.context.ts","../node_modules/@mantine/core/src/Popover/PopoverTarget/PopoverTarget.tsx","../node_modules/@mantine/utils/src/noop/noop.ts","../node_modules/@mantine/utils/src/close-on-escape/close-on-escape.ts","../node_modules/@mantine/core/src/Popover/PopoverDropdown/PopoverDropdown.styles.ts","../node_modules/@mantine/core/src/Popover/PopoverDropdown/PopoverDropdown.tsx","../node_modules/@mantine/core/src/Popover/Popover.tsx","../node_modules/@mantine/core/src/Menu/MenuDropdown/MenuDropdown.tsx","../node_modules/@mantine/core/src/Menu/MenuItem/MenuItem.styles.ts","../node_modules/@mantine/core/src/Menu/MenuItem/MenuItem.tsx","../node_modules/@mantine/core/src/Menu/MenuLabel/MenuLabel.styles.ts","../node_modules/@mantine/core/src/Menu/MenuLabel/MenuLabel.tsx","../node_modules/@mantine/core/src/Menu/MenuTarget/MenuTarget.tsx","../node_modules/@mantine/core/src/Menu/Menu.styles.ts","../node_modules/@mantine/core/src/Menu/Menu.tsx","../node_modules/@mantine/utils/src/use-hovered/use-hovered.ts","../node_modules/@mantine/core/src/Floating/use-delayed-hover.ts","../node_modules/@mantine/utils/src/get-context-item-index/get-context-item-index.ts","../node_modules/@tabler/icons-react/src/icons/IconTextCaption.js","../node_modules/@tabler/icons-react/src/icons/IconSearch.js","components/notifications/NotificationContext.tsx","hooks/useLoadModels.ts","components/prompt/AddPromptButton.tsx","../node_modules/@tabler/icons-react/src/icons/IconDotsVertical.js","components/prompt/PromptMenuButton.tsx","../node_modules/@mantine/utils/src/group-options/group-options.ts","../node_modules/@mantine/core/src/Divider/Divider.styles.ts","../node_modules/@mantine/core/src/Divider/Divider.tsx","../node_modules/@mantine/core/src/Select/SelectItems/SelectItems.styles.ts","../node_modules/@mantine/core/src/Select/SelectItems/SelectItems.tsx","../node_modules/@mantine/core/src/Select/DefaultItem/DefaultItem.tsx","../node_modules/@mantine/core/src/Select/SelectScrollArea/SelectScrollArea.tsx","../node_modules/@mantine/core/src/Select/SelectPopover/SelectPopover.styles.ts","../node_modules/@mantine/core/src/Select/SelectPopover/SelectPopover.tsx","../node_modules/@mantine/core/src/Autocomplete/filter-data/filter-data.ts","../node_modules/@mantine/core/src/Autocomplete/Autocomplete.styles.ts","../node_modules/@mantine/core/src/Autocomplete/Autocomplete.tsx","../node_modules/@mantine/hooks/src/utils/clamp/clamp.ts","../node_modules/@mantine/hooks/src/use-move/use-move.ts","../node_modules/@mantine/core/src/Slider/utils/get-position/get-position.ts","../node_modules/@mantine/core/src/Slider/SliderRoot/SliderRoot.styles.ts","../node_modules/@mantine/core/src/Slider/Thumb/Thumb.styles.ts","../node_modules/@mantine/core/src/Slider/Thumb/Thumb.tsx","../node_modules/@mantine/core/src/Slider/Marks/is-mark-filled.ts","../node_modules/@mantine/core/src/Slider/Marks/Marks.styles.ts","../node_modules/@mantine/core/src/Slider/Marks/Marks.tsx","../node_modules/@mantine/core/src/Slider/Track/Track.styles.ts","../node_modules/@mantine/core/src/Slider/Track/Track.tsx","../node_modules/@mantine/core/src/Slider/SliderRoot/SliderRoot.tsx","../node_modules/@mantine/core/src/Slider/get-floating-value.ts","../node_modules/@mantine/core/src/Slider/Slider/Slider.tsx","../node_modules/@mantine/core/src/Slider/get-precision.ts","../node_modules/@mantine/core/src/Slider/utils/get-change-value/get-change-value.ts","../node_modules/@mantine/hooks/src/use-os/use-os.ts","../node_modules/@mantine/core/src/NumberInput/get-input-mode/get-input-mode.ts","../node_modules/@mantine/core/src/NumberInput/Chevron.tsx","../node_modules/@mantine/core/src/NumberInput/NumberInput.styles.ts","../node_modules/@mantine/core/src/NumberInput/NumberInput.tsx","../node_modules/@mantine/core/src/Checkbox/CheckboxGroup.context.ts","../node_modules/@mantine/core/src/Checkbox/CheckboxGroup/CheckboxGroup.tsx","../node_modules/@mantine/core/src/Checkbox/CheckboxIcon.tsx","../node_modules/@mantine/core/src/Checkbox/Checkbox.styles.ts","../node_modules/@mantine/core/src/InlineInput/InlineInput.styles.ts","../node_modules/@mantine/core/src/InlineInput/InlineInput.tsx","../node_modules/@mantine/core/src/Checkbox/Checkbox.tsx","../node_modules/@mantine/hooks/src/use-scroll-into-view/utils/ease-in-out-quad.ts","../node_modules/@mantine/hooks/src/use-scroll-into-view/use-scroll-into-view.ts","../node_modules/@mantine/hooks/src/use-scroll-into-view/utils/get-scroll-start.ts","../node_modules/@mantine/hooks/src/use-scroll-into-view/utils/get-relative-position.ts","../node_modules/@mantine/hooks/src/use-scroll-into-view/utils/set-scroll-param.ts","../node_modules/@mantine/core/src/Select/SelectRightSection/ChevronIcon.tsx","../node_modules/@mantine/core/src/Select/SelectRightSection/SelectRightSection.tsx","../node_modules/@mantine/core/src/Select/SelectRightSection/get-select-right-section-props.tsx","../node_modules/@mantine/core/src/Select/Select.styles.ts","../node_modules/@mantine/core/src/Select/Select.tsx","../node_modules/@mantine/core/src/Select/filter-data/filter-data.ts","../node_modules/@tabler/icons-react/src/icons/IconHelp.js","../node_modules/@mantine/hooks/src/use-resize-observer/use-resize-observer.ts","../node_modules/@mantine/core/src/SegmentedControl/SegmentedControl.styles.ts","../node_modules/@mantine/core/src/SegmentedControl/SegmentedControl.tsx","components/property_controls/UnionPropertyControl.tsx","../node_modules/@monaco-editor/loader/lib/es/_virtual/_rollupPluginBabelHelpers.js","../node_modules/state-local/lib/es/state-local.js","../node_modules/@monaco-editor/loader/lib/es/config/index.js","../node_modules/@monaco-editor/loader/lib/es/utils/isObject.js","../node_modules/@monaco-editor/loader/lib/es/validators/index.js","../node_modules/@monaco-editor/loader/lib/es/utils/curry.js","../node_modules/@monaco-editor/loader/lib/es/utils/compose.js","../node_modules/@monaco-editor/loader/lib/es/utils/deepMerge.js","../node_modules/@monaco-editor/loader/lib/es/utils/makeCancelable.js","../node_modules/@monaco-editor/loader/lib/es/loader/index.js","../node_modules/@monaco-editor/react/src/MonacoContainer/styles.ts","../node_modules/@monaco-editor/react/src/Loading/styles.ts","../node_modules/@monaco-editor/react/src/Loading/Loading.tsx","../node_modules/@monaco-editor/react/src/Loading/index.ts","../node_modules/@monaco-editor/react/src/MonacoContainer/MonacoContainer.tsx","../node_modules/@monaco-editor/react/src/MonacoContainer/index.ts","../node_modules/@monaco-editor/react/src/hooks/useMount/index.ts","../node_modules/@monaco-editor/react/src/hooks/useUpdate/index.ts","../node_modules/@monaco-editor/react/src/utils/index.ts","../node_modules/@monaco-editor/react/src/DiffEditor/DiffEditor.tsx","../node_modules/@monaco-editor/react/src/DiffEditor/index.ts","../node_modules/@monaco-editor/react/src/hooks/usePrevious/index.ts","../node_modules/@monaco-editor/react/src/Editor/Editor.tsx","../node_modules/@monaco-editor/react/src/Editor/index.ts","components/JSONEditor.tsx","components/JSONRenderer.tsx","components/SettingsPropertyRenderer.tsx","components/prompt/model_settings/ModelSettingsSchemaRenderer.tsx","../node_modules/@tabler/icons-react/src/icons/IconBracesOff.js","components/JSONEditorToggleButton.tsx","../node_modules/react-error-boundary/dist/react-error-boundary.esm.js","components/prompt/model_settings/ModelSettingsRenderer.tsx","components/prompt/prompt_metadata/PromptMetadataSchemaRenderer.tsx","components/prompt/prompt_metadata/PromptMetadataRenderer.tsx","../node_modules/@tabler/icons-react/src/icons/IconClearAll.js","components/prompt/PromptActionBar.tsx","../node_modules/@mantine/core/src/Spoiler/Spoiler.styles.ts","../node_modules/@mantine/core/src/Spoiler/Spoiler.tsx","components/prompt/prompt_input/schema_renderer/PromptInputDataSchemaRenderer.tsx","../node_modules/@tabler/icons-react/src/icons/IconEdit.js","components/prompt/prompt_input/attachments/AttachmentMetadata.tsx","../node_modules/@mantine/core/src/Image/ImageIcon.tsx","../node_modules/@mantine/core/src/Image/Image.styles.ts","../node_modules/@mantine/core/src/Image/Image.tsx","components/MimeTypeRenderer.tsx","components/prompt/prompt_input/attachments/AttachmentContainer.tsx","../node_modules/file-selector/src/file.ts","../node_modules/file-selector/src/file-selector.ts","../node_modules/react-dropzone/dist/es/utils/index.js","../node_modules/react-dropzone/dist/es/index.js","../node_modules/@mantine/core/src/LoadingOverlay/LoadingOverlay.styles.ts","../node_modules/@mantine/core/src/LoadingOverlay/LoadingOverlay.tsx","../node_modules/@mantine/dropzone/src/Dropzone.context.ts","../node_modules/@mantine/hooks/src/utils/upper-first/upper-first.ts","../node_modules/@mantine/dropzone/src/DropzoneStatus.tsx","../node_modules/@mantine/dropzone/src/Dropzone.styles.ts","../node_modules/@mantine/dropzone/src/Dropzone.tsx","../node_modules/@mantine/dropzone/src/DropzoneFullScreen.styles.ts","../node_modules/@mantine/dropzone/src/DropzoneFullScreen.tsx","../node_modules/@mantine/dropzone/src/index.ts","../node_modules/@tabler/icons-react/src/icons/IconX.js","components/prompt/prompt_input/attachments/AttachmentUploader.tsx","utils/dropzoneHelpers.ts","components/prompt/prompt_input/schema_renderer/PromptInputAttachmentsSchemaRenderer.tsx","components/prompt/prompt_input/schema_renderer/PromptInputSchemaRenderer.tsx","components/prompt/prompt_input/PromptInputConfigRenderer.tsx","components/prompt/prompt_input/PromptInputJSONRenderer.tsx","../node_modules/@tabler/icons-react/src/icons/IconPlayerStop.js","../node_modules/@tabler/icons-react/src/icons/IconPlayerPlayFilled.js","components/prompt/RunPromptButton.tsx","components/prompt/prompt_input/PromptInputRenderer.tsx","components/prompt/prompt_outputs/PromptOutputWrapper.tsx","components/prompt/prompt_outputs/PromptOutputsRenderer.tsx","../node_modules/@mantine/core/src/Card/Card.context.ts","../node_modules/@mantine/core/src/Card/CardSection/CardSection.styles.ts","../node_modules/@mantine/core/src/Card/CardSection/CardSection.tsx","../node_modules/@mantine/core/src/Card/Card.styles.ts","../node_modules/@mantine/core/src/Card/Card.tsx","components/prompt/PromptOutputBar.tsx","components/prompt/PromptName.tsx","components/prompt/ModelSelector.tsx","components/prompt/PromptContainer.tsx","components/prompt/PromptsContainer.tsx","../node_modules/@mantine/utils/src/create-use-external-events/create-use-external-events.ts","../node_modules/@mantine/notifications/src/events.ts","../node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js","../node_modules/@babel/runtime/helpers/esm/inheritsLoose.js","../node_modules/react-transition-group/esm/config.js","../node_modules/react-transition-group/esm/TransitionGroupContext.js","../node_modules/react-transition-group/esm/Transition.js","../node_modules/react-transition-group/esm/utils/ChildMapping.js","../node_modules/react-transition-group/esm/TransitionGroup.js","../node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","../node_modules/@mantine/hooks/src/use-force-update/use-force-update.ts","../node_modules/@mantine/notifications/src/Notifications/get-position-styles/get-position-styles.ts","../node_modules/@mantine/notifications/src/Notifications/get-notification-state-styles/get-notification-state-styles.ts","../node_modules/@mantine/core/src/Notification/Notification.styles.ts","../node_modules/@mantine/core/src/Notification/Notification.tsx","../node_modules/@mantine/notifications/src/NotificationContainer/get-auto-close/get-auto-close.ts","../node_modules/@mantine/notifications/src/NotificationContainer/NotificationContainer.tsx","../node_modules/@mantine/notifications/src/Notifications/Notifications.styles.ts","../node_modules/@mantine/notifications/src/Notifications/use-notifications-state/use-notifications-state.ts","../node_modules/@mantine/hooks/src/use-queue/use-queue.ts","../node_modules/@mantine/notifications/src/Notifications/Notifications.tsx","components/notifications/NotificationProvider.tsx","components/AIConfigEditor.tsx","../node_modules/url-join/lib/url-join.js","utils/api.ts","../node_modules/@datadog/browser-core/src/tools/display.ts","../node_modules/@datadog/browser-core/src/tools/catchUserErrors.ts","../node_modules/@datadog/browser-core/src/tools/monitor.ts","../node_modules/@datadog/browser-core/src/tools/utils/polyfills.ts","../node_modules/@datadog/browser-core/src/tools/getGlobalObject.ts","../node_modules/@datadog/browser-core/src/tools/utils/byteUtils.ts","../node_modules/@datadog/browser-core/src/tools/getZoneJsOriginalValue.ts","../node_modules/@datadog/browser-core/src/tools/timer.ts","../node_modules/@datadog/browser-core/src/tools/utils/functionUtils.ts","../node_modules/@datadog/browser-core/src/tools/serialisation/jsonStringify.ts","../node_modules/@datadog/browser-core/src/tools/utils/objectUtils.ts","../node_modules/@datadog/browser-core/src/domain/context/customerDataTracker.ts","../node_modules/@datadog/browser-core/src/tools/utils/typeUtils.ts","../node_modules/@datadog/browser-core/src/tools/mergeInto.ts","../node_modules/@datadog/browser-core/src/tools/serialisation/sanitize.ts","../node_modules/@datadog/browser-core/src/tools/observable.ts","../node_modules/@datadog/browser-core/src/domain/context/contextManager.ts","../node_modules/@datadog/browser-core/src/tools/boundedBuffer.ts","../node_modules/@datadog/browser-core/src/tools/utils/timeUtils.ts","../node_modules/@datadog/browser-core/src/browser/addEventListener.ts","../node_modules/@datadog/browser-core/src/transport/eventBridge.ts","../node_modules/@datadog/browser-core/src/domain/context/storedContextManager.ts","../node_modules/@datadog/browser-core/src/tools/experimentalFeatures.ts","../node_modules/@datadog/browser-core/src/domain/user/user.ts","../node_modules/@datadog/browser-core/src/tools/utils/numberUtils.ts","../node_modules/@datadog/browser-core/src/tools/utils/stringUtils.ts","../node_modules/@datadog/browser-core/src/domain/session/sessionConstants.ts","../node_modules/@datadog/browser-core/src/tools/utils/browserDetection.ts","../node_modules/@datadog/browser-core/src/browser/cookie.ts","../node_modules/@datadog/browser-core/src/domain/session/storeStrategies/sessionStoreStrategy.ts","../node_modules/@datadog/browser-core/src/domain/session/sessionState.ts","../node_modules/@datadog/browser-core/src/domain/session/oldCookiesMigration.ts","../node_modules/@datadog/browser-core/src/domain/session/storeStrategies/sessionInCookie.ts","../node_modules/@datadog/browser-core/src/domain/session/storeStrategies/sessionInLocalStorage.ts","../node_modules/@datadog/browser-core/src/domain/session/sessionStoreOperations.ts","../node_modules/@datadog/browser-core/src/domain/session/sessionStore.ts","../node_modules/@datadog/browser-core/src/tools/utils/urlPolyfill.ts","../node_modules/@datadog/browser-core/src/domain/configuration/intakeSites.ts","../node_modules/@datadog/browser-core/src/domain/configuration/endpointBuilder.ts","../node_modules/@datadog/browser-core/src/domain/configuration/tags.ts","../node_modules/@datadog/browser-core/src/domain/configuration/transportConfiguration.ts","../node_modules/@datadog/browser-core/src/domain/configuration/configuration.ts","../node_modules/@datadog/browser-core/src/domain/error/computeStackTrace.ts","../node_modules/@datadog/browser-core/src/domain/error/error.ts","../node_modules/@datadog/browser-core/src/domain/report/reportObservable.ts","../node_modules/@datadog/browser-logs/src/domain/configuration.ts","../node_modules/@datadog/browser-core/src/tools/utils/arrayUtils.ts","../node_modules/@datadog/browser-core/src/domain/error/error.types.ts","../node_modules/@datadog/browser-logs/src/domain/logger.ts","../node_modules/@datadog/browser-logs/src/boot/logsPublicApi.ts","../node_modules/@datadog/browser-core/src/tools/sendToExtension.ts","../node_modules/@datadog/browser-core/src/browser/pageExitObservable.ts","../node_modules/@datadog/browser-core/src/domain/synthetics/syntheticsWorkerValues.ts","../node_modules/@datadog/browser-core/src/tools/valueHistory.ts","../node_modules/@datadog/browser-core/src/domain/session/sessionManager.ts","../node_modules/@datadog/browser-logs/src/domain/logsSessionManager.ts","../node_modules/@datadog/browser-core/src/domain/telemetry/rawTelemetryEvent.types.ts","../node_modules/@datadog/browser-core/src/domain/telemetry/telemetry.ts","../node_modules/@datadog/browser-logs/src/domain/rumInternalContext.ts","../node_modules/@datadog/browser-logs/src/domain/assembly.ts","../node_modules/@datadog/browser-core/src/domain/eventRateLimiter/createEventRateLimiter.ts","../node_modules/@datadog/browser-core/src/domain/console/consoleObservable.ts","../node_modules/@datadog/browser-logs/src/domain/console/consoleCollection.ts","../node_modules/@datadog/browser-logs/src/domain/report/reportCollection.ts","../node_modules/@datadog/browser-core/src/browser/xhrObservable.ts","../node_modules/@datadog/browser-core/src/tools/instrumentMethod.ts","../node_modules/@datadog/browser-core/src/browser/fetchObservable.ts","../node_modules/@datadog/browser-core/src/tools/utils/responseUtils.ts","../node_modules/@datadog/browser-logs/src/domain/networkError/networkErrorCollection.ts","../node_modules/@datadog/browser-core/src/tools/readBytesFromStream.ts","../node_modules/@datadog/browser-core/src/domain/error/trackRuntimeError.ts","../node_modules/@datadog/browser-core/src/tools/abstractLifeCycle.ts","../node_modules/@datadog/browser-logs/src/domain/lifeCycle.ts","../node_modules/@datadog/browser-logs/src/domain/logger/loggerCollection.ts","../node_modules/@datadog/browser-core/src/transport/batch.ts","../node_modules/@datadog/browser-core/src/transport/sendWithRetryStrategy.ts","../node_modules/@datadog/browser-core/src/transport/httpRequest.ts","../node_modules/@datadog/browser-core/src/transport/flushController.ts","../node_modules/@datadog/browser-core/src/transport/startBatchWithReplica.ts","../node_modules/@datadog/browser-core/src/tools/encoder.ts","../node_modules/@datadog/browser-logs/src/domain/logsTelemetry.ts","../node_modules/@datadog/browser-logs/src/entries/main.ts","../node_modules/@datadog/browser-core/src/boot/init.ts","../node_modules/@datadog/browser-logs/src/boot/startLogs.ts","../node_modules/@datadog/browser-logs/src/domain/reportError.ts","../node_modules/@datadog/browser-logs/src/domain/runtimeError/runtimeErrorCollection.ts","../node_modules/@datadog/browser-logs/src/domain/internalContext.ts","../node_modules/@datadog/browser-logs/src/transport/startLogsBridge.ts","../node_modules/@datadog/browser-logs/src/transport/startLogsBatch.ts","LocalEditor.tsx","utils/oboeHelpers.ts","index.tsx"],"sourcesContent":["\"use strict\";\n\nexports.__esModule = true;\n\nexports.default = function (file, acceptedFiles) {\n if (file && acceptedFiles) {\n var acceptedFilesArray = Array.isArray(acceptedFiles) ? acceptedFiles : acceptedFiles.split(',');\n var fileName = file.name || '';\n var mimeType = (file.type || '').toLowerCase();\n var baseMimeType = mimeType.replace(/\\/.*$/, '');\n return acceptedFilesArray.some(function (type) {\n var validType = type.trim().toLowerCase();\n\n if (validType.charAt(0) === '.') {\n return fileName.toLowerCase().endsWith(validType);\n } else if (validType.endsWith('/*')) {\n // This is something like a image/* mime type\n return baseMimeType === validType.replace(/\\/.*$/, '');\n }\n\n return mimeType === validType;\n });\n }\n\n return true;\n};","'use strict';\n\nvar hasOwn = Object.prototype.hasOwnProperty;\nvar toStr = Object.prototype.toString;\nvar defineProperty = Object.defineProperty;\nvar gOPD = Object.getOwnPropertyDescriptor;\n\nvar isArray = function isArray(arr) {\n\tif (typeof Array.isArray === 'function') {\n\t\treturn Array.isArray(arr);\n\t}\n\n\treturn toStr.call(arr) === '[object Array]';\n};\n\nvar isPlainObject = function isPlainObject(obj) {\n\tif (!obj || toStr.call(obj) !== '[object Object]') {\n\t\treturn false;\n\t}\n\n\tvar hasOwnConstructor = hasOwn.call(obj, 'constructor');\n\tvar hasIsPrototypeOf = obj.constructor && obj.constructor.prototype && hasOwn.call(obj.constructor.prototype, 'isPrototypeOf');\n\t// Not own constructor property must be Object\n\tif (obj.constructor && !hasOwnConstructor && !hasIsPrototypeOf) {\n\t\treturn false;\n\t}\n\n\t// Own properties are enumerated firstly, so to speed up,\n\t// if last one is own, then all properties are own.\n\tvar key;\n\tfor (key in obj) { /**/ }\n\n\treturn typeof key === 'undefined' || hasOwn.call(obj, key);\n};\n\n// If name is '__proto__', and Object.defineProperty is available, define __proto__ as an own property on target\nvar setProperty = function setProperty(target, options) {\n\tif (defineProperty && options.name === '__proto__') {\n\t\tdefineProperty(target, options.name, {\n\t\t\tenumerable: true,\n\t\t\tconfigurable: true,\n\t\t\tvalue: options.newValue,\n\t\t\twritable: true\n\t\t});\n\t} else {\n\t\ttarget[options.name] = options.newValue;\n\t}\n};\n\n// Return undefined instead of __proto__ if '__proto__' is not an own property\nvar getProperty = function getProperty(obj, name) {\n\tif (name === '__proto__') {\n\t\tif (!hasOwn.call(obj, name)) {\n\t\t\treturn void 0;\n\t\t} else if (gOPD) {\n\t\t\t// In early versions of node, obj['__proto__'] is buggy when obj has\n\t\t\t// __proto__ as an own property. Object.getOwnPropertyDescriptor() works.\n\t\t\treturn gOPD(obj, name).value;\n\t\t}\n\t}\n\n\treturn obj[name];\n};\n\nmodule.exports = function extend() {\n\tvar options, name, src, copy, copyIsArray, clone;\n\tvar target = arguments[0];\n\tvar i = 1;\n\tvar length = arguments.length;\n\tvar deep = false;\n\n\t// Handle a deep copy situation\n\tif (typeof target === 'boolean') {\n\t\tdeep = target;\n\t\ttarget = arguments[1] || {};\n\t\t// skip the boolean and the target\n\t\ti = 2;\n\t}\n\tif (target == null || (typeof target !== 'object' && typeof target !== 'function')) {\n\t\ttarget = {};\n\t}\n\n\tfor (; i < length; ++i) {\n\t\toptions = arguments[i];\n\t\t// Only deal with non-null/undefined values\n\t\tif (options != null) {\n\t\t\t// Extend the base object\n\t\t\tfor (name in options) {\n\t\t\t\tsrc = getProperty(target, name);\n\t\t\t\tcopy = getProperty(options, name);\n\n\t\t\t\t// Prevent never-ending loop\n\t\t\t\tif (target !== copy) {\n\t\t\t\t\t// Recurse if we're merging plain objects or arrays\n\t\t\t\t\tif (deep && copy && (isPlainObject(copy) || (copyIsArray = isArray(copy)))) {\n\t\t\t\t\t\tif (copyIsArray) {\n\t\t\t\t\t\t\tcopyIsArray = false;\n\t\t\t\t\t\t\tclone = src && isArray(src) ? src : [];\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tclone = src && isPlainObject(src) ? src : {};\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// Never move original objects, clone them\n\t\t\t\t\t\tsetProperty(target, { name: name, newValue: extend(deep, clone, copy) });\n\n\t\t\t\t\t// Don't bring in undefined values\n\t\t\t\t\t} else if (typeof copy !== 'undefined') {\n\t\t\t\t\t\tsetProperty(target, { name: name, newValue: copy });\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t// Return the modified object\n\treturn target;\n};\n","'use strict';\n\nvar reactIs = require('react-is');\n\n/**\n * Copyright 2015, Yahoo! Inc.\n * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n */\nvar REACT_STATICS = {\n childContextTypes: true,\n contextType: true,\n contextTypes: true,\n defaultProps: true,\n displayName: true,\n getDefaultProps: true,\n getDerivedStateFromError: true,\n getDerivedStateFromProps: true,\n mixins: true,\n propTypes: true,\n type: true\n};\nvar KNOWN_STATICS = {\n name: true,\n length: true,\n prototype: true,\n caller: true,\n callee: true,\n arguments: true,\n arity: true\n};\nvar FORWARD_REF_STATICS = {\n '$$typeof': true,\n render: true,\n defaultProps: true,\n displayName: true,\n propTypes: true\n};\nvar MEMO_STATICS = {\n '$$typeof': true,\n compare: true,\n defaultProps: true,\n displayName: true,\n propTypes: true,\n type: true\n};\nvar TYPE_STATICS = {};\nTYPE_STATICS[reactIs.ForwardRef] = FORWARD_REF_STATICS;\nTYPE_STATICS[reactIs.Memo] = MEMO_STATICS;\n\nfunction getStatics(component) {\n // React v16.11 and below\n if (reactIs.isMemo(component)) {\n return MEMO_STATICS;\n } // React v16.12 and above\n\n\n return TYPE_STATICS[component['$$typeof']] || REACT_STATICS;\n}\n\nvar defineProperty = Object.defineProperty;\nvar getOwnPropertyNames = Object.getOwnPropertyNames;\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nvar getPrototypeOf = Object.getPrototypeOf;\nvar objectPrototype = Object.prototype;\nfunction hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {\n if (typeof sourceComponent !== 'string') {\n // don't hoist over string (html) components\n if (objectPrototype) {\n var inheritedComponent = getPrototypeOf(sourceComponent);\n\n if (inheritedComponent && inheritedComponent !== objectPrototype) {\n hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);\n }\n }\n\n var keys = getOwnPropertyNames(sourceComponent);\n\n if (getOwnPropertySymbols) {\n keys = keys.concat(getOwnPropertySymbols(sourceComponent));\n }\n\n var targetStatics = getStatics(targetComponent);\n var sourceStatics = getStatics(sourceComponent);\n\n for (var i = 0; i < keys.length; ++i) {\n var key = keys[i];\n\n if (!KNOWN_STATICS[key] && !(blacklist && blacklist[key]) && !(sourceStatics && sourceStatics[key]) && !(targetStatics && targetStatics[key])) {\n var descriptor = getOwnPropertyDescriptor(sourceComponent, key);\n\n try {\n // Avoid failures from read-only properties\n defineProperty(targetComponent, key, descriptor);\n } catch (e) {}\n }\n }\n }\n\n return targetComponent;\n}\n\nmodule.exports = hoistNonReactStatics;\n","// http://www.w3.org/TR/CSS21/grammar.html\n// https://github.com/visionmedia/css-parse/pull/49#issuecomment-30088027\nvar COMMENT_REGEX = /\\/\\*[^*]*\\*+([^/*][^*]*\\*+)*\\//g;\n\nvar NEWLINE_REGEX = /\\n/g;\nvar WHITESPACE_REGEX = /^\\s*/;\n\n// declaration\nvar PROPERTY_REGEX = /^(\\*?[-#/*\\\\\\w]+(\\[[0-9a-z_-]+\\])?)\\s*/;\nvar COLON_REGEX = /^:\\s*/;\nvar VALUE_REGEX = /^((?:'(?:\\\\'|.)*?'|\"(?:\\\\\"|.)*?\"|\\([^)]*?\\)|[^};])+)/;\nvar SEMICOLON_REGEX = /^[;\\s]*/;\n\n// https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String/Trim#Polyfill\nvar TRIM_REGEX = /^\\s+|\\s+$/g;\n\n// strings\nvar NEWLINE = '\\n';\nvar FORWARD_SLASH = '/';\nvar ASTERISK = '*';\nvar EMPTY_STRING = '';\n\n// types\nvar TYPE_COMMENT = 'comment';\nvar TYPE_DECLARATION = 'declaration';\n\n/**\n * @param {String} style\n * @param {Object} [options]\n * @return {Object[]}\n * @throws {TypeError}\n * @throws {Error}\n */\nmodule.exports = function(style, options) {\n if (typeof style !== 'string') {\n throw new TypeError('First argument must be a string');\n }\n\n if (!style) return [];\n\n options = options || {};\n\n /**\n * Positional.\n */\n var lineno = 1;\n var column = 1;\n\n /**\n * Update lineno and column based on `str`.\n *\n * @param {String} str\n */\n function updatePosition(str) {\n var lines = str.match(NEWLINE_REGEX);\n if (lines) lineno += lines.length;\n var i = str.lastIndexOf(NEWLINE);\n column = ~i ? str.length - i : column + str.length;\n }\n\n /**\n * Mark position and patch `node.position`.\n *\n * @return {Function}\n */\n function position() {\n var start = { line: lineno, column: column };\n return function(node) {\n node.position = new Position(start);\n whitespace();\n return node;\n };\n }\n\n /**\n * Store position information for a node.\n *\n * @constructor\n * @property {Object} start\n * @property {Object} end\n * @property {undefined|String} source\n */\n function Position(start) {\n this.start = start;\n this.end = { line: lineno, column: column };\n this.source = options.source;\n }\n\n /**\n * Non-enumerable source string.\n */\n Position.prototype.content = style;\n\n var errorsList = [];\n\n /**\n * Error `msg`.\n *\n * @param {String} msg\n * @throws {Error}\n */\n function error(msg) {\n var err = new Error(\n options.source + ':' + lineno + ':' + column + ': ' + msg\n );\n err.reason = msg;\n err.filename = options.source;\n err.line = lineno;\n err.column = column;\n err.source = style;\n\n if (options.silent) {\n errorsList.push(err);\n } else {\n throw err;\n }\n }\n\n /**\n * Match `re` and return captures.\n *\n * @param {RegExp} re\n * @return {undefined|Array}\n */\n function match(re) {\n var m = re.exec(style);\n if (!m) return;\n var str = m[0];\n updatePosition(str);\n style = style.slice(str.length);\n return m;\n }\n\n /**\n * Parse whitespace.\n */\n function whitespace() {\n match(WHITESPACE_REGEX);\n }\n\n /**\n * Parse comments.\n *\n * @param {Object[]} [rules]\n * @return {Object[]}\n */\n function comments(rules) {\n var c;\n rules = rules || [];\n while ((c = comment())) {\n if (c !== false) {\n rules.push(c);\n }\n }\n return rules;\n }\n\n /**\n * Parse comment.\n *\n * @return {Object}\n * @throws {Error}\n */\n function comment() {\n var pos = position();\n if (FORWARD_SLASH != style.charAt(0) || ASTERISK != style.charAt(1)) return;\n\n var i = 2;\n while (\n EMPTY_STRING != style.charAt(i) &&\n (ASTERISK != style.charAt(i) || FORWARD_SLASH != style.charAt(i + 1))\n ) {\n ++i;\n }\n i += 2;\n\n if (EMPTY_STRING === style.charAt(i - 1)) {\n return error('End of comment missing');\n }\n\n var str = style.slice(2, i - 2);\n column += 2;\n updatePosition(str);\n style = style.slice(i);\n column += 2;\n\n return pos({\n type: TYPE_COMMENT,\n comment: str\n });\n }\n\n /**\n * Parse declaration.\n *\n * @return {Object}\n * @throws {Error}\n */\n function declaration() {\n var pos = position();\n\n // prop\n var prop = match(PROPERTY_REGEX);\n if (!prop) return;\n comment();\n\n // :\n if (!match(COLON_REGEX)) return error(\"property missing ':'\");\n\n // val\n var val = match(VALUE_REGEX);\n\n var ret = pos({\n type: TYPE_DECLARATION,\n property: trim(prop[0].replace(COMMENT_REGEX, EMPTY_STRING)),\n value: val\n ? trim(val[0].replace(COMMENT_REGEX, EMPTY_STRING))\n : EMPTY_STRING\n });\n\n // ;\n match(SEMICOLON_REGEX);\n\n return ret;\n }\n\n /**\n * Parse declarations.\n *\n * @return {Object[]}\n */\n function declarations() {\n var decls = [];\n\n comments(decls);\n\n // declarations\n var decl;\n while ((decl = declaration())) {\n if (decl !== false) {\n decls.push(decl);\n comments(decls);\n }\n }\n\n return decls;\n }\n\n whitespace();\n return declarations();\n};\n\n/**\n * Trim `str`.\n *\n * @param {String} str\n * @return {String}\n */\nfunction trim(str) {\n return str ? str.replace(TRIM_REGEX, EMPTY_STRING) : EMPTY_STRING;\n}\n","/*!\n * Determine if an object is a Buffer\n *\n * @author Feross Aboukhadijeh \n * @license MIT\n */\n\nmodule.exports = function isBuffer (obj) {\n return obj != null && obj.constructor != null &&\n typeof obj.constructor.isBuffer === 'function' && obj.constructor.isBuffer(obj)\n}\n","// the whatwg-fetch polyfill installs the fetch() function\n// on the global object (window or self)\n//\n// Return that as the export for use in Webpack, Browserify etc.\nrequire('whatwg-fetch');\nmodule.exports = self.fetch.bind(self);\n","/**\n * @license\n * Lodash \n * Copyright OpenJS Foundation and other contributors \n * Released under MIT license \n * Based on Underscore.js 1.8.3 \n * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n */\n;(function() {\n\n /** Used as a safe reference for `undefined` in pre-ES5 environments. */\n var undefined;\n\n /** Used as the semantic version number. */\n var VERSION = '4.17.21';\n\n /** Used as the size to enable large array optimizations. */\n var LARGE_ARRAY_SIZE = 200;\n\n /** Error message constants. */\n var CORE_ERROR_TEXT = 'Unsupported core-js use. Try https://npms.io/search?q=ponyfill.',\n FUNC_ERROR_TEXT = 'Expected a function',\n INVALID_TEMPL_VAR_ERROR_TEXT = 'Invalid `variable` option passed into `_.template`';\n\n /** Used to stand-in for `undefined` hash values. */\n var HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n /** Used as the maximum memoize cache size. */\n var MAX_MEMOIZE_SIZE = 500;\n\n /** Used as the internal argument placeholder. */\n var PLACEHOLDER = '__lodash_placeholder__';\n\n /** Used to compose bitmasks for cloning. */\n var CLONE_DEEP_FLAG = 1,\n CLONE_FLAT_FLAG = 2,\n CLONE_SYMBOLS_FLAG = 4;\n\n /** Used to compose bitmasks for value comparisons. */\n var COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n /** Used to compose bitmasks for function metadata. */\n var WRAP_BIND_FLAG = 1,\n WRAP_BIND_KEY_FLAG = 2,\n WRAP_CURRY_BOUND_FLAG = 4,\n WRAP_CURRY_FLAG = 8,\n WRAP_CURRY_RIGHT_FLAG = 16,\n WRAP_PARTIAL_FLAG = 32,\n WRAP_PARTIAL_RIGHT_FLAG = 64,\n WRAP_ARY_FLAG = 128,\n WRAP_REARG_FLAG = 256,\n WRAP_FLIP_FLAG = 512;\n\n /** Used as default options for `_.truncate`. */\n var DEFAULT_TRUNC_LENGTH = 30,\n DEFAULT_TRUNC_OMISSION = '...';\n\n /** Used to detect hot functions by number of calls within a span of milliseconds. */\n var HOT_COUNT = 800,\n HOT_SPAN = 16;\n\n /** Used to indicate the type of lazy iteratees. */\n var LAZY_FILTER_FLAG = 1,\n LAZY_MAP_FLAG = 2,\n LAZY_WHILE_FLAG = 3;\n\n /** Used as references for various `Number` constants. */\n var INFINITY = 1 / 0,\n MAX_SAFE_INTEGER = 9007199254740991,\n MAX_INTEGER = 1.7976931348623157e+308,\n NAN = 0 / 0;\n\n /** Used as references for the maximum length and index of an array. */\n var MAX_ARRAY_LENGTH = 4294967295,\n MAX_ARRAY_INDEX = MAX_ARRAY_LENGTH - 1,\n HALF_MAX_ARRAY_LENGTH = MAX_ARRAY_LENGTH >>> 1;\n\n /** Used to associate wrap methods with their bit flags. */\n var wrapFlags = [\n ['ary', WRAP_ARY_FLAG],\n ['bind', WRAP_BIND_FLAG],\n ['bindKey', WRAP_BIND_KEY_FLAG],\n ['curry', WRAP_CURRY_FLAG],\n ['curryRight', WRAP_CURRY_RIGHT_FLAG],\n ['flip', WRAP_FLIP_FLAG],\n ['partial', WRAP_PARTIAL_FLAG],\n ['partialRight', WRAP_PARTIAL_RIGHT_FLAG],\n ['rearg', WRAP_REARG_FLAG]\n ];\n\n /** `Object#toString` result references. */\n var argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n asyncTag = '[object AsyncFunction]',\n boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n domExcTag = '[object DOMException]',\n errorTag = '[object Error]',\n funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n nullTag = '[object Null]',\n objectTag = '[object Object]',\n promiseTag = '[object Promise]',\n proxyTag = '[object Proxy]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]',\n undefinedTag = '[object Undefined]',\n weakMapTag = '[object WeakMap]',\n weakSetTag = '[object WeakSet]';\n\n var arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n /** Used to match empty string literals in compiled template source. */\n var reEmptyStringLeading = /\\b__p \\+= '';/g,\n reEmptyStringMiddle = /\\b(__p \\+=) '' \\+/g,\n reEmptyStringTrailing = /(__e\\(.*?\\)|\\b__t\\)) \\+\\n'';/g;\n\n /** Used to match HTML entities and HTML characters. */\n var reEscapedHtml = /&(?:amp|lt|gt|quot|#39);/g,\n reUnescapedHtml = /[&<>\"']/g,\n reHasEscapedHtml = RegExp(reEscapedHtml.source),\n reHasUnescapedHtml = RegExp(reUnescapedHtml.source);\n\n /** Used to match template delimiters. */\n var reEscape = /<%-([\\s\\S]+?)%>/g,\n reEvaluate = /<%([\\s\\S]+?)%>/g,\n reInterpolate = /<%=([\\s\\S]+?)%>/g;\n\n /** Used to match property names within property paths. */\n var reIsDeepProp = /\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,\n reIsPlainProp = /^\\w*$/,\n rePropName = /[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))/g;\n\n /**\n * Used to match `RegExp`\n * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).\n */\n var reRegExpChar = /[\\\\^$.*+?()[\\]{}|]/g,\n reHasRegExpChar = RegExp(reRegExpChar.source);\n\n /** Used to match leading whitespace. */\n var reTrimStart = /^\\s+/;\n\n /** Used to match a single whitespace character. */\n var reWhitespace = /\\s/;\n\n /** Used to match wrap detail comments. */\n var reWrapComment = /\\{(?:\\n\\/\\* \\[wrapped with .+\\] \\*\\/)?\\n?/,\n reWrapDetails = /\\{\\n\\/\\* \\[wrapped with (.+)\\] \\*/,\n reSplitDetails = /,? & /;\n\n /** Used to match words composed of alphanumeric characters. */\n var reAsciiWord = /[^\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\x7f]+/g;\n\n /**\n * Used to validate the `validate` option in `_.template` variable.\n *\n * Forbids characters which could potentially change the meaning of the function argument definition:\n * - \"(),\" (modification of function parameters)\n * - \"=\" (default value)\n * - \"[]{}\" (destructuring of function parameters)\n * - \"/\" (beginning of a comment)\n * - whitespace\n */\n var reForbiddenIdentifierChars = /[()=,{}\\[\\]\\/\\s]/;\n\n /** Used to match backslashes in property paths. */\n var reEscapeChar = /\\\\(\\\\)?/g;\n\n /**\n * Used to match\n * [ES template delimiters](http://ecma-international.org/ecma-262/7.0/#sec-template-literal-lexical-components).\n */\n var reEsTemplate = /\\$\\{([^\\\\}]*(?:\\\\.[^\\\\}]*)*)\\}/g;\n\n /** Used to match `RegExp` flags from their coerced string values. */\n var reFlags = /\\w*$/;\n\n /** Used to detect bad signed hexadecimal string values. */\n var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n /** Used to detect binary string values. */\n var reIsBinary = /^0b[01]+$/i;\n\n /** Used to detect host constructors (Safari). */\n var reIsHostCtor = /^\\[object .+?Constructor\\]$/;\n\n /** Used to detect octal string values. */\n var reIsOctal = /^0o[0-7]+$/i;\n\n /** Used to detect unsigned integer values. */\n var reIsUint = /^(?:0|[1-9]\\d*)$/;\n\n /** Used to match Latin Unicode letters (excluding mathematical operators). */\n var reLatin = /[\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\xff\\u0100-\\u017f]/g;\n\n /** Used to ensure capturing order of template delimiters. */\n var reNoMatch = /($^)/;\n\n /** Used to match unescaped characters in compiled string literals. */\n var reUnescapedString = /['\\n\\r\\u2028\\u2029\\\\]/g;\n\n /** Used to compose unicode character classes. */\n var rsAstralRange = '\\\\ud800-\\\\udfff',\n rsComboMarksRange = '\\\\u0300-\\\\u036f',\n reComboHalfMarksRange = '\\\\ufe20-\\\\ufe2f',\n rsComboSymbolsRange = '\\\\u20d0-\\\\u20ff',\n rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange,\n rsDingbatRange = '\\\\u2700-\\\\u27bf',\n rsLowerRange = 'a-z\\\\xdf-\\\\xf6\\\\xf8-\\\\xff',\n rsMathOpRange = '\\\\xac\\\\xb1\\\\xd7\\\\xf7',\n rsNonCharRange = '\\\\x00-\\\\x2f\\\\x3a-\\\\x40\\\\x5b-\\\\x60\\\\x7b-\\\\xbf',\n rsPunctuationRange = '\\\\u2000-\\\\u206f',\n rsSpaceRange = ' \\\\t\\\\x0b\\\\f\\\\xa0\\\\ufeff\\\\n\\\\r\\\\u2028\\\\u2029\\\\u1680\\\\u180e\\\\u2000\\\\u2001\\\\u2002\\\\u2003\\\\u2004\\\\u2005\\\\u2006\\\\u2007\\\\u2008\\\\u2009\\\\u200a\\\\u202f\\\\u205f\\\\u3000',\n rsUpperRange = 'A-Z\\\\xc0-\\\\xd6\\\\xd8-\\\\xde',\n rsVarRange = '\\\\ufe0e\\\\ufe0f',\n rsBreakRange = rsMathOpRange + rsNonCharRange + rsPunctuationRange + rsSpaceRange;\n\n /** Used to compose unicode capture groups. */\n var rsApos = \"['\\u2019]\",\n rsAstral = '[' + rsAstralRange + ']',\n rsBreak = '[' + rsBreakRange + ']',\n rsCombo = '[' + rsComboRange + ']',\n rsDigits = '\\\\d+',\n rsDingbat = '[' + rsDingbatRange + ']',\n rsLower = '[' + rsLowerRange + ']',\n rsMisc = '[^' + rsAstralRange + rsBreakRange + rsDigits + rsDingbatRange + rsLowerRange + rsUpperRange + ']',\n rsFitz = '\\\\ud83c[\\\\udffb-\\\\udfff]',\n rsModifier = '(?:' + rsCombo + '|' + rsFitz + ')',\n rsNonAstral = '[^' + rsAstralRange + ']',\n rsRegional = '(?:\\\\ud83c[\\\\udde6-\\\\uddff]){2}',\n rsSurrPair = '[\\\\ud800-\\\\udbff][\\\\udc00-\\\\udfff]',\n rsUpper = '[' + rsUpperRange + ']',\n rsZWJ = '\\\\u200d';\n\n /** Used to compose unicode regexes. */\n var rsMiscLower = '(?:' + rsLower + '|' + rsMisc + ')',\n rsMiscUpper = '(?:' + rsUpper + '|' + rsMisc + ')',\n rsOptContrLower = '(?:' + rsApos + '(?:d|ll|m|re|s|t|ve))?',\n rsOptContrUpper = '(?:' + rsApos + '(?:D|LL|M|RE|S|T|VE))?',\n reOptMod = rsModifier + '?',\n rsOptVar = '[' + rsVarRange + ']?',\n rsOptJoin = '(?:' + rsZWJ + '(?:' + [rsNonAstral, rsRegional, rsSurrPair].join('|') + ')' + rsOptVar + reOptMod + ')*',\n rsOrdLower = '\\\\d*(?:1st|2nd|3rd|(?![123])\\\\dth)(?=\\\\b|[A-Z_])',\n rsOrdUpper = '\\\\d*(?:1ST|2ND|3RD|(?![123])\\\\dTH)(?=\\\\b|[a-z_])',\n rsSeq = rsOptVar + reOptMod + rsOptJoin,\n rsEmoji = '(?:' + [rsDingbat, rsRegional, rsSurrPair].join('|') + ')' + rsSeq,\n rsSymbol = '(?:' + [rsNonAstral + rsCombo + '?', rsCombo, rsRegional, rsSurrPair, rsAstral].join('|') + ')';\n\n /** Used to match apostrophes. */\n var reApos = RegExp(rsApos, 'g');\n\n /**\n * Used to match [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks) and\n * [combining diacritical marks for symbols](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks_for_Symbols).\n */\n var reComboMark = RegExp(rsCombo, 'g');\n\n /** Used to match [string symbols](https://mathiasbynens.be/notes/javascript-unicode). */\n var reUnicode = RegExp(rsFitz + '(?=' + rsFitz + ')|' + rsSymbol + rsSeq, 'g');\n\n /** Used to match complex or compound words. */\n var reUnicodeWord = RegExp([\n rsUpper + '?' + rsLower + '+' + rsOptContrLower + '(?=' + [rsBreak, rsUpper, '$'].join('|') + ')',\n rsMiscUpper + '+' + rsOptContrUpper + '(?=' + [rsBreak, rsUpper + rsMiscLower, '$'].join('|') + ')',\n rsUpper + '?' + rsMiscLower + '+' + rsOptContrLower,\n rsUpper + '+' + rsOptContrUpper,\n rsOrdUpper,\n rsOrdLower,\n rsDigits,\n rsEmoji\n ].join('|'), 'g');\n\n /** Used to detect strings with [zero-width joiners or code points from the astral planes](http://eev.ee/blog/2015/09/12/dark-corners-of-unicode/). */\n var reHasUnicode = RegExp('[' + rsZWJ + rsAstralRange + rsComboRange + rsVarRange + ']');\n\n /** Used to detect strings that need a more robust regexp to match words. */\n var reHasUnicodeWord = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;\n\n /** Used to assign default `context` object properties. */\n var contextProps = [\n 'Array', 'Buffer', 'DataView', 'Date', 'Error', 'Float32Array', 'Float64Array',\n 'Function', 'Int8Array', 'Int16Array', 'Int32Array', 'Map', 'Math', 'Object',\n 'Promise', 'RegExp', 'Set', 'String', 'Symbol', 'TypeError', 'Uint8Array',\n 'Uint8ClampedArray', 'Uint16Array', 'Uint32Array', 'WeakMap',\n '_', 'clearTimeout', 'isFinite', 'parseInt', 'setTimeout'\n ];\n\n /** Used to make template sourceURLs easier to identify. */\n var templateCounter = -1;\n\n /** Used to identify `toStringTag` values of typed arrays. */\n var typedArrayTags = {};\n typedArrayTags[float32Tag] = typedArrayTags[float64Tag] =\n typedArrayTags[int8Tag] = typedArrayTags[int16Tag] =\n typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =\n typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =\n typedArrayTags[uint32Tag] = true;\n typedArrayTags[argsTag] = typedArrayTags[arrayTag] =\n typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =\n typedArrayTags[dataViewTag] = typedArrayTags[dateTag] =\n typedArrayTags[errorTag] = typedArrayTags[funcTag] =\n typedArrayTags[mapTag] = typedArrayTags[numberTag] =\n typedArrayTags[objectTag] = typedArrayTags[regexpTag] =\n typedArrayTags[setTag] = typedArrayTags[stringTag] =\n typedArrayTags[weakMapTag] = false;\n\n /** Used to identify `toStringTag` values supported by `_.clone`. */\n var cloneableTags = {};\n cloneableTags[argsTag] = cloneableTags[arrayTag] =\n cloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] =\n cloneableTags[boolTag] = cloneableTags[dateTag] =\n cloneableTags[float32Tag] = cloneableTags[float64Tag] =\n cloneableTags[int8Tag] = cloneableTags[int16Tag] =\n cloneableTags[int32Tag] = cloneableTags[mapTag] =\n cloneableTags[numberTag] = cloneableTags[objectTag] =\n cloneableTags[regexpTag] = cloneableTags[setTag] =\n cloneableTags[stringTag] = cloneableTags[symbolTag] =\n cloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] =\n cloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;\n cloneableTags[errorTag] = cloneableTags[funcTag] =\n cloneableTags[weakMapTag] = false;\n\n /** Used to map Latin Unicode letters to basic Latin letters. */\n var deburredLetters = {\n // Latin-1 Supplement block.\n '\\xc0': 'A', '\\xc1': 'A', '\\xc2': 'A', '\\xc3': 'A', '\\xc4': 'A', '\\xc5': 'A',\n '\\xe0': 'a', '\\xe1': 'a', '\\xe2': 'a', '\\xe3': 'a', '\\xe4': 'a', '\\xe5': 'a',\n '\\xc7': 'C', '\\xe7': 'c',\n '\\xd0': 'D', '\\xf0': 'd',\n '\\xc8': 'E', '\\xc9': 'E', '\\xca': 'E', '\\xcb': 'E',\n '\\xe8': 'e', '\\xe9': 'e', '\\xea': 'e', '\\xeb': 'e',\n '\\xcc': 'I', '\\xcd': 'I', '\\xce': 'I', '\\xcf': 'I',\n '\\xec': 'i', '\\xed': 'i', '\\xee': 'i', '\\xef': 'i',\n '\\xd1': 'N', '\\xf1': 'n',\n '\\xd2': 'O', '\\xd3': 'O', '\\xd4': 'O', '\\xd5': 'O', '\\xd6': 'O', '\\xd8': 'O',\n '\\xf2': 'o', '\\xf3': 'o', '\\xf4': 'o', '\\xf5': 'o', '\\xf6': 'o', '\\xf8': 'o',\n '\\xd9': 'U', '\\xda': 'U', '\\xdb': 'U', '\\xdc': 'U',\n '\\xf9': 'u', '\\xfa': 'u', '\\xfb': 'u', '\\xfc': 'u',\n '\\xdd': 'Y', '\\xfd': 'y', '\\xff': 'y',\n '\\xc6': 'Ae', '\\xe6': 'ae',\n '\\xde': 'Th', '\\xfe': 'th',\n '\\xdf': 'ss',\n // Latin Extended-A block.\n '\\u0100': 'A', '\\u0102': 'A', '\\u0104': 'A',\n '\\u0101': 'a', '\\u0103': 'a', '\\u0105': 'a',\n '\\u0106': 'C', '\\u0108': 'C', '\\u010a': 'C', '\\u010c': 'C',\n '\\u0107': 'c', '\\u0109': 'c', '\\u010b': 'c', '\\u010d': 'c',\n '\\u010e': 'D', '\\u0110': 'D', '\\u010f': 'd', '\\u0111': 'd',\n '\\u0112': 'E', '\\u0114': 'E', '\\u0116': 'E', '\\u0118': 'E', '\\u011a': 'E',\n '\\u0113': 'e', '\\u0115': 'e', '\\u0117': 'e', '\\u0119': 'e', '\\u011b': 'e',\n '\\u011c': 'G', '\\u011e': 'G', '\\u0120': 'G', '\\u0122': 'G',\n '\\u011d': 'g', '\\u011f': 'g', '\\u0121': 'g', '\\u0123': 'g',\n '\\u0124': 'H', '\\u0126': 'H', '\\u0125': 'h', '\\u0127': 'h',\n '\\u0128': 'I', '\\u012a': 'I', '\\u012c': 'I', '\\u012e': 'I', '\\u0130': 'I',\n '\\u0129': 'i', '\\u012b': 'i', '\\u012d': 'i', '\\u012f': 'i', '\\u0131': 'i',\n '\\u0134': 'J', '\\u0135': 'j',\n '\\u0136': 'K', '\\u0137': 'k', '\\u0138': 'k',\n '\\u0139': 'L', '\\u013b': 'L', '\\u013d': 'L', '\\u013f': 'L', '\\u0141': 'L',\n '\\u013a': 'l', '\\u013c': 'l', '\\u013e': 'l', '\\u0140': 'l', '\\u0142': 'l',\n '\\u0143': 'N', '\\u0145': 'N', '\\u0147': 'N', '\\u014a': 'N',\n '\\u0144': 'n', '\\u0146': 'n', '\\u0148': 'n', '\\u014b': 'n',\n '\\u014c': 'O', '\\u014e': 'O', '\\u0150': 'O',\n '\\u014d': 'o', '\\u014f': 'o', '\\u0151': 'o',\n '\\u0154': 'R', '\\u0156': 'R', '\\u0158': 'R',\n '\\u0155': 'r', '\\u0157': 'r', '\\u0159': 'r',\n '\\u015a': 'S', '\\u015c': 'S', '\\u015e': 'S', '\\u0160': 'S',\n '\\u015b': 's', '\\u015d': 's', '\\u015f': 's', '\\u0161': 's',\n '\\u0162': 'T', '\\u0164': 'T', '\\u0166': 'T',\n '\\u0163': 't', '\\u0165': 't', '\\u0167': 't',\n '\\u0168': 'U', '\\u016a': 'U', '\\u016c': 'U', '\\u016e': 'U', '\\u0170': 'U', '\\u0172': 'U',\n '\\u0169': 'u', '\\u016b': 'u', '\\u016d': 'u', '\\u016f': 'u', '\\u0171': 'u', '\\u0173': 'u',\n '\\u0174': 'W', '\\u0175': 'w',\n '\\u0176': 'Y', '\\u0177': 'y', '\\u0178': 'Y',\n '\\u0179': 'Z', '\\u017b': 'Z', '\\u017d': 'Z',\n '\\u017a': 'z', '\\u017c': 'z', '\\u017e': 'z',\n '\\u0132': 'IJ', '\\u0133': 'ij',\n '\\u0152': 'Oe', '\\u0153': 'oe',\n '\\u0149': \"'n\", '\\u017f': 's'\n };\n\n /** Used to map characters to HTML entities. */\n var htmlEscapes = {\n '&': '&',\n '<': '<',\n '>': '>',\n '\"': '"',\n \"'\": '''\n };\n\n /** Used to map HTML entities to characters. */\n var htmlUnescapes = {\n '&': '&',\n '<': '<',\n '>': '>',\n '"': '\"',\n ''': \"'\"\n };\n\n /** Used to escape characters for inclusion in compiled string literals. */\n var stringEscapes = {\n '\\\\': '\\\\',\n \"'\": \"'\",\n '\\n': 'n',\n '\\r': 'r',\n '\\u2028': 'u2028',\n '\\u2029': 'u2029'\n };\n\n /** Built-in method references without a dependency on `root`. */\n var freeParseFloat = parseFloat,\n freeParseInt = parseInt;\n\n /** Detect free variable `global` from Node.js. */\n var freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\n /** Detect free variable `self`. */\n var freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n /** Used as a reference to the global object. */\n var root = freeGlobal || freeSelf || Function('return this')();\n\n /** Detect free variable `exports`. */\n var freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n /** Detect free variable `module`. */\n var freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n /** Detect the popular CommonJS extension `module.exports`. */\n var moduleExports = freeModule && freeModule.exports === freeExports;\n\n /** Detect free variable `process` from Node.js. */\n var freeProcess = moduleExports && freeGlobal.process;\n\n /** Used to access faster Node.js helpers. */\n var nodeUtil = (function() {\n try {\n // Use `util.types` for Node.js 10+.\n var types = freeModule && freeModule.require && freeModule.require('util').types;\n\n if (types) {\n return types;\n }\n\n // Legacy `process.binding('util')` for Node.js < 10.\n return freeProcess && freeProcess.binding && freeProcess.binding('util');\n } catch (e) {}\n }());\n\n /* Node.js helper references. */\n var nodeIsArrayBuffer = nodeUtil && nodeUtil.isArrayBuffer,\n nodeIsDate = nodeUtil && nodeUtil.isDate,\n nodeIsMap = nodeUtil && nodeUtil.isMap,\n nodeIsRegExp = nodeUtil && nodeUtil.isRegExp,\n nodeIsSet = nodeUtil && nodeUtil.isSet,\n nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;\n\n /*--------------------------------------------------------------------------*/\n\n /**\n * A faster alternative to `Function#apply`, this function invokes `func`\n * with the `this` binding of `thisArg` and the arguments of `args`.\n *\n * @private\n * @param {Function} func The function to invoke.\n * @param {*} thisArg The `this` binding of `func`.\n * @param {Array} args The arguments to invoke `func` with.\n * @returns {*} Returns the result of `func`.\n */\n function apply(func, thisArg, args) {\n switch (args.length) {\n case 0: return func.call(thisArg);\n case 1: return func.call(thisArg, args[0]);\n case 2: return func.call(thisArg, args[0], args[1]);\n case 3: return func.call(thisArg, args[0], args[1], args[2]);\n }\n return func.apply(thisArg, args);\n }\n\n /**\n * A specialized version of `baseAggregator` for arrays.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} setter The function to set `accumulator` values.\n * @param {Function} iteratee The iteratee to transform keys.\n * @param {Object} accumulator The initial aggregated object.\n * @returns {Function} Returns `accumulator`.\n */\n function arrayAggregator(array, setter, iteratee, accumulator) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n var value = array[index];\n setter(accumulator, value, iteratee(value), array);\n }\n return accumulator;\n }\n\n /**\n * A specialized version of `_.forEach` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns `array`.\n */\n function arrayEach(array, iteratee) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (iteratee(array[index], index, array) === false) {\n break;\n }\n }\n return array;\n }\n\n /**\n * A specialized version of `_.forEachRight` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns `array`.\n */\n function arrayEachRight(array, iteratee) {\n var length = array == null ? 0 : array.length;\n\n while (length--) {\n if (iteratee(array[length], length, array) === false) {\n break;\n }\n }\n return array;\n }\n\n /**\n * A specialized version of `_.every` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {boolean} Returns `true` if all elements pass the predicate check,\n * else `false`.\n */\n function arrayEvery(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (!predicate(array[index], index, array)) {\n return false;\n }\n }\n return true;\n }\n\n /**\n * A specialized version of `_.filter` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n */\n function arrayFilter(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length,\n resIndex = 0,\n result = [];\n\n while (++index < length) {\n var value = array[index];\n if (predicate(value, index, array)) {\n result[resIndex++] = value;\n }\n }\n return result;\n }\n\n /**\n * A specialized version of `_.includes` for arrays without support for\n * specifying an index to search from.\n *\n * @private\n * @param {Array} [array] The array to inspect.\n * @param {*} target The value to search for.\n * @returns {boolean} Returns `true` if `target` is found, else `false`.\n */\n function arrayIncludes(array, value) {\n var length = array == null ? 0 : array.length;\n return !!length && baseIndexOf(array, value, 0) > -1;\n }\n\n /**\n * This function is like `arrayIncludes` except that it accepts a comparator.\n *\n * @private\n * @param {Array} [array] The array to inspect.\n * @param {*} target The value to search for.\n * @param {Function} comparator The comparator invoked per element.\n * @returns {boolean} Returns `true` if `target` is found, else `false`.\n */\n function arrayIncludesWith(array, value, comparator) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (comparator(value, array[index])) {\n return true;\n }\n }\n return false;\n }\n\n /**\n * A specialized version of `_.map` for arrays without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n */\n function arrayMap(array, iteratee) {\n var index = -1,\n length = array == null ? 0 : array.length,\n result = Array(length);\n\n while (++index < length) {\n result[index] = iteratee(array[index], index, array);\n }\n return result;\n }\n\n /**\n * Appends the elements of `values` to `array`.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {Array} values The values to append.\n * @returns {Array} Returns `array`.\n */\n function arrayPush(array, values) {\n var index = -1,\n length = values.length,\n offset = array.length;\n\n while (++index < length) {\n array[offset + index] = values[index];\n }\n return array;\n }\n\n /**\n * A specialized version of `_.reduce` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {*} [accumulator] The initial value.\n * @param {boolean} [initAccum] Specify using the first element of `array` as\n * the initial value.\n * @returns {*} Returns the accumulated value.\n */\n function arrayReduce(array, iteratee, accumulator, initAccum) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n if (initAccum && length) {\n accumulator = array[++index];\n }\n while (++index < length) {\n accumulator = iteratee(accumulator, array[index], index, array);\n }\n return accumulator;\n }\n\n /**\n * A specialized version of `_.reduceRight` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {*} [accumulator] The initial value.\n * @param {boolean} [initAccum] Specify using the last element of `array` as\n * the initial value.\n * @returns {*} Returns the accumulated value.\n */\n function arrayReduceRight(array, iteratee, accumulator, initAccum) {\n var length = array == null ? 0 : array.length;\n if (initAccum && length) {\n accumulator = array[--length];\n }\n while (length--) {\n accumulator = iteratee(accumulator, array[length], length, array);\n }\n return accumulator;\n }\n\n /**\n * A specialized version of `_.some` for arrays without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {boolean} Returns `true` if any element passes the predicate check,\n * else `false`.\n */\n function arraySome(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (predicate(array[index], index, array)) {\n return true;\n }\n }\n return false;\n }\n\n /**\n * Gets the size of an ASCII `string`.\n *\n * @private\n * @param {string} string The string inspect.\n * @returns {number} Returns the string size.\n */\n var asciiSize = baseProperty('length');\n\n /**\n * Converts an ASCII `string` to an array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the converted array.\n */\n function asciiToArray(string) {\n return string.split('');\n }\n\n /**\n * Splits an ASCII `string` into an array of its words.\n *\n * @private\n * @param {string} The string to inspect.\n * @returns {Array} Returns the words of `string`.\n */\n function asciiWords(string) {\n return string.match(reAsciiWord) || [];\n }\n\n /**\n * The base implementation of methods like `_.findKey` and `_.findLastKey`,\n * without support for iteratee shorthands, which iterates over `collection`\n * using `eachFunc`.\n *\n * @private\n * @param {Array|Object} collection The collection to inspect.\n * @param {Function} predicate The function invoked per iteration.\n * @param {Function} eachFunc The function to iterate over `collection`.\n * @returns {*} Returns the found element or its key, else `undefined`.\n */\n function baseFindKey(collection, predicate, eachFunc) {\n var result;\n eachFunc(collection, function(value, key, collection) {\n if (predicate(value, key, collection)) {\n result = key;\n return false;\n }\n });\n return result;\n }\n\n /**\n * The base implementation of `_.findIndex` and `_.findLastIndex` without\n * support for iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Function} predicate The function invoked per iteration.\n * @param {number} fromIndex The index to search from.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\n function baseFindIndex(array, predicate, fromIndex, fromRight) {\n var length = array.length,\n index = fromIndex + (fromRight ? 1 : -1);\n\n while ((fromRight ? index-- : ++index < length)) {\n if (predicate(array[index], index, array)) {\n return index;\n }\n }\n return -1;\n }\n\n /**\n * The base implementation of `_.indexOf` without `fromIndex` bounds checks.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\n function baseIndexOf(array, value, fromIndex) {\n return value === value\n ? strictIndexOf(array, value, fromIndex)\n : baseFindIndex(array, baseIsNaN, fromIndex);\n }\n\n /**\n * This function is like `baseIndexOf` except that it accepts a comparator.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @param {Function} comparator The comparator invoked per element.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\n function baseIndexOfWith(array, value, fromIndex, comparator) {\n var index = fromIndex - 1,\n length = array.length;\n\n while (++index < length) {\n if (comparator(array[index], value)) {\n return index;\n }\n }\n return -1;\n }\n\n /**\n * The base implementation of `_.isNaN` without support for number objects.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`.\n */\n function baseIsNaN(value) {\n return value !== value;\n }\n\n /**\n * The base implementation of `_.mean` and `_.meanBy` without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {number} Returns the mean.\n */\n function baseMean(array, iteratee) {\n var length = array == null ? 0 : array.length;\n return length ? (baseSum(array, iteratee) / length) : NAN;\n }\n\n /**\n * The base implementation of `_.property` without support for deep paths.\n *\n * @private\n * @param {string} key The key of the property to get.\n * @returns {Function} Returns the new accessor function.\n */\n function baseProperty(key) {\n return function(object) {\n return object == null ? undefined : object[key];\n };\n }\n\n /**\n * The base implementation of `_.propertyOf` without support for deep paths.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Function} Returns the new accessor function.\n */\n function basePropertyOf(object) {\n return function(key) {\n return object == null ? undefined : object[key];\n };\n }\n\n /**\n * The base implementation of `_.reduce` and `_.reduceRight`, without support\n * for iteratee shorthands, which iterates over `collection` using `eachFunc`.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {*} accumulator The initial value.\n * @param {boolean} initAccum Specify using the first or last element of\n * `collection` as the initial value.\n * @param {Function} eachFunc The function to iterate over `collection`.\n * @returns {*} Returns the accumulated value.\n */\n function baseReduce(collection, iteratee, accumulator, initAccum, eachFunc) {\n eachFunc(collection, function(value, index, collection) {\n accumulator = initAccum\n ? (initAccum = false, value)\n : iteratee(accumulator, value, index, collection);\n });\n return accumulator;\n }\n\n /**\n * The base implementation of `_.sortBy` which uses `comparer` to define the\n * sort order of `array` and replaces criteria objects with their corresponding\n * values.\n *\n * @private\n * @param {Array} array The array to sort.\n * @param {Function} comparer The function to define sort order.\n * @returns {Array} Returns `array`.\n */\n function baseSortBy(array, comparer) {\n var length = array.length;\n\n array.sort(comparer);\n while (length--) {\n array[length] = array[length].value;\n }\n return array;\n }\n\n /**\n * The base implementation of `_.sum` and `_.sumBy` without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {number} Returns the sum.\n */\n function baseSum(array, iteratee) {\n var result,\n index = -1,\n length = array.length;\n\n while (++index < length) {\n var current = iteratee(array[index]);\n if (current !== undefined) {\n result = result === undefined ? current : (result + current);\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `_.times` without support for iteratee shorthands\n * or max array length checks.\n *\n * @private\n * @param {number} n The number of times to invoke `iteratee`.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the array of results.\n */\n function baseTimes(n, iteratee) {\n var index = -1,\n result = Array(n);\n\n while (++index < n) {\n result[index] = iteratee(index);\n }\n return result;\n }\n\n /**\n * The base implementation of `_.toPairs` and `_.toPairsIn` which creates an array\n * of key-value pairs for `object` corresponding to the property names of `props`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array} props The property names to get values for.\n * @returns {Object} Returns the key-value pairs.\n */\n function baseToPairs(object, props) {\n return arrayMap(props, function(key) {\n return [key, object[key]];\n });\n }\n\n /**\n * The base implementation of `_.trim`.\n *\n * @private\n * @param {string} string The string to trim.\n * @returns {string} Returns the trimmed string.\n */\n function baseTrim(string) {\n return string\n ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '')\n : string;\n }\n\n /**\n * The base implementation of `_.unary` without support for storing metadata.\n *\n * @private\n * @param {Function} func The function to cap arguments for.\n * @returns {Function} Returns the new capped function.\n */\n function baseUnary(func) {\n return function(value) {\n return func(value);\n };\n }\n\n /**\n * The base implementation of `_.values` and `_.valuesIn` which creates an\n * array of `object` property values corresponding to the property names\n * of `props`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array} props The property names to get values for.\n * @returns {Object} Returns the array of property values.\n */\n function baseValues(object, props) {\n return arrayMap(props, function(key) {\n return object[key];\n });\n }\n\n /**\n * Checks if a `cache` value for `key` exists.\n *\n * @private\n * @param {Object} cache The cache to query.\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\n function cacheHas(cache, key) {\n return cache.has(key);\n }\n\n /**\n * Used by `_.trim` and `_.trimStart` to get the index of the first string symbol\n * that is not found in the character symbols.\n *\n * @private\n * @param {Array} strSymbols The string symbols to inspect.\n * @param {Array} chrSymbols The character symbols to find.\n * @returns {number} Returns the index of the first unmatched string symbol.\n */\n function charsStartIndex(strSymbols, chrSymbols) {\n var index = -1,\n length = strSymbols.length;\n\n while (++index < length && baseIndexOf(chrSymbols, strSymbols[index], 0) > -1) {}\n return index;\n }\n\n /**\n * Used by `_.trim` and `_.trimEnd` to get the index of the last string symbol\n * that is not found in the character symbols.\n *\n * @private\n * @param {Array} strSymbols The string symbols to inspect.\n * @param {Array} chrSymbols The character symbols to find.\n * @returns {number} Returns the index of the last unmatched string symbol.\n */\n function charsEndIndex(strSymbols, chrSymbols) {\n var index = strSymbols.length;\n\n while (index-- && baseIndexOf(chrSymbols, strSymbols[index], 0) > -1) {}\n return index;\n }\n\n /**\n * Gets the number of `placeholder` occurrences in `array`.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} placeholder The placeholder to search for.\n * @returns {number} Returns the placeholder count.\n */\n function countHolders(array, placeholder) {\n var length = array.length,\n result = 0;\n\n while (length--) {\n if (array[length] === placeholder) {\n ++result;\n }\n }\n return result;\n }\n\n /**\n * Used by `_.deburr` to convert Latin-1 Supplement and Latin Extended-A\n * letters to basic Latin letters.\n *\n * @private\n * @param {string} letter The matched letter to deburr.\n * @returns {string} Returns the deburred letter.\n */\n var deburrLetter = basePropertyOf(deburredLetters);\n\n /**\n * Used by `_.escape` to convert characters to HTML entities.\n *\n * @private\n * @param {string} chr The matched character to escape.\n * @returns {string} Returns the escaped character.\n */\n var escapeHtmlChar = basePropertyOf(htmlEscapes);\n\n /**\n * Used by `_.template` to escape characters for inclusion in compiled string literals.\n *\n * @private\n * @param {string} chr The matched character to escape.\n * @returns {string} Returns the escaped character.\n */\n function escapeStringChar(chr) {\n return '\\\\' + stringEscapes[chr];\n }\n\n /**\n * Gets the value at `key` of `object`.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\n function getValue(object, key) {\n return object == null ? undefined : object[key];\n }\n\n /**\n * Checks if `string` contains Unicode symbols.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {boolean} Returns `true` if a symbol is found, else `false`.\n */\n function hasUnicode(string) {\n return reHasUnicode.test(string);\n }\n\n /**\n * Checks if `string` contains a word composed of Unicode symbols.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {boolean} Returns `true` if a word is found, else `false`.\n */\n function hasUnicodeWord(string) {\n return reHasUnicodeWord.test(string);\n }\n\n /**\n * Converts `iterator` to an array.\n *\n * @private\n * @param {Object} iterator The iterator to convert.\n * @returns {Array} Returns the converted array.\n */\n function iteratorToArray(iterator) {\n var data,\n result = [];\n\n while (!(data = iterator.next()).done) {\n result.push(data.value);\n }\n return result;\n }\n\n /**\n * Converts `map` to its key-value pairs.\n *\n * @private\n * @param {Object} map The map to convert.\n * @returns {Array} Returns the key-value pairs.\n */\n function mapToArray(map) {\n var index = -1,\n result = Array(map.size);\n\n map.forEach(function(value, key) {\n result[++index] = [key, value];\n });\n return result;\n }\n\n /**\n * Creates a unary function that invokes `func` with its argument transformed.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {Function} transform The argument transform.\n * @returns {Function} Returns the new function.\n */\n function overArg(func, transform) {\n return function(arg) {\n return func(transform(arg));\n };\n }\n\n /**\n * Replaces all `placeholder` elements in `array` with an internal placeholder\n * and returns an array of their indexes.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {*} placeholder The placeholder to replace.\n * @returns {Array} Returns the new array of placeholder indexes.\n */\n function replaceHolders(array, placeholder) {\n var index = -1,\n length = array.length,\n resIndex = 0,\n result = [];\n\n while (++index < length) {\n var value = array[index];\n if (value === placeholder || value === PLACEHOLDER) {\n array[index] = PLACEHOLDER;\n result[resIndex++] = index;\n }\n }\n return result;\n }\n\n /**\n * Converts `set` to an array of its values.\n *\n * @private\n * @param {Object} set The set to convert.\n * @returns {Array} Returns the values.\n */\n function setToArray(set) {\n var index = -1,\n result = Array(set.size);\n\n set.forEach(function(value) {\n result[++index] = value;\n });\n return result;\n }\n\n /**\n * Converts `set` to its value-value pairs.\n *\n * @private\n * @param {Object} set The set to convert.\n * @returns {Array} Returns the value-value pairs.\n */\n function setToPairs(set) {\n var index = -1,\n result = Array(set.size);\n\n set.forEach(function(value) {\n result[++index] = [value, value];\n });\n return result;\n }\n\n /**\n * A specialized version of `_.indexOf` which performs strict equality\n * comparisons of values, i.e. `===`.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\n function strictIndexOf(array, value, fromIndex) {\n var index = fromIndex - 1,\n length = array.length;\n\n while (++index < length) {\n if (array[index] === value) {\n return index;\n }\n }\n return -1;\n }\n\n /**\n * A specialized version of `_.lastIndexOf` which performs strict equality\n * comparisons of values, i.e. `===`.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\n function strictLastIndexOf(array, value, fromIndex) {\n var index = fromIndex + 1;\n while (index--) {\n if (array[index] === value) {\n return index;\n }\n }\n return index;\n }\n\n /**\n * Gets the number of symbols in `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the string size.\n */\n function stringSize(string) {\n return hasUnicode(string)\n ? unicodeSize(string)\n : asciiSize(string);\n }\n\n /**\n * Converts `string` to an array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the converted array.\n */\n function stringToArray(string) {\n return hasUnicode(string)\n ? unicodeToArray(string)\n : asciiToArray(string);\n }\n\n /**\n * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace\n * character of `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the index of the last non-whitespace character.\n */\n function trimmedEndIndex(string) {\n var index = string.length;\n\n while (index-- && reWhitespace.test(string.charAt(index))) {}\n return index;\n }\n\n /**\n * Used by `_.unescape` to convert HTML entities to characters.\n *\n * @private\n * @param {string} chr The matched character to unescape.\n * @returns {string} Returns the unescaped character.\n */\n var unescapeHtmlChar = basePropertyOf(htmlUnescapes);\n\n /**\n * Gets the size of a Unicode `string`.\n *\n * @private\n * @param {string} string The string inspect.\n * @returns {number} Returns the string size.\n */\n function unicodeSize(string) {\n var result = reUnicode.lastIndex = 0;\n while (reUnicode.test(string)) {\n ++result;\n }\n return result;\n }\n\n /**\n * Converts a Unicode `string` to an array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the converted array.\n */\n function unicodeToArray(string) {\n return string.match(reUnicode) || [];\n }\n\n /**\n * Splits a Unicode `string` into an array of its words.\n *\n * @private\n * @param {string} The string to inspect.\n * @returns {Array} Returns the words of `string`.\n */\n function unicodeWords(string) {\n return string.match(reUnicodeWord) || [];\n }\n\n /*--------------------------------------------------------------------------*/\n\n /**\n * Create a new pristine `lodash` function using the `context` object.\n *\n * @static\n * @memberOf _\n * @since 1.1.0\n * @category Util\n * @param {Object} [context=root] The context object.\n * @returns {Function} Returns a new `lodash` function.\n * @example\n *\n * _.mixin({ 'foo': _.constant('foo') });\n *\n * var lodash = _.runInContext();\n * lodash.mixin({ 'bar': lodash.constant('bar') });\n *\n * _.isFunction(_.foo);\n * // => true\n * _.isFunction(_.bar);\n * // => false\n *\n * lodash.isFunction(lodash.foo);\n * // => false\n * lodash.isFunction(lodash.bar);\n * // => true\n *\n * // Create a suped-up `defer` in Node.js.\n * var defer = _.runInContext({ 'setTimeout': setImmediate }).defer;\n */\n var runInContext = (function runInContext(context) {\n context = context == null ? root : _.defaults(root.Object(), context, _.pick(root, contextProps));\n\n /** Built-in constructor references. */\n var Array = context.Array,\n Date = context.Date,\n Error = context.Error,\n Function = context.Function,\n Math = context.Math,\n Object = context.Object,\n RegExp = context.RegExp,\n String = context.String,\n TypeError = context.TypeError;\n\n /** Used for built-in method references. */\n var arrayProto = Array.prototype,\n funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n /** Used to detect overreaching core-js shims. */\n var coreJsData = context['__core-js_shared__'];\n\n /** Used to resolve the decompiled source of functions. */\n var funcToString = funcProto.toString;\n\n /** Used to check objects for own properties. */\n var hasOwnProperty = objectProto.hasOwnProperty;\n\n /** Used to generate unique IDs. */\n var idCounter = 0;\n\n /** Used to detect methods masquerading as native. */\n var maskSrcKey = (function() {\n var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');\n return uid ? ('Symbol(src)_1.' + uid) : '';\n }());\n\n /**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\n var nativeObjectToString = objectProto.toString;\n\n /** Used to infer the `Object` constructor. */\n var objectCtorString = funcToString.call(Object);\n\n /** Used to restore the original `_` reference in `_.noConflict`. */\n var oldDash = root._;\n\n /** Used to detect if a method is native. */\n var reIsNative = RegExp('^' +\n funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\\\$&')\n .replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, '$1.*?') + '$'\n );\n\n /** Built-in value references. */\n var Buffer = moduleExports ? context.Buffer : undefined,\n Symbol = context.Symbol,\n Uint8Array = context.Uint8Array,\n allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined,\n getPrototype = overArg(Object.getPrototypeOf, Object),\n objectCreate = Object.create,\n propertyIsEnumerable = objectProto.propertyIsEnumerable,\n splice = arrayProto.splice,\n spreadableSymbol = Symbol ? Symbol.isConcatSpreadable : undefined,\n symIterator = Symbol ? Symbol.iterator : undefined,\n symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n var defineProperty = (function() {\n try {\n var func = getNative(Object, 'defineProperty');\n func({}, '', {});\n return func;\n } catch (e) {}\n }());\n\n /** Mocked built-ins. */\n var ctxClearTimeout = context.clearTimeout !== root.clearTimeout && context.clearTimeout,\n ctxNow = Date && Date.now !== root.Date.now && Date.now,\n ctxSetTimeout = context.setTimeout !== root.setTimeout && context.setTimeout;\n\n /* Built-in method references for those with the same name as other `lodash` methods. */\n var nativeCeil = Math.ceil,\n nativeFloor = Math.floor,\n nativeGetSymbols = Object.getOwnPropertySymbols,\n nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined,\n nativeIsFinite = context.isFinite,\n nativeJoin = arrayProto.join,\n nativeKeys = overArg(Object.keys, Object),\n nativeMax = Math.max,\n nativeMin = Math.min,\n nativeNow = Date.now,\n nativeParseInt = context.parseInt,\n nativeRandom = Math.random,\n nativeReverse = arrayProto.reverse;\n\n /* Built-in method references that are verified to be native. */\n var DataView = getNative(context, 'DataView'),\n Map = getNative(context, 'Map'),\n Promise = getNative(context, 'Promise'),\n Set = getNative(context, 'Set'),\n WeakMap = getNative(context, 'WeakMap'),\n nativeCreate = getNative(Object, 'create');\n\n /** Used to store function metadata. */\n var metaMap = WeakMap && new WeakMap;\n\n /** Used to lookup unminified function names. */\n var realNames = {};\n\n /** Used to detect maps, sets, and weakmaps. */\n var dataViewCtorString = toSource(DataView),\n mapCtorString = toSource(Map),\n promiseCtorString = toSource(Promise),\n setCtorString = toSource(Set),\n weakMapCtorString = toSource(WeakMap);\n\n /** Used to convert symbols to primitives and strings. */\n var symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolValueOf = symbolProto ? symbolProto.valueOf : undefined,\n symbolToString = symbolProto ? symbolProto.toString : undefined;\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates a `lodash` object which wraps `value` to enable implicit method\n * chain sequences. Methods that operate on and return arrays, collections,\n * and functions can be chained together. Methods that retrieve a single value\n * or may return a primitive value will automatically end the chain sequence\n * and return the unwrapped value. Otherwise, the value must be unwrapped\n * with `_#value`.\n *\n * Explicit chain sequences, which must be unwrapped with `_#value`, may be\n * enabled using `_.chain`.\n *\n * The execution of chained methods is lazy, that is, it's deferred until\n * `_#value` is implicitly or explicitly called.\n *\n * Lazy evaluation allows several methods to support shortcut fusion.\n * Shortcut fusion is an optimization to merge iteratee calls; this avoids\n * the creation of intermediate arrays and can greatly reduce the number of\n * iteratee executions. Sections of a chain sequence qualify for shortcut\n * fusion if the section is applied to an array and iteratees accept only\n * one argument. The heuristic for whether a section qualifies for shortcut\n * fusion is subject to change.\n *\n * Chaining is supported in custom builds as long as the `_#value` method is\n * directly or indirectly included in the build.\n *\n * In addition to lodash methods, wrappers have `Array` and `String` methods.\n *\n * The wrapper `Array` methods are:\n * `concat`, `join`, `pop`, `push`, `shift`, `sort`, `splice`, and `unshift`\n *\n * The wrapper `String` methods are:\n * `replace` and `split`\n *\n * The wrapper methods that support shortcut fusion are:\n * `at`, `compact`, `drop`, `dropRight`, `dropWhile`, `filter`, `find`,\n * `findLast`, `head`, `initial`, `last`, `map`, `reject`, `reverse`, `slice`,\n * `tail`, `take`, `takeRight`, `takeRightWhile`, `takeWhile`, and `toArray`\n *\n * The chainable wrapper methods are:\n * `after`, `ary`, `assign`, `assignIn`, `assignInWith`, `assignWith`, `at`,\n * `before`, `bind`, `bindAll`, `bindKey`, `castArray`, `chain`, `chunk`,\n * `commit`, `compact`, `concat`, `conforms`, `constant`, `countBy`, `create`,\n * `curry`, `debounce`, `defaults`, `defaultsDeep`, `defer`, `delay`,\n * `difference`, `differenceBy`, `differenceWith`, `drop`, `dropRight`,\n * `dropRightWhile`, `dropWhile`, `extend`, `extendWith`, `fill`, `filter`,\n * `flatMap`, `flatMapDeep`, `flatMapDepth`, `flatten`, `flattenDeep`,\n * `flattenDepth`, `flip`, `flow`, `flowRight`, `fromPairs`, `functions`,\n * `functionsIn`, `groupBy`, `initial`, `intersection`, `intersectionBy`,\n * `intersectionWith`, `invert`, `invertBy`, `invokeMap`, `iteratee`, `keyBy`,\n * `keys`, `keysIn`, `map`, `mapKeys`, `mapValues`, `matches`, `matchesProperty`,\n * `memoize`, `merge`, `mergeWith`, `method`, `methodOf`, `mixin`, `negate`,\n * `nthArg`, `omit`, `omitBy`, `once`, `orderBy`, `over`, `overArgs`,\n * `overEvery`, `overSome`, `partial`, `partialRight`, `partition`, `pick`,\n * `pickBy`, `plant`, `property`, `propertyOf`, `pull`, `pullAll`, `pullAllBy`,\n * `pullAllWith`, `pullAt`, `push`, `range`, `rangeRight`, `rearg`, `reject`,\n * `remove`, `rest`, `reverse`, `sampleSize`, `set`, `setWith`, `shuffle`,\n * `slice`, `sort`, `sortBy`, `splice`, `spread`, `tail`, `take`, `takeRight`,\n * `takeRightWhile`, `takeWhile`, `tap`, `throttle`, `thru`, `toArray`,\n * `toPairs`, `toPairsIn`, `toPath`, `toPlainObject`, `transform`, `unary`,\n * `union`, `unionBy`, `unionWith`, `uniq`, `uniqBy`, `uniqWith`, `unset`,\n * `unshift`, `unzip`, `unzipWith`, `update`, `updateWith`, `values`,\n * `valuesIn`, `without`, `wrap`, `xor`, `xorBy`, `xorWith`, `zip`,\n * `zipObject`, `zipObjectDeep`, and `zipWith`\n *\n * The wrapper methods that are **not** chainable by default are:\n * `add`, `attempt`, `camelCase`, `capitalize`, `ceil`, `clamp`, `clone`,\n * `cloneDeep`, `cloneDeepWith`, `cloneWith`, `conformsTo`, `deburr`,\n * `defaultTo`, `divide`, `each`, `eachRight`, `endsWith`, `eq`, `escape`,\n * `escapeRegExp`, `every`, `find`, `findIndex`, `findKey`, `findLast`,\n * `findLastIndex`, `findLastKey`, `first`, `floor`, `forEach`, `forEachRight`,\n * `forIn`, `forInRight`, `forOwn`, `forOwnRight`, `get`, `gt`, `gte`, `has`,\n * `hasIn`, `head`, `identity`, `includes`, `indexOf`, `inRange`, `invoke`,\n * `isArguments`, `isArray`, `isArrayBuffer`, `isArrayLike`, `isArrayLikeObject`,\n * `isBoolean`, `isBuffer`, `isDate`, `isElement`, `isEmpty`, `isEqual`,\n * `isEqualWith`, `isError`, `isFinite`, `isFunction`, `isInteger`, `isLength`,\n * `isMap`, `isMatch`, `isMatchWith`, `isNaN`, `isNative`, `isNil`, `isNull`,\n * `isNumber`, `isObject`, `isObjectLike`, `isPlainObject`, `isRegExp`,\n * `isSafeInteger`, `isSet`, `isString`, `isUndefined`, `isTypedArray`,\n * `isWeakMap`, `isWeakSet`, `join`, `kebabCase`, `last`, `lastIndexOf`,\n * `lowerCase`, `lowerFirst`, `lt`, `lte`, `max`, `maxBy`, `mean`, `meanBy`,\n * `min`, `minBy`, `multiply`, `noConflict`, `noop`, `now`, `nth`, `pad`,\n * `padEnd`, `padStart`, `parseInt`, `pop`, `random`, `reduce`, `reduceRight`,\n * `repeat`, `result`, `round`, `runInContext`, `sample`, `shift`, `size`,\n * `snakeCase`, `some`, `sortedIndex`, `sortedIndexBy`, `sortedLastIndex`,\n * `sortedLastIndexBy`, `startCase`, `startsWith`, `stubArray`, `stubFalse`,\n * `stubObject`, `stubString`, `stubTrue`, `subtract`, `sum`, `sumBy`,\n * `template`, `times`, `toFinite`, `toInteger`, `toJSON`, `toLength`,\n * `toLower`, `toNumber`, `toSafeInteger`, `toString`, `toUpper`, `trim`,\n * `trimEnd`, `trimStart`, `truncate`, `unescape`, `uniqueId`, `upperCase`,\n * `upperFirst`, `value`, and `words`\n *\n * @name _\n * @constructor\n * @category Seq\n * @param {*} value The value to wrap in a `lodash` instance.\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * function square(n) {\n * return n * n;\n * }\n *\n * var wrapped = _([1, 2, 3]);\n *\n * // Returns an unwrapped value.\n * wrapped.reduce(_.add);\n * // => 6\n *\n * // Returns a wrapped value.\n * var squares = wrapped.map(square);\n *\n * _.isArray(squares);\n * // => false\n *\n * _.isArray(squares.value());\n * // => true\n */\n function lodash(value) {\n if (isObjectLike(value) && !isArray(value) && !(value instanceof LazyWrapper)) {\n if (value instanceof LodashWrapper) {\n return value;\n }\n if (hasOwnProperty.call(value, '__wrapped__')) {\n return wrapperClone(value);\n }\n }\n return new LodashWrapper(value);\n }\n\n /**\n * The base implementation of `_.create` without support for assigning\n * properties to the created object.\n *\n * @private\n * @param {Object} proto The object to inherit from.\n * @returns {Object} Returns the new object.\n */\n var baseCreate = (function() {\n function object() {}\n return function(proto) {\n if (!isObject(proto)) {\n return {};\n }\n if (objectCreate) {\n return objectCreate(proto);\n }\n object.prototype = proto;\n var result = new object;\n object.prototype = undefined;\n return result;\n };\n }());\n\n /**\n * The function whose prototype chain sequence wrappers inherit from.\n *\n * @private\n */\n function baseLodash() {\n // No operation performed.\n }\n\n /**\n * The base constructor for creating `lodash` wrapper objects.\n *\n * @private\n * @param {*} value The value to wrap.\n * @param {boolean} [chainAll] Enable explicit method chain sequences.\n */\n function LodashWrapper(value, chainAll) {\n this.__wrapped__ = value;\n this.__actions__ = [];\n this.__chain__ = !!chainAll;\n this.__index__ = 0;\n this.__values__ = undefined;\n }\n\n /**\n * By default, the template delimiters used by lodash are like those in\n * embedded Ruby (ERB) as well as ES2015 template strings. Change the\n * following template settings to use alternative delimiters.\n *\n * @static\n * @memberOf _\n * @type {Object}\n */\n lodash.templateSettings = {\n\n /**\n * Used to detect `data` property values to be HTML-escaped.\n *\n * @memberOf _.templateSettings\n * @type {RegExp}\n */\n 'escape': reEscape,\n\n /**\n * Used to detect code to be evaluated.\n *\n * @memberOf _.templateSettings\n * @type {RegExp}\n */\n 'evaluate': reEvaluate,\n\n /**\n * Used to detect `data` property values to inject.\n *\n * @memberOf _.templateSettings\n * @type {RegExp}\n */\n 'interpolate': reInterpolate,\n\n /**\n * Used to reference the data object in the template text.\n *\n * @memberOf _.templateSettings\n * @type {string}\n */\n 'variable': '',\n\n /**\n * Used to import variables into the compiled template.\n *\n * @memberOf _.templateSettings\n * @type {Object}\n */\n 'imports': {\n\n /**\n * A reference to the `lodash` function.\n *\n * @memberOf _.templateSettings.imports\n * @type {Function}\n */\n '_': lodash\n }\n };\n\n // Ensure wrappers are instances of `baseLodash`.\n lodash.prototype = baseLodash.prototype;\n lodash.prototype.constructor = lodash;\n\n LodashWrapper.prototype = baseCreate(baseLodash.prototype);\n LodashWrapper.prototype.constructor = LodashWrapper;\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates a lazy wrapper object which wraps `value` to enable lazy evaluation.\n *\n * @private\n * @constructor\n * @param {*} value The value to wrap.\n */\n function LazyWrapper(value) {\n this.__wrapped__ = value;\n this.__actions__ = [];\n this.__dir__ = 1;\n this.__filtered__ = false;\n this.__iteratees__ = [];\n this.__takeCount__ = MAX_ARRAY_LENGTH;\n this.__views__ = [];\n }\n\n /**\n * Creates a clone of the lazy wrapper object.\n *\n * @private\n * @name clone\n * @memberOf LazyWrapper\n * @returns {Object} Returns the cloned `LazyWrapper` object.\n */\n function lazyClone() {\n var result = new LazyWrapper(this.__wrapped__);\n result.__actions__ = copyArray(this.__actions__);\n result.__dir__ = this.__dir__;\n result.__filtered__ = this.__filtered__;\n result.__iteratees__ = copyArray(this.__iteratees__);\n result.__takeCount__ = this.__takeCount__;\n result.__views__ = copyArray(this.__views__);\n return result;\n }\n\n /**\n * Reverses the direction of lazy iteration.\n *\n * @private\n * @name reverse\n * @memberOf LazyWrapper\n * @returns {Object} Returns the new reversed `LazyWrapper` object.\n */\n function lazyReverse() {\n if (this.__filtered__) {\n var result = new LazyWrapper(this);\n result.__dir__ = -1;\n result.__filtered__ = true;\n } else {\n result = this.clone();\n result.__dir__ *= -1;\n }\n return result;\n }\n\n /**\n * Extracts the unwrapped value from its lazy wrapper.\n *\n * @private\n * @name value\n * @memberOf LazyWrapper\n * @returns {*} Returns the unwrapped value.\n */\n function lazyValue() {\n var array = this.__wrapped__.value(),\n dir = this.__dir__,\n isArr = isArray(array),\n isRight = dir < 0,\n arrLength = isArr ? array.length : 0,\n view = getView(0, arrLength, this.__views__),\n start = view.start,\n end = view.end,\n length = end - start,\n index = isRight ? end : (start - 1),\n iteratees = this.__iteratees__,\n iterLength = iteratees.length,\n resIndex = 0,\n takeCount = nativeMin(length, this.__takeCount__);\n\n if (!isArr || (!isRight && arrLength == length && takeCount == length)) {\n return baseWrapperValue(array, this.__actions__);\n }\n var result = [];\n\n outer:\n while (length-- && resIndex < takeCount) {\n index += dir;\n\n var iterIndex = -1,\n value = array[index];\n\n while (++iterIndex < iterLength) {\n var data = iteratees[iterIndex],\n iteratee = data.iteratee,\n type = data.type,\n computed = iteratee(value);\n\n if (type == LAZY_MAP_FLAG) {\n value = computed;\n } else if (!computed) {\n if (type == LAZY_FILTER_FLAG) {\n continue outer;\n } else {\n break outer;\n }\n }\n }\n result[resIndex++] = value;\n }\n return result;\n }\n\n // Ensure `LazyWrapper` is an instance of `baseLodash`.\n LazyWrapper.prototype = baseCreate(baseLodash.prototype);\n LazyWrapper.prototype.constructor = LazyWrapper;\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates a hash object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\n function Hash(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n }\n\n /**\n * Removes all key-value entries from the hash.\n *\n * @private\n * @name clear\n * @memberOf Hash\n */\n function hashClear() {\n this.__data__ = nativeCreate ? nativeCreate(null) : {};\n this.size = 0;\n }\n\n /**\n * Removes `key` and its value from the hash.\n *\n * @private\n * @name delete\n * @memberOf Hash\n * @param {Object} hash The hash to modify.\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\n function hashDelete(key) {\n var result = this.has(key) && delete this.__data__[key];\n this.size -= result ? 1 : 0;\n return result;\n }\n\n /**\n * Gets the hash value for `key`.\n *\n * @private\n * @name get\n * @memberOf Hash\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\n function hashGet(key) {\n var data = this.__data__;\n if (nativeCreate) {\n var result = data[key];\n return result === HASH_UNDEFINED ? undefined : result;\n }\n return hasOwnProperty.call(data, key) ? data[key] : undefined;\n }\n\n /**\n * Checks if a hash value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Hash\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\n function hashHas(key) {\n var data = this.__data__;\n return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);\n }\n\n /**\n * Sets the hash `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Hash\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the hash instance.\n */\n function hashSet(key, value) {\n var data = this.__data__;\n this.size += this.has(key) ? 0 : 1;\n data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;\n return this;\n }\n\n // Add methods to `Hash`.\n Hash.prototype.clear = hashClear;\n Hash.prototype['delete'] = hashDelete;\n Hash.prototype.get = hashGet;\n Hash.prototype.has = hashHas;\n Hash.prototype.set = hashSet;\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates an list cache object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\n function ListCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n }\n\n /**\n * Removes all key-value entries from the list cache.\n *\n * @private\n * @name clear\n * @memberOf ListCache\n */\n function listCacheClear() {\n this.__data__ = [];\n this.size = 0;\n }\n\n /**\n * Removes `key` and its value from the list cache.\n *\n * @private\n * @name delete\n * @memberOf ListCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\n function listCacheDelete(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n return false;\n }\n var lastIndex = data.length - 1;\n if (index == lastIndex) {\n data.pop();\n } else {\n splice.call(data, index, 1);\n }\n --this.size;\n return true;\n }\n\n /**\n * Gets the list cache value for `key`.\n *\n * @private\n * @name get\n * @memberOf ListCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\n function listCacheGet(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n return index < 0 ? undefined : data[index][1];\n }\n\n /**\n * Checks if a list cache value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf ListCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\n function listCacheHas(key) {\n return assocIndexOf(this.__data__, key) > -1;\n }\n\n /**\n * Sets the list cache `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf ListCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the list cache instance.\n */\n function listCacheSet(key, value) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n ++this.size;\n data.push([key, value]);\n } else {\n data[index][1] = value;\n }\n return this;\n }\n\n // Add methods to `ListCache`.\n ListCache.prototype.clear = listCacheClear;\n ListCache.prototype['delete'] = listCacheDelete;\n ListCache.prototype.get = listCacheGet;\n ListCache.prototype.has = listCacheHas;\n ListCache.prototype.set = listCacheSet;\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates a map cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\n function MapCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n }\n\n /**\n * Removes all key-value entries from the map.\n *\n * @private\n * @name clear\n * @memberOf MapCache\n */\n function mapCacheClear() {\n this.size = 0;\n this.__data__ = {\n 'hash': new Hash,\n 'map': new (Map || ListCache),\n 'string': new Hash\n };\n }\n\n /**\n * Removes `key` and its value from the map.\n *\n * @private\n * @name delete\n * @memberOf MapCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\n function mapCacheDelete(key) {\n var result = getMapData(this, key)['delete'](key);\n this.size -= result ? 1 : 0;\n return result;\n }\n\n /**\n * Gets the map value for `key`.\n *\n * @private\n * @name get\n * @memberOf MapCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\n function mapCacheGet(key) {\n return getMapData(this, key).get(key);\n }\n\n /**\n * Checks if a map value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf MapCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\n function mapCacheHas(key) {\n return getMapData(this, key).has(key);\n }\n\n /**\n * Sets the map `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf MapCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the map cache instance.\n */\n function mapCacheSet(key, value) {\n var data = getMapData(this, key),\n size = data.size;\n\n data.set(key, value);\n this.size += data.size == size ? 0 : 1;\n return this;\n }\n\n // Add methods to `MapCache`.\n MapCache.prototype.clear = mapCacheClear;\n MapCache.prototype['delete'] = mapCacheDelete;\n MapCache.prototype.get = mapCacheGet;\n MapCache.prototype.has = mapCacheHas;\n MapCache.prototype.set = mapCacheSet;\n\n /*------------------------------------------------------------------------*/\n\n /**\n *\n * Creates an array cache object to store unique values.\n *\n * @private\n * @constructor\n * @param {Array} [values] The values to cache.\n */\n function SetCache(values) {\n var index = -1,\n length = values == null ? 0 : values.length;\n\n this.__data__ = new MapCache;\n while (++index < length) {\n this.add(values[index]);\n }\n }\n\n /**\n * Adds `value` to the array cache.\n *\n * @private\n * @name add\n * @memberOf SetCache\n * @alias push\n * @param {*} value The value to cache.\n * @returns {Object} Returns the cache instance.\n */\n function setCacheAdd(value) {\n this.__data__.set(value, HASH_UNDEFINED);\n return this;\n }\n\n /**\n * Checks if `value` is in the array cache.\n *\n * @private\n * @name has\n * @memberOf SetCache\n * @param {*} value The value to search for.\n * @returns {number} Returns `true` if `value` is found, else `false`.\n */\n function setCacheHas(value) {\n return this.__data__.has(value);\n }\n\n // Add methods to `SetCache`.\n SetCache.prototype.add = SetCache.prototype.push = setCacheAdd;\n SetCache.prototype.has = setCacheHas;\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates a stack cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\n function Stack(entries) {\n var data = this.__data__ = new ListCache(entries);\n this.size = data.size;\n }\n\n /**\n * Removes all key-value entries from the stack.\n *\n * @private\n * @name clear\n * @memberOf Stack\n */\n function stackClear() {\n this.__data__ = new ListCache;\n this.size = 0;\n }\n\n /**\n * Removes `key` and its value from the stack.\n *\n * @private\n * @name delete\n * @memberOf Stack\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\n function stackDelete(key) {\n var data = this.__data__,\n result = data['delete'](key);\n\n this.size = data.size;\n return result;\n }\n\n /**\n * Gets the stack value for `key`.\n *\n * @private\n * @name get\n * @memberOf Stack\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\n function stackGet(key) {\n return this.__data__.get(key);\n }\n\n /**\n * Checks if a stack value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Stack\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\n function stackHas(key) {\n return this.__data__.has(key);\n }\n\n /**\n * Sets the stack `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Stack\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the stack cache instance.\n */\n function stackSet(key, value) {\n var data = this.__data__;\n if (data instanceof ListCache) {\n var pairs = data.__data__;\n if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {\n pairs.push([key, value]);\n this.size = ++data.size;\n return this;\n }\n data = this.__data__ = new MapCache(pairs);\n }\n data.set(key, value);\n this.size = data.size;\n return this;\n }\n\n // Add methods to `Stack`.\n Stack.prototype.clear = stackClear;\n Stack.prototype['delete'] = stackDelete;\n Stack.prototype.get = stackGet;\n Stack.prototype.has = stackHas;\n Stack.prototype.set = stackSet;\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates an array of the enumerable property names of the array-like `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @param {boolean} inherited Specify returning inherited property names.\n * @returns {Array} Returns the array of property names.\n */\n function arrayLikeKeys(value, inherited) {\n var isArr = isArray(value),\n isArg = !isArr && isArguments(value),\n isBuff = !isArr && !isArg && isBuffer(value),\n isType = !isArr && !isArg && !isBuff && isTypedArray(value),\n skipIndexes = isArr || isArg || isBuff || isType,\n result = skipIndexes ? baseTimes(value.length, String) : [],\n length = result.length;\n\n for (var key in value) {\n if ((inherited || hasOwnProperty.call(value, key)) &&\n !(skipIndexes && (\n // Safari 9 has enumerable `arguments.length` in strict mode.\n key == 'length' ||\n // Node.js 0.10 has enumerable non-index properties on buffers.\n (isBuff && (key == 'offset' || key == 'parent')) ||\n // PhantomJS 2 has enumerable non-index properties on typed arrays.\n (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||\n // Skip index properties.\n isIndex(key, length)\n ))) {\n result.push(key);\n }\n }\n return result;\n }\n\n /**\n * A specialized version of `_.sample` for arrays.\n *\n * @private\n * @param {Array} array The array to sample.\n * @returns {*} Returns the random element.\n */\n function arraySample(array) {\n var length = array.length;\n return length ? array[baseRandom(0, length - 1)] : undefined;\n }\n\n /**\n * A specialized version of `_.sampleSize` for arrays.\n *\n * @private\n * @param {Array} array The array to sample.\n * @param {number} n The number of elements to sample.\n * @returns {Array} Returns the random elements.\n */\n function arraySampleSize(array, n) {\n return shuffleSelf(copyArray(array), baseClamp(n, 0, array.length));\n }\n\n /**\n * A specialized version of `_.shuffle` for arrays.\n *\n * @private\n * @param {Array} array The array to shuffle.\n * @returns {Array} Returns the new shuffled array.\n */\n function arrayShuffle(array) {\n return shuffleSelf(copyArray(array));\n }\n\n /**\n * This function is like `assignValue` except that it doesn't assign\n * `undefined` values.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\n function assignMergeValue(object, key, value) {\n if ((value !== undefined && !eq(object[key], value)) ||\n (value === undefined && !(key in object))) {\n baseAssignValue(object, key, value);\n }\n }\n\n /**\n * Assigns `value` to `key` of `object` if the existing value is not equivalent\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\n function assignValue(object, key, value) {\n var objValue = object[key];\n if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) ||\n (value === undefined && !(key in object))) {\n baseAssignValue(object, key, value);\n }\n }\n\n /**\n * Gets the index at which the `key` is found in `array` of key-value pairs.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} key The key to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\n function assocIndexOf(array, key) {\n var length = array.length;\n while (length--) {\n if (eq(array[length][0], key)) {\n return length;\n }\n }\n return -1;\n }\n\n /**\n * Aggregates elements of `collection` on `accumulator` with keys transformed\n * by `iteratee` and values set by `setter`.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} setter The function to set `accumulator` values.\n * @param {Function} iteratee The iteratee to transform keys.\n * @param {Object} accumulator The initial aggregated object.\n * @returns {Function} Returns `accumulator`.\n */\n function baseAggregator(collection, setter, iteratee, accumulator) {\n baseEach(collection, function(value, key, collection) {\n setter(accumulator, value, iteratee(value), collection);\n });\n return accumulator;\n }\n\n /**\n * The base implementation of `_.assign` without support for multiple sources\n * or `customizer` functions.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @returns {Object} Returns `object`.\n */\n function baseAssign(object, source) {\n return object && copyObject(source, keys(source), object);\n }\n\n /**\n * The base implementation of `_.assignIn` without support for multiple sources\n * or `customizer` functions.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @returns {Object} Returns `object`.\n */\n function baseAssignIn(object, source) {\n return object && copyObject(source, keysIn(source), object);\n }\n\n /**\n * The base implementation of `assignValue` and `assignMergeValue` without\n * value checks.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\n function baseAssignValue(object, key, value) {\n if (key == '__proto__' && defineProperty) {\n defineProperty(object, key, {\n 'configurable': true,\n 'enumerable': true,\n 'value': value,\n 'writable': true\n });\n } else {\n object[key] = value;\n }\n }\n\n /**\n * The base implementation of `_.at` without support for individual paths.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {string[]} paths The property paths to pick.\n * @returns {Array} Returns the picked elements.\n */\n function baseAt(object, paths) {\n var index = -1,\n length = paths.length,\n result = Array(length),\n skip = object == null;\n\n while (++index < length) {\n result[index] = skip ? undefined : get(object, paths[index]);\n }\n return result;\n }\n\n /**\n * The base implementation of `_.clamp` which doesn't coerce arguments.\n *\n * @private\n * @param {number} number The number to clamp.\n * @param {number} [lower] The lower bound.\n * @param {number} upper The upper bound.\n * @returns {number} Returns the clamped number.\n */\n function baseClamp(number, lower, upper) {\n if (number === number) {\n if (upper !== undefined) {\n number = number <= upper ? number : upper;\n }\n if (lower !== undefined) {\n number = number >= lower ? number : lower;\n }\n }\n return number;\n }\n\n /**\n * The base implementation of `_.clone` and `_.cloneDeep` which tracks\n * traversed objects.\n *\n * @private\n * @param {*} value The value to clone.\n * @param {boolean} bitmask The bitmask flags.\n * 1 - Deep clone\n * 2 - Flatten inherited properties\n * 4 - Clone symbols\n * @param {Function} [customizer] The function to customize cloning.\n * @param {string} [key] The key of `value`.\n * @param {Object} [object] The parent object of `value`.\n * @param {Object} [stack] Tracks traversed objects and their clone counterparts.\n * @returns {*} Returns the cloned value.\n */\n function baseClone(value, bitmask, customizer, key, object, stack) {\n var result,\n isDeep = bitmask & CLONE_DEEP_FLAG,\n isFlat = bitmask & CLONE_FLAT_FLAG,\n isFull = bitmask & CLONE_SYMBOLS_FLAG;\n\n if (customizer) {\n result = object ? customizer(value, key, object, stack) : customizer(value);\n }\n if (result !== undefined) {\n return result;\n }\n if (!isObject(value)) {\n return value;\n }\n var isArr = isArray(value);\n if (isArr) {\n result = initCloneArray(value);\n if (!isDeep) {\n return copyArray(value, result);\n }\n } else {\n var tag = getTag(value),\n isFunc = tag == funcTag || tag == genTag;\n\n if (isBuffer(value)) {\n return cloneBuffer(value, isDeep);\n }\n if (tag == objectTag || tag == argsTag || (isFunc && !object)) {\n result = (isFlat || isFunc) ? {} : initCloneObject(value);\n if (!isDeep) {\n return isFlat\n ? copySymbolsIn(value, baseAssignIn(result, value))\n : copySymbols(value, baseAssign(result, value));\n }\n } else {\n if (!cloneableTags[tag]) {\n return object ? value : {};\n }\n result = initCloneByTag(value, tag, isDeep);\n }\n }\n // Check for circular references and return its corresponding clone.\n stack || (stack = new Stack);\n var stacked = stack.get(value);\n if (stacked) {\n return stacked;\n }\n stack.set(value, result);\n\n if (isSet(value)) {\n value.forEach(function(subValue) {\n result.add(baseClone(subValue, bitmask, customizer, subValue, value, stack));\n });\n } else if (isMap(value)) {\n value.forEach(function(subValue, key) {\n result.set(key, baseClone(subValue, bitmask, customizer, key, value, stack));\n });\n }\n\n var keysFunc = isFull\n ? (isFlat ? getAllKeysIn : getAllKeys)\n : (isFlat ? keysIn : keys);\n\n var props = isArr ? undefined : keysFunc(value);\n arrayEach(props || value, function(subValue, key) {\n if (props) {\n key = subValue;\n subValue = value[key];\n }\n // Recursively populate clone (susceptible to call stack limits).\n assignValue(result, key, baseClone(subValue, bitmask, customizer, key, value, stack));\n });\n return result;\n }\n\n /**\n * The base implementation of `_.conforms` which doesn't clone `source`.\n *\n * @private\n * @param {Object} source The object of property predicates to conform to.\n * @returns {Function} Returns the new spec function.\n */\n function baseConforms(source) {\n var props = keys(source);\n return function(object) {\n return baseConformsTo(object, source, props);\n };\n }\n\n /**\n * The base implementation of `_.conformsTo` which accepts `props` to check.\n *\n * @private\n * @param {Object} object The object to inspect.\n * @param {Object} source The object of property predicates to conform to.\n * @returns {boolean} Returns `true` if `object` conforms, else `false`.\n */\n function baseConformsTo(object, source, props) {\n var length = props.length;\n if (object == null) {\n return !length;\n }\n object = Object(object);\n while (length--) {\n var key = props[length],\n predicate = source[key],\n value = object[key];\n\n if ((value === undefined && !(key in object)) || !predicate(value)) {\n return false;\n }\n }\n return true;\n }\n\n /**\n * The base implementation of `_.delay` and `_.defer` which accepts `args`\n * to provide to `func`.\n *\n * @private\n * @param {Function} func The function to delay.\n * @param {number} wait The number of milliseconds to delay invocation.\n * @param {Array} args The arguments to provide to `func`.\n * @returns {number|Object} Returns the timer id or timeout object.\n */\n function baseDelay(func, wait, args) {\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n return setTimeout(function() { func.apply(undefined, args); }, wait);\n }\n\n /**\n * The base implementation of methods like `_.difference` without support\n * for excluding multiple arrays or iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Array} values The values to exclude.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of filtered values.\n */\n function baseDifference(array, values, iteratee, comparator) {\n var index = -1,\n includes = arrayIncludes,\n isCommon = true,\n length = array.length,\n result = [],\n valuesLength = values.length;\n\n if (!length) {\n return result;\n }\n if (iteratee) {\n values = arrayMap(values, baseUnary(iteratee));\n }\n if (comparator) {\n includes = arrayIncludesWith;\n isCommon = false;\n }\n else if (values.length >= LARGE_ARRAY_SIZE) {\n includes = cacheHas;\n isCommon = false;\n values = new SetCache(values);\n }\n outer:\n while (++index < length) {\n var value = array[index],\n computed = iteratee == null ? value : iteratee(value);\n\n value = (comparator || value !== 0) ? value : 0;\n if (isCommon && computed === computed) {\n var valuesIndex = valuesLength;\n while (valuesIndex--) {\n if (values[valuesIndex] === computed) {\n continue outer;\n }\n }\n result.push(value);\n }\n else if (!includes(values, computed, comparator)) {\n result.push(value);\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `_.forEach` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n */\n var baseEach = createBaseEach(baseForOwn);\n\n /**\n * The base implementation of `_.forEachRight` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n */\n var baseEachRight = createBaseEach(baseForOwnRight, true);\n\n /**\n * The base implementation of `_.every` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {boolean} Returns `true` if all elements pass the predicate check,\n * else `false`\n */\n function baseEvery(collection, predicate) {\n var result = true;\n baseEach(collection, function(value, index, collection) {\n result = !!predicate(value, index, collection);\n return result;\n });\n return result;\n }\n\n /**\n * The base implementation of methods like `_.max` and `_.min` which accepts a\n * `comparator` to determine the extremum value.\n *\n * @private\n * @param {Array} array The array to iterate over.\n * @param {Function} iteratee The iteratee invoked per iteration.\n * @param {Function} comparator The comparator used to compare values.\n * @returns {*} Returns the extremum value.\n */\n function baseExtremum(array, iteratee, comparator) {\n var index = -1,\n length = array.length;\n\n while (++index < length) {\n var value = array[index],\n current = iteratee(value);\n\n if (current != null && (computed === undefined\n ? (current === current && !isSymbol(current))\n : comparator(current, computed)\n )) {\n var computed = current,\n result = value;\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `_.fill` without an iteratee call guard.\n *\n * @private\n * @param {Array} array The array to fill.\n * @param {*} value The value to fill `array` with.\n * @param {number} [start=0] The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns `array`.\n */\n function baseFill(array, value, start, end) {\n var length = array.length;\n\n start = toInteger(start);\n if (start < 0) {\n start = -start > length ? 0 : (length + start);\n }\n end = (end === undefined || end > length) ? length : toInteger(end);\n if (end < 0) {\n end += length;\n }\n end = start > end ? 0 : toLength(end);\n while (start < end) {\n array[start++] = value;\n }\n return array;\n }\n\n /**\n * The base implementation of `_.filter` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n */\n function baseFilter(collection, predicate) {\n var result = [];\n baseEach(collection, function(value, index, collection) {\n if (predicate(value, index, collection)) {\n result.push(value);\n }\n });\n return result;\n }\n\n /**\n * The base implementation of `_.flatten` with support for restricting flattening.\n *\n * @private\n * @param {Array} array The array to flatten.\n * @param {number} depth The maximum recursion depth.\n * @param {boolean} [predicate=isFlattenable] The function invoked per iteration.\n * @param {boolean} [isStrict] Restrict to values that pass `predicate` checks.\n * @param {Array} [result=[]] The initial result value.\n * @returns {Array} Returns the new flattened array.\n */\n function baseFlatten(array, depth, predicate, isStrict, result) {\n var index = -1,\n length = array.length;\n\n predicate || (predicate = isFlattenable);\n result || (result = []);\n\n while (++index < length) {\n var value = array[index];\n if (depth > 0 && predicate(value)) {\n if (depth > 1) {\n // Recursively flatten arrays (susceptible to call stack limits).\n baseFlatten(value, depth - 1, predicate, isStrict, result);\n } else {\n arrayPush(result, value);\n }\n } else if (!isStrict) {\n result[result.length] = value;\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `baseForOwn` which iterates over `object`\n * properties returned by `keysFunc` and invokes `iteratee` for each property.\n * Iteratee functions may exit iteration early by explicitly returning `false`.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @returns {Object} Returns `object`.\n */\n var baseFor = createBaseFor();\n\n /**\n * This function is like `baseFor` except that it iterates over properties\n * in the opposite order.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @returns {Object} Returns `object`.\n */\n var baseForRight = createBaseFor(true);\n\n /**\n * The base implementation of `_.forOwn` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Object} Returns `object`.\n */\n function baseForOwn(object, iteratee) {\n return object && baseFor(object, iteratee, keys);\n }\n\n /**\n * The base implementation of `_.forOwnRight` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Object} Returns `object`.\n */\n function baseForOwnRight(object, iteratee) {\n return object && baseForRight(object, iteratee, keys);\n }\n\n /**\n * The base implementation of `_.functions` which creates an array of\n * `object` function property names filtered from `props`.\n *\n * @private\n * @param {Object} object The object to inspect.\n * @param {Array} props The property names to filter.\n * @returns {Array} Returns the function names.\n */\n function baseFunctions(object, props) {\n return arrayFilter(props, function(key) {\n return isFunction(object[key]);\n });\n }\n\n /**\n * The base implementation of `_.get` without support for default values.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to get.\n * @returns {*} Returns the resolved value.\n */\n function baseGet(object, path) {\n path = castPath(path, object);\n\n var index = 0,\n length = path.length;\n\n while (object != null && index < length) {\n object = object[toKey(path[index++])];\n }\n return (index && index == length) ? object : undefined;\n }\n\n /**\n * The base implementation of `getAllKeys` and `getAllKeysIn` which uses\n * `keysFunc` and `symbolsFunc` to get the enumerable property names and\n * symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @param {Function} symbolsFunc The function to get the symbols of `object`.\n * @returns {Array} Returns the array of property names and symbols.\n */\n function baseGetAllKeys(object, keysFunc, symbolsFunc) {\n var result = keysFunc(object);\n return isArray(object) ? result : arrayPush(result, symbolsFunc(object));\n }\n\n /**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\n function baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n }\n\n /**\n * The base implementation of `_.gt` which doesn't coerce arguments.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is greater than `other`,\n * else `false`.\n */\n function baseGt(value, other) {\n return value > other;\n }\n\n /**\n * The base implementation of `_.has` without support for deep paths.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {Array|string} key The key to check.\n * @returns {boolean} Returns `true` if `key` exists, else `false`.\n */\n function baseHas(object, key) {\n return object != null && hasOwnProperty.call(object, key);\n }\n\n /**\n * The base implementation of `_.hasIn` without support for deep paths.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {Array|string} key The key to check.\n * @returns {boolean} Returns `true` if `key` exists, else `false`.\n */\n function baseHasIn(object, key) {\n return object != null && key in Object(object);\n }\n\n /**\n * The base implementation of `_.inRange` which doesn't coerce arguments.\n *\n * @private\n * @param {number} number The number to check.\n * @param {number} start The start of the range.\n * @param {number} end The end of the range.\n * @returns {boolean} Returns `true` if `number` is in the range, else `false`.\n */\n function baseInRange(number, start, end) {\n return number >= nativeMin(start, end) && number < nativeMax(start, end);\n }\n\n /**\n * The base implementation of methods like `_.intersection`, without support\n * for iteratee shorthands, that accepts an array of arrays to inspect.\n *\n * @private\n * @param {Array} arrays The arrays to inspect.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of shared values.\n */\n function baseIntersection(arrays, iteratee, comparator) {\n var includes = comparator ? arrayIncludesWith : arrayIncludes,\n length = arrays[0].length,\n othLength = arrays.length,\n othIndex = othLength,\n caches = Array(othLength),\n maxLength = Infinity,\n result = [];\n\n while (othIndex--) {\n var array = arrays[othIndex];\n if (othIndex && iteratee) {\n array = arrayMap(array, baseUnary(iteratee));\n }\n maxLength = nativeMin(array.length, maxLength);\n caches[othIndex] = !comparator && (iteratee || (length >= 120 && array.length >= 120))\n ? new SetCache(othIndex && array)\n : undefined;\n }\n array = arrays[0];\n\n var index = -1,\n seen = caches[0];\n\n outer:\n while (++index < length && result.length < maxLength) {\n var value = array[index],\n computed = iteratee ? iteratee(value) : value;\n\n value = (comparator || value !== 0) ? value : 0;\n if (!(seen\n ? cacheHas(seen, computed)\n : includes(result, computed, comparator)\n )) {\n othIndex = othLength;\n while (--othIndex) {\n var cache = caches[othIndex];\n if (!(cache\n ? cacheHas(cache, computed)\n : includes(arrays[othIndex], computed, comparator))\n ) {\n continue outer;\n }\n }\n if (seen) {\n seen.push(computed);\n }\n result.push(value);\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `_.invert` and `_.invertBy` which inverts\n * `object` with values transformed by `iteratee` and set by `setter`.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} setter The function to set `accumulator` values.\n * @param {Function} iteratee The iteratee to transform values.\n * @param {Object} accumulator The initial inverted object.\n * @returns {Function} Returns `accumulator`.\n */\n function baseInverter(object, setter, iteratee, accumulator) {\n baseForOwn(object, function(value, key, object) {\n setter(accumulator, iteratee(value), key, object);\n });\n return accumulator;\n }\n\n /**\n * The base implementation of `_.invoke` without support for individual\n * method arguments.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the method to invoke.\n * @param {Array} args The arguments to invoke the method with.\n * @returns {*} Returns the result of the invoked method.\n */\n function baseInvoke(object, path, args) {\n path = castPath(path, object);\n object = parent(object, path);\n var func = object == null ? object : object[toKey(last(path))];\n return func == null ? undefined : apply(func, object, args);\n }\n\n /**\n * The base implementation of `_.isArguments`.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n */\n function baseIsArguments(value) {\n return isObjectLike(value) && baseGetTag(value) == argsTag;\n }\n\n /**\n * The base implementation of `_.isArrayBuffer` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array buffer, else `false`.\n */\n function baseIsArrayBuffer(value) {\n return isObjectLike(value) && baseGetTag(value) == arrayBufferTag;\n }\n\n /**\n * The base implementation of `_.isDate` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a date object, else `false`.\n */\n function baseIsDate(value) {\n return isObjectLike(value) && baseGetTag(value) == dateTag;\n }\n\n /**\n * The base implementation of `_.isEqual` which supports partial comparisons\n * and tracks traversed objects.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @param {boolean} bitmask The bitmask flags.\n * 1 - Unordered comparison\n * 2 - Partial comparison\n * @param {Function} [customizer] The function to customize comparisons.\n * @param {Object} [stack] Tracks traversed `value` and `other` objects.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n */\n function baseIsEqual(value, other, bitmask, customizer, stack) {\n if (value === other) {\n return true;\n }\n if (value == null || other == null || (!isObjectLike(value) && !isObjectLike(other))) {\n return value !== value && other !== other;\n }\n return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);\n }\n\n /**\n * A specialized version of `baseIsEqual` for arrays and objects which performs\n * deep comparisons and tracks traversed objects enabling objects with circular\n * references to be compared.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} [stack] Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\n function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {\n var objIsArr = isArray(object),\n othIsArr = isArray(other),\n objTag = objIsArr ? arrayTag : getTag(object),\n othTag = othIsArr ? arrayTag : getTag(other);\n\n objTag = objTag == argsTag ? objectTag : objTag;\n othTag = othTag == argsTag ? objectTag : othTag;\n\n var objIsObj = objTag == objectTag,\n othIsObj = othTag == objectTag,\n isSameTag = objTag == othTag;\n\n if (isSameTag && isBuffer(object)) {\n if (!isBuffer(other)) {\n return false;\n }\n objIsArr = true;\n objIsObj = false;\n }\n if (isSameTag && !objIsObj) {\n stack || (stack = new Stack);\n return (objIsArr || isTypedArray(object))\n ? equalArrays(object, other, bitmask, customizer, equalFunc, stack)\n : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);\n }\n if (!(bitmask & COMPARE_PARTIAL_FLAG)) {\n var objIsWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'),\n othIsWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__');\n\n if (objIsWrapped || othIsWrapped) {\n var objUnwrapped = objIsWrapped ? object.value() : object,\n othUnwrapped = othIsWrapped ? other.value() : other;\n\n stack || (stack = new Stack);\n return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack);\n }\n }\n if (!isSameTag) {\n return false;\n }\n stack || (stack = new Stack);\n return equalObjects(object, other, bitmask, customizer, equalFunc, stack);\n }\n\n /**\n * The base implementation of `_.isMap` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a map, else `false`.\n */\n function baseIsMap(value) {\n return isObjectLike(value) && getTag(value) == mapTag;\n }\n\n /**\n * The base implementation of `_.isMatch` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The object to inspect.\n * @param {Object} source The object of property values to match.\n * @param {Array} matchData The property names, values, and compare flags to match.\n * @param {Function} [customizer] The function to customize comparisons.\n * @returns {boolean} Returns `true` if `object` is a match, else `false`.\n */\n function baseIsMatch(object, source, matchData, customizer) {\n var index = matchData.length,\n length = index,\n noCustomizer = !customizer;\n\n if (object == null) {\n return !length;\n }\n object = Object(object);\n while (index--) {\n var data = matchData[index];\n if ((noCustomizer && data[2])\n ? data[1] !== object[data[0]]\n : !(data[0] in object)\n ) {\n return false;\n }\n }\n while (++index < length) {\n data = matchData[index];\n var key = data[0],\n objValue = object[key],\n srcValue = data[1];\n\n if (noCustomizer && data[2]) {\n if (objValue === undefined && !(key in object)) {\n return false;\n }\n } else {\n var stack = new Stack;\n if (customizer) {\n var result = customizer(objValue, srcValue, key, object, source, stack);\n }\n if (!(result === undefined\n ? baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG, customizer, stack)\n : result\n )) {\n return false;\n }\n }\n }\n return true;\n }\n\n /**\n * The base implementation of `_.isNative` without bad shim checks.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a native function,\n * else `false`.\n */\n function baseIsNative(value) {\n if (!isObject(value) || isMasked(value)) {\n return false;\n }\n var pattern = isFunction(value) ? reIsNative : reIsHostCtor;\n return pattern.test(toSource(value));\n }\n\n /**\n * The base implementation of `_.isRegExp` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a regexp, else `false`.\n */\n function baseIsRegExp(value) {\n return isObjectLike(value) && baseGetTag(value) == regexpTag;\n }\n\n /**\n * The base implementation of `_.isSet` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a set, else `false`.\n */\n function baseIsSet(value) {\n return isObjectLike(value) && getTag(value) == setTag;\n }\n\n /**\n * The base implementation of `_.isTypedArray` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n */\n function baseIsTypedArray(value) {\n return isObjectLike(value) &&\n isLength(value.length) && !!typedArrayTags[baseGetTag(value)];\n }\n\n /**\n * The base implementation of `_.iteratee`.\n *\n * @private\n * @param {*} [value=_.identity] The value to convert to an iteratee.\n * @returns {Function} Returns the iteratee.\n */\n function baseIteratee(value) {\n // Don't store the `typeof` result in a variable to avoid a JIT bug in Safari 9.\n // See https://bugs.webkit.org/show_bug.cgi?id=156034 for more details.\n if (typeof value == 'function') {\n return value;\n }\n if (value == null) {\n return identity;\n }\n if (typeof value == 'object') {\n return isArray(value)\n ? baseMatchesProperty(value[0], value[1])\n : baseMatches(value);\n }\n return property(value);\n }\n\n /**\n * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\n function baseKeys(object) {\n if (!isPrototype(object)) {\n return nativeKeys(object);\n }\n var result = [];\n for (var key in Object(object)) {\n if (hasOwnProperty.call(object, key) && key != 'constructor') {\n result.push(key);\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\n function baseKeysIn(object) {\n if (!isObject(object)) {\n return nativeKeysIn(object);\n }\n var isProto = isPrototype(object),\n result = [];\n\n for (var key in object) {\n if (!(key == 'constructor' && (isProto || !hasOwnProperty.call(object, key)))) {\n result.push(key);\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `_.lt` which doesn't coerce arguments.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is less than `other`,\n * else `false`.\n */\n function baseLt(value, other) {\n return value < other;\n }\n\n /**\n * The base implementation of `_.map` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n */\n function baseMap(collection, iteratee) {\n var index = -1,\n result = isArrayLike(collection) ? Array(collection.length) : [];\n\n baseEach(collection, function(value, key, collection) {\n result[++index] = iteratee(value, key, collection);\n });\n return result;\n }\n\n /**\n * The base implementation of `_.matches` which doesn't clone `source`.\n *\n * @private\n * @param {Object} source The object of property values to match.\n * @returns {Function} Returns the new spec function.\n */\n function baseMatches(source) {\n var matchData = getMatchData(source);\n if (matchData.length == 1 && matchData[0][2]) {\n return matchesStrictComparable(matchData[0][0], matchData[0][1]);\n }\n return function(object) {\n return object === source || baseIsMatch(object, source, matchData);\n };\n }\n\n /**\n * The base implementation of `_.matchesProperty` which doesn't clone `srcValue`.\n *\n * @private\n * @param {string} path The path of the property to get.\n * @param {*} srcValue The value to match.\n * @returns {Function} Returns the new spec function.\n */\n function baseMatchesProperty(path, srcValue) {\n if (isKey(path) && isStrictComparable(srcValue)) {\n return matchesStrictComparable(toKey(path), srcValue);\n }\n return function(object) {\n var objValue = get(object, path);\n return (objValue === undefined && objValue === srcValue)\n ? hasIn(object, path)\n : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);\n };\n }\n\n /**\n * The base implementation of `_.merge` without support for multiple sources.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @param {number} srcIndex The index of `source`.\n * @param {Function} [customizer] The function to customize merged values.\n * @param {Object} [stack] Tracks traversed source values and their merged\n * counterparts.\n */\n function baseMerge(object, source, srcIndex, customizer, stack) {\n if (object === source) {\n return;\n }\n baseFor(source, function(srcValue, key) {\n stack || (stack = new Stack);\n if (isObject(srcValue)) {\n baseMergeDeep(object, source, key, srcIndex, baseMerge, customizer, stack);\n }\n else {\n var newValue = customizer\n ? customizer(safeGet(object, key), srcValue, (key + ''), object, source, stack)\n : undefined;\n\n if (newValue === undefined) {\n newValue = srcValue;\n }\n assignMergeValue(object, key, newValue);\n }\n }, keysIn);\n }\n\n /**\n * A specialized version of `baseMerge` for arrays and objects which performs\n * deep merges and tracks traversed objects enabling objects with circular\n * references to be merged.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @param {string} key The key of the value to merge.\n * @param {number} srcIndex The index of `source`.\n * @param {Function} mergeFunc The function to merge values.\n * @param {Function} [customizer] The function to customize assigned values.\n * @param {Object} [stack] Tracks traversed source values and their merged\n * counterparts.\n */\n function baseMergeDeep(object, source, key, srcIndex, mergeFunc, customizer, stack) {\n var objValue = safeGet(object, key),\n srcValue = safeGet(source, key),\n stacked = stack.get(srcValue);\n\n if (stacked) {\n assignMergeValue(object, key, stacked);\n return;\n }\n var newValue = customizer\n ? customizer(objValue, srcValue, (key + ''), object, source, stack)\n : undefined;\n\n var isCommon = newValue === undefined;\n\n if (isCommon) {\n var isArr = isArray(srcValue),\n isBuff = !isArr && isBuffer(srcValue),\n isTyped = !isArr && !isBuff && isTypedArray(srcValue);\n\n newValue = srcValue;\n if (isArr || isBuff || isTyped) {\n if (isArray(objValue)) {\n newValue = objValue;\n }\n else if (isArrayLikeObject(objValue)) {\n newValue = copyArray(objValue);\n }\n else if (isBuff) {\n isCommon = false;\n newValue = cloneBuffer(srcValue, true);\n }\n else if (isTyped) {\n isCommon = false;\n newValue = cloneTypedArray(srcValue, true);\n }\n else {\n newValue = [];\n }\n }\n else if (isPlainObject(srcValue) || isArguments(srcValue)) {\n newValue = objValue;\n if (isArguments(objValue)) {\n newValue = toPlainObject(objValue);\n }\n else if (!isObject(objValue) || isFunction(objValue)) {\n newValue = initCloneObject(srcValue);\n }\n }\n else {\n isCommon = false;\n }\n }\n if (isCommon) {\n // Recursively merge objects and arrays (susceptible to call stack limits).\n stack.set(srcValue, newValue);\n mergeFunc(newValue, srcValue, srcIndex, customizer, stack);\n stack['delete'](srcValue);\n }\n assignMergeValue(object, key, newValue);\n }\n\n /**\n * The base implementation of `_.nth` which doesn't coerce arguments.\n *\n * @private\n * @param {Array} array The array to query.\n * @param {number} n The index of the element to return.\n * @returns {*} Returns the nth element of `array`.\n */\n function baseNth(array, n) {\n var length = array.length;\n if (!length) {\n return;\n }\n n += n < 0 ? length : 0;\n return isIndex(n, length) ? array[n] : undefined;\n }\n\n /**\n * The base implementation of `_.orderBy` without param guards.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function[]|Object[]|string[]} iteratees The iteratees to sort by.\n * @param {string[]} orders The sort orders of `iteratees`.\n * @returns {Array} Returns the new sorted array.\n */\n function baseOrderBy(collection, iteratees, orders) {\n if (iteratees.length) {\n iteratees = arrayMap(iteratees, function(iteratee) {\n if (isArray(iteratee)) {\n return function(value) {\n return baseGet(value, iteratee.length === 1 ? iteratee[0] : iteratee);\n }\n }\n return iteratee;\n });\n } else {\n iteratees = [identity];\n }\n\n var index = -1;\n iteratees = arrayMap(iteratees, baseUnary(getIteratee()));\n\n var result = baseMap(collection, function(value, key, collection) {\n var criteria = arrayMap(iteratees, function(iteratee) {\n return iteratee(value);\n });\n return { 'criteria': criteria, 'index': ++index, 'value': value };\n });\n\n return baseSortBy(result, function(object, other) {\n return compareMultiple(object, other, orders);\n });\n }\n\n /**\n * The base implementation of `_.pick` without support for individual\n * property identifiers.\n *\n * @private\n * @param {Object} object The source object.\n * @param {string[]} paths The property paths to pick.\n * @returns {Object} Returns the new object.\n */\n function basePick(object, paths) {\n return basePickBy(object, paths, function(value, path) {\n return hasIn(object, path);\n });\n }\n\n /**\n * The base implementation of `_.pickBy` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The source object.\n * @param {string[]} paths The property paths to pick.\n * @param {Function} predicate The function invoked per property.\n * @returns {Object} Returns the new object.\n */\n function basePickBy(object, paths, predicate) {\n var index = -1,\n length = paths.length,\n result = {};\n\n while (++index < length) {\n var path = paths[index],\n value = baseGet(object, path);\n\n if (predicate(value, path)) {\n baseSet(result, castPath(path, object), value);\n }\n }\n return result;\n }\n\n /**\n * A specialized version of `baseProperty` which supports deep paths.\n *\n * @private\n * @param {Array|string} path The path of the property to get.\n * @returns {Function} Returns the new accessor function.\n */\n function basePropertyDeep(path) {\n return function(object) {\n return baseGet(object, path);\n };\n }\n\n /**\n * The base implementation of `_.pullAllBy` without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {Array} values The values to remove.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns `array`.\n */\n function basePullAll(array, values, iteratee, comparator) {\n var indexOf = comparator ? baseIndexOfWith : baseIndexOf,\n index = -1,\n length = values.length,\n seen = array;\n\n if (array === values) {\n values = copyArray(values);\n }\n if (iteratee) {\n seen = arrayMap(array, baseUnary(iteratee));\n }\n while (++index < length) {\n var fromIndex = 0,\n value = values[index],\n computed = iteratee ? iteratee(value) : value;\n\n while ((fromIndex = indexOf(seen, computed, fromIndex, comparator)) > -1) {\n if (seen !== array) {\n splice.call(seen, fromIndex, 1);\n }\n splice.call(array, fromIndex, 1);\n }\n }\n return array;\n }\n\n /**\n * The base implementation of `_.pullAt` without support for individual\n * indexes or capturing the removed elements.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {number[]} indexes The indexes of elements to remove.\n * @returns {Array} Returns `array`.\n */\n function basePullAt(array, indexes) {\n var length = array ? indexes.length : 0,\n lastIndex = length - 1;\n\n while (length--) {\n var index = indexes[length];\n if (length == lastIndex || index !== previous) {\n var previous = index;\n if (isIndex(index)) {\n splice.call(array, index, 1);\n } else {\n baseUnset(array, index);\n }\n }\n }\n return array;\n }\n\n /**\n * The base implementation of `_.random` without support for returning\n * floating-point numbers.\n *\n * @private\n * @param {number} lower The lower bound.\n * @param {number} upper The upper bound.\n * @returns {number} Returns the random number.\n */\n function baseRandom(lower, upper) {\n return lower + nativeFloor(nativeRandom() * (upper - lower + 1));\n }\n\n /**\n * The base implementation of `_.range` and `_.rangeRight` which doesn't\n * coerce arguments.\n *\n * @private\n * @param {number} start The start of the range.\n * @param {number} end The end of the range.\n * @param {number} step The value to increment or decrement by.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Array} Returns the range of numbers.\n */\n function baseRange(start, end, step, fromRight) {\n var index = -1,\n length = nativeMax(nativeCeil((end - start) / (step || 1)), 0),\n result = Array(length);\n\n while (length--) {\n result[fromRight ? length : ++index] = start;\n start += step;\n }\n return result;\n }\n\n /**\n * The base implementation of `_.repeat` which doesn't coerce arguments.\n *\n * @private\n * @param {string} string The string to repeat.\n * @param {number} n The number of times to repeat the string.\n * @returns {string} Returns the repeated string.\n */\n function baseRepeat(string, n) {\n var result = '';\n if (!string || n < 1 || n > MAX_SAFE_INTEGER) {\n return result;\n }\n // Leverage the exponentiation by squaring algorithm for a faster repeat.\n // See https://en.wikipedia.org/wiki/Exponentiation_by_squaring for more details.\n do {\n if (n % 2) {\n result += string;\n }\n n = nativeFloor(n / 2);\n if (n) {\n string += string;\n }\n } while (n);\n\n return result;\n }\n\n /**\n * The base implementation of `_.rest` which doesn't validate or coerce arguments.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @returns {Function} Returns the new function.\n */\n function baseRest(func, start) {\n return setToString(overRest(func, start, identity), func + '');\n }\n\n /**\n * The base implementation of `_.sample`.\n *\n * @private\n * @param {Array|Object} collection The collection to sample.\n * @returns {*} Returns the random element.\n */\n function baseSample(collection) {\n return arraySample(values(collection));\n }\n\n /**\n * The base implementation of `_.sampleSize` without param guards.\n *\n * @private\n * @param {Array|Object} collection The collection to sample.\n * @param {number} n The number of elements to sample.\n * @returns {Array} Returns the random elements.\n */\n function baseSampleSize(collection, n) {\n var array = values(collection);\n return shuffleSelf(array, baseClamp(n, 0, array.length));\n }\n\n /**\n * The base implementation of `_.set`.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to set.\n * @param {*} value The value to set.\n * @param {Function} [customizer] The function to customize path creation.\n * @returns {Object} Returns `object`.\n */\n function baseSet(object, path, value, customizer) {\n if (!isObject(object)) {\n return object;\n }\n path = castPath(path, object);\n\n var index = -1,\n length = path.length,\n lastIndex = length - 1,\n nested = object;\n\n while (nested != null && ++index < length) {\n var key = toKey(path[index]),\n newValue = value;\n\n if (key === '__proto__' || key === 'constructor' || key === 'prototype') {\n return object;\n }\n\n if (index != lastIndex) {\n var objValue = nested[key];\n newValue = customizer ? customizer(objValue, key, nested) : undefined;\n if (newValue === undefined) {\n newValue = isObject(objValue)\n ? objValue\n : (isIndex(path[index + 1]) ? [] : {});\n }\n }\n assignValue(nested, key, newValue);\n nested = nested[key];\n }\n return object;\n }\n\n /**\n * The base implementation of `setData` without support for hot loop shorting.\n *\n * @private\n * @param {Function} func The function to associate metadata with.\n * @param {*} data The metadata.\n * @returns {Function} Returns `func`.\n */\n var baseSetData = !metaMap ? identity : function(func, data) {\n metaMap.set(func, data);\n return func;\n };\n\n /**\n * The base implementation of `setToString` without support for hot loop shorting.\n *\n * @private\n * @param {Function} func The function to modify.\n * @param {Function} string The `toString` result.\n * @returns {Function} Returns `func`.\n */\n var baseSetToString = !defineProperty ? identity : function(func, string) {\n return defineProperty(func, 'toString', {\n 'configurable': true,\n 'enumerable': false,\n 'value': constant(string),\n 'writable': true\n });\n };\n\n /**\n * The base implementation of `_.shuffle`.\n *\n * @private\n * @param {Array|Object} collection The collection to shuffle.\n * @returns {Array} Returns the new shuffled array.\n */\n function baseShuffle(collection) {\n return shuffleSelf(values(collection));\n }\n\n /**\n * The base implementation of `_.slice` without an iteratee call guard.\n *\n * @private\n * @param {Array} array The array to slice.\n * @param {number} [start=0] The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns the slice of `array`.\n */\n function baseSlice(array, start, end) {\n var index = -1,\n length = array.length;\n\n if (start < 0) {\n start = -start > length ? 0 : (length + start);\n }\n end = end > length ? length : end;\n if (end < 0) {\n end += length;\n }\n length = start > end ? 0 : ((end - start) >>> 0);\n start >>>= 0;\n\n var result = Array(length);\n while (++index < length) {\n result[index] = array[index + start];\n }\n return result;\n }\n\n /**\n * The base implementation of `_.some` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {boolean} Returns `true` if any element passes the predicate check,\n * else `false`.\n */\n function baseSome(collection, predicate) {\n var result;\n\n baseEach(collection, function(value, index, collection) {\n result = predicate(value, index, collection);\n return !result;\n });\n return !!result;\n }\n\n /**\n * The base implementation of `_.sortedIndex` and `_.sortedLastIndex` which\n * performs a binary search of `array` to determine the index at which `value`\n * should be inserted into `array` in order to maintain its sort order.\n *\n * @private\n * @param {Array} array The sorted array to inspect.\n * @param {*} value The value to evaluate.\n * @param {boolean} [retHighest] Specify returning the highest qualified index.\n * @returns {number} Returns the index at which `value` should be inserted\n * into `array`.\n */\n function baseSortedIndex(array, value, retHighest) {\n var low = 0,\n high = array == null ? low : array.length;\n\n if (typeof value == 'number' && value === value && high <= HALF_MAX_ARRAY_LENGTH) {\n while (low < high) {\n var mid = (low + high) >>> 1,\n computed = array[mid];\n\n if (computed !== null && !isSymbol(computed) &&\n (retHighest ? (computed <= value) : (computed < value))) {\n low = mid + 1;\n } else {\n high = mid;\n }\n }\n return high;\n }\n return baseSortedIndexBy(array, value, identity, retHighest);\n }\n\n /**\n * The base implementation of `_.sortedIndexBy` and `_.sortedLastIndexBy`\n * which invokes `iteratee` for `value` and each element of `array` to compute\n * their sort ranking. The iteratee is invoked with one argument; (value).\n *\n * @private\n * @param {Array} array The sorted array to inspect.\n * @param {*} value The value to evaluate.\n * @param {Function} iteratee The iteratee invoked per element.\n * @param {boolean} [retHighest] Specify returning the highest qualified index.\n * @returns {number} Returns the index at which `value` should be inserted\n * into `array`.\n */\n function baseSortedIndexBy(array, value, iteratee, retHighest) {\n var low = 0,\n high = array == null ? 0 : array.length;\n if (high === 0) {\n return 0;\n }\n\n value = iteratee(value);\n var valIsNaN = value !== value,\n valIsNull = value === null,\n valIsSymbol = isSymbol(value),\n valIsUndefined = value === undefined;\n\n while (low < high) {\n var mid = nativeFloor((low + high) / 2),\n computed = iteratee(array[mid]),\n othIsDefined = computed !== undefined,\n othIsNull = computed === null,\n othIsReflexive = computed === computed,\n othIsSymbol = isSymbol(computed);\n\n if (valIsNaN) {\n var setLow = retHighest || othIsReflexive;\n } else if (valIsUndefined) {\n setLow = othIsReflexive && (retHighest || othIsDefined);\n } else if (valIsNull) {\n setLow = othIsReflexive && othIsDefined && (retHighest || !othIsNull);\n } else if (valIsSymbol) {\n setLow = othIsReflexive && othIsDefined && !othIsNull && (retHighest || !othIsSymbol);\n } else if (othIsNull || othIsSymbol) {\n setLow = false;\n } else {\n setLow = retHighest ? (computed <= value) : (computed < value);\n }\n if (setLow) {\n low = mid + 1;\n } else {\n high = mid;\n }\n }\n return nativeMin(high, MAX_ARRAY_INDEX);\n }\n\n /**\n * The base implementation of `_.sortedUniq` and `_.sortedUniqBy` without\n * support for iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @returns {Array} Returns the new duplicate free array.\n */\n function baseSortedUniq(array, iteratee) {\n var index = -1,\n length = array.length,\n resIndex = 0,\n result = [];\n\n while (++index < length) {\n var value = array[index],\n computed = iteratee ? iteratee(value) : value;\n\n if (!index || !eq(computed, seen)) {\n var seen = computed;\n result[resIndex++] = value === 0 ? 0 : value;\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `_.toNumber` which doesn't ensure correct\n * conversions of binary, hexadecimal, or octal string values.\n *\n * @private\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n */\n function baseToNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n return +value;\n }\n\n /**\n * The base implementation of `_.toString` which doesn't convert nullish\n * values to empty strings.\n *\n * @private\n * @param {*} value The value to process.\n * @returns {string} Returns the string.\n */\n function baseToString(value) {\n // Exit early for strings to avoid a performance hit in some environments.\n if (typeof value == 'string') {\n return value;\n }\n if (isArray(value)) {\n // Recursively convert values (susceptible to call stack limits).\n return arrayMap(value, baseToString) + '';\n }\n if (isSymbol(value)) {\n return symbolToString ? symbolToString.call(value) : '';\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n }\n\n /**\n * The base implementation of `_.uniqBy` without support for iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new duplicate free array.\n */\n function baseUniq(array, iteratee, comparator) {\n var index = -1,\n includes = arrayIncludes,\n length = array.length,\n isCommon = true,\n result = [],\n seen = result;\n\n if (comparator) {\n isCommon = false;\n includes = arrayIncludesWith;\n }\n else if (length >= LARGE_ARRAY_SIZE) {\n var set = iteratee ? null : createSet(array);\n if (set) {\n return setToArray(set);\n }\n isCommon = false;\n includes = cacheHas;\n seen = new SetCache;\n }\n else {\n seen = iteratee ? [] : result;\n }\n outer:\n while (++index < length) {\n var value = array[index],\n computed = iteratee ? iteratee(value) : value;\n\n value = (comparator || value !== 0) ? value : 0;\n if (isCommon && computed === computed) {\n var seenIndex = seen.length;\n while (seenIndex--) {\n if (seen[seenIndex] === computed) {\n continue outer;\n }\n }\n if (iteratee) {\n seen.push(computed);\n }\n result.push(value);\n }\n else if (!includes(seen, computed, comparator)) {\n if (seen !== result) {\n seen.push(computed);\n }\n result.push(value);\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `_.unset`.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {Array|string} path The property path to unset.\n * @returns {boolean} Returns `true` if the property is deleted, else `false`.\n */\n function baseUnset(object, path) {\n path = castPath(path, object);\n object = parent(object, path);\n return object == null || delete object[toKey(last(path))];\n }\n\n /**\n * The base implementation of `_.update`.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to update.\n * @param {Function} updater The function to produce the updated value.\n * @param {Function} [customizer] The function to customize path creation.\n * @returns {Object} Returns `object`.\n */\n function baseUpdate(object, path, updater, customizer) {\n return baseSet(object, path, updater(baseGet(object, path)), customizer);\n }\n\n /**\n * The base implementation of methods like `_.dropWhile` and `_.takeWhile`\n * without support for iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to query.\n * @param {Function} predicate The function invoked per iteration.\n * @param {boolean} [isDrop] Specify dropping elements instead of taking them.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Array} Returns the slice of `array`.\n */\n function baseWhile(array, predicate, isDrop, fromRight) {\n var length = array.length,\n index = fromRight ? length : -1;\n\n while ((fromRight ? index-- : ++index < length) &&\n predicate(array[index], index, array)) {}\n\n return isDrop\n ? baseSlice(array, (fromRight ? 0 : index), (fromRight ? index + 1 : length))\n : baseSlice(array, (fromRight ? index + 1 : 0), (fromRight ? length : index));\n }\n\n /**\n * The base implementation of `wrapperValue` which returns the result of\n * performing a sequence of actions on the unwrapped `value`, where each\n * successive action is supplied the return value of the previous.\n *\n * @private\n * @param {*} value The unwrapped value.\n * @param {Array} actions Actions to perform to resolve the unwrapped value.\n * @returns {*} Returns the resolved value.\n */\n function baseWrapperValue(value, actions) {\n var result = value;\n if (result instanceof LazyWrapper) {\n result = result.value();\n }\n return arrayReduce(actions, function(result, action) {\n return action.func.apply(action.thisArg, arrayPush([result], action.args));\n }, result);\n }\n\n /**\n * The base implementation of methods like `_.xor`, without support for\n * iteratee shorthands, that accepts an array of arrays to inspect.\n *\n * @private\n * @param {Array} arrays The arrays to inspect.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of values.\n */\n function baseXor(arrays, iteratee, comparator) {\n var length = arrays.length;\n if (length < 2) {\n return length ? baseUniq(arrays[0]) : [];\n }\n var index = -1,\n result = Array(length);\n\n while (++index < length) {\n var array = arrays[index],\n othIndex = -1;\n\n while (++othIndex < length) {\n if (othIndex != index) {\n result[index] = baseDifference(result[index] || array, arrays[othIndex], iteratee, comparator);\n }\n }\n }\n return baseUniq(baseFlatten(result, 1), iteratee, comparator);\n }\n\n /**\n * This base implementation of `_.zipObject` which assigns values using `assignFunc`.\n *\n * @private\n * @param {Array} props The property identifiers.\n * @param {Array} values The property values.\n * @param {Function} assignFunc The function to assign values.\n * @returns {Object} Returns the new object.\n */\n function baseZipObject(props, values, assignFunc) {\n var index = -1,\n length = props.length,\n valsLength = values.length,\n result = {};\n\n while (++index < length) {\n var value = index < valsLength ? values[index] : undefined;\n assignFunc(result, props[index], value);\n }\n return result;\n }\n\n /**\n * Casts `value` to an empty array if it's not an array like object.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {Array|Object} Returns the cast array-like object.\n */\n function castArrayLikeObject(value) {\n return isArrayLikeObject(value) ? value : [];\n }\n\n /**\n * Casts `value` to `identity` if it's not a function.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {Function} Returns cast function.\n */\n function castFunction(value) {\n return typeof value == 'function' ? value : identity;\n }\n\n /**\n * Casts `value` to a path array if it's not one.\n *\n * @private\n * @param {*} value The value to inspect.\n * @param {Object} [object] The object to query keys on.\n * @returns {Array} Returns the cast property path array.\n */\n function castPath(value, object) {\n if (isArray(value)) {\n return value;\n }\n return isKey(value, object) ? [value] : stringToPath(toString(value));\n }\n\n /**\n * A `baseRest` alias which can be replaced with `identity` by module\n * replacement plugins.\n *\n * @private\n * @type {Function}\n * @param {Function} func The function to apply a rest parameter to.\n * @returns {Function} Returns the new function.\n */\n var castRest = baseRest;\n\n /**\n * Casts `array` to a slice if it's needed.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {number} start The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns the cast slice.\n */\n function castSlice(array, start, end) {\n var length = array.length;\n end = end === undefined ? length : end;\n return (!start && end >= length) ? array : baseSlice(array, start, end);\n }\n\n /**\n * A simple wrapper around the global [`clearTimeout`](https://mdn.io/clearTimeout).\n *\n * @private\n * @param {number|Object} id The timer id or timeout object of the timer to clear.\n */\n var clearTimeout = ctxClearTimeout || function(id) {\n return root.clearTimeout(id);\n };\n\n /**\n * Creates a clone of `buffer`.\n *\n * @private\n * @param {Buffer} buffer The buffer to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Buffer} Returns the cloned buffer.\n */\n function cloneBuffer(buffer, isDeep) {\n if (isDeep) {\n return buffer.slice();\n }\n var length = buffer.length,\n result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);\n\n buffer.copy(result);\n return result;\n }\n\n /**\n * Creates a clone of `arrayBuffer`.\n *\n * @private\n * @param {ArrayBuffer} arrayBuffer The array buffer to clone.\n * @returns {ArrayBuffer} Returns the cloned array buffer.\n */\n function cloneArrayBuffer(arrayBuffer) {\n var result = new arrayBuffer.constructor(arrayBuffer.byteLength);\n new Uint8Array(result).set(new Uint8Array(arrayBuffer));\n return result;\n }\n\n /**\n * Creates a clone of `dataView`.\n *\n * @private\n * @param {Object} dataView The data view to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned data view.\n */\n function cloneDataView(dataView, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;\n return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);\n }\n\n /**\n * Creates a clone of `regexp`.\n *\n * @private\n * @param {Object} regexp The regexp to clone.\n * @returns {Object} Returns the cloned regexp.\n */\n function cloneRegExp(regexp) {\n var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));\n result.lastIndex = regexp.lastIndex;\n return result;\n }\n\n /**\n * Creates a clone of the `symbol` object.\n *\n * @private\n * @param {Object} symbol The symbol object to clone.\n * @returns {Object} Returns the cloned symbol object.\n */\n function cloneSymbol(symbol) {\n return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};\n }\n\n /**\n * Creates a clone of `typedArray`.\n *\n * @private\n * @param {Object} typedArray The typed array to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned typed array.\n */\n function cloneTypedArray(typedArray, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;\n return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);\n }\n\n /**\n * Compares values to sort them in ascending order.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {number} Returns the sort order indicator for `value`.\n */\n function compareAscending(value, other) {\n if (value !== other) {\n var valIsDefined = value !== undefined,\n valIsNull = value === null,\n valIsReflexive = value === value,\n valIsSymbol = isSymbol(value);\n\n var othIsDefined = other !== undefined,\n othIsNull = other === null,\n othIsReflexive = other === other,\n othIsSymbol = isSymbol(other);\n\n if ((!othIsNull && !othIsSymbol && !valIsSymbol && value > other) ||\n (valIsSymbol && othIsDefined && othIsReflexive && !othIsNull && !othIsSymbol) ||\n (valIsNull && othIsDefined && othIsReflexive) ||\n (!valIsDefined && othIsReflexive) ||\n !valIsReflexive) {\n return 1;\n }\n if ((!valIsNull && !valIsSymbol && !othIsSymbol && value < other) ||\n (othIsSymbol && valIsDefined && valIsReflexive && !valIsNull && !valIsSymbol) ||\n (othIsNull && valIsDefined && valIsReflexive) ||\n (!othIsDefined && valIsReflexive) ||\n !othIsReflexive) {\n return -1;\n }\n }\n return 0;\n }\n\n /**\n * Used by `_.orderBy` to compare multiple properties of a value to another\n * and stable sort them.\n *\n * If `orders` is unspecified, all values are sorted in ascending order. Otherwise,\n * specify an order of \"desc\" for descending or \"asc\" for ascending sort order\n * of corresponding values.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {boolean[]|string[]} orders The order to sort by for each property.\n * @returns {number} Returns the sort order indicator for `object`.\n */\n function compareMultiple(object, other, orders) {\n var index = -1,\n objCriteria = object.criteria,\n othCriteria = other.criteria,\n length = objCriteria.length,\n ordersLength = orders.length;\n\n while (++index < length) {\n var result = compareAscending(objCriteria[index], othCriteria[index]);\n if (result) {\n if (index >= ordersLength) {\n return result;\n }\n var order = orders[index];\n return result * (order == 'desc' ? -1 : 1);\n }\n }\n // Fixes an `Array#sort` bug in the JS engine embedded in Adobe applications\n // that causes it, under certain circumstances, to provide the same value for\n // `object` and `other`. See https://github.com/jashkenas/underscore/pull/1247\n // for more details.\n //\n // This also ensures a stable sort in V8 and other engines.\n // See https://bugs.chromium.org/p/v8/issues/detail?id=90 for more details.\n return object.index - other.index;\n }\n\n /**\n * Creates an array that is the composition of partially applied arguments,\n * placeholders, and provided arguments into a single array of arguments.\n *\n * @private\n * @param {Array} args The provided arguments.\n * @param {Array} partials The arguments to prepend to those provided.\n * @param {Array} holders The `partials` placeholder indexes.\n * @params {boolean} [isCurried] Specify composing for a curried function.\n * @returns {Array} Returns the new array of composed arguments.\n */\n function composeArgs(args, partials, holders, isCurried) {\n var argsIndex = -1,\n argsLength = args.length,\n holdersLength = holders.length,\n leftIndex = -1,\n leftLength = partials.length,\n rangeLength = nativeMax(argsLength - holdersLength, 0),\n result = Array(leftLength + rangeLength),\n isUncurried = !isCurried;\n\n while (++leftIndex < leftLength) {\n result[leftIndex] = partials[leftIndex];\n }\n while (++argsIndex < holdersLength) {\n if (isUncurried || argsIndex < argsLength) {\n result[holders[argsIndex]] = args[argsIndex];\n }\n }\n while (rangeLength--) {\n result[leftIndex++] = args[argsIndex++];\n }\n return result;\n }\n\n /**\n * This function is like `composeArgs` except that the arguments composition\n * is tailored for `_.partialRight`.\n *\n * @private\n * @param {Array} args The provided arguments.\n * @param {Array} partials The arguments to append to those provided.\n * @param {Array} holders The `partials` placeholder indexes.\n * @params {boolean} [isCurried] Specify composing for a curried function.\n * @returns {Array} Returns the new array of composed arguments.\n */\n function composeArgsRight(args, partials, holders, isCurried) {\n var argsIndex = -1,\n argsLength = args.length,\n holdersIndex = -1,\n holdersLength = holders.length,\n rightIndex = -1,\n rightLength = partials.length,\n rangeLength = nativeMax(argsLength - holdersLength, 0),\n result = Array(rangeLength + rightLength),\n isUncurried = !isCurried;\n\n while (++argsIndex < rangeLength) {\n result[argsIndex] = args[argsIndex];\n }\n var offset = argsIndex;\n while (++rightIndex < rightLength) {\n result[offset + rightIndex] = partials[rightIndex];\n }\n while (++holdersIndex < holdersLength) {\n if (isUncurried || argsIndex < argsLength) {\n result[offset + holders[holdersIndex]] = args[argsIndex++];\n }\n }\n return result;\n }\n\n /**\n * Copies the values of `source` to `array`.\n *\n * @private\n * @param {Array} source The array to copy values from.\n * @param {Array} [array=[]] The array to copy values to.\n * @returns {Array} Returns `array`.\n */\n function copyArray(source, array) {\n var index = -1,\n length = source.length;\n\n array || (array = Array(length));\n while (++index < length) {\n array[index] = source[index];\n }\n return array;\n }\n\n /**\n * Copies properties of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy properties from.\n * @param {Array} props The property identifiers to copy.\n * @param {Object} [object={}] The object to copy properties to.\n * @param {Function} [customizer] The function to customize copied values.\n * @returns {Object} Returns `object`.\n */\n function copyObject(source, props, object, customizer) {\n var isNew = !object;\n object || (object = {});\n\n var index = -1,\n length = props.length;\n\n while (++index < length) {\n var key = props[index];\n\n var newValue = customizer\n ? customizer(object[key], source[key], key, object, source)\n : undefined;\n\n if (newValue === undefined) {\n newValue = source[key];\n }\n if (isNew) {\n baseAssignValue(object, key, newValue);\n } else {\n assignValue(object, key, newValue);\n }\n }\n return object;\n }\n\n /**\n * Copies own symbols of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy symbols from.\n * @param {Object} [object={}] The object to copy symbols to.\n * @returns {Object} Returns `object`.\n */\n function copySymbols(source, object) {\n return copyObject(source, getSymbols(source), object);\n }\n\n /**\n * Copies own and inherited symbols of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy symbols from.\n * @param {Object} [object={}] The object to copy symbols to.\n * @returns {Object} Returns `object`.\n */\n function copySymbolsIn(source, object) {\n return copyObject(source, getSymbolsIn(source), object);\n }\n\n /**\n * Creates a function like `_.groupBy`.\n *\n * @private\n * @param {Function} setter The function to set accumulator values.\n * @param {Function} [initializer] The accumulator object initializer.\n * @returns {Function} Returns the new aggregator function.\n */\n function createAggregator(setter, initializer) {\n return function(collection, iteratee) {\n var func = isArray(collection) ? arrayAggregator : baseAggregator,\n accumulator = initializer ? initializer() : {};\n\n return func(collection, setter, getIteratee(iteratee, 2), accumulator);\n };\n }\n\n /**\n * Creates a function like `_.assign`.\n *\n * @private\n * @param {Function} assigner The function to assign values.\n * @returns {Function} Returns the new assigner function.\n */\n function createAssigner(assigner) {\n return baseRest(function(object, sources) {\n var index = -1,\n length = sources.length,\n customizer = length > 1 ? sources[length - 1] : undefined,\n guard = length > 2 ? sources[2] : undefined;\n\n customizer = (assigner.length > 3 && typeof customizer == 'function')\n ? (length--, customizer)\n : undefined;\n\n if (guard && isIterateeCall(sources[0], sources[1], guard)) {\n customizer = length < 3 ? undefined : customizer;\n length = 1;\n }\n object = Object(object);\n while (++index < length) {\n var source = sources[index];\n if (source) {\n assigner(object, source, index, customizer);\n }\n }\n return object;\n });\n }\n\n /**\n * Creates a `baseEach` or `baseEachRight` function.\n *\n * @private\n * @param {Function} eachFunc The function to iterate over a collection.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\n function createBaseEach(eachFunc, fromRight) {\n return function(collection, iteratee) {\n if (collection == null) {\n return collection;\n }\n if (!isArrayLike(collection)) {\n return eachFunc(collection, iteratee);\n }\n var length = collection.length,\n index = fromRight ? length : -1,\n iterable = Object(collection);\n\n while ((fromRight ? index-- : ++index < length)) {\n if (iteratee(iterable[index], index, iterable) === false) {\n break;\n }\n }\n return collection;\n };\n }\n\n /**\n * Creates a base function for methods like `_.forIn` and `_.forOwn`.\n *\n * @private\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\n function createBaseFor(fromRight) {\n return function(object, iteratee, keysFunc) {\n var index = -1,\n iterable = Object(object),\n props = keysFunc(object),\n length = props.length;\n\n while (length--) {\n var key = props[fromRight ? length : ++index];\n if (iteratee(iterable[key], key, iterable) === false) {\n break;\n }\n }\n return object;\n };\n }\n\n /**\n * Creates a function that wraps `func` to invoke it with the optional `this`\n * binding of `thisArg`.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @param {*} [thisArg] The `this` binding of `func`.\n * @returns {Function} Returns the new wrapped function.\n */\n function createBind(func, bitmask, thisArg) {\n var isBind = bitmask & WRAP_BIND_FLAG,\n Ctor = createCtor(func);\n\n function wrapper() {\n var fn = (this && this !== root && this instanceof wrapper) ? Ctor : func;\n return fn.apply(isBind ? thisArg : this, arguments);\n }\n return wrapper;\n }\n\n /**\n * Creates a function like `_.lowerFirst`.\n *\n * @private\n * @param {string} methodName The name of the `String` case method to use.\n * @returns {Function} Returns the new case function.\n */\n function createCaseFirst(methodName) {\n return function(string) {\n string = toString(string);\n\n var strSymbols = hasUnicode(string)\n ? stringToArray(string)\n : undefined;\n\n var chr = strSymbols\n ? strSymbols[0]\n : string.charAt(0);\n\n var trailing = strSymbols\n ? castSlice(strSymbols, 1).join('')\n : string.slice(1);\n\n return chr[methodName]() + trailing;\n };\n }\n\n /**\n * Creates a function like `_.camelCase`.\n *\n * @private\n * @param {Function} callback The function to combine each word.\n * @returns {Function} Returns the new compounder function.\n */\n function createCompounder(callback) {\n return function(string) {\n return arrayReduce(words(deburr(string).replace(reApos, '')), callback, '');\n };\n }\n\n /**\n * Creates a function that produces an instance of `Ctor` regardless of\n * whether it was invoked as part of a `new` expression or by `call` or `apply`.\n *\n * @private\n * @param {Function} Ctor The constructor to wrap.\n * @returns {Function} Returns the new wrapped function.\n */\n function createCtor(Ctor) {\n return function() {\n // Use a `switch` statement to work with class constructors. See\n // http://ecma-international.org/ecma-262/7.0/#sec-ecmascript-function-objects-call-thisargument-argumentslist\n // for more details.\n var args = arguments;\n switch (args.length) {\n case 0: return new Ctor;\n case 1: return new Ctor(args[0]);\n case 2: return new Ctor(args[0], args[1]);\n case 3: return new Ctor(args[0], args[1], args[2]);\n case 4: return new Ctor(args[0], args[1], args[2], args[3]);\n case 5: return new Ctor(args[0], args[1], args[2], args[3], args[4]);\n case 6: return new Ctor(args[0], args[1], args[2], args[3], args[4], args[5]);\n case 7: return new Ctor(args[0], args[1], args[2], args[3], args[4], args[5], args[6]);\n }\n var thisBinding = baseCreate(Ctor.prototype),\n result = Ctor.apply(thisBinding, args);\n\n // Mimic the constructor's `return` behavior.\n // See https://es5.github.io/#x13.2.2 for more details.\n return isObject(result) ? result : thisBinding;\n };\n }\n\n /**\n * Creates a function that wraps `func` to enable currying.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @param {number} arity The arity of `func`.\n * @returns {Function} Returns the new wrapped function.\n */\n function createCurry(func, bitmask, arity) {\n var Ctor = createCtor(func);\n\n function wrapper() {\n var length = arguments.length,\n args = Array(length),\n index = length,\n placeholder = getHolder(wrapper);\n\n while (index--) {\n args[index] = arguments[index];\n }\n var holders = (length < 3 && args[0] !== placeholder && args[length - 1] !== placeholder)\n ? []\n : replaceHolders(args, placeholder);\n\n length -= holders.length;\n if (length < arity) {\n return createRecurry(\n func, bitmask, createHybrid, wrapper.placeholder, undefined,\n args, holders, undefined, undefined, arity - length);\n }\n var fn = (this && this !== root && this instanceof wrapper) ? Ctor : func;\n return apply(fn, this, args);\n }\n return wrapper;\n }\n\n /**\n * Creates a `_.find` or `_.findLast` function.\n *\n * @private\n * @param {Function} findIndexFunc The function to find the collection index.\n * @returns {Function} Returns the new find function.\n */\n function createFind(findIndexFunc) {\n return function(collection, predicate, fromIndex) {\n var iterable = Object(collection);\n if (!isArrayLike(collection)) {\n var iteratee = getIteratee(predicate, 3);\n collection = keys(collection);\n predicate = function(key) { return iteratee(iterable[key], key, iterable); };\n }\n var index = findIndexFunc(collection, predicate, fromIndex);\n return index > -1 ? iterable[iteratee ? collection[index] : index] : undefined;\n };\n }\n\n /**\n * Creates a `_.flow` or `_.flowRight` function.\n *\n * @private\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new flow function.\n */\n function createFlow(fromRight) {\n return flatRest(function(funcs) {\n var length = funcs.length,\n index = length,\n prereq = LodashWrapper.prototype.thru;\n\n if (fromRight) {\n funcs.reverse();\n }\n while (index--) {\n var func = funcs[index];\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n if (prereq && !wrapper && getFuncName(func) == 'wrapper') {\n var wrapper = new LodashWrapper([], true);\n }\n }\n index = wrapper ? index : length;\n while (++index < length) {\n func = funcs[index];\n\n var funcName = getFuncName(func),\n data = funcName == 'wrapper' ? getData(func) : undefined;\n\n if (data && isLaziable(data[0]) &&\n data[1] == (WRAP_ARY_FLAG | WRAP_CURRY_FLAG | WRAP_PARTIAL_FLAG | WRAP_REARG_FLAG) &&\n !data[4].length && data[9] == 1\n ) {\n wrapper = wrapper[getFuncName(data[0])].apply(wrapper, data[3]);\n } else {\n wrapper = (func.length == 1 && isLaziable(func))\n ? wrapper[funcName]()\n : wrapper.thru(func);\n }\n }\n return function() {\n var args = arguments,\n value = args[0];\n\n if (wrapper && args.length == 1 && isArray(value)) {\n return wrapper.plant(value).value();\n }\n var index = 0,\n result = length ? funcs[index].apply(this, args) : value;\n\n while (++index < length) {\n result = funcs[index].call(this, result);\n }\n return result;\n };\n });\n }\n\n /**\n * Creates a function that wraps `func` to invoke it with optional `this`\n * binding of `thisArg`, partial application, and currying.\n *\n * @private\n * @param {Function|string} func The function or method name to wrap.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @param {*} [thisArg] The `this` binding of `func`.\n * @param {Array} [partials] The arguments to prepend to those provided to\n * the new function.\n * @param {Array} [holders] The `partials` placeholder indexes.\n * @param {Array} [partialsRight] The arguments to append to those provided\n * to the new function.\n * @param {Array} [holdersRight] The `partialsRight` placeholder indexes.\n * @param {Array} [argPos] The argument positions of the new function.\n * @param {number} [ary] The arity cap of `func`.\n * @param {number} [arity] The arity of `func`.\n * @returns {Function} Returns the new wrapped function.\n */\n function createHybrid(func, bitmask, thisArg, partials, holders, partialsRight, holdersRight, argPos, ary, arity) {\n var isAry = bitmask & WRAP_ARY_FLAG,\n isBind = bitmask & WRAP_BIND_FLAG,\n isBindKey = bitmask & WRAP_BIND_KEY_FLAG,\n isCurried = bitmask & (WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG),\n isFlip = bitmask & WRAP_FLIP_FLAG,\n Ctor = isBindKey ? undefined : createCtor(func);\n\n function wrapper() {\n var length = arguments.length,\n args = Array(length),\n index = length;\n\n while (index--) {\n args[index] = arguments[index];\n }\n if (isCurried) {\n var placeholder = getHolder(wrapper),\n holdersCount = countHolders(args, placeholder);\n }\n if (partials) {\n args = composeArgs(args, partials, holders, isCurried);\n }\n if (partialsRight) {\n args = composeArgsRight(args, partialsRight, holdersRight, isCurried);\n }\n length -= holdersCount;\n if (isCurried && length < arity) {\n var newHolders = replaceHolders(args, placeholder);\n return createRecurry(\n func, bitmask, createHybrid, wrapper.placeholder, thisArg,\n args, newHolders, argPos, ary, arity - length\n );\n }\n var thisBinding = isBind ? thisArg : this,\n fn = isBindKey ? thisBinding[func] : func;\n\n length = args.length;\n if (argPos) {\n args = reorder(args, argPos);\n } else if (isFlip && length > 1) {\n args.reverse();\n }\n if (isAry && ary < length) {\n args.length = ary;\n }\n if (this && this !== root && this instanceof wrapper) {\n fn = Ctor || createCtor(fn);\n }\n return fn.apply(thisBinding, args);\n }\n return wrapper;\n }\n\n /**\n * Creates a function like `_.invertBy`.\n *\n * @private\n * @param {Function} setter The function to set accumulator values.\n * @param {Function} toIteratee The function to resolve iteratees.\n * @returns {Function} Returns the new inverter function.\n */\n function createInverter(setter, toIteratee) {\n return function(object, iteratee) {\n return baseInverter(object, setter, toIteratee(iteratee), {});\n };\n }\n\n /**\n * Creates a function that performs a mathematical operation on two values.\n *\n * @private\n * @param {Function} operator The function to perform the operation.\n * @param {number} [defaultValue] The value used for `undefined` arguments.\n * @returns {Function} Returns the new mathematical operation function.\n */\n function createMathOperation(operator, defaultValue) {\n return function(value, other) {\n var result;\n if (value === undefined && other === undefined) {\n return defaultValue;\n }\n if (value !== undefined) {\n result = value;\n }\n if (other !== undefined) {\n if (result === undefined) {\n return other;\n }\n if (typeof value == 'string' || typeof other == 'string') {\n value = baseToString(value);\n other = baseToString(other);\n } else {\n value = baseToNumber(value);\n other = baseToNumber(other);\n }\n result = operator(value, other);\n }\n return result;\n };\n }\n\n /**\n * Creates a function like `_.over`.\n *\n * @private\n * @param {Function} arrayFunc The function to iterate over iteratees.\n * @returns {Function} Returns the new over function.\n */\n function createOver(arrayFunc) {\n return flatRest(function(iteratees) {\n iteratees = arrayMap(iteratees, baseUnary(getIteratee()));\n return baseRest(function(args) {\n var thisArg = this;\n return arrayFunc(iteratees, function(iteratee) {\n return apply(iteratee, thisArg, args);\n });\n });\n });\n }\n\n /**\n * Creates the padding for `string` based on `length`. The `chars` string\n * is truncated if the number of characters exceeds `length`.\n *\n * @private\n * @param {number} length The padding length.\n * @param {string} [chars=' '] The string used as padding.\n * @returns {string} Returns the padding for `string`.\n */\n function createPadding(length, chars) {\n chars = chars === undefined ? ' ' : baseToString(chars);\n\n var charsLength = chars.length;\n if (charsLength < 2) {\n return charsLength ? baseRepeat(chars, length) : chars;\n }\n var result = baseRepeat(chars, nativeCeil(length / stringSize(chars)));\n return hasUnicode(chars)\n ? castSlice(stringToArray(result), 0, length).join('')\n : result.slice(0, length);\n }\n\n /**\n * Creates a function that wraps `func` to invoke it with the `this` binding\n * of `thisArg` and `partials` prepended to the arguments it receives.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @param {*} thisArg The `this` binding of `func`.\n * @param {Array} partials The arguments to prepend to those provided to\n * the new function.\n * @returns {Function} Returns the new wrapped function.\n */\n function createPartial(func, bitmask, thisArg, partials) {\n var isBind = bitmask & WRAP_BIND_FLAG,\n Ctor = createCtor(func);\n\n function wrapper() {\n var argsIndex = -1,\n argsLength = arguments.length,\n leftIndex = -1,\n leftLength = partials.length,\n args = Array(leftLength + argsLength),\n fn = (this && this !== root && this instanceof wrapper) ? Ctor : func;\n\n while (++leftIndex < leftLength) {\n args[leftIndex] = partials[leftIndex];\n }\n while (argsLength--) {\n args[leftIndex++] = arguments[++argsIndex];\n }\n return apply(fn, isBind ? thisArg : this, args);\n }\n return wrapper;\n }\n\n /**\n * Creates a `_.range` or `_.rangeRight` function.\n *\n * @private\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new range function.\n */\n function createRange(fromRight) {\n return function(start, end, step) {\n if (step && typeof step != 'number' && isIterateeCall(start, end, step)) {\n end = step = undefined;\n }\n // Ensure the sign of `-0` is preserved.\n start = toFinite(start);\n if (end === undefined) {\n end = start;\n start = 0;\n } else {\n end = toFinite(end);\n }\n step = step === undefined ? (start < end ? 1 : -1) : toFinite(step);\n return baseRange(start, end, step, fromRight);\n };\n }\n\n /**\n * Creates a function that performs a relational operation on two values.\n *\n * @private\n * @param {Function} operator The function to perform the operation.\n * @returns {Function} Returns the new relational operation function.\n */\n function createRelationalOperation(operator) {\n return function(value, other) {\n if (!(typeof value == 'string' && typeof other == 'string')) {\n value = toNumber(value);\n other = toNumber(other);\n }\n return operator(value, other);\n };\n }\n\n /**\n * Creates a function that wraps `func` to continue currying.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @param {Function} wrapFunc The function to create the `func` wrapper.\n * @param {*} placeholder The placeholder value.\n * @param {*} [thisArg] The `this` binding of `func`.\n * @param {Array} [partials] The arguments to prepend to those provided to\n * the new function.\n * @param {Array} [holders] The `partials` placeholder indexes.\n * @param {Array} [argPos] The argument positions of the new function.\n * @param {number} [ary] The arity cap of `func`.\n * @param {number} [arity] The arity of `func`.\n * @returns {Function} Returns the new wrapped function.\n */\n function createRecurry(func, bitmask, wrapFunc, placeholder, thisArg, partials, holders, argPos, ary, arity) {\n var isCurry = bitmask & WRAP_CURRY_FLAG,\n newHolders = isCurry ? holders : undefined,\n newHoldersRight = isCurry ? undefined : holders,\n newPartials = isCurry ? partials : undefined,\n newPartialsRight = isCurry ? undefined : partials;\n\n bitmask |= (isCurry ? WRAP_PARTIAL_FLAG : WRAP_PARTIAL_RIGHT_FLAG);\n bitmask &= ~(isCurry ? WRAP_PARTIAL_RIGHT_FLAG : WRAP_PARTIAL_FLAG);\n\n if (!(bitmask & WRAP_CURRY_BOUND_FLAG)) {\n bitmask &= ~(WRAP_BIND_FLAG | WRAP_BIND_KEY_FLAG);\n }\n var newData = [\n func, bitmask, thisArg, newPartials, newHolders, newPartialsRight,\n newHoldersRight, argPos, ary, arity\n ];\n\n var result = wrapFunc.apply(undefined, newData);\n if (isLaziable(func)) {\n setData(result, newData);\n }\n result.placeholder = placeholder;\n return setWrapToString(result, func, bitmask);\n }\n\n /**\n * Creates a function like `_.round`.\n *\n * @private\n * @param {string} methodName The name of the `Math` method to use when rounding.\n * @returns {Function} Returns the new round function.\n */\n function createRound(methodName) {\n var func = Math[methodName];\n return function(number, precision) {\n number = toNumber(number);\n precision = precision == null ? 0 : nativeMin(toInteger(precision), 292);\n if (precision && nativeIsFinite(number)) {\n // Shift with exponential notation to avoid floating-point issues.\n // See [MDN](https://mdn.io/round#Examples) for more details.\n var pair = (toString(number) + 'e').split('e'),\n value = func(pair[0] + 'e' + (+pair[1] + precision));\n\n pair = (toString(value) + 'e').split('e');\n return +(pair[0] + 'e' + (+pair[1] - precision));\n }\n return func(number);\n };\n }\n\n /**\n * Creates a set object of `values`.\n *\n * @private\n * @param {Array} values The values to add to the set.\n * @returns {Object} Returns the new set.\n */\n var createSet = !(Set && (1 / setToArray(new Set([,-0]))[1]) == INFINITY) ? noop : function(values) {\n return new Set(values);\n };\n\n /**\n * Creates a `_.toPairs` or `_.toPairsIn` function.\n *\n * @private\n * @param {Function} keysFunc The function to get the keys of a given object.\n * @returns {Function} Returns the new pairs function.\n */\n function createToPairs(keysFunc) {\n return function(object) {\n var tag = getTag(object);\n if (tag == mapTag) {\n return mapToArray(object);\n }\n if (tag == setTag) {\n return setToPairs(object);\n }\n return baseToPairs(object, keysFunc(object));\n };\n }\n\n /**\n * Creates a function that either curries or invokes `func` with optional\n * `this` binding and partially applied arguments.\n *\n * @private\n * @param {Function|string} func The function or method name to wrap.\n * @param {number} bitmask The bitmask flags.\n * 1 - `_.bind`\n * 2 - `_.bindKey`\n * 4 - `_.curry` or `_.curryRight` of a bound function\n * 8 - `_.curry`\n * 16 - `_.curryRight`\n * 32 - `_.partial`\n * 64 - `_.partialRight`\n * 128 - `_.rearg`\n * 256 - `_.ary`\n * 512 - `_.flip`\n * @param {*} [thisArg] The `this` binding of `func`.\n * @param {Array} [partials] The arguments to be partially applied.\n * @param {Array} [holders] The `partials` placeholder indexes.\n * @param {Array} [argPos] The argument positions of the new function.\n * @param {number} [ary] The arity cap of `func`.\n * @param {number} [arity] The arity of `func`.\n * @returns {Function} Returns the new wrapped function.\n */\n function createWrap(func, bitmask, thisArg, partials, holders, argPos, ary, arity) {\n var isBindKey = bitmask & WRAP_BIND_KEY_FLAG;\n if (!isBindKey && typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n var length = partials ? partials.length : 0;\n if (!length) {\n bitmask &= ~(WRAP_PARTIAL_FLAG | WRAP_PARTIAL_RIGHT_FLAG);\n partials = holders = undefined;\n }\n ary = ary === undefined ? ary : nativeMax(toInteger(ary), 0);\n arity = arity === undefined ? arity : toInteger(arity);\n length -= holders ? holders.length : 0;\n\n if (bitmask & WRAP_PARTIAL_RIGHT_FLAG) {\n var partialsRight = partials,\n holdersRight = holders;\n\n partials = holders = undefined;\n }\n var data = isBindKey ? undefined : getData(func);\n\n var newData = [\n func, bitmask, thisArg, partials, holders, partialsRight, holdersRight,\n argPos, ary, arity\n ];\n\n if (data) {\n mergeData(newData, data);\n }\n func = newData[0];\n bitmask = newData[1];\n thisArg = newData[2];\n partials = newData[3];\n holders = newData[4];\n arity = newData[9] = newData[9] === undefined\n ? (isBindKey ? 0 : func.length)\n : nativeMax(newData[9] - length, 0);\n\n if (!arity && bitmask & (WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG)) {\n bitmask &= ~(WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG);\n }\n if (!bitmask || bitmask == WRAP_BIND_FLAG) {\n var result = createBind(func, bitmask, thisArg);\n } else if (bitmask == WRAP_CURRY_FLAG || bitmask == WRAP_CURRY_RIGHT_FLAG) {\n result = createCurry(func, bitmask, arity);\n } else if ((bitmask == WRAP_PARTIAL_FLAG || bitmask == (WRAP_BIND_FLAG | WRAP_PARTIAL_FLAG)) && !holders.length) {\n result = createPartial(func, bitmask, thisArg, partials);\n } else {\n result = createHybrid.apply(undefined, newData);\n }\n var setter = data ? baseSetData : setData;\n return setWrapToString(setter(result, newData), func, bitmask);\n }\n\n /**\n * Used by `_.defaults` to customize its `_.assignIn` use to assign properties\n * of source objects to the destination object for all destination properties\n * that resolve to `undefined`.\n *\n * @private\n * @param {*} objValue The destination value.\n * @param {*} srcValue The source value.\n * @param {string} key The key of the property to assign.\n * @param {Object} object The parent object of `objValue`.\n * @returns {*} Returns the value to assign.\n */\n function customDefaultsAssignIn(objValue, srcValue, key, object) {\n if (objValue === undefined ||\n (eq(objValue, objectProto[key]) && !hasOwnProperty.call(object, key))) {\n return srcValue;\n }\n return objValue;\n }\n\n /**\n * Used by `_.defaultsDeep` to customize its `_.merge` use to merge source\n * objects into destination objects that are passed thru.\n *\n * @private\n * @param {*} objValue The destination value.\n * @param {*} srcValue The source value.\n * @param {string} key The key of the property to merge.\n * @param {Object} object The parent object of `objValue`.\n * @param {Object} source The parent object of `srcValue`.\n * @param {Object} [stack] Tracks traversed source values and their merged\n * counterparts.\n * @returns {*} Returns the value to assign.\n */\n function customDefaultsMerge(objValue, srcValue, key, object, source, stack) {\n if (isObject(objValue) && isObject(srcValue)) {\n // Recursively merge objects and arrays (susceptible to call stack limits).\n stack.set(srcValue, objValue);\n baseMerge(objValue, srcValue, undefined, customDefaultsMerge, stack);\n stack['delete'](srcValue);\n }\n return objValue;\n }\n\n /**\n * Used by `_.omit` to customize its `_.cloneDeep` use to only clone plain\n * objects.\n *\n * @private\n * @param {*} value The value to inspect.\n * @param {string} key The key of the property to inspect.\n * @returns {*} Returns the uncloned value or `undefined` to defer cloning to `_.cloneDeep`.\n */\n function customOmitClone(value) {\n return isPlainObject(value) ? undefined : value;\n }\n\n /**\n * A specialized version of `baseIsEqualDeep` for arrays with support for\n * partial deep comparisons.\n *\n * @private\n * @param {Array} array The array to compare.\n * @param {Array} other The other array to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `array` and `other` objects.\n * @returns {boolean} Returns `true` if the arrays are equivalent, else `false`.\n */\n function equalArrays(array, other, bitmask, customizer, equalFunc, stack) {\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG,\n arrLength = array.length,\n othLength = other.length;\n\n if (arrLength != othLength && !(isPartial && othLength > arrLength)) {\n return false;\n }\n // Check that cyclic values are equal.\n var arrStacked = stack.get(array);\n var othStacked = stack.get(other);\n if (arrStacked && othStacked) {\n return arrStacked == other && othStacked == array;\n }\n var index = -1,\n result = true,\n seen = (bitmask & COMPARE_UNORDERED_FLAG) ? new SetCache : undefined;\n\n stack.set(array, other);\n stack.set(other, array);\n\n // Ignore non-index properties.\n while (++index < arrLength) {\n var arrValue = array[index],\n othValue = other[index];\n\n if (customizer) {\n var compared = isPartial\n ? customizer(othValue, arrValue, index, other, array, stack)\n : customizer(arrValue, othValue, index, array, other, stack);\n }\n if (compared !== undefined) {\n if (compared) {\n continue;\n }\n result = false;\n break;\n }\n // Recursively compare arrays (susceptible to call stack limits).\n if (seen) {\n if (!arraySome(other, function(othValue, othIndex) {\n if (!cacheHas(seen, othIndex) &&\n (arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) {\n return seen.push(othIndex);\n }\n })) {\n result = false;\n break;\n }\n } else if (!(\n arrValue === othValue ||\n equalFunc(arrValue, othValue, bitmask, customizer, stack)\n )) {\n result = false;\n break;\n }\n }\n stack['delete'](array);\n stack['delete'](other);\n return result;\n }\n\n /**\n * A specialized version of `baseIsEqualDeep` for comparing objects of\n * the same `toStringTag`.\n *\n * **Note:** This function only supports comparing values with tags of\n * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {string} tag The `toStringTag` of the objects to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\n function equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {\n switch (tag) {\n case dataViewTag:\n if ((object.byteLength != other.byteLength) ||\n (object.byteOffset != other.byteOffset)) {\n return false;\n }\n object = object.buffer;\n other = other.buffer;\n\n case arrayBufferTag:\n if ((object.byteLength != other.byteLength) ||\n !equalFunc(new Uint8Array(object), new Uint8Array(other))) {\n return false;\n }\n return true;\n\n case boolTag:\n case dateTag:\n case numberTag:\n // Coerce booleans to `1` or `0` and dates to milliseconds.\n // Invalid dates are coerced to `NaN`.\n return eq(+object, +other);\n\n case errorTag:\n return object.name == other.name && object.message == other.message;\n\n case regexpTag:\n case stringTag:\n // Coerce regexes to strings and treat strings, primitives and objects,\n // as equal. See http://www.ecma-international.org/ecma-262/7.0/#sec-regexp.prototype.tostring\n // for more details.\n return object == (other + '');\n\n case mapTag:\n var convert = mapToArray;\n\n case setTag:\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG;\n convert || (convert = setToArray);\n\n if (object.size != other.size && !isPartial) {\n return false;\n }\n // Assume cyclic values are equal.\n var stacked = stack.get(object);\n if (stacked) {\n return stacked == other;\n }\n bitmask |= COMPARE_UNORDERED_FLAG;\n\n // Recursively compare objects (susceptible to call stack limits).\n stack.set(object, other);\n var result = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack);\n stack['delete'](object);\n return result;\n\n case symbolTag:\n if (symbolValueOf) {\n return symbolValueOf.call(object) == symbolValueOf.call(other);\n }\n }\n return false;\n }\n\n /**\n * A specialized version of `baseIsEqualDeep` for objects with support for\n * partial deep comparisons.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\n function equalObjects(object, other, bitmask, customizer, equalFunc, stack) {\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG,\n objProps = getAllKeys(object),\n objLength = objProps.length,\n othProps = getAllKeys(other),\n othLength = othProps.length;\n\n if (objLength != othLength && !isPartial) {\n return false;\n }\n var index = objLength;\n while (index--) {\n var key = objProps[index];\n if (!(isPartial ? key in other : hasOwnProperty.call(other, key))) {\n return false;\n }\n }\n // Check that cyclic values are equal.\n var objStacked = stack.get(object);\n var othStacked = stack.get(other);\n if (objStacked && othStacked) {\n return objStacked == other && othStacked == object;\n }\n var result = true;\n stack.set(object, other);\n stack.set(other, object);\n\n var skipCtor = isPartial;\n while (++index < objLength) {\n key = objProps[index];\n var objValue = object[key],\n othValue = other[key];\n\n if (customizer) {\n var compared = isPartial\n ? customizer(othValue, objValue, key, other, object, stack)\n : customizer(objValue, othValue, key, object, other, stack);\n }\n // Recursively compare objects (susceptible to call stack limits).\n if (!(compared === undefined\n ? (objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack))\n : compared\n )) {\n result = false;\n break;\n }\n skipCtor || (skipCtor = key == 'constructor');\n }\n if (result && !skipCtor) {\n var objCtor = object.constructor,\n othCtor = other.constructor;\n\n // Non `Object` object instances with different constructors are not equal.\n if (objCtor != othCtor &&\n ('constructor' in object && 'constructor' in other) &&\n !(typeof objCtor == 'function' && objCtor instanceof objCtor &&\n typeof othCtor == 'function' && othCtor instanceof othCtor)) {\n result = false;\n }\n }\n stack['delete'](object);\n stack['delete'](other);\n return result;\n }\n\n /**\n * A specialized version of `baseRest` which flattens the rest array.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @returns {Function} Returns the new function.\n */\n function flatRest(func) {\n return setToString(overRest(func, undefined, flatten), func + '');\n }\n\n /**\n * Creates an array of own enumerable property names and symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names and symbols.\n */\n function getAllKeys(object) {\n return baseGetAllKeys(object, keys, getSymbols);\n }\n\n /**\n * Creates an array of own and inherited enumerable property names and\n * symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names and symbols.\n */\n function getAllKeysIn(object) {\n return baseGetAllKeys(object, keysIn, getSymbolsIn);\n }\n\n /**\n * Gets metadata for `func`.\n *\n * @private\n * @param {Function} func The function to query.\n * @returns {*} Returns the metadata for `func`.\n */\n var getData = !metaMap ? noop : function(func) {\n return metaMap.get(func);\n };\n\n /**\n * Gets the name of `func`.\n *\n * @private\n * @param {Function} func The function to query.\n * @returns {string} Returns the function name.\n */\n function getFuncName(func) {\n var result = (func.name + ''),\n array = realNames[result],\n length = hasOwnProperty.call(realNames, result) ? array.length : 0;\n\n while (length--) {\n var data = array[length],\n otherFunc = data.func;\n if (otherFunc == null || otherFunc == func) {\n return data.name;\n }\n }\n return result;\n }\n\n /**\n * Gets the argument placeholder value for `func`.\n *\n * @private\n * @param {Function} func The function to inspect.\n * @returns {*} Returns the placeholder value.\n */\n function getHolder(func) {\n var object = hasOwnProperty.call(lodash, 'placeholder') ? lodash : func;\n return object.placeholder;\n }\n\n /**\n * Gets the appropriate \"iteratee\" function. If `_.iteratee` is customized,\n * this function returns the custom method, otherwise it returns `baseIteratee`.\n * If arguments are provided, the chosen function is invoked with them and\n * its result is returned.\n *\n * @private\n * @param {*} [value] The value to convert to an iteratee.\n * @param {number} [arity] The arity of the created iteratee.\n * @returns {Function} Returns the chosen function or its result.\n */\n function getIteratee() {\n var result = lodash.iteratee || iteratee;\n result = result === iteratee ? baseIteratee : result;\n return arguments.length ? result(arguments[0], arguments[1]) : result;\n }\n\n /**\n * Gets the data for `map`.\n *\n * @private\n * @param {Object} map The map to query.\n * @param {string} key The reference key.\n * @returns {*} Returns the map data.\n */\n function getMapData(map, key) {\n var data = map.__data__;\n return isKeyable(key)\n ? data[typeof key == 'string' ? 'string' : 'hash']\n : data.map;\n }\n\n /**\n * Gets the property names, values, and compare flags of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the match data of `object`.\n */\n function getMatchData(object) {\n var result = keys(object),\n length = result.length;\n\n while (length--) {\n var key = result[length],\n value = object[key];\n\n result[length] = [key, value, isStrictComparable(value)];\n }\n return result;\n }\n\n /**\n * Gets the native function at `key` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the method to get.\n * @returns {*} Returns the function if it's native, else `undefined`.\n */\n function getNative(object, key) {\n var value = getValue(object, key);\n return baseIsNative(value) ? value : undefined;\n }\n\n /**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\n function getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n }\n\n /**\n * Creates an array of the own enumerable symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of symbols.\n */\n var getSymbols = !nativeGetSymbols ? stubArray : function(object) {\n if (object == null) {\n return [];\n }\n object = Object(object);\n return arrayFilter(nativeGetSymbols(object), function(symbol) {\n return propertyIsEnumerable.call(object, symbol);\n });\n };\n\n /**\n * Creates an array of the own and inherited enumerable symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of symbols.\n */\n var getSymbolsIn = !nativeGetSymbols ? stubArray : function(object) {\n var result = [];\n while (object) {\n arrayPush(result, getSymbols(object));\n object = getPrototype(object);\n }\n return result;\n };\n\n /**\n * Gets the `toStringTag` of `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\n var getTag = baseGetTag;\n\n // Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.\n if ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||\n (Map && getTag(new Map) != mapTag) ||\n (Promise && getTag(Promise.resolve()) != promiseTag) ||\n (Set && getTag(new Set) != setTag) ||\n (WeakMap && getTag(new WeakMap) != weakMapTag)) {\n getTag = function(value) {\n var result = baseGetTag(value),\n Ctor = result == objectTag ? value.constructor : undefined,\n ctorString = Ctor ? toSource(Ctor) : '';\n\n if (ctorString) {\n switch (ctorString) {\n case dataViewCtorString: return dataViewTag;\n case mapCtorString: return mapTag;\n case promiseCtorString: return promiseTag;\n case setCtorString: return setTag;\n case weakMapCtorString: return weakMapTag;\n }\n }\n return result;\n };\n }\n\n /**\n * Gets the view, applying any `transforms` to the `start` and `end` positions.\n *\n * @private\n * @param {number} start The start of the view.\n * @param {number} end The end of the view.\n * @param {Array} transforms The transformations to apply to the view.\n * @returns {Object} Returns an object containing the `start` and `end`\n * positions of the view.\n */\n function getView(start, end, transforms) {\n var index = -1,\n length = transforms.length;\n\n while (++index < length) {\n var data = transforms[index],\n size = data.size;\n\n switch (data.type) {\n case 'drop': start += size; break;\n case 'dropRight': end -= size; break;\n case 'take': end = nativeMin(end, start + size); break;\n case 'takeRight': start = nativeMax(start, end - size); break;\n }\n }\n return { 'start': start, 'end': end };\n }\n\n /**\n * Extracts wrapper details from the `source` body comment.\n *\n * @private\n * @param {string} source The source to inspect.\n * @returns {Array} Returns the wrapper details.\n */\n function getWrapDetails(source) {\n var match = source.match(reWrapDetails);\n return match ? match[1].split(reSplitDetails) : [];\n }\n\n /**\n * Checks if `path` exists on `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @param {Function} hasFunc The function to check properties.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n */\n function hasPath(object, path, hasFunc) {\n path = castPath(path, object);\n\n var index = -1,\n length = path.length,\n result = false;\n\n while (++index < length) {\n var key = toKey(path[index]);\n if (!(result = object != null && hasFunc(object, key))) {\n break;\n }\n object = object[key];\n }\n if (result || ++index != length) {\n return result;\n }\n length = object == null ? 0 : object.length;\n return !!length && isLength(length) && isIndex(key, length) &&\n (isArray(object) || isArguments(object));\n }\n\n /**\n * Initializes an array clone.\n *\n * @private\n * @param {Array} array The array to clone.\n * @returns {Array} Returns the initialized clone.\n */\n function initCloneArray(array) {\n var length = array.length,\n result = new array.constructor(length);\n\n // Add properties assigned by `RegExp#exec`.\n if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) {\n result.index = array.index;\n result.input = array.input;\n }\n return result;\n }\n\n /**\n * Initializes an object clone.\n *\n * @private\n * @param {Object} object The object to clone.\n * @returns {Object} Returns the initialized clone.\n */\n function initCloneObject(object) {\n return (typeof object.constructor == 'function' && !isPrototype(object))\n ? baseCreate(getPrototype(object))\n : {};\n }\n\n /**\n * Initializes an object clone based on its `toStringTag`.\n *\n * **Note:** This function only supports cloning values with tags of\n * `Boolean`, `Date`, `Error`, `Map`, `Number`, `RegExp`, `Set`, or `String`.\n *\n * @private\n * @param {Object} object The object to clone.\n * @param {string} tag The `toStringTag` of the object to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the initialized clone.\n */\n function initCloneByTag(object, tag, isDeep) {\n var Ctor = object.constructor;\n switch (tag) {\n case arrayBufferTag:\n return cloneArrayBuffer(object);\n\n case boolTag:\n case dateTag:\n return new Ctor(+object);\n\n case dataViewTag:\n return cloneDataView(object, isDeep);\n\n case float32Tag: case float64Tag:\n case int8Tag: case int16Tag: case int32Tag:\n case uint8Tag: case uint8ClampedTag: case uint16Tag: case uint32Tag:\n return cloneTypedArray(object, isDeep);\n\n case mapTag:\n return new Ctor;\n\n case numberTag:\n case stringTag:\n return new Ctor(object);\n\n case regexpTag:\n return cloneRegExp(object);\n\n case setTag:\n return new Ctor;\n\n case symbolTag:\n return cloneSymbol(object);\n }\n }\n\n /**\n * Inserts wrapper `details` in a comment at the top of the `source` body.\n *\n * @private\n * @param {string} source The source to modify.\n * @returns {Array} details The details to insert.\n * @returns {string} Returns the modified source.\n */\n function insertWrapDetails(source, details) {\n var length = details.length;\n if (!length) {\n return source;\n }\n var lastIndex = length - 1;\n details[lastIndex] = (length > 1 ? '& ' : '') + details[lastIndex];\n details = details.join(length > 2 ? ', ' : ' ');\n return source.replace(reWrapComment, '{\\n/* [wrapped with ' + details + '] */\\n');\n }\n\n /**\n * Checks if `value` is a flattenable `arguments` object or array.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is flattenable, else `false`.\n */\n function isFlattenable(value) {\n return isArray(value) || isArguments(value) ||\n !!(spreadableSymbol && value && value[spreadableSymbol]);\n }\n\n /**\n * Checks if `value` is a valid array-like index.\n *\n * @private\n * @param {*} value The value to check.\n * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.\n * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.\n */\n function isIndex(value, length) {\n var type = typeof value;\n length = length == null ? MAX_SAFE_INTEGER : length;\n\n return !!length &&\n (type == 'number' ||\n (type != 'symbol' && reIsUint.test(value))) &&\n (value > -1 && value % 1 == 0 && value < length);\n }\n\n /**\n * Checks if the given arguments are from an iteratee call.\n *\n * @private\n * @param {*} value The potential iteratee value argument.\n * @param {*} index The potential iteratee index or key argument.\n * @param {*} object The potential iteratee object argument.\n * @returns {boolean} Returns `true` if the arguments are from an iteratee call,\n * else `false`.\n */\n function isIterateeCall(value, index, object) {\n if (!isObject(object)) {\n return false;\n }\n var type = typeof index;\n if (type == 'number'\n ? (isArrayLike(object) && isIndex(index, object.length))\n : (type == 'string' && index in object)\n ) {\n return eq(object[index], value);\n }\n return false;\n }\n\n /**\n * Checks if `value` is a property name and not a property path.\n *\n * @private\n * @param {*} value The value to check.\n * @param {Object} [object] The object to query keys on.\n * @returns {boolean} Returns `true` if `value` is a property name, else `false`.\n */\n function isKey(value, object) {\n if (isArray(value)) {\n return false;\n }\n var type = typeof value;\n if (type == 'number' || type == 'symbol' || type == 'boolean' ||\n value == null || isSymbol(value)) {\n return true;\n }\n return reIsPlainProp.test(value) || !reIsDeepProp.test(value) ||\n (object != null && value in Object(object));\n }\n\n /**\n * Checks if `value` is suitable for use as unique object key.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is suitable, else `false`.\n */\n function isKeyable(value) {\n var type = typeof value;\n return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')\n ? (value !== '__proto__')\n : (value === null);\n }\n\n /**\n * Checks if `func` has a lazy counterpart.\n *\n * @private\n * @param {Function} func The function to check.\n * @returns {boolean} Returns `true` if `func` has a lazy counterpart,\n * else `false`.\n */\n function isLaziable(func) {\n var funcName = getFuncName(func),\n other = lodash[funcName];\n\n if (typeof other != 'function' || !(funcName in LazyWrapper.prototype)) {\n return false;\n }\n if (func === other) {\n return true;\n }\n var data = getData(other);\n return !!data && func === data[0];\n }\n\n /**\n * Checks if `func` has its source masked.\n *\n * @private\n * @param {Function} func The function to check.\n * @returns {boolean} Returns `true` if `func` is masked, else `false`.\n */\n function isMasked(func) {\n return !!maskSrcKey && (maskSrcKey in func);\n }\n\n /**\n * Checks if `func` is capable of being masked.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `func` is maskable, else `false`.\n */\n var isMaskable = coreJsData ? isFunction : stubFalse;\n\n /**\n * Checks if `value` is likely a prototype object.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.\n */\n function isPrototype(value) {\n var Ctor = value && value.constructor,\n proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;\n\n return value === proto;\n }\n\n /**\n * Checks if `value` is suitable for strict equality comparisons, i.e. `===`.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` if suitable for strict\n * equality comparisons, else `false`.\n */\n function isStrictComparable(value) {\n return value === value && !isObject(value);\n }\n\n /**\n * A specialized version of `matchesProperty` for source values suitable\n * for strict equality comparisons, i.e. `===`.\n *\n * @private\n * @param {string} key The key of the property to get.\n * @param {*} srcValue The value to match.\n * @returns {Function} Returns the new spec function.\n */\n function matchesStrictComparable(key, srcValue) {\n return function(object) {\n if (object == null) {\n return false;\n }\n return object[key] === srcValue &&\n (srcValue !== undefined || (key in Object(object)));\n };\n }\n\n /**\n * A specialized version of `_.memoize` which clears the memoized function's\n * cache when it exceeds `MAX_MEMOIZE_SIZE`.\n *\n * @private\n * @param {Function} func The function to have its output memoized.\n * @returns {Function} Returns the new memoized function.\n */\n function memoizeCapped(func) {\n var result = memoize(func, function(key) {\n if (cache.size === MAX_MEMOIZE_SIZE) {\n cache.clear();\n }\n return key;\n });\n\n var cache = result.cache;\n return result;\n }\n\n /**\n * Merges the function metadata of `source` into `data`.\n *\n * Merging metadata reduces the number of wrappers used to invoke a function.\n * This is possible because methods like `_.bind`, `_.curry`, and `_.partial`\n * may be applied regardless of execution order. Methods like `_.ary` and\n * `_.rearg` modify function arguments, making the order in which they are\n * executed important, preventing the merging of metadata. However, we make\n * an exception for a safe combined case where curried functions have `_.ary`\n * and or `_.rearg` applied.\n *\n * @private\n * @param {Array} data The destination metadata.\n * @param {Array} source The source metadata.\n * @returns {Array} Returns `data`.\n */\n function mergeData(data, source) {\n var bitmask = data[1],\n srcBitmask = source[1],\n newBitmask = bitmask | srcBitmask,\n isCommon = newBitmask < (WRAP_BIND_FLAG | WRAP_BIND_KEY_FLAG | WRAP_ARY_FLAG);\n\n var isCombo =\n ((srcBitmask == WRAP_ARY_FLAG) && (bitmask == WRAP_CURRY_FLAG)) ||\n ((srcBitmask == WRAP_ARY_FLAG) && (bitmask == WRAP_REARG_FLAG) && (data[7].length <= source[8])) ||\n ((srcBitmask == (WRAP_ARY_FLAG | WRAP_REARG_FLAG)) && (source[7].length <= source[8]) && (bitmask == WRAP_CURRY_FLAG));\n\n // Exit early if metadata can't be merged.\n if (!(isCommon || isCombo)) {\n return data;\n }\n // Use source `thisArg` if available.\n if (srcBitmask & WRAP_BIND_FLAG) {\n data[2] = source[2];\n // Set when currying a bound function.\n newBitmask |= bitmask & WRAP_BIND_FLAG ? 0 : WRAP_CURRY_BOUND_FLAG;\n }\n // Compose partial arguments.\n var value = source[3];\n if (value) {\n var partials = data[3];\n data[3] = partials ? composeArgs(partials, value, source[4]) : value;\n data[4] = partials ? replaceHolders(data[3], PLACEHOLDER) : source[4];\n }\n // Compose partial right arguments.\n value = source[5];\n if (value) {\n partials = data[5];\n data[5] = partials ? composeArgsRight(partials, value, source[6]) : value;\n data[6] = partials ? replaceHolders(data[5], PLACEHOLDER) : source[6];\n }\n // Use source `argPos` if available.\n value = source[7];\n if (value) {\n data[7] = value;\n }\n // Use source `ary` if it's smaller.\n if (srcBitmask & WRAP_ARY_FLAG) {\n data[8] = data[8] == null ? source[8] : nativeMin(data[8], source[8]);\n }\n // Use source `arity` if one is not provided.\n if (data[9] == null) {\n data[9] = source[9];\n }\n // Use source `func` and merge bitmasks.\n data[0] = source[0];\n data[1] = newBitmask;\n\n return data;\n }\n\n /**\n * This function is like\n * [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * except that it includes inherited enumerable properties.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\n function nativeKeysIn(object) {\n var result = [];\n if (object != null) {\n for (var key in Object(object)) {\n result.push(key);\n }\n }\n return result;\n }\n\n /**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\n function objectToString(value) {\n return nativeObjectToString.call(value);\n }\n\n /**\n * A specialized version of `baseRest` which transforms the rest array.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @param {Function} transform The rest array transform.\n * @returns {Function} Returns the new function.\n */\n function overRest(func, start, transform) {\n start = nativeMax(start === undefined ? (func.length - 1) : start, 0);\n return function() {\n var args = arguments,\n index = -1,\n length = nativeMax(args.length - start, 0),\n array = Array(length);\n\n while (++index < length) {\n array[index] = args[start + index];\n }\n index = -1;\n var otherArgs = Array(start + 1);\n while (++index < start) {\n otherArgs[index] = args[index];\n }\n otherArgs[start] = transform(array);\n return apply(func, this, otherArgs);\n };\n }\n\n /**\n * Gets the parent value at `path` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array} path The path to get the parent value of.\n * @returns {*} Returns the parent value.\n */\n function parent(object, path) {\n return path.length < 2 ? object : baseGet(object, baseSlice(path, 0, -1));\n }\n\n /**\n * Reorder `array` according to the specified indexes where the element at\n * the first index is assigned as the first element, the element at\n * the second index is assigned as the second element, and so on.\n *\n * @private\n * @param {Array} array The array to reorder.\n * @param {Array} indexes The arranged array indexes.\n * @returns {Array} Returns `array`.\n */\n function reorder(array, indexes) {\n var arrLength = array.length,\n length = nativeMin(indexes.length, arrLength),\n oldArray = copyArray(array);\n\n while (length--) {\n var index = indexes[length];\n array[length] = isIndex(index, arrLength) ? oldArray[index] : undefined;\n }\n return array;\n }\n\n /**\n * Gets the value at `key`, unless `key` is \"__proto__\" or \"constructor\".\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\n function safeGet(object, key) {\n if (key === 'constructor' && typeof object[key] === 'function') {\n return;\n }\n\n if (key == '__proto__') {\n return;\n }\n\n return object[key];\n }\n\n /**\n * Sets metadata for `func`.\n *\n * **Note:** If this function becomes hot, i.e. is invoked a lot in a short\n * period of time, it will trip its breaker and transition to an identity\n * function to avoid garbage collection pauses in V8. See\n * [V8 issue 2070](https://bugs.chromium.org/p/v8/issues/detail?id=2070)\n * for more details.\n *\n * @private\n * @param {Function} func The function to associate metadata with.\n * @param {*} data The metadata.\n * @returns {Function} Returns `func`.\n */\n var setData = shortOut(baseSetData);\n\n /**\n * A simple wrapper around the global [`setTimeout`](https://mdn.io/setTimeout).\n *\n * @private\n * @param {Function} func The function to delay.\n * @param {number} wait The number of milliseconds to delay invocation.\n * @returns {number|Object} Returns the timer id or timeout object.\n */\n var setTimeout = ctxSetTimeout || function(func, wait) {\n return root.setTimeout(func, wait);\n };\n\n /**\n * Sets the `toString` method of `func` to return `string`.\n *\n * @private\n * @param {Function} func The function to modify.\n * @param {Function} string The `toString` result.\n * @returns {Function} Returns `func`.\n */\n var setToString = shortOut(baseSetToString);\n\n /**\n * Sets the `toString` method of `wrapper` to mimic the source of `reference`\n * with wrapper details in a comment at the top of the source body.\n *\n * @private\n * @param {Function} wrapper The function to modify.\n * @param {Function} reference The reference function.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @returns {Function} Returns `wrapper`.\n */\n function setWrapToString(wrapper, reference, bitmask) {\n var source = (reference + '');\n return setToString(wrapper, insertWrapDetails(source, updateWrapDetails(getWrapDetails(source), bitmask)));\n }\n\n /**\n * Creates a function that'll short out and invoke `identity` instead\n * of `func` when it's called `HOT_COUNT` or more times in `HOT_SPAN`\n * milliseconds.\n *\n * @private\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new shortable function.\n */\n function shortOut(func) {\n var count = 0,\n lastCalled = 0;\n\n return function() {\n var stamp = nativeNow(),\n remaining = HOT_SPAN - (stamp - lastCalled);\n\n lastCalled = stamp;\n if (remaining > 0) {\n if (++count >= HOT_COUNT) {\n return arguments[0];\n }\n } else {\n count = 0;\n }\n return func.apply(undefined, arguments);\n };\n }\n\n /**\n * A specialized version of `_.shuffle` which mutates and sets the size of `array`.\n *\n * @private\n * @param {Array} array The array to shuffle.\n * @param {number} [size=array.length] The size of `array`.\n * @returns {Array} Returns `array`.\n */\n function shuffleSelf(array, size) {\n var index = -1,\n length = array.length,\n lastIndex = length - 1;\n\n size = size === undefined ? length : size;\n while (++index < size) {\n var rand = baseRandom(index, lastIndex),\n value = array[rand];\n\n array[rand] = array[index];\n array[index] = value;\n }\n array.length = size;\n return array;\n }\n\n /**\n * Converts `string` to a property path array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the property path array.\n */\n var stringToPath = memoizeCapped(function(string) {\n var result = [];\n if (string.charCodeAt(0) === 46 /* . */) {\n result.push('');\n }\n string.replace(rePropName, function(match, number, quote, subString) {\n result.push(quote ? subString.replace(reEscapeChar, '$1') : (number || match));\n });\n return result;\n });\n\n /**\n * Converts `value` to a string key if it's not a string or symbol.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {string|symbol} Returns the key.\n */\n function toKey(value) {\n if (typeof value == 'string' || isSymbol(value)) {\n return value;\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n }\n\n /**\n * Converts `func` to its source code.\n *\n * @private\n * @param {Function} func The function to convert.\n * @returns {string} Returns the source code.\n */\n function toSource(func) {\n if (func != null) {\n try {\n return funcToString.call(func);\n } catch (e) {}\n try {\n return (func + '');\n } catch (e) {}\n }\n return '';\n }\n\n /**\n * Updates wrapper `details` based on `bitmask` flags.\n *\n * @private\n * @returns {Array} details The details to modify.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @returns {Array} Returns `details`.\n */\n function updateWrapDetails(details, bitmask) {\n arrayEach(wrapFlags, function(pair) {\n var value = '_.' + pair[0];\n if ((bitmask & pair[1]) && !arrayIncludes(details, value)) {\n details.push(value);\n }\n });\n return details.sort();\n }\n\n /**\n * Creates a clone of `wrapper`.\n *\n * @private\n * @param {Object} wrapper The wrapper to clone.\n * @returns {Object} Returns the cloned wrapper.\n */\n function wrapperClone(wrapper) {\n if (wrapper instanceof LazyWrapper) {\n return wrapper.clone();\n }\n var result = new LodashWrapper(wrapper.__wrapped__, wrapper.__chain__);\n result.__actions__ = copyArray(wrapper.__actions__);\n result.__index__ = wrapper.__index__;\n result.__values__ = wrapper.__values__;\n return result;\n }\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates an array of elements split into groups the length of `size`.\n * If `array` can't be split evenly, the final chunk will be the remaining\n * elements.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to process.\n * @param {number} [size=1] The length of each chunk\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Array} Returns the new array of chunks.\n * @example\n *\n * _.chunk(['a', 'b', 'c', 'd'], 2);\n * // => [['a', 'b'], ['c', 'd']]\n *\n * _.chunk(['a', 'b', 'c', 'd'], 3);\n * // => [['a', 'b', 'c'], ['d']]\n */\n function chunk(array, size, guard) {\n if ((guard ? isIterateeCall(array, size, guard) : size === undefined)) {\n size = 1;\n } else {\n size = nativeMax(toInteger(size), 0);\n }\n var length = array == null ? 0 : array.length;\n if (!length || size < 1) {\n return [];\n }\n var index = 0,\n resIndex = 0,\n result = Array(nativeCeil(length / size));\n\n while (index < length) {\n result[resIndex++] = baseSlice(array, index, (index += size));\n }\n return result;\n }\n\n /**\n * Creates an array with all falsey values removed. The values `false`, `null`,\n * `0`, `\"\"`, `undefined`, and `NaN` are falsey.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to compact.\n * @returns {Array} Returns the new array of filtered values.\n * @example\n *\n * _.compact([0, 1, false, 2, '', 3]);\n * // => [1, 2, 3]\n */\n function compact(array) {\n var index = -1,\n length = array == null ? 0 : array.length,\n resIndex = 0,\n result = [];\n\n while (++index < length) {\n var value = array[index];\n if (value) {\n result[resIndex++] = value;\n }\n }\n return result;\n }\n\n /**\n * Creates a new array concatenating `array` with any additional arrays\n * and/or values.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to concatenate.\n * @param {...*} [values] The values to concatenate.\n * @returns {Array} Returns the new concatenated array.\n * @example\n *\n * var array = [1];\n * var other = _.concat(array, 2, [3], [[4]]);\n *\n * console.log(other);\n * // => [1, 2, 3, [4]]\n *\n * console.log(array);\n * // => [1]\n */\n function concat() {\n var length = arguments.length;\n if (!length) {\n return [];\n }\n var args = Array(length - 1),\n array = arguments[0],\n index = length;\n\n while (index--) {\n args[index - 1] = arguments[index];\n }\n return arrayPush(isArray(array) ? copyArray(array) : [array], baseFlatten(args, 1));\n }\n\n /**\n * Creates an array of `array` values not included in the other given arrays\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons. The order and references of result values are\n * determined by the first array.\n *\n * **Note:** Unlike `_.pullAll`, this method returns a new array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {...Array} [values] The values to exclude.\n * @returns {Array} Returns the new array of filtered values.\n * @see _.without, _.xor\n * @example\n *\n * _.difference([2, 1], [2, 3]);\n * // => [1]\n */\n var difference = baseRest(function(array, values) {\n return isArrayLikeObject(array)\n ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true))\n : [];\n });\n\n /**\n * This method is like `_.difference` except that it accepts `iteratee` which\n * is invoked for each element of `array` and `values` to generate the criterion\n * by which they're compared. The order and references of result values are\n * determined by the first array. The iteratee is invoked with one argument:\n * (value).\n *\n * **Note:** Unlike `_.pullAllBy`, this method returns a new array.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {...Array} [values] The values to exclude.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Array} Returns the new array of filtered values.\n * @example\n *\n * _.differenceBy([2.1, 1.2], [2.3, 3.4], Math.floor);\n * // => [1.2]\n *\n * // The `_.property` iteratee shorthand.\n * _.differenceBy([{ 'x': 2 }, { 'x': 1 }], [{ 'x': 1 }], 'x');\n * // => [{ 'x': 2 }]\n */\n var differenceBy = baseRest(function(array, values) {\n var iteratee = last(values);\n if (isArrayLikeObject(iteratee)) {\n iteratee = undefined;\n }\n return isArrayLikeObject(array)\n ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true), getIteratee(iteratee, 2))\n : [];\n });\n\n /**\n * This method is like `_.difference` except that it accepts `comparator`\n * which is invoked to compare elements of `array` to `values`. The order and\n * references of result values are determined by the first array. The comparator\n * is invoked with two arguments: (arrVal, othVal).\n *\n * **Note:** Unlike `_.pullAllWith`, this method returns a new array.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {...Array} [values] The values to exclude.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of filtered values.\n * @example\n *\n * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];\n *\n * _.differenceWith(objects, [{ 'x': 1, 'y': 2 }], _.isEqual);\n * // => [{ 'x': 2, 'y': 1 }]\n */\n var differenceWith = baseRest(function(array, values) {\n var comparator = last(values);\n if (isArrayLikeObject(comparator)) {\n comparator = undefined;\n }\n return isArrayLikeObject(array)\n ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true), undefined, comparator)\n : [];\n });\n\n /**\n * Creates a slice of `array` with `n` elements dropped from the beginning.\n *\n * @static\n * @memberOf _\n * @since 0.5.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {number} [n=1] The number of elements to drop.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.drop([1, 2, 3]);\n * // => [2, 3]\n *\n * _.drop([1, 2, 3], 2);\n * // => [3]\n *\n * _.drop([1, 2, 3], 5);\n * // => []\n *\n * _.drop([1, 2, 3], 0);\n * // => [1, 2, 3]\n */\n function drop(array, n, guard) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return [];\n }\n n = (guard || n === undefined) ? 1 : toInteger(n);\n return baseSlice(array, n < 0 ? 0 : n, length);\n }\n\n /**\n * Creates a slice of `array` with `n` elements dropped from the end.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {number} [n=1] The number of elements to drop.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.dropRight([1, 2, 3]);\n * // => [1, 2]\n *\n * _.dropRight([1, 2, 3], 2);\n * // => [1]\n *\n * _.dropRight([1, 2, 3], 5);\n * // => []\n *\n * _.dropRight([1, 2, 3], 0);\n * // => [1, 2, 3]\n */\n function dropRight(array, n, guard) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return [];\n }\n n = (guard || n === undefined) ? 1 : toInteger(n);\n n = length - n;\n return baseSlice(array, 0, n < 0 ? 0 : n);\n }\n\n /**\n * Creates a slice of `array` excluding elements dropped from the end.\n * Elements are dropped until `predicate` returns falsey. The predicate is\n * invoked with three arguments: (value, index, array).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': true },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': false }\n * ];\n *\n * _.dropRightWhile(users, function(o) { return !o.active; });\n * // => objects for ['barney']\n *\n * // The `_.matches` iteratee shorthand.\n * _.dropRightWhile(users, { 'user': 'pebbles', 'active': false });\n * // => objects for ['barney', 'fred']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.dropRightWhile(users, ['active', false]);\n * // => objects for ['barney']\n *\n * // The `_.property` iteratee shorthand.\n * _.dropRightWhile(users, 'active');\n * // => objects for ['barney', 'fred', 'pebbles']\n */\n function dropRightWhile(array, predicate) {\n return (array && array.length)\n ? baseWhile(array, getIteratee(predicate, 3), true, true)\n : [];\n }\n\n /**\n * Creates a slice of `array` excluding elements dropped from the beginning.\n * Elements are dropped until `predicate` returns falsey. The predicate is\n * invoked with three arguments: (value, index, array).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': false },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': true }\n * ];\n *\n * _.dropWhile(users, function(o) { return !o.active; });\n * // => objects for ['pebbles']\n *\n * // The `_.matches` iteratee shorthand.\n * _.dropWhile(users, { 'user': 'barney', 'active': false });\n * // => objects for ['fred', 'pebbles']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.dropWhile(users, ['active', false]);\n * // => objects for ['pebbles']\n *\n * // The `_.property` iteratee shorthand.\n * _.dropWhile(users, 'active');\n * // => objects for ['barney', 'fred', 'pebbles']\n */\n function dropWhile(array, predicate) {\n return (array && array.length)\n ? baseWhile(array, getIteratee(predicate, 3), true)\n : [];\n }\n\n /**\n * Fills elements of `array` with `value` from `start` up to, but not\n * including, `end`.\n *\n * **Note:** This method mutates `array`.\n *\n * @static\n * @memberOf _\n * @since 3.2.0\n * @category Array\n * @param {Array} array The array to fill.\n * @param {*} value The value to fill `array` with.\n * @param {number} [start=0] The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns `array`.\n * @example\n *\n * var array = [1, 2, 3];\n *\n * _.fill(array, 'a');\n * console.log(array);\n * // => ['a', 'a', 'a']\n *\n * _.fill(Array(3), 2);\n * // => [2, 2, 2]\n *\n * _.fill([4, 6, 8, 10], '*', 1, 3);\n * // => [4, '*', '*', 10]\n */\n function fill(array, value, start, end) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return [];\n }\n if (start && typeof start != 'number' && isIterateeCall(array, value, start)) {\n start = 0;\n end = length;\n }\n return baseFill(array, value, start, end);\n }\n\n /**\n * This method is like `_.find` except that it returns the index of the first\n * element `predicate` returns truthy for instead of the element itself.\n *\n * @static\n * @memberOf _\n * @since 1.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param {number} [fromIndex=0] The index to search from.\n * @returns {number} Returns the index of the found element, else `-1`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': false },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': true }\n * ];\n *\n * _.findIndex(users, function(o) { return o.user == 'barney'; });\n * // => 0\n *\n * // The `_.matches` iteratee shorthand.\n * _.findIndex(users, { 'user': 'fred', 'active': false });\n * // => 1\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.findIndex(users, ['active', false]);\n * // => 0\n *\n * // The `_.property` iteratee shorthand.\n * _.findIndex(users, 'active');\n * // => 2\n */\n function findIndex(array, predicate, fromIndex) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return -1;\n }\n var index = fromIndex == null ? 0 : toInteger(fromIndex);\n if (index < 0) {\n index = nativeMax(length + index, 0);\n }\n return baseFindIndex(array, getIteratee(predicate, 3), index);\n }\n\n /**\n * This method is like `_.findIndex` except that it iterates over elements\n * of `collection` from right to left.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param {number} [fromIndex=array.length-1] The index to search from.\n * @returns {number} Returns the index of the found element, else `-1`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': true },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': false }\n * ];\n *\n * _.findLastIndex(users, function(o) { return o.user == 'pebbles'; });\n * // => 2\n *\n * // The `_.matches` iteratee shorthand.\n * _.findLastIndex(users, { 'user': 'barney', 'active': true });\n * // => 0\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.findLastIndex(users, ['active', false]);\n * // => 2\n *\n * // The `_.property` iteratee shorthand.\n * _.findLastIndex(users, 'active');\n * // => 0\n */\n function findLastIndex(array, predicate, fromIndex) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return -1;\n }\n var index = length - 1;\n if (fromIndex !== undefined) {\n index = toInteger(fromIndex);\n index = fromIndex < 0\n ? nativeMax(length + index, 0)\n : nativeMin(index, length - 1);\n }\n return baseFindIndex(array, getIteratee(predicate, 3), index, true);\n }\n\n /**\n * Flattens `array` a single level deep.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to flatten.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * _.flatten([1, [2, [3, [4]], 5]]);\n * // => [1, 2, [3, [4]], 5]\n */\n function flatten(array) {\n var length = array == null ? 0 : array.length;\n return length ? baseFlatten(array, 1) : [];\n }\n\n /**\n * Recursively flattens `array`.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to flatten.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * _.flattenDeep([1, [2, [3, [4]], 5]]);\n * // => [1, 2, 3, 4, 5]\n */\n function flattenDeep(array) {\n var length = array == null ? 0 : array.length;\n return length ? baseFlatten(array, INFINITY) : [];\n }\n\n /**\n * Recursively flatten `array` up to `depth` times.\n *\n * @static\n * @memberOf _\n * @since 4.4.0\n * @category Array\n * @param {Array} array The array to flatten.\n * @param {number} [depth=1] The maximum recursion depth.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * var array = [1, [2, [3, [4]], 5]];\n *\n * _.flattenDepth(array, 1);\n * // => [1, 2, [3, [4]], 5]\n *\n * _.flattenDepth(array, 2);\n * // => [1, 2, 3, [4], 5]\n */\n function flattenDepth(array, depth) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return [];\n }\n depth = depth === undefined ? 1 : toInteger(depth);\n return baseFlatten(array, depth);\n }\n\n /**\n * The inverse of `_.toPairs`; this method returns an object composed\n * from key-value `pairs`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} pairs The key-value pairs.\n * @returns {Object} Returns the new object.\n * @example\n *\n * _.fromPairs([['a', 1], ['b', 2]]);\n * // => { 'a': 1, 'b': 2 }\n */\n function fromPairs(pairs) {\n var index = -1,\n length = pairs == null ? 0 : pairs.length,\n result = {};\n\n while (++index < length) {\n var pair = pairs[index];\n result[pair[0]] = pair[1];\n }\n return result;\n }\n\n /**\n * Gets the first element of `array`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @alias first\n * @category Array\n * @param {Array} array The array to query.\n * @returns {*} Returns the first element of `array`.\n * @example\n *\n * _.head([1, 2, 3]);\n * // => 1\n *\n * _.head([]);\n * // => undefined\n */\n function head(array) {\n return (array && array.length) ? array[0] : undefined;\n }\n\n /**\n * Gets the index at which the first occurrence of `value` is found in `array`\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons. If `fromIndex` is negative, it's used as the\n * offset from the end of `array`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} [fromIndex=0] The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n * @example\n *\n * _.indexOf([1, 2, 1, 2], 2);\n * // => 1\n *\n * // Search from the `fromIndex`.\n * _.indexOf([1, 2, 1, 2], 2, 2);\n * // => 3\n */\n function indexOf(array, value, fromIndex) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return -1;\n }\n var index = fromIndex == null ? 0 : toInteger(fromIndex);\n if (index < 0) {\n index = nativeMax(length + index, 0);\n }\n return baseIndexOf(array, value, index);\n }\n\n /**\n * Gets all but the last element of `array`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to query.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.initial([1, 2, 3]);\n * // => [1, 2]\n */\n function initial(array) {\n var length = array == null ? 0 : array.length;\n return length ? baseSlice(array, 0, -1) : [];\n }\n\n /**\n * Creates an array of unique values that are included in all given arrays\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons. The order and references of result values are\n * determined by the first array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @returns {Array} Returns the new array of intersecting values.\n * @example\n *\n * _.intersection([2, 1], [2, 3]);\n * // => [2]\n */\n var intersection = baseRest(function(arrays) {\n var mapped = arrayMap(arrays, castArrayLikeObject);\n return (mapped.length && mapped[0] === arrays[0])\n ? baseIntersection(mapped)\n : [];\n });\n\n /**\n * This method is like `_.intersection` except that it accepts `iteratee`\n * which is invoked for each element of each `arrays` to generate the criterion\n * by which they're compared. The order and references of result values are\n * determined by the first array. The iteratee is invoked with one argument:\n * (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Array} Returns the new array of intersecting values.\n * @example\n *\n * _.intersectionBy([2.1, 1.2], [2.3, 3.4], Math.floor);\n * // => [2.1]\n *\n * // The `_.property` iteratee shorthand.\n * _.intersectionBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x');\n * // => [{ 'x': 1 }]\n */\n var intersectionBy = baseRest(function(arrays) {\n var iteratee = last(arrays),\n mapped = arrayMap(arrays, castArrayLikeObject);\n\n if (iteratee === last(mapped)) {\n iteratee = undefined;\n } else {\n mapped.pop();\n }\n return (mapped.length && mapped[0] === arrays[0])\n ? baseIntersection(mapped, getIteratee(iteratee, 2))\n : [];\n });\n\n /**\n * This method is like `_.intersection` except that it accepts `comparator`\n * which is invoked to compare elements of `arrays`. The order and references\n * of result values are determined by the first array. The comparator is\n * invoked with two arguments: (arrVal, othVal).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of intersecting values.\n * @example\n *\n * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];\n * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }];\n *\n * _.intersectionWith(objects, others, _.isEqual);\n * // => [{ 'x': 1, 'y': 2 }]\n */\n var intersectionWith = baseRest(function(arrays) {\n var comparator = last(arrays),\n mapped = arrayMap(arrays, castArrayLikeObject);\n\n comparator = typeof comparator == 'function' ? comparator : undefined;\n if (comparator) {\n mapped.pop();\n }\n return (mapped.length && mapped[0] === arrays[0])\n ? baseIntersection(mapped, undefined, comparator)\n : [];\n });\n\n /**\n * Converts all elements in `array` into a string separated by `separator`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to convert.\n * @param {string} [separator=','] The element separator.\n * @returns {string} Returns the joined string.\n * @example\n *\n * _.join(['a', 'b', 'c'], '~');\n * // => 'a~b~c'\n */\n function join(array, separator) {\n return array == null ? '' : nativeJoin.call(array, separator);\n }\n\n /**\n * Gets the last element of `array`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to query.\n * @returns {*} Returns the last element of `array`.\n * @example\n *\n * _.last([1, 2, 3]);\n * // => 3\n */\n function last(array) {\n var length = array == null ? 0 : array.length;\n return length ? array[length - 1] : undefined;\n }\n\n /**\n * This method is like `_.indexOf` except that it iterates over elements of\n * `array` from right to left.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} [fromIndex=array.length-1] The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n * @example\n *\n * _.lastIndexOf([1, 2, 1, 2], 2);\n * // => 3\n *\n * // Search from the `fromIndex`.\n * _.lastIndexOf([1, 2, 1, 2], 2, 2);\n * // => 1\n */\n function lastIndexOf(array, value, fromIndex) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return -1;\n }\n var index = length;\n if (fromIndex !== undefined) {\n index = toInteger(fromIndex);\n index = index < 0 ? nativeMax(length + index, 0) : nativeMin(index, length - 1);\n }\n return value === value\n ? strictLastIndexOf(array, value, index)\n : baseFindIndex(array, baseIsNaN, index, true);\n }\n\n /**\n * Gets the element at index `n` of `array`. If `n` is negative, the nth\n * element from the end is returned.\n *\n * @static\n * @memberOf _\n * @since 4.11.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {number} [n=0] The index of the element to return.\n * @returns {*} Returns the nth element of `array`.\n * @example\n *\n * var array = ['a', 'b', 'c', 'd'];\n *\n * _.nth(array, 1);\n * // => 'b'\n *\n * _.nth(array, -2);\n * // => 'c';\n */\n function nth(array, n) {\n return (array && array.length) ? baseNth(array, toInteger(n)) : undefined;\n }\n\n /**\n * Removes all given values from `array` using\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * **Note:** Unlike `_.without`, this method mutates `array`. Use `_.remove`\n * to remove elements from an array by predicate.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Array\n * @param {Array} array The array to modify.\n * @param {...*} [values] The values to remove.\n * @returns {Array} Returns `array`.\n * @example\n *\n * var array = ['a', 'b', 'c', 'a', 'b', 'c'];\n *\n * _.pull(array, 'a', 'c');\n * console.log(array);\n * // => ['b', 'b']\n */\n var pull = baseRest(pullAll);\n\n /**\n * This method is like `_.pull` except that it accepts an array of values to remove.\n *\n * **Note:** Unlike `_.difference`, this method mutates `array`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to modify.\n * @param {Array} values The values to remove.\n * @returns {Array} Returns `array`.\n * @example\n *\n * var array = ['a', 'b', 'c', 'a', 'b', 'c'];\n *\n * _.pullAll(array, ['a', 'c']);\n * console.log(array);\n * // => ['b', 'b']\n */\n function pullAll(array, values) {\n return (array && array.length && values && values.length)\n ? basePullAll(array, values)\n : array;\n }\n\n /**\n * This method is like `_.pullAll` except that it accepts `iteratee` which is\n * invoked for each element of `array` and `values` to generate the criterion\n * by which they're compared. The iteratee is invoked with one argument: (value).\n *\n * **Note:** Unlike `_.differenceBy`, this method mutates `array`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to modify.\n * @param {Array} values The values to remove.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Array} Returns `array`.\n * @example\n *\n * var array = [{ 'x': 1 }, { 'x': 2 }, { 'x': 3 }, { 'x': 1 }];\n *\n * _.pullAllBy(array, [{ 'x': 1 }, { 'x': 3 }], 'x');\n * console.log(array);\n * // => [{ 'x': 2 }]\n */\n function pullAllBy(array, values, iteratee) {\n return (array && array.length && values && values.length)\n ? basePullAll(array, values, getIteratee(iteratee, 2))\n : array;\n }\n\n /**\n * This method is like `_.pullAll` except that it accepts `comparator` which\n * is invoked to compare elements of `array` to `values`. The comparator is\n * invoked with two arguments: (arrVal, othVal).\n *\n * **Note:** Unlike `_.differenceWith`, this method mutates `array`.\n *\n * @static\n * @memberOf _\n * @since 4.6.0\n * @category Array\n * @param {Array} array The array to modify.\n * @param {Array} values The values to remove.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns `array`.\n * @example\n *\n * var array = [{ 'x': 1, 'y': 2 }, { 'x': 3, 'y': 4 }, { 'x': 5, 'y': 6 }];\n *\n * _.pullAllWith(array, [{ 'x': 3, 'y': 4 }], _.isEqual);\n * console.log(array);\n * // => [{ 'x': 1, 'y': 2 }, { 'x': 5, 'y': 6 }]\n */\n function pullAllWith(array, values, comparator) {\n return (array && array.length && values && values.length)\n ? basePullAll(array, values, undefined, comparator)\n : array;\n }\n\n /**\n * Removes elements from `array` corresponding to `indexes` and returns an\n * array of removed elements.\n *\n * **Note:** Unlike `_.at`, this method mutates `array`.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to modify.\n * @param {...(number|number[])} [indexes] The indexes of elements to remove.\n * @returns {Array} Returns the new array of removed elements.\n * @example\n *\n * var array = ['a', 'b', 'c', 'd'];\n * var pulled = _.pullAt(array, [1, 3]);\n *\n * console.log(array);\n * // => ['a', 'c']\n *\n * console.log(pulled);\n * // => ['b', 'd']\n */\n var pullAt = flatRest(function(array, indexes) {\n var length = array == null ? 0 : array.length,\n result = baseAt(array, indexes);\n\n basePullAt(array, arrayMap(indexes, function(index) {\n return isIndex(index, length) ? +index : index;\n }).sort(compareAscending));\n\n return result;\n });\n\n /**\n * Removes all elements from `array` that `predicate` returns truthy for\n * and returns an array of the removed elements. The predicate is invoked\n * with three arguments: (value, index, array).\n *\n * **Note:** Unlike `_.filter`, this method mutates `array`. Use `_.pull`\n * to pull elements from an array by value.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Array\n * @param {Array} array The array to modify.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new array of removed elements.\n * @example\n *\n * var array = [1, 2, 3, 4];\n * var evens = _.remove(array, function(n) {\n * return n % 2 == 0;\n * });\n *\n * console.log(array);\n * // => [1, 3]\n *\n * console.log(evens);\n * // => [2, 4]\n */\n function remove(array, predicate) {\n var result = [];\n if (!(array && array.length)) {\n return result;\n }\n var index = -1,\n indexes = [],\n length = array.length;\n\n predicate = getIteratee(predicate, 3);\n while (++index < length) {\n var value = array[index];\n if (predicate(value, index, array)) {\n result.push(value);\n indexes.push(index);\n }\n }\n basePullAt(array, indexes);\n return result;\n }\n\n /**\n * Reverses `array` so that the first element becomes the last, the second\n * element becomes the second to last, and so on.\n *\n * **Note:** This method mutates `array` and is based on\n * [`Array#reverse`](https://mdn.io/Array/reverse).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to modify.\n * @returns {Array} Returns `array`.\n * @example\n *\n * var array = [1, 2, 3];\n *\n * _.reverse(array);\n * // => [3, 2, 1]\n *\n * console.log(array);\n * // => [3, 2, 1]\n */\n function reverse(array) {\n return array == null ? array : nativeReverse.call(array);\n }\n\n /**\n * Creates a slice of `array` from `start` up to, but not including, `end`.\n *\n * **Note:** This method is used instead of\n * [`Array#slice`](https://mdn.io/Array/slice) to ensure dense arrays are\n * returned.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to slice.\n * @param {number} [start=0] The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns the slice of `array`.\n */\n function slice(array, start, end) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return [];\n }\n if (end && typeof end != 'number' && isIterateeCall(array, start, end)) {\n start = 0;\n end = length;\n }\n else {\n start = start == null ? 0 : toInteger(start);\n end = end === undefined ? length : toInteger(end);\n }\n return baseSlice(array, start, end);\n }\n\n /**\n * Uses a binary search to determine the lowest index at which `value`\n * should be inserted into `array` in order to maintain its sort order.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The sorted array to inspect.\n * @param {*} value The value to evaluate.\n * @returns {number} Returns the index at which `value` should be inserted\n * into `array`.\n * @example\n *\n * _.sortedIndex([30, 50], 40);\n * // => 1\n */\n function sortedIndex(array, value) {\n return baseSortedIndex(array, value);\n }\n\n /**\n * This method is like `_.sortedIndex` except that it accepts `iteratee`\n * which is invoked for `value` and each element of `array` to compute their\n * sort ranking. The iteratee is invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The sorted array to inspect.\n * @param {*} value The value to evaluate.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {number} Returns the index at which `value` should be inserted\n * into `array`.\n * @example\n *\n * var objects = [{ 'x': 4 }, { 'x': 5 }];\n *\n * _.sortedIndexBy(objects, { 'x': 4 }, function(o) { return o.x; });\n * // => 0\n *\n * // The `_.property` iteratee shorthand.\n * _.sortedIndexBy(objects, { 'x': 4 }, 'x');\n * // => 0\n */\n function sortedIndexBy(array, value, iteratee) {\n return baseSortedIndexBy(array, value, getIteratee(iteratee, 2));\n }\n\n /**\n * This method is like `_.indexOf` except that it performs a binary\n * search on a sorted `array`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n * @example\n *\n * _.sortedIndexOf([4, 5, 5, 5, 6], 5);\n * // => 1\n */\n function sortedIndexOf(array, value) {\n var length = array == null ? 0 : array.length;\n if (length) {\n var index = baseSortedIndex(array, value);\n if (index < length && eq(array[index], value)) {\n return index;\n }\n }\n return -1;\n }\n\n /**\n * This method is like `_.sortedIndex` except that it returns the highest\n * index at which `value` should be inserted into `array` in order to\n * maintain its sort order.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The sorted array to inspect.\n * @param {*} value The value to evaluate.\n * @returns {number} Returns the index at which `value` should be inserted\n * into `array`.\n * @example\n *\n * _.sortedLastIndex([4, 5, 5, 5, 6], 5);\n * // => 4\n */\n function sortedLastIndex(array, value) {\n return baseSortedIndex(array, value, true);\n }\n\n /**\n * This method is like `_.sortedLastIndex` except that it accepts `iteratee`\n * which is invoked for `value` and each element of `array` to compute their\n * sort ranking. The iteratee is invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The sorted array to inspect.\n * @param {*} value The value to evaluate.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {number} Returns the index at which `value` should be inserted\n * into `array`.\n * @example\n *\n * var objects = [{ 'x': 4 }, { 'x': 5 }];\n *\n * _.sortedLastIndexBy(objects, { 'x': 4 }, function(o) { return o.x; });\n * // => 1\n *\n * // The `_.property` iteratee shorthand.\n * _.sortedLastIndexBy(objects, { 'x': 4 }, 'x');\n * // => 1\n */\n function sortedLastIndexBy(array, value, iteratee) {\n return baseSortedIndexBy(array, value, getIteratee(iteratee, 2), true);\n }\n\n /**\n * This method is like `_.lastIndexOf` except that it performs a binary\n * search on a sorted `array`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n * @example\n *\n * _.sortedLastIndexOf([4, 5, 5, 5, 6], 5);\n * // => 3\n */\n function sortedLastIndexOf(array, value) {\n var length = array == null ? 0 : array.length;\n if (length) {\n var index = baseSortedIndex(array, value, true) - 1;\n if (eq(array[index], value)) {\n return index;\n }\n }\n return -1;\n }\n\n /**\n * This method is like `_.uniq` except that it's designed and optimized\n * for sorted arrays.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @returns {Array} Returns the new duplicate free array.\n * @example\n *\n * _.sortedUniq([1, 1, 2]);\n * // => [1, 2]\n */\n function sortedUniq(array) {\n return (array && array.length)\n ? baseSortedUniq(array)\n : [];\n }\n\n /**\n * This method is like `_.uniqBy` except that it's designed and optimized\n * for sorted arrays.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @returns {Array} Returns the new duplicate free array.\n * @example\n *\n * _.sortedUniqBy([1.1, 1.2, 2.3, 2.4], Math.floor);\n * // => [1.1, 2.3]\n */\n function sortedUniqBy(array, iteratee) {\n return (array && array.length)\n ? baseSortedUniq(array, getIteratee(iteratee, 2))\n : [];\n }\n\n /**\n * Gets all but the first element of `array`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.tail([1, 2, 3]);\n * // => [2, 3]\n */\n function tail(array) {\n var length = array == null ? 0 : array.length;\n return length ? baseSlice(array, 1, length) : [];\n }\n\n /**\n * Creates a slice of `array` with `n` elements taken from the beginning.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {number} [n=1] The number of elements to take.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.take([1, 2, 3]);\n * // => [1]\n *\n * _.take([1, 2, 3], 2);\n * // => [1, 2]\n *\n * _.take([1, 2, 3], 5);\n * // => [1, 2, 3]\n *\n * _.take([1, 2, 3], 0);\n * // => []\n */\n function take(array, n, guard) {\n if (!(array && array.length)) {\n return [];\n }\n n = (guard || n === undefined) ? 1 : toInteger(n);\n return baseSlice(array, 0, n < 0 ? 0 : n);\n }\n\n /**\n * Creates a slice of `array` with `n` elements taken from the end.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {number} [n=1] The number of elements to take.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.takeRight([1, 2, 3]);\n * // => [3]\n *\n * _.takeRight([1, 2, 3], 2);\n * // => [2, 3]\n *\n * _.takeRight([1, 2, 3], 5);\n * // => [1, 2, 3]\n *\n * _.takeRight([1, 2, 3], 0);\n * // => []\n */\n function takeRight(array, n, guard) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return [];\n }\n n = (guard || n === undefined) ? 1 : toInteger(n);\n n = length - n;\n return baseSlice(array, n < 0 ? 0 : n, length);\n }\n\n /**\n * Creates a slice of `array` with elements taken from the end. Elements are\n * taken until `predicate` returns falsey. The predicate is invoked with\n * three arguments: (value, index, array).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': true },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': false }\n * ];\n *\n * _.takeRightWhile(users, function(o) { return !o.active; });\n * // => objects for ['fred', 'pebbles']\n *\n * // The `_.matches` iteratee shorthand.\n * _.takeRightWhile(users, { 'user': 'pebbles', 'active': false });\n * // => objects for ['pebbles']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.takeRightWhile(users, ['active', false]);\n * // => objects for ['fred', 'pebbles']\n *\n * // The `_.property` iteratee shorthand.\n * _.takeRightWhile(users, 'active');\n * // => []\n */\n function takeRightWhile(array, predicate) {\n return (array && array.length)\n ? baseWhile(array, getIteratee(predicate, 3), false, true)\n : [];\n }\n\n /**\n * Creates a slice of `array` with elements taken from the beginning. Elements\n * are taken until `predicate` returns falsey. The predicate is invoked with\n * three arguments: (value, index, array).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': false },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': true }\n * ];\n *\n * _.takeWhile(users, function(o) { return !o.active; });\n * // => objects for ['barney', 'fred']\n *\n * // The `_.matches` iteratee shorthand.\n * _.takeWhile(users, { 'user': 'barney', 'active': false });\n * // => objects for ['barney']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.takeWhile(users, ['active', false]);\n * // => objects for ['barney', 'fred']\n *\n * // The `_.property` iteratee shorthand.\n * _.takeWhile(users, 'active');\n * // => []\n */\n function takeWhile(array, predicate) {\n return (array && array.length)\n ? baseWhile(array, getIteratee(predicate, 3))\n : [];\n }\n\n /**\n * Creates an array of unique values, in order, from all given arrays using\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @returns {Array} Returns the new array of combined values.\n * @example\n *\n * _.union([2], [1, 2]);\n * // => [2, 1]\n */\n var union = baseRest(function(arrays) {\n return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true));\n });\n\n /**\n * This method is like `_.union` except that it accepts `iteratee` which is\n * invoked for each element of each `arrays` to generate the criterion by\n * which uniqueness is computed. Result values are chosen from the first\n * array in which the value occurs. The iteratee is invoked with one argument:\n * (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Array} Returns the new array of combined values.\n * @example\n *\n * _.unionBy([2.1], [1.2, 2.3], Math.floor);\n * // => [2.1, 1.2]\n *\n * // The `_.property` iteratee shorthand.\n * _.unionBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x');\n * // => [{ 'x': 1 }, { 'x': 2 }]\n */\n var unionBy = baseRest(function(arrays) {\n var iteratee = last(arrays);\n if (isArrayLikeObject(iteratee)) {\n iteratee = undefined;\n }\n return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true), getIteratee(iteratee, 2));\n });\n\n /**\n * This method is like `_.union` except that it accepts `comparator` which\n * is invoked to compare elements of `arrays`. Result values are chosen from\n * the first array in which the value occurs. The comparator is invoked\n * with two arguments: (arrVal, othVal).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of combined values.\n * @example\n *\n * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];\n * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }];\n *\n * _.unionWith(objects, others, _.isEqual);\n * // => [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }, { 'x': 1, 'y': 1 }]\n */\n var unionWith = baseRest(function(arrays) {\n var comparator = last(arrays);\n comparator = typeof comparator == 'function' ? comparator : undefined;\n return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true), undefined, comparator);\n });\n\n /**\n * Creates a duplicate-free version of an array, using\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons, in which only the first occurrence of each element\n * is kept. The order of result values is determined by the order they occur\n * in the array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @returns {Array} Returns the new duplicate free array.\n * @example\n *\n * _.uniq([2, 1, 2]);\n * // => [2, 1]\n */\n function uniq(array) {\n return (array && array.length) ? baseUniq(array) : [];\n }\n\n /**\n * This method is like `_.uniq` except that it accepts `iteratee` which is\n * invoked for each element in `array` to generate the criterion by which\n * uniqueness is computed. The order of result values is determined by the\n * order they occur in the array. The iteratee is invoked with one argument:\n * (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Array} Returns the new duplicate free array.\n * @example\n *\n * _.uniqBy([2.1, 1.2, 2.3], Math.floor);\n * // => [2.1, 1.2]\n *\n * // The `_.property` iteratee shorthand.\n * _.uniqBy([{ 'x': 1 }, { 'x': 2 }, { 'x': 1 }], 'x');\n * // => [{ 'x': 1 }, { 'x': 2 }]\n */\n function uniqBy(array, iteratee) {\n return (array && array.length) ? baseUniq(array, getIteratee(iteratee, 2)) : [];\n }\n\n /**\n * This method is like `_.uniq` except that it accepts `comparator` which\n * is invoked to compare elements of `array`. The order of result values is\n * determined by the order they occur in the array.The comparator is invoked\n * with two arguments: (arrVal, othVal).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new duplicate free array.\n * @example\n *\n * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }, { 'x': 1, 'y': 2 }];\n *\n * _.uniqWith(objects, _.isEqual);\n * // => [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }]\n */\n function uniqWith(array, comparator) {\n comparator = typeof comparator == 'function' ? comparator : undefined;\n return (array && array.length) ? baseUniq(array, undefined, comparator) : [];\n }\n\n /**\n * This method is like `_.zip` except that it accepts an array of grouped\n * elements and creates an array regrouping the elements to their pre-zip\n * configuration.\n *\n * @static\n * @memberOf _\n * @since 1.2.0\n * @category Array\n * @param {Array} array The array of grouped elements to process.\n * @returns {Array} Returns the new array of regrouped elements.\n * @example\n *\n * var zipped = _.zip(['a', 'b'], [1, 2], [true, false]);\n * // => [['a', 1, true], ['b', 2, false]]\n *\n * _.unzip(zipped);\n * // => [['a', 'b'], [1, 2], [true, false]]\n */\n function unzip(array) {\n if (!(array && array.length)) {\n return [];\n }\n var length = 0;\n array = arrayFilter(array, function(group) {\n if (isArrayLikeObject(group)) {\n length = nativeMax(group.length, length);\n return true;\n }\n });\n return baseTimes(length, function(index) {\n return arrayMap(array, baseProperty(index));\n });\n }\n\n /**\n * This method is like `_.unzip` except that it accepts `iteratee` to specify\n * how regrouped values should be combined. The iteratee is invoked with the\n * elements of each group: (...group).\n *\n * @static\n * @memberOf _\n * @since 3.8.0\n * @category Array\n * @param {Array} array The array of grouped elements to process.\n * @param {Function} [iteratee=_.identity] The function to combine\n * regrouped values.\n * @returns {Array} Returns the new array of regrouped elements.\n * @example\n *\n * var zipped = _.zip([1, 2], [10, 20], [100, 200]);\n * // => [[1, 10, 100], [2, 20, 200]]\n *\n * _.unzipWith(zipped, _.add);\n * // => [3, 30, 300]\n */\n function unzipWith(array, iteratee) {\n if (!(array && array.length)) {\n return [];\n }\n var result = unzip(array);\n if (iteratee == null) {\n return result;\n }\n return arrayMap(result, function(group) {\n return apply(iteratee, undefined, group);\n });\n }\n\n /**\n * Creates an array excluding all given values using\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * **Note:** Unlike `_.pull`, this method returns a new array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {...*} [values] The values to exclude.\n * @returns {Array} Returns the new array of filtered values.\n * @see _.difference, _.xor\n * @example\n *\n * _.without([2, 1, 2, 3], 1, 2);\n * // => [3]\n */\n var without = baseRest(function(array, values) {\n return isArrayLikeObject(array)\n ? baseDifference(array, values)\n : [];\n });\n\n /**\n * Creates an array of unique values that is the\n * [symmetric difference](https://en.wikipedia.org/wiki/Symmetric_difference)\n * of the given arrays. The order of result values is determined by the order\n * they occur in the arrays.\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @returns {Array} Returns the new array of filtered values.\n * @see _.difference, _.without\n * @example\n *\n * _.xor([2, 1], [2, 3]);\n * // => [1, 3]\n */\n var xor = baseRest(function(arrays) {\n return baseXor(arrayFilter(arrays, isArrayLikeObject));\n });\n\n /**\n * This method is like `_.xor` except that it accepts `iteratee` which is\n * invoked for each element of each `arrays` to generate the criterion by\n * which by which they're compared. The order of result values is determined\n * by the order they occur in the arrays. The iteratee is invoked with one\n * argument: (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Array} Returns the new array of filtered values.\n * @example\n *\n * _.xorBy([2.1, 1.2], [2.3, 3.4], Math.floor);\n * // => [1.2, 3.4]\n *\n * // The `_.property` iteratee shorthand.\n * _.xorBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x');\n * // => [{ 'x': 2 }]\n */\n var xorBy = baseRest(function(arrays) {\n var iteratee = last(arrays);\n if (isArrayLikeObject(iteratee)) {\n iteratee = undefined;\n }\n return baseXor(arrayFilter(arrays, isArrayLikeObject), getIteratee(iteratee, 2));\n });\n\n /**\n * This method is like `_.xor` except that it accepts `comparator` which is\n * invoked to compare elements of `arrays`. The order of result values is\n * determined by the order they occur in the arrays. The comparator is invoked\n * with two arguments: (arrVal, othVal).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of filtered values.\n * @example\n *\n * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];\n * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }];\n *\n * _.xorWith(objects, others, _.isEqual);\n * // => [{ 'x': 2, 'y': 1 }, { 'x': 1, 'y': 1 }]\n */\n var xorWith = baseRest(function(arrays) {\n var comparator = last(arrays);\n comparator = typeof comparator == 'function' ? comparator : undefined;\n return baseXor(arrayFilter(arrays, isArrayLikeObject), undefined, comparator);\n });\n\n /**\n * Creates an array of grouped elements, the first of which contains the\n * first elements of the given arrays, the second of which contains the\n * second elements of the given arrays, and so on.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {...Array} [arrays] The arrays to process.\n * @returns {Array} Returns the new array of grouped elements.\n * @example\n *\n * _.zip(['a', 'b'], [1, 2], [true, false]);\n * // => [['a', 1, true], ['b', 2, false]]\n */\n var zip = baseRest(unzip);\n\n /**\n * This method is like `_.fromPairs` except that it accepts two arrays,\n * one of property identifiers and one of corresponding values.\n *\n * @static\n * @memberOf _\n * @since 0.4.0\n * @category Array\n * @param {Array} [props=[]] The property identifiers.\n * @param {Array} [values=[]] The property values.\n * @returns {Object} Returns the new object.\n * @example\n *\n * _.zipObject(['a', 'b'], [1, 2]);\n * // => { 'a': 1, 'b': 2 }\n */\n function zipObject(props, values) {\n return baseZipObject(props || [], values || [], assignValue);\n }\n\n /**\n * This method is like `_.zipObject` except that it supports property paths.\n *\n * @static\n * @memberOf _\n * @since 4.1.0\n * @category Array\n * @param {Array} [props=[]] The property identifiers.\n * @param {Array} [values=[]] The property values.\n * @returns {Object} Returns the new object.\n * @example\n *\n * _.zipObjectDeep(['a.b[0].c', 'a.b[1].d'], [1, 2]);\n * // => { 'a': { 'b': [{ 'c': 1 }, { 'd': 2 }] } }\n */\n function zipObjectDeep(props, values) {\n return baseZipObject(props || [], values || [], baseSet);\n }\n\n /**\n * This method is like `_.zip` except that it accepts `iteratee` to specify\n * how grouped values should be combined. The iteratee is invoked with the\n * elements of each group: (...group).\n *\n * @static\n * @memberOf _\n * @since 3.8.0\n * @category Array\n * @param {...Array} [arrays] The arrays to process.\n * @param {Function} [iteratee=_.identity] The function to combine\n * grouped values.\n * @returns {Array} Returns the new array of grouped elements.\n * @example\n *\n * _.zipWith([1, 2], [10, 20], [100, 200], function(a, b, c) {\n * return a + b + c;\n * });\n * // => [111, 222]\n */\n var zipWith = baseRest(function(arrays) {\n var length = arrays.length,\n iteratee = length > 1 ? arrays[length - 1] : undefined;\n\n iteratee = typeof iteratee == 'function' ? (arrays.pop(), iteratee) : undefined;\n return unzipWith(arrays, iteratee);\n });\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates a `lodash` wrapper instance that wraps `value` with explicit method\n * chain sequences enabled. The result of such sequences must be unwrapped\n * with `_#value`.\n *\n * @static\n * @memberOf _\n * @since 1.3.0\n * @category Seq\n * @param {*} value The value to wrap.\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36 },\n * { 'user': 'fred', 'age': 40 },\n * { 'user': 'pebbles', 'age': 1 }\n * ];\n *\n * var youngest = _\n * .chain(users)\n * .sortBy('age')\n * .map(function(o) {\n * return o.user + ' is ' + o.age;\n * })\n * .head()\n * .value();\n * // => 'pebbles is 1'\n */\n function chain(value) {\n var result = lodash(value);\n result.__chain__ = true;\n return result;\n }\n\n /**\n * This method invokes `interceptor` and returns `value`. The interceptor\n * is invoked with one argument; (value). The purpose of this method is to\n * \"tap into\" a method chain sequence in order to modify intermediate results.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Seq\n * @param {*} value The value to provide to `interceptor`.\n * @param {Function} interceptor The function to invoke.\n * @returns {*} Returns `value`.\n * @example\n *\n * _([1, 2, 3])\n * .tap(function(array) {\n * // Mutate input array.\n * array.pop();\n * })\n * .reverse()\n * .value();\n * // => [2, 1]\n */\n function tap(value, interceptor) {\n interceptor(value);\n return value;\n }\n\n /**\n * This method is like `_.tap` except that it returns the result of `interceptor`.\n * The purpose of this method is to \"pass thru\" values replacing intermediate\n * results in a method chain sequence.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Seq\n * @param {*} value The value to provide to `interceptor`.\n * @param {Function} interceptor The function to invoke.\n * @returns {*} Returns the result of `interceptor`.\n * @example\n *\n * _(' abc ')\n * .chain()\n * .trim()\n * .thru(function(value) {\n * return [value];\n * })\n * .value();\n * // => ['abc']\n */\n function thru(value, interceptor) {\n return interceptor(value);\n }\n\n /**\n * This method is the wrapper version of `_.at`.\n *\n * @name at\n * @memberOf _\n * @since 1.0.0\n * @category Seq\n * @param {...(string|string[])} [paths] The property paths to pick.\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }, 4] };\n *\n * _(object).at(['a[0].b.c', 'a[1]']).value();\n * // => [3, 4]\n */\n var wrapperAt = flatRest(function(paths) {\n var length = paths.length,\n start = length ? paths[0] : 0,\n value = this.__wrapped__,\n interceptor = function(object) { return baseAt(object, paths); };\n\n if (length > 1 || this.__actions__.length ||\n !(value instanceof LazyWrapper) || !isIndex(start)) {\n return this.thru(interceptor);\n }\n value = value.slice(start, +start + (length ? 1 : 0));\n value.__actions__.push({\n 'func': thru,\n 'args': [interceptor],\n 'thisArg': undefined\n });\n return new LodashWrapper(value, this.__chain__).thru(function(array) {\n if (length && !array.length) {\n array.push(undefined);\n }\n return array;\n });\n });\n\n /**\n * Creates a `lodash` wrapper instance with explicit method chain sequences enabled.\n *\n * @name chain\n * @memberOf _\n * @since 0.1.0\n * @category Seq\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36 },\n * { 'user': 'fred', 'age': 40 }\n * ];\n *\n * // A sequence without explicit chaining.\n * _(users).head();\n * // => { 'user': 'barney', 'age': 36 }\n *\n * // A sequence with explicit chaining.\n * _(users)\n * .chain()\n * .head()\n * .pick('user')\n * .value();\n * // => { 'user': 'barney' }\n */\n function wrapperChain() {\n return chain(this);\n }\n\n /**\n * Executes the chain sequence and returns the wrapped result.\n *\n * @name commit\n * @memberOf _\n * @since 3.2.0\n * @category Seq\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * var array = [1, 2];\n * var wrapped = _(array).push(3);\n *\n * console.log(array);\n * // => [1, 2]\n *\n * wrapped = wrapped.commit();\n * console.log(array);\n * // => [1, 2, 3]\n *\n * wrapped.last();\n * // => 3\n *\n * console.log(array);\n * // => [1, 2, 3]\n */\n function wrapperCommit() {\n return new LodashWrapper(this.value(), this.__chain__);\n }\n\n /**\n * Gets the next value on a wrapped object following the\n * [iterator protocol](https://mdn.io/iteration_protocols#iterator).\n *\n * @name next\n * @memberOf _\n * @since 4.0.0\n * @category Seq\n * @returns {Object} Returns the next iterator value.\n * @example\n *\n * var wrapped = _([1, 2]);\n *\n * wrapped.next();\n * // => { 'done': false, 'value': 1 }\n *\n * wrapped.next();\n * // => { 'done': false, 'value': 2 }\n *\n * wrapped.next();\n * // => { 'done': true, 'value': undefined }\n */\n function wrapperNext() {\n if (this.__values__ === undefined) {\n this.__values__ = toArray(this.value());\n }\n var done = this.__index__ >= this.__values__.length,\n value = done ? undefined : this.__values__[this.__index__++];\n\n return { 'done': done, 'value': value };\n }\n\n /**\n * Enables the wrapper to be iterable.\n *\n * @name Symbol.iterator\n * @memberOf _\n * @since 4.0.0\n * @category Seq\n * @returns {Object} Returns the wrapper object.\n * @example\n *\n * var wrapped = _([1, 2]);\n *\n * wrapped[Symbol.iterator]() === wrapped;\n * // => true\n *\n * Array.from(wrapped);\n * // => [1, 2]\n */\n function wrapperToIterator() {\n return this;\n }\n\n /**\n * Creates a clone of the chain sequence planting `value` as the wrapped value.\n *\n * @name plant\n * @memberOf _\n * @since 3.2.0\n * @category Seq\n * @param {*} value The value to plant.\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * function square(n) {\n * return n * n;\n * }\n *\n * var wrapped = _([1, 2]).map(square);\n * var other = wrapped.plant([3, 4]);\n *\n * other.value();\n * // => [9, 16]\n *\n * wrapped.value();\n * // => [1, 4]\n */\n function wrapperPlant(value) {\n var result,\n parent = this;\n\n while (parent instanceof baseLodash) {\n var clone = wrapperClone(parent);\n clone.__index__ = 0;\n clone.__values__ = undefined;\n if (result) {\n previous.__wrapped__ = clone;\n } else {\n result = clone;\n }\n var previous = clone;\n parent = parent.__wrapped__;\n }\n previous.__wrapped__ = value;\n return result;\n }\n\n /**\n * This method is the wrapper version of `_.reverse`.\n *\n * **Note:** This method mutates the wrapped array.\n *\n * @name reverse\n * @memberOf _\n * @since 0.1.0\n * @category Seq\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * var array = [1, 2, 3];\n *\n * _(array).reverse().value()\n * // => [3, 2, 1]\n *\n * console.log(array);\n * // => [3, 2, 1]\n */\n function wrapperReverse() {\n var value = this.__wrapped__;\n if (value instanceof LazyWrapper) {\n var wrapped = value;\n if (this.__actions__.length) {\n wrapped = new LazyWrapper(this);\n }\n wrapped = wrapped.reverse();\n wrapped.__actions__.push({\n 'func': thru,\n 'args': [reverse],\n 'thisArg': undefined\n });\n return new LodashWrapper(wrapped, this.__chain__);\n }\n return this.thru(reverse);\n }\n\n /**\n * Executes the chain sequence to resolve the unwrapped value.\n *\n * @name value\n * @memberOf _\n * @since 0.1.0\n * @alias toJSON, valueOf\n * @category Seq\n * @returns {*} Returns the resolved unwrapped value.\n * @example\n *\n * _([1, 2, 3]).value();\n * // => [1, 2, 3]\n */\n function wrapperValue() {\n return baseWrapperValue(this.__wrapped__, this.__actions__);\n }\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates an object composed of keys generated from the results of running\n * each element of `collection` thru `iteratee`. The corresponding value of\n * each key is the number of times the key was returned by `iteratee`. The\n * iteratee is invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 0.5.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The iteratee to transform keys.\n * @returns {Object} Returns the composed aggregate object.\n * @example\n *\n * _.countBy([6.1, 4.2, 6.3], Math.floor);\n * // => { '4': 1, '6': 2 }\n *\n * // The `_.property` iteratee shorthand.\n * _.countBy(['one', 'two', 'three'], 'length');\n * // => { '3': 2, '5': 1 }\n */\n var countBy = createAggregator(function(result, value, key) {\n if (hasOwnProperty.call(result, key)) {\n ++result[key];\n } else {\n baseAssignValue(result, key, 1);\n }\n });\n\n /**\n * Checks if `predicate` returns truthy for **all** elements of `collection`.\n * Iteration is stopped once `predicate` returns falsey. The predicate is\n * invoked with three arguments: (value, index|key, collection).\n *\n * **Note:** This method returns `true` for\n * [empty collections](https://en.wikipedia.org/wiki/Empty_set) because\n * [everything is true](https://en.wikipedia.org/wiki/Vacuous_truth) of\n * elements of empty collections.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {boolean} Returns `true` if all elements pass the predicate check,\n * else `false`.\n * @example\n *\n * _.every([true, 1, null, 'yes'], Boolean);\n * // => false\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': false },\n * { 'user': 'fred', 'age': 40, 'active': false }\n * ];\n *\n * // The `_.matches` iteratee shorthand.\n * _.every(users, { 'user': 'barney', 'active': false });\n * // => false\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.every(users, ['active', false]);\n * // => true\n *\n * // The `_.property` iteratee shorthand.\n * _.every(users, 'active');\n * // => false\n */\n function every(collection, predicate, guard) {\n var func = isArray(collection) ? arrayEvery : baseEvery;\n if (guard && isIterateeCall(collection, predicate, guard)) {\n predicate = undefined;\n }\n return func(collection, getIteratee(predicate, 3));\n }\n\n /**\n * Iterates over elements of `collection`, returning an array of all elements\n * `predicate` returns truthy for. The predicate is invoked with three\n * arguments: (value, index|key, collection).\n *\n * **Note:** Unlike `_.remove`, this method returns a new array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n * @see _.reject\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': true },\n * { 'user': 'fred', 'age': 40, 'active': false }\n * ];\n *\n * _.filter(users, function(o) { return !o.active; });\n * // => objects for ['fred']\n *\n * // The `_.matches` iteratee shorthand.\n * _.filter(users, { 'age': 36, 'active': true });\n * // => objects for ['barney']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.filter(users, ['active', false]);\n * // => objects for ['fred']\n *\n * // The `_.property` iteratee shorthand.\n * _.filter(users, 'active');\n * // => objects for ['barney']\n *\n * // Combining several predicates using `_.overEvery` or `_.overSome`.\n * _.filter(users, _.overSome([{ 'age': 36 }, ['age', 40]]));\n * // => objects for ['fred', 'barney']\n */\n function filter(collection, predicate) {\n var func = isArray(collection) ? arrayFilter : baseFilter;\n return func(collection, getIteratee(predicate, 3));\n }\n\n /**\n * Iterates over elements of `collection`, returning the first element\n * `predicate` returns truthy for. The predicate is invoked with three\n * arguments: (value, index|key, collection).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param {number} [fromIndex=0] The index to search from.\n * @returns {*} Returns the matched element, else `undefined`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': true },\n * { 'user': 'fred', 'age': 40, 'active': false },\n * { 'user': 'pebbles', 'age': 1, 'active': true }\n * ];\n *\n * _.find(users, function(o) { return o.age < 40; });\n * // => object for 'barney'\n *\n * // The `_.matches` iteratee shorthand.\n * _.find(users, { 'age': 1, 'active': true });\n * // => object for 'pebbles'\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.find(users, ['active', false]);\n * // => object for 'fred'\n *\n * // The `_.property` iteratee shorthand.\n * _.find(users, 'active');\n * // => object for 'barney'\n */\n var find = createFind(findIndex);\n\n /**\n * This method is like `_.find` except that it iterates over elements of\n * `collection` from right to left.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param {number} [fromIndex=collection.length-1] The index to search from.\n * @returns {*} Returns the matched element, else `undefined`.\n * @example\n *\n * _.findLast([1, 2, 3, 4], function(n) {\n * return n % 2 == 1;\n * });\n * // => 3\n */\n var findLast = createFind(findLastIndex);\n\n /**\n * Creates a flattened array of values by running each element in `collection`\n * thru `iteratee` and flattening the mapped results. The iteratee is invoked\n * with three arguments: (value, index|key, collection).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * function duplicate(n) {\n * return [n, n];\n * }\n *\n * _.flatMap([1, 2], duplicate);\n * // => [1, 1, 2, 2]\n */\n function flatMap(collection, iteratee) {\n return baseFlatten(map(collection, iteratee), 1);\n }\n\n /**\n * This method is like `_.flatMap` except that it recursively flattens the\n * mapped results.\n *\n * @static\n * @memberOf _\n * @since 4.7.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * function duplicate(n) {\n * return [[[n, n]]];\n * }\n *\n * _.flatMapDeep([1, 2], duplicate);\n * // => [1, 1, 2, 2]\n */\n function flatMapDeep(collection, iteratee) {\n return baseFlatten(map(collection, iteratee), INFINITY);\n }\n\n /**\n * This method is like `_.flatMap` except that it recursively flattens the\n * mapped results up to `depth` times.\n *\n * @static\n * @memberOf _\n * @since 4.7.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @param {number} [depth=1] The maximum recursion depth.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * function duplicate(n) {\n * return [[[n, n]]];\n * }\n *\n * _.flatMapDepth([1, 2], duplicate, 2);\n * // => [[1, 1], [2, 2]]\n */\n function flatMapDepth(collection, iteratee, depth) {\n depth = depth === undefined ? 1 : toInteger(depth);\n return baseFlatten(map(collection, iteratee), depth);\n }\n\n /**\n * Iterates over elements of `collection` and invokes `iteratee` for each element.\n * The iteratee is invoked with three arguments: (value, index|key, collection).\n * Iteratee functions may exit iteration early by explicitly returning `false`.\n *\n * **Note:** As with other \"Collections\" methods, objects with a \"length\"\n * property are iterated like arrays. To avoid this behavior use `_.forIn`\n * or `_.forOwn` for object iteration.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @alias each\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n * @see _.forEachRight\n * @example\n *\n * _.forEach([1, 2], function(value) {\n * console.log(value);\n * });\n * // => Logs `1` then `2`.\n *\n * _.forEach({ 'a': 1, 'b': 2 }, function(value, key) {\n * console.log(key);\n * });\n * // => Logs 'a' then 'b' (iteration order is not guaranteed).\n */\n function forEach(collection, iteratee) {\n var func = isArray(collection) ? arrayEach : baseEach;\n return func(collection, getIteratee(iteratee, 3));\n }\n\n /**\n * This method is like `_.forEach` except that it iterates over elements of\n * `collection` from right to left.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @alias eachRight\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n * @see _.forEach\n * @example\n *\n * _.forEachRight([1, 2], function(value) {\n * console.log(value);\n * });\n * // => Logs `2` then `1`.\n */\n function forEachRight(collection, iteratee) {\n var func = isArray(collection) ? arrayEachRight : baseEachRight;\n return func(collection, getIteratee(iteratee, 3));\n }\n\n /**\n * Creates an object composed of keys generated from the results of running\n * each element of `collection` thru `iteratee`. The order of grouped values\n * is determined by the order they occur in `collection`. The corresponding\n * value of each key is an array of elements responsible for generating the\n * key. The iteratee is invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The iteratee to transform keys.\n * @returns {Object} Returns the composed aggregate object.\n * @example\n *\n * _.groupBy([6.1, 4.2, 6.3], Math.floor);\n * // => { '4': [4.2], '6': [6.1, 6.3] }\n *\n * // The `_.property` iteratee shorthand.\n * _.groupBy(['one', 'two', 'three'], 'length');\n * // => { '3': ['one', 'two'], '5': ['three'] }\n */\n var groupBy = createAggregator(function(result, value, key) {\n if (hasOwnProperty.call(result, key)) {\n result[key].push(value);\n } else {\n baseAssignValue(result, key, [value]);\n }\n });\n\n /**\n * Checks if `value` is in `collection`. If `collection` is a string, it's\n * checked for a substring of `value`, otherwise\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * is used for equality comparisons. If `fromIndex` is negative, it's used as\n * the offset from the end of `collection`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object|string} collection The collection to inspect.\n * @param {*} value The value to search for.\n * @param {number} [fromIndex=0] The index to search from.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.reduce`.\n * @returns {boolean} Returns `true` if `value` is found, else `false`.\n * @example\n *\n * _.includes([1, 2, 3], 1);\n * // => true\n *\n * _.includes([1, 2, 3], 1, 2);\n * // => false\n *\n * _.includes({ 'a': 1, 'b': 2 }, 1);\n * // => true\n *\n * _.includes('abcd', 'bc');\n * // => true\n */\n function includes(collection, value, fromIndex, guard) {\n collection = isArrayLike(collection) ? collection : values(collection);\n fromIndex = (fromIndex && !guard) ? toInteger(fromIndex) : 0;\n\n var length = collection.length;\n if (fromIndex < 0) {\n fromIndex = nativeMax(length + fromIndex, 0);\n }\n return isString(collection)\n ? (fromIndex <= length && collection.indexOf(value, fromIndex) > -1)\n : (!!length && baseIndexOf(collection, value, fromIndex) > -1);\n }\n\n /**\n * Invokes the method at `path` of each element in `collection`, returning\n * an array of the results of each invoked method. Any additional arguments\n * are provided to each invoked method. If `path` is a function, it's invoked\n * for, and `this` bound to, each element in `collection`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Array|Function|string} path The path of the method to invoke or\n * the function invoked per iteration.\n * @param {...*} [args] The arguments to invoke each method with.\n * @returns {Array} Returns the array of results.\n * @example\n *\n * _.invokeMap([[5, 1, 7], [3, 2, 1]], 'sort');\n * // => [[1, 5, 7], [1, 2, 3]]\n *\n * _.invokeMap([123, 456], String.prototype.split, '');\n * // => [['1', '2', '3'], ['4', '5', '6']]\n */\n var invokeMap = baseRest(function(collection, path, args) {\n var index = -1,\n isFunc = typeof path == 'function',\n result = isArrayLike(collection) ? Array(collection.length) : [];\n\n baseEach(collection, function(value) {\n result[++index] = isFunc ? apply(path, value, args) : baseInvoke(value, path, args);\n });\n return result;\n });\n\n /**\n * Creates an object composed of keys generated from the results of running\n * each element of `collection` thru `iteratee`. The corresponding value of\n * each key is the last element responsible for generating the key. The\n * iteratee is invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The iteratee to transform keys.\n * @returns {Object} Returns the composed aggregate object.\n * @example\n *\n * var array = [\n * { 'dir': 'left', 'code': 97 },\n * { 'dir': 'right', 'code': 100 }\n * ];\n *\n * _.keyBy(array, function(o) {\n * return String.fromCharCode(o.code);\n * });\n * // => { 'a': { 'dir': 'left', 'code': 97 }, 'd': { 'dir': 'right', 'code': 100 } }\n *\n * _.keyBy(array, 'dir');\n * // => { 'left': { 'dir': 'left', 'code': 97 }, 'right': { 'dir': 'right', 'code': 100 } }\n */\n var keyBy = createAggregator(function(result, value, key) {\n baseAssignValue(result, key, value);\n });\n\n /**\n * Creates an array of values by running each element in `collection` thru\n * `iteratee`. The iteratee is invoked with three arguments:\n * (value, index|key, collection).\n *\n * Many lodash methods are guarded to work as iteratees for methods like\n * `_.every`, `_.filter`, `_.map`, `_.mapValues`, `_.reject`, and `_.some`.\n *\n * The guarded methods are:\n * `ary`, `chunk`, `curry`, `curryRight`, `drop`, `dropRight`, `every`,\n * `fill`, `invert`, `parseInt`, `random`, `range`, `rangeRight`, `repeat`,\n * `sampleSize`, `slice`, `some`, `sortBy`, `split`, `take`, `takeRight`,\n * `template`, `trim`, `trimEnd`, `trimStart`, and `words`\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n * @example\n *\n * function square(n) {\n * return n * n;\n * }\n *\n * _.map([4, 8], square);\n * // => [16, 64]\n *\n * _.map({ 'a': 4, 'b': 8 }, square);\n * // => [16, 64] (iteration order is not guaranteed)\n *\n * var users = [\n * { 'user': 'barney' },\n * { 'user': 'fred' }\n * ];\n *\n * // The `_.property` iteratee shorthand.\n * _.map(users, 'user');\n * // => ['barney', 'fred']\n */\n function map(collection, iteratee) {\n var func = isArray(collection) ? arrayMap : baseMap;\n return func(collection, getIteratee(iteratee, 3));\n }\n\n /**\n * This method is like `_.sortBy` except that it allows specifying the sort\n * orders of the iteratees to sort by. If `orders` is unspecified, all values\n * are sorted in ascending order. Otherwise, specify an order of \"desc\" for\n * descending or \"asc\" for ascending sort order of corresponding values.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Array[]|Function[]|Object[]|string[]} [iteratees=[_.identity]]\n * The iteratees to sort by.\n * @param {string[]} [orders] The sort orders of `iteratees`.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.reduce`.\n * @returns {Array} Returns the new sorted array.\n * @example\n *\n * var users = [\n * { 'user': 'fred', 'age': 48 },\n * { 'user': 'barney', 'age': 34 },\n * { 'user': 'fred', 'age': 40 },\n * { 'user': 'barney', 'age': 36 }\n * ];\n *\n * // Sort by `user` in ascending order and by `age` in descending order.\n * _.orderBy(users, ['user', 'age'], ['asc', 'desc']);\n * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 40]]\n */\n function orderBy(collection, iteratees, orders, guard) {\n if (collection == null) {\n return [];\n }\n if (!isArray(iteratees)) {\n iteratees = iteratees == null ? [] : [iteratees];\n }\n orders = guard ? undefined : orders;\n if (!isArray(orders)) {\n orders = orders == null ? [] : [orders];\n }\n return baseOrderBy(collection, iteratees, orders);\n }\n\n /**\n * Creates an array of elements split into two groups, the first of which\n * contains elements `predicate` returns truthy for, the second of which\n * contains elements `predicate` returns falsey for. The predicate is\n * invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the array of grouped elements.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': false },\n * { 'user': 'fred', 'age': 40, 'active': true },\n * { 'user': 'pebbles', 'age': 1, 'active': false }\n * ];\n *\n * _.partition(users, function(o) { return o.active; });\n * // => objects for [['fred'], ['barney', 'pebbles']]\n *\n * // The `_.matches` iteratee shorthand.\n * _.partition(users, { 'age': 1, 'active': false });\n * // => objects for [['pebbles'], ['barney', 'fred']]\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.partition(users, ['active', false]);\n * // => objects for [['barney', 'pebbles'], ['fred']]\n *\n * // The `_.property` iteratee shorthand.\n * _.partition(users, 'active');\n * // => objects for [['fred'], ['barney', 'pebbles']]\n */\n var partition = createAggregator(function(result, value, key) {\n result[key ? 0 : 1].push(value);\n }, function() { return [[], []]; });\n\n /**\n * Reduces `collection` to a value which is the accumulated result of running\n * each element in `collection` thru `iteratee`, where each successive\n * invocation is supplied the return value of the previous. If `accumulator`\n * is not given, the first element of `collection` is used as the initial\n * value. The iteratee is invoked with four arguments:\n * (accumulator, value, index|key, collection).\n *\n * Many lodash methods are guarded to work as iteratees for methods like\n * `_.reduce`, `_.reduceRight`, and `_.transform`.\n *\n * The guarded methods are:\n * `assign`, `defaults`, `defaultsDeep`, `includes`, `merge`, `orderBy`,\n * and `sortBy`\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @param {*} [accumulator] The initial value.\n * @returns {*} Returns the accumulated value.\n * @see _.reduceRight\n * @example\n *\n * _.reduce([1, 2], function(sum, n) {\n * return sum + n;\n * }, 0);\n * // => 3\n *\n * _.reduce({ 'a': 1, 'b': 2, 'c': 1 }, function(result, value, key) {\n * (result[value] || (result[value] = [])).push(key);\n * return result;\n * }, {});\n * // => { '1': ['a', 'c'], '2': ['b'] } (iteration order is not guaranteed)\n */\n function reduce(collection, iteratee, accumulator) {\n var func = isArray(collection) ? arrayReduce : baseReduce,\n initAccum = arguments.length < 3;\n\n return func(collection, getIteratee(iteratee, 4), accumulator, initAccum, baseEach);\n }\n\n /**\n * This method is like `_.reduce` except that it iterates over elements of\n * `collection` from right to left.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @param {*} [accumulator] The initial value.\n * @returns {*} Returns the accumulated value.\n * @see _.reduce\n * @example\n *\n * var array = [[0, 1], [2, 3], [4, 5]];\n *\n * _.reduceRight(array, function(flattened, other) {\n * return flattened.concat(other);\n * }, []);\n * // => [4, 5, 2, 3, 0, 1]\n */\n function reduceRight(collection, iteratee, accumulator) {\n var func = isArray(collection) ? arrayReduceRight : baseReduce,\n initAccum = arguments.length < 3;\n\n return func(collection, getIteratee(iteratee, 4), accumulator, initAccum, baseEachRight);\n }\n\n /**\n * The opposite of `_.filter`; this method returns the elements of `collection`\n * that `predicate` does **not** return truthy for.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n * @see _.filter\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': false },\n * { 'user': 'fred', 'age': 40, 'active': true }\n * ];\n *\n * _.reject(users, function(o) { return !o.active; });\n * // => objects for ['fred']\n *\n * // The `_.matches` iteratee shorthand.\n * _.reject(users, { 'age': 40, 'active': true });\n * // => objects for ['barney']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.reject(users, ['active', false]);\n * // => objects for ['fred']\n *\n * // The `_.property` iteratee shorthand.\n * _.reject(users, 'active');\n * // => objects for ['barney']\n */\n function reject(collection, predicate) {\n var func = isArray(collection) ? arrayFilter : baseFilter;\n return func(collection, negate(getIteratee(predicate, 3)));\n }\n\n /**\n * Gets a random element from `collection`.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to sample.\n * @returns {*} Returns the random element.\n * @example\n *\n * _.sample([1, 2, 3, 4]);\n * // => 2\n */\n function sample(collection) {\n var func = isArray(collection) ? arraySample : baseSample;\n return func(collection);\n }\n\n /**\n * Gets `n` random elements at unique keys from `collection` up to the\n * size of `collection`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to sample.\n * @param {number} [n=1] The number of elements to sample.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Array} Returns the random elements.\n * @example\n *\n * _.sampleSize([1, 2, 3], 2);\n * // => [3, 1]\n *\n * _.sampleSize([1, 2, 3], 4);\n * // => [2, 3, 1]\n */\n function sampleSize(collection, n, guard) {\n if ((guard ? isIterateeCall(collection, n, guard) : n === undefined)) {\n n = 1;\n } else {\n n = toInteger(n);\n }\n var func = isArray(collection) ? arraySampleSize : baseSampleSize;\n return func(collection, n);\n }\n\n /**\n * Creates an array of shuffled values, using a version of the\n * [Fisher-Yates shuffle](https://en.wikipedia.org/wiki/Fisher-Yates_shuffle).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to shuffle.\n * @returns {Array} Returns the new shuffled array.\n * @example\n *\n * _.shuffle([1, 2, 3, 4]);\n * // => [4, 1, 3, 2]\n */\n function shuffle(collection) {\n var func = isArray(collection) ? arrayShuffle : baseShuffle;\n return func(collection);\n }\n\n /**\n * Gets the size of `collection` by returning its length for array-like\n * values or the number of own enumerable string keyed properties for objects.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object|string} collection The collection to inspect.\n * @returns {number} Returns the collection size.\n * @example\n *\n * _.size([1, 2, 3]);\n * // => 3\n *\n * _.size({ 'a': 1, 'b': 2 });\n * // => 2\n *\n * _.size('pebbles');\n * // => 7\n */\n function size(collection) {\n if (collection == null) {\n return 0;\n }\n if (isArrayLike(collection)) {\n return isString(collection) ? stringSize(collection) : collection.length;\n }\n var tag = getTag(collection);\n if (tag == mapTag || tag == setTag) {\n return collection.size;\n }\n return baseKeys(collection).length;\n }\n\n /**\n * Checks if `predicate` returns truthy for **any** element of `collection`.\n * Iteration is stopped once `predicate` returns truthy. The predicate is\n * invoked with three arguments: (value, index|key, collection).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {boolean} Returns `true` if any element passes the predicate check,\n * else `false`.\n * @example\n *\n * _.some([null, 0, 'yes', false], Boolean);\n * // => true\n *\n * var users = [\n * { 'user': 'barney', 'active': true },\n * { 'user': 'fred', 'active': false }\n * ];\n *\n * // The `_.matches` iteratee shorthand.\n * _.some(users, { 'user': 'barney', 'active': false });\n * // => false\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.some(users, ['active', false]);\n * // => true\n *\n * // The `_.property` iteratee shorthand.\n * _.some(users, 'active');\n * // => true\n */\n function some(collection, predicate, guard) {\n var func = isArray(collection) ? arraySome : baseSome;\n if (guard && isIterateeCall(collection, predicate, guard)) {\n predicate = undefined;\n }\n return func(collection, getIteratee(predicate, 3));\n }\n\n /**\n * Creates an array of elements, sorted in ascending order by the results of\n * running each element in a collection thru each iteratee. This method\n * performs a stable sort, that is, it preserves the original sort order of\n * equal elements. The iteratees are invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {...(Function|Function[])} [iteratees=[_.identity]]\n * The iteratees to sort by.\n * @returns {Array} Returns the new sorted array.\n * @example\n *\n * var users = [\n * { 'user': 'fred', 'age': 48 },\n * { 'user': 'barney', 'age': 36 },\n * { 'user': 'fred', 'age': 30 },\n * { 'user': 'barney', 'age': 34 }\n * ];\n *\n * _.sortBy(users, [function(o) { return o.user; }]);\n * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 30]]\n *\n * _.sortBy(users, ['user', 'age']);\n * // => objects for [['barney', 34], ['barney', 36], ['fred', 30], ['fred', 48]]\n */\n var sortBy = baseRest(function(collection, iteratees) {\n if (collection == null) {\n return [];\n }\n var length = iteratees.length;\n if (length > 1 && isIterateeCall(collection, iteratees[0], iteratees[1])) {\n iteratees = [];\n } else if (length > 2 && isIterateeCall(iteratees[0], iteratees[1], iteratees[2])) {\n iteratees = [iteratees[0]];\n }\n return baseOrderBy(collection, baseFlatten(iteratees, 1), []);\n });\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\n var now = ctxNow || function() {\n return root.Date.now();\n };\n\n /*------------------------------------------------------------------------*/\n\n /**\n * The opposite of `_.before`; this method creates a function that invokes\n * `func` once it's called `n` or more times.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {number} n The number of calls before `func` is invoked.\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new restricted function.\n * @example\n *\n * var saves = ['profile', 'settings'];\n *\n * var done = _.after(saves.length, function() {\n * console.log('done saving!');\n * });\n *\n * _.forEach(saves, function(type) {\n * asyncSave({ 'type': type, 'complete': done });\n * });\n * // => Logs 'done saving!' after the two async saves have completed.\n */\n function after(n, func) {\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n n = toInteger(n);\n return function() {\n if (--n < 1) {\n return func.apply(this, arguments);\n }\n };\n }\n\n /**\n * Creates a function that invokes `func`, with up to `n` arguments,\n * ignoring any additional arguments.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Function\n * @param {Function} func The function to cap arguments for.\n * @param {number} [n=func.length] The arity cap.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Function} Returns the new capped function.\n * @example\n *\n * _.map(['6', '8', '10'], _.ary(parseInt, 1));\n * // => [6, 8, 10]\n */\n function ary(func, n, guard) {\n n = guard ? undefined : n;\n n = (func && n == null) ? func.length : n;\n return createWrap(func, WRAP_ARY_FLAG, undefined, undefined, undefined, undefined, n);\n }\n\n /**\n * Creates a function that invokes `func`, with the `this` binding and arguments\n * of the created function, while it's called less than `n` times. Subsequent\n * calls to the created function return the result of the last `func` invocation.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Function\n * @param {number} n The number of calls at which `func` is no longer invoked.\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new restricted function.\n * @example\n *\n * jQuery(element).on('click', _.before(5, addContactToList));\n * // => Allows adding up to 4 contacts to the list.\n */\n function before(n, func) {\n var result;\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n n = toInteger(n);\n return function() {\n if (--n > 0) {\n result = func.apply(this, arguments);\n }\n if (n <= 1) {\n func = undefined;\n }\n return result;\n };\n }\n\n /**\n * Creates a function that invokes `func` with the `this` binding of `thisArg`\n * and `partials` prepended to the arguments it receives.\n *\n * The `_.bind.placeholder` value, which defaults to `_` in monolithic builds,\n * may be used as a placeholder for partially applied arguments.\n *\n * **Note:** Unlike native `Function#bind`, this method doesn't set the \"length\"\n * property of bound functions.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to bind.\n * @param {*} thisArg The `this` binding of `func`.\n * @param {...*} [partials] The arguments to be partially applied.\n * @returns {Function} Returns the new bound function.\n * @example\n *\n * function greet(greeting, punctuation) {\n * return greeting + ' ' + this.user + punctuation;\n * }\n *\n * var object = { 'user': 'fred' };\n *\n * var bound = _.bind(greet, object, 'hi');\n * bound('!');\n * // => 'hi fred!'\n *\n * // Bound with placeholders.\n * var bound = _.bind(greet, object, _, '!');\n * bound('hi');\n * // => 'hi fred!'\n */\n var bind = baseRest(function(func, thisArg, partials) {\n var bitmask = WRAP_BIND_FLAG;\n if (partials.length) {\n var holders = replaceHolders(partials, getHolder(bind));\n bitmask |= WRAP_PARTIAL_FLAG;\n }\n return createWrap(func, bitmask, thisArg, partials, holders);\n });\n\n /**\n * Creates a function that invokes the method at `object[key]` with `partials`\n * prepended to the arguments it receives.\n *\n * This method differs from `_.bind` by allowing bound functions to reference\n * methods that may be redefined or don't yet exist. See\n * [Peter Michaux's article](http://peter.michaux.ca/articles/lazy-function-definition-pattern)\n * for more details.\n *\n * The `_.bindKey.placeholder` value, which defaults to `_` in monolithic\n * builds, may be used as a placeholder for partially applied arguments.\n *\n * @static\n * @memberOf _\n * @since 0.10.0\n * @category Function\n * @param {Object} object The object to invoke the method on.\n * @param {string} key The key of the method.\n * @param {...*} [partials] The arguments to be partially applied.\n * @returns {Function} Returns the new bound function.\n * @example\n *\n * var object = {\n * 'user': 'fred',\n * 'greet': function(greeting, punctuation) {\n * return greeting + ' ' + this.user + punctuation;\n * }\n * };\n *\n * var bound = _.bindKey(object, 'greet', 'hi');\n * bound('!');\n * // => 'hi fred!'\n *\n * object.greet = function(greeting, punctuation) {\n * return greeting + 'ya ' + this.user + punctuation;\n * };\n *\n * bound('!');\n * // => 'hiya fred!'\n *\n * // Bound with placeholders.\n * var bound = _.bindKey(object, 'greet', _, '!');\n * bound('hi');\n * // => 'hiya fred!'\n */\n var bindKey = baseRest(function(object, key, partials) {\n var bitmask = WRAP_BIND_FLAG | WRAP_BIND_KEY_FLAG;\n if (partials.length) {\n var holders = replaceHolders(partials, getHolder(bindKey));\n bitmask |= WRAP_PARTIAL_FLAG;\n }\n return createWrap(key, bitmask, object, partials, holders);\n });\n\n /**\n * Creates a function that accepts arguments of `func` and either invokes\n * `func` returning its result, if at least `arity` number of arguments have\n * been provided, or returns a function that accepts the remaining `func`\n * arguments, and so on. The arity of `func` may be specified if `func.length`\n * is not sufficient.\n *\n * The `_.curry.placeholder` value, which defaults to `_` in monolithic builds,\n * may be used as a placeholder for provided arguments.\n *\n * **Note:** This method doesn't set the \"length\" property of curried functions.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Function\n * @param {Function} func The function to curry.\n * @param {number} [arity=func.length] The arity of `func`.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Function} Returns the new curried function.\n * @example\n *\n * var abc = function(a, b, c) {\n * return [a, b, c];\n * };\n *\n * var curried = _.curry(abc);\n *\n * curried(1)(2)(3);\n * // => [1, 2, 3]\n *\n * curried(1, 2)(3);\n * // => [1, 2, 3]\n *\n * curried(1, 2, 3);\n * // => [1, 2, 3]\n *\n * // Curried with placeholders.\n * curried(1)(_, 3)(2);\n * // => [1, 2, 3]\n */\n function curry(func, arity, guard) {\n arity = guard ? undefined : arity;\n var result = createWrap(func, WRAP_CURRY_FLAG, undefined, undefined, undefined, undefined, undefined, arity);\n result.placeholder = curry.placeholder;\n return result;\n }\n\n /**\n * This method is like `_.curry` except that arguments are applied to `func`\n * in the manner of `_.partialRight` instead of `_.partial`.\n *\n * The `_.curryRight.placeholder` value, which defaults to `_` in monolithic\n * builds, may be used as a placeholder for provided arguments.\n *\n * **Note:** This method doesn't set the \"length\" property of curried functions.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Function\n * @param {Function} func The function to curry.\n * @param {number} [arity=func.length] The arity of `func`.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Function} Returns the new curried function.\n * @example\n *\n * var abc = function(a, b, c) {\n * return [a, b, c];\n * };\n *\n * var curried = _.curryRight(abc);\n *\n * curried(3)(2)(1);\n * // => [1, 2, 3]\n *\n * curried(2, 3)(1);\n * // => [1, 2, 3]\n *\n * curried(1, 2, 3);\n * // => [1, 2, 3]\n *\n * // Curried with placeholders.\n * curried(3)(1, _)(2);\n * // => [1, 2, 3]\n */\n function curryRight(func, arity, guard) {\n arity = guard ? undefined : arity;\n var result = createWrap(func, WRAP_CURRY_RIGHT_FLAG, undefined, undefined, undefined, undefined, undefined, arity);\n result.placeholder = curryRight.placeholder;\n return result;\n }\n\n /**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\n function debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n wait = toNumber(wait) || 0;\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n timeWaiting = wait - timeSinceLastCall;\n\n return maxing\n ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)\n : timeWaiting;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime;\n\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n clearTimeout(timerId);\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n }\n\n /**\n * Defers invoking the `func` until the current call stack has cleared. Any\n * additional arguments are provided to `func` when it's invoked.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to defer.\n * @param {...*} [args] The arguments to invoke `func` with.\n * @returns {number} Returns the timer id.\n * @example\n *\n * _.defer(function(text) {\n * console.log(text);\n * }, 'deferred');\n * // => Logs 'deferred' after one millisecond.\n */\n var defer = baseRest(function(func, args) {\n return baseDelay(func, 1, args);\n });\n\n /**\n * Invokes `func` after `wait` milliseconds. Any additional arguments are\n * provided to `func` when it's invoked.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to delay.\n * @param {number} wait The number of milliseconds to delay invocation.\n * @param {...*} [args] The arguments to invoke `func` with.\n * @returns {number} Returns the timer id.\n * @example\n *\n * _.delay(function(text) {\n * console.log(text);\n * }, 1000, 'later');\n * // => Logs 'later' after one second.\n */\n var delay = baseRest(function(func, wait, args) {\n return baseDelay(func, toNumber(wait) || 0, args);\n });\n\n /**\n * Creates a function that invokes `func` with arguments reversed.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Function\n * @param {Function} func The function to flip arguments for.\n * @returns {Function} Returns the new flipped function.\n * @example\n *\n * var flipped = _.flip(function() {\n * return _.toArray(arguments);\n * });\n *\n * flipped('a', 'b', 'c', 'd');\n * // => ['d', 'c', 'b', 'a']\n */\n function flip(func) {\n return createWrap(func, WRAP_FLIP_FLAG);\n }\n\n /**\n * Creates a function that memoizes the result of `func`. If `resolver` is\n * provided, it determines the cache key for storing the result based on the\n * arguments provided to the memoized function. By default, the first argument\n * provided to the memoized function is used as the map cache key. The `func`\n * is invoked with the `this` binding of the memoized function.\n *\n * **Note:** The cache is exposed as the `cache` property on the memoized\n * function. Its creation may be customized by replacing the `_.memoize.Cache`\n * constructor with one whose instances implement the\n * [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)\n * method interface of `clear`, `delete`, `get`, `has`, and `set`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to have its output memoized.\n * @param {Function} [resolver] The function to resolve the cache key.\n * @returns {Function} Returns the new memoized function.\n * @example\n *\n * var object = { 'a': 1, 'b': 2 };\n * var other = { 'c': 3, 'd': 4 };\n *\n * var values = _.memoize(_.values);\n * values(object);\n * // => [1, 2]\n *\n * values(other);\n * // => [3, 4]\n *\n * object.a = 2;\n * values(object);\n * // => [1, 2]\n *\n * // Modify the result cache.\n * values.cache.set(object, ['a', 'b']);\n * values(object);\n * // => ['a', 'b']\n *\n * // Replace `_.memoize.Cache`.\n * _.memoize.Cache = WeakMap;\n */\n function memoize(func, resolver) {\n if (typeof func != 'function' || (resolver != null && typeof resolver != 'function')) {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n var memoized = function() {\n var args = arguments,\n key = resolver ? resolver.apply(this, args) : args[0],\n cache = memoized.cache;\n\n if (cache.has(key)) {\n return cache.get(key);\n }\n var result = func.apply(this, args);\n memoized.cache = cache.set(key, result) || cache;\n return result;\n };\n memoized.cache = new (memoize.Cache || MapCache);\n return memoized;\n }\n\n // Expose `MapCache`.\n memoize.Cache = MapCache;\n\n /**\n * Creates a function that negates the result of the predicate `func`. The\n * `func` predicate is invoked with the `this` binding and arguments of the\n * created function.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Function\n * @param {Function} predicate The predicate to negate.\n * @returns {Function} Returns the new negated function.\n * @example\n *\n * function isEven(n) {\n * return n % 2 == 0;\n * }\n *\n * _.filter([1, 2, 3, 4, 5, 6], _.negate(isEven));\n * // => [1, 3, 5]\n */\n function negate(predicate) {\n if (typeof predicate != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n return function() {\n var args = arguments;\n switch (args.length) {\n case 0: return !predicate.call(this);\n case 1: return !predicate.call(this, args[0]);\n case 2: return !predicate.call(this, args[0], args[1]);\n case 3: return !predicate.call(this, args[0], args[1], args[2]);\n }\n return !predicate.apply(this, args);\n };\n }\n\n /**\n * Creates a function that is restricted to invoking `func` once. Repeat calls\n * to the function return the value of the first invocation. The `func` is\n * invoked with the `this` binding and arguments of the created function.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new restricted function.\n * @example\n *\n * var initialize = _.once(createApplication);\n * initialize();\n * initialize();\n * // => `createApplication` is invoked once\n */\n function once(func) {\n return before(2, func);\n }\n\n /**\n * Creates a function that invokes `func` with its arguments transformed.\n *\n * @static\n * @since 4.0.0\n * @memberOf _\n * @category Function\n * @param {Function} func The function to wrap.\n * @param {...(Function|Function[])} [transforms=[_.identity]]\n * The argument transforms.\n * @returns {Function} Returns the new function.\n * @example\n *\n * function doubled(n) {\n * return n * 2;\n * }\n *\n * function square(n) {\n * return n * n;\n * }\n *\n * var func = _.overArgs(function(x, y) {\n * return [x, y];\n * }, [square, doubled]);\n *\n * func(9, 3);\n * // => [81, 6]\n *\n * func(10, 5);\n * // => [100, 10]\n */\n var overArgs = castRest(function(func, transforms) {\n transforms = (transforms.length == 1 && isArray(transforms[0]))\n ? arrayMap(transforms[0], baseUnary(getIteratee()))\n : arrayMap(baseFlatten(transforms, 1), baseUnary(getIteratee()));\n\n var funcsLength = transforms.length;\n return baseRest(function(args) {\n var index = -1,\n length = nativeMin(args.length, funcsLength);\n\n while (++index < length) {\n args[index] = transforms[index].call(this, args[index]);\n }\n return apply(func, this, args);\n });\n });\n\n /**\n * Creates a function that invokes `func` with `partials` prepended to the\n * arguments it receives. This method is like `_.bind` except it does **not**\n * alter the `this` binding.\n *\n * The `_.partial.placeholder` value, which defaults to `_` in monolithic\n * builds, may be used as a placeholder for partially applied arguments.\n *\n * **Note:** This method doesn't set the \"length\" property of partially\n * applied functions.\n *\n * @static\n * @memberOf _\n * @since 0.2.0\n * @category Function\n * @param {Function} func The function to partially apply arguments to.\n * @param {...*} [partials] The arguments to be partially applied.\n * @returns {Function} Returns the new partially applied function.\n * @example\n *\n * function greet(greeting, name) {\n * return greeting + ' ' + name;\n * }\n *\n * var sayHelloTo = _.partial(greet, 'hello');\n * sayHelloTo('fred');\n * // => 'hello fred'\n *\n * // Partially applied with placeholders.\n * var greetFred = _.partial(greet, _, 'fred');\n * greetFred('hi');\n * // => 'hi fred'\n */\n var partial = baseRest(function(func, partials) {\n var holders = replaceHolders(partials, getHolder(partial));\n return createWrap(func, WRAP_PARTIAL_FLAG, undefined, partials, holders);\n });\n\n /**\n * This method is like `_.partial` except that partially applied arguments\n * are appended to the arguments it receives.\n *\n * The `_.partialRight.placeholder` value, which defaults to `_` in monolithic\n * builds, may be used as a placeholder for partially applied arguments.\n *\n * **Note:** This method doesn't set the \"length\" property of partially\n * applied functions.\n *\n * @static\n * @memberOf _\n * @since 1.0.0\n * @category Function\n * @param {Function} func The function to partially apply arguments to.\n * @param {...*} [partials] The arguments to be partially applied.\n * @returns {Function} Returns the new partially applied function.\n * @example\n *\n * function greet(greeting, name) {\n * return greeting + ' ' + name;\n * }\n *\n * var greetFred = _.partialRight(greet, 'fred');\n * greetFred('hi');\n * // => 'hi fred'\n *\n * // Partially applied with placeholders.\n * var sayHelloTo = _.partialRight(greet, 'hello', _);\n * sayHelloTo('fred');\n * // => 'hello fred'\n */\n var partialRight = baseRest(function(func, partials) {\n var holders = replaceHolders(partials, getHolder(partialRight));\n return createWrap(func, WRAP_PARTIAL_RIGHT_FLAG, undefined, partials, holders);\n });\n\n /**\n * Creates a function that invokes `func` with arguments arranged according\n * to the specified `indexes` where the argument value at the first index is\n * provided as the first argument, the argument value at the second index is\n * provided as the second argument, and so on.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Function\n * @param {Function} func The function to rearrange arguments for.\n * @param {...(number|number[])} indexes The arranged argument indexes.\n * @returns {Function} Returns the new function.\n * @example\n *\n * var rearged = _.rearg(function(a, b, c) {\n * return [a, b, c];\n * }, [2, 0, 1]);\n *\n * rearged('b', 'c', 'a')\n * // => ['a', 'b', 'c']\n */\n var rearg = flatRest(function(func, indexes) {\n return createWrap(func, WRAP_REARG_FLAG, undefined, undefined, undefined, indexes);\n });\n\n /**\n * Creates a function that invokes `func` with the `this` binding of the\n * created function and arguments from `start` and beyond provided as\n * an array.\n *\n * **Note:** This method is based on the\n * [rest parameter](https://mdn.io/rest_parameters).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Function\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @returns {Function} Returns the new function.\n * @example\n *\n * var say = _.rest(function(what, names) {\n * return what + ' ' + _.initial(names).join(', ') +\n * (_.size(names) > 1 ? ', & ' : '') + _.last(names);\n * });\n *\n * say('hello', 'fred', 'barney', 'pebbles');\n * // => 'hello fred, barney, & pebbles'\n */\n function rest(func, start) {\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n start = start === undefined ? start : toInteger(start);\n return baseRest(func, start);\n }\n\n /**\n * Creates a function that invokes `func` with the `this` binding of the\n * create function and an array of arguments much like\n * [`Function#apply`](http://www.ecma-international.org/ecma-262/7.0/#sec-function.prototype.apply).\n *\n * **Note:** This method is based on the\n * [spread operator](https://mdn.io/spread_operator).\n *\n * @static\n * @memberOf _\n * @since 3.2.0\n * @category Function\n * @param {Function} func The function to spread arguments over.\n * @param {number} [start=0] The start position of the spread.\n * @returns {Function} Returns the new function.\n * @example\n *\n * var say = _.spread(function(who, what) {\n * return who + ' says ' + what;\n * });\n *\n * say(['fred', 'hello']);\n * // => 'fred says hello'\n *\n * var numbers = Promise.all([\n * Promise.resolve(40),\n * Promise.resolve(36)\n * ]);\n *\n * numbers.then(_.spread(function(x, y) {\n * return x + y;\n * }));\n * // => a Promise of 76\n */\n function spread(func, start) {\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n start = start == null ? 0 : nativeMax(toInteger(start), 0);\n return baseRest(function(args) {\n var array = args[start],\n otherArgs = castSlice(args, 0, start);\n\n if (array) {\n arrayPush(otherArgs, array);\n }\n return apply(func, this, otherArgs);\n });\n }\n\n /**\n * Creates a throttled function that only invokes `func` at most once per\n * every `wait` milliseconds. The throttled function comes with a `cancel`\n * method to cancel delayed `func` invocations and a `flush` method to\n * immediately invoke them. Provide `options` to indicate whether `func`\n * should be invoked on the leading and/or trailing edge of the `wait`\n * timeout. The `func` is invoked with the last arguments provided to the\n * throttled function. Subsequent calls to the throttled function return the\n * result of the last `func` invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the throttled function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.throttle` and `_.debounce`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to throttle.\n * @param {number} [wait=0] The number of milliseconds to throttle invocations to.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=true]\n * Specify invoking on the leading edge of the timeout.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new throttled function.\n * @example\n *\n * // Avoid excessively updating the position while scrolling.\n * jQuery(window).on('scroll', _.throttle(updatePosition, 100));\n *\n * // Invoke `renewToken` when the click event is fired, but not more than once every 5 minutes.\n * var throttled = _.throttle(renewToken, 300000, { 'trailing': false });\n * jQuery(element).on('click', throttled);\n *\n * // Cancel the trailing throttled invocation.\n * jQuery(window).on('popstate', throttled.cancel);\n */\n function throttle(func, wait, options) {\n var leading = true,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n if (isObject(options)) {\n leading = 'leading' in options ? !!options.leading : leading;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n return debounce(func, wait, {\n 'leading': leading,\n 'maxWait': wait,\n 'trailing': trailing\n });\n }\n\n /**\n * Creates a function that accepts up to one argument, ignoring any\n * additional arguments.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Function\n * @param {Function} func The function to cap arguments for.\n * @returns {Function} Returns the new capped function.\n * @example\n *\n * _.map(['6', '8', '10'], _.unary(parseInt));\n * // => [6, 8, 10]\n */\n function unary(func) {\n return ary(func, 1);\n }\n\n /**\n * Creates a function that provides `value` to `wrapper` as its first\n * argument. Any additional arguments provided to the function are appended\n * to those provided to the `wrapper`. The wrapper is invoked with the `this`\n * binding of the created function.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {*} value The value to wrap.\n * @param {Function} [wrapper=identity] The wrapper function.\n * @returns {Function} Returns the new function.\n * @example\n *\n * var p = _.wrap(_.escape, function(func, text) {\n * return '' + func(text) + '
';\n * });\n *\n * p('fred, barney, & pebbles');\n * // => 'fred, barney, & pebbles
'\n */\n function wrap(value, wrapper) {\n return partial(castFunction(wrapper), value);\n }\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Casts `value` as an array if it's not one.\n *\n * @static\n * @memberOf _\n * @since 4.4.0\n * @category Lang\n * @param {*} value The value to inspect.\n * @returns {Array} Returns the cast array.\n * @example\n *\n * _.castArray(1);\n * // => [1]\n *\n * _.castArray({ 'a': 1 });\n * // => [{ 'a': 1 }]\n *\n * _.castArray('abc');\n * // => ['abc']\n *\n * _.castArray(null);\n * // => [null]\n *\n * _.castArray(undefined);\n * // => [undefined]\n *\n * _.castArray();\n * // => []\n *\n * var array = [1, 2, 3];\n * console.log(_.castArray(array) === array);\n * // => true\n */\n function castArray() {\n if (!arguments.length) {\n return [];\n }\n var value = arguments[0];\n return isArray(value) ? value : [value];\n }\n\n /**\n * Creates a shallow clone of `value`.\n *\n * **Note:** This method is loosely based on the\n * [structured clone algorithm](https://mdn.io/Structured_clone_algorithm)\n * and supports cloning arrays, array buffers, booleans, date objects, maps,\n * numbers, `Object` objects, regexes, sets, strings, symbols, and typed\n * arrays. The own enumerable properties of `arguments` objects are cloned\n * as plain objects. An empty object is returned for uncloneable values such\n * as error objects, functions, DOM nodes, and WeakMaps.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to clone.\n * @returns {*} Returns the cloned value.\n * @see _.cloneDeep\n * @example\n *\n * var objects = [{ 'a': 1 }, { 'b': 2 }];\n *\n * var shallow = _.clone(objects);\n * console.log(shallow[0] === objects[0]);\n * // => true\n */\n function clone(value) {\n return baseClone(value, CLONE_SYMBOLS_FLAG);\n }\n\n /**\n * This method is like `_.clone` except that it accepts `customizer` which\n * is invoked to produce the cloned value. If `customizer` returns `undefined`,\n * cloning is handled by the method instead. The `customizer` is invoked with\n * up to four arguments; (value [, index|key, object, stack]).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to clone.\n * @param {Function} [customizer] The function to customize cloning.\n * @returns {*} Returns the cloned value.\n * @see _.cloneDeepWith\n * @example\n *\n * function customizer(value) {\n * if (_.isElement(value)) {\n * return value.cloneNode(false);\n * }\n * }\n *\n * var el = _.cloneWith(document.body, customizer);\n *\n * console.log(el === document.body);\n * // => false\n * console.log(el.nodeName);\n * // => 'BODY'\n * console.log(el.childNodes.length);\n * // => 0\n */\n function cloneWith(value, customizer) {\n customizer = typeof customizer == 'function' ? customizer : undefined;\n return baseClone(value, CLONE_SYMBOLS_FLAG, customizer);\n }\n\n /**\n * This method is like `_.clone` except that it recursively clones `value`.\n *\n * @static\n * @memberOf _\n * @since 1.0.0\n * @category Lang\n * @param {*} value The value to recursively clone.\n * @returns {*} Returns the deep cloned value.\n * @see _.clone\n * @example\n *\n * var objects = [{ 'a': 1 }, { 'b': 2 }];\n *\n * var deep = _.cloneDeep(objects);\n * console.log(deep[0] === objects[0]);\n * // => false\n */\n function cloneDeep(value) {\n return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG);\n }\n\n /**\n * This method is like `_.cloneWith` except that it recursively clones `value`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to recursively clone.\n * @param {Function} [customizer] The function to customize cloning.\n * @returns {*} Returns the deep cloned value.\n * @see _.cloneWith\n * @example\n *\n * function customizer(value) {\n * if (_.isElement(value)) {\n * return value.cloneNode(true);\n * }\n * }\n *\n * var el = _.cloneDeepWith(document.body, customizer);\n *\n * console.log(el === document.body);\n * // => false\n * console.log(el.nodeName);\n * // => 'BODY'\n * console.log(el.childNodes.length);\n * // => 20\n */\n function cloneDeepWith(value, customizer) {\n customizer = typeof customizer == 'function' ? customizer : undefined;\n return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG, customizer);\n }\n\n /**\n * Checks if `object` conforms to `source` by invoking the predicate\n * properties of `source` with the corresponding property values of `object`.\n *\n * **Note:** This method is equivalent to `_.conforms` when `source` is\n * partially applied.\n *\n * @static\n * @memberOf _\n * @since 4.14.0\n * @category Lang\n * @param {Object} object The object to inspect.\n * @param {Object} source The object of property predicates to conform to.\n * @returns {boolean} Returns `true` if `object` conforms, else `false`.\n * @example\n *\n * var object = { 'a': 1, 'b': 2 };\n *\n * _.conformsTo(object, { 'b': function(n) { return n > 1; } });\n * // => true\n *\n * _.conformsTo(object, { 'b': function(n) { return n > 2; } });\n * // => false\n */\n function conformsTo(object, source) {\n return source == null || baseConformsTo(object, source, keys(source));\n }\n\n /**\n * Performs a\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * comparison between two values to determine if they are equivalent.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.eq(object, object);\n * // => true\n *\n * _.eq(object, other);\n * // => false\n *\n * _.eq('a', 'a');\n * // => true\n *\n * _.eq('a', Object('a'));\n * // => false\n *\n * _.eq(NaN, NaN);\n * // => true\n */\n function eq(value, other) {\n return value === other || (value !== value && other !== other);\n }\n\n /**\n * Checks if `value` is greater than `other`.\n *\n * @static\n * @memberOf _\n * @since 3.9.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is greater than `other`,\n * else `false`.\n * @see _.lt\n * @example\n *\n * _.gt(3, 1);\n * // => true\n *\n * _.gt(3, 3);\n * // => false\n *\n * _.gt(1, 3);\n * // => false\n */\n var gt = createRelationalOperation(baseGt);\n\n /**\n * Checks if `value` is greater than or equal to `other`.\n *\n * @static\n * @memberOf _\n * @since 3.9.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is greater than or equal to\n * `other`, else `false`.\n * @see _.lte\n * @example\n *\n * _.gte(3, 1);\n * // => true\n *\n * _.gte(3, 3);\n * // => true\n *\n * _.gte(1, 3);\n * // => false\n */\n var gte = createRelationalOperation(function(value, other) {\n return value >= other;\n });\n\n /**\n * Checks if `value` is likely an `arguments` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n * else `false`.\n * @example\n *\n * _.isArguments(function() { return arguments; }());\n * // => true\n *\n * _.isArguments([1, 2, 3]);\n * // => false\n */\n var isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {\n return isObjectLike(value) && hasOwnProperty.call(value, 'callee') &&\n !propertyIsEnumerable.call(value, 'callee');\n };\n\n /**\n * Checks if `value` is classified as an `Array` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array, else `false`.\n * @example\n *\n * _.isArray([1, 2, 3]);\n * // => true\n *\n * _.isArray(document.body.children);\n * // => false\n *\n * _.isArray('abc');\n * // => false\n *\n * _.isArray(_.noop);\n * // => false\n */\n var isArray = Array.isArray;\n\n /**\n * Checks if `value` is classified as an `ArrayBuffer` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array buffer, else `false`.\n * @example\n *\n * _.isArrayBuffer(new ArrayBuffer(2));\n * // => true\n *\n * _.isArrayBuffer(new Array(2));\n * // => false\n */\n var isArrayBuffer = nodeIsArrayBuffer ? baseUnary(nodeIsArrayBuffer) : baseIsArrayBuffer;\n\n /**\n * Checks if `value` is array-like. A value is considered array-like if it's\n * not a function and has a `value.length` that's an integer greater than or\n * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is array-like, else `false`.\n * @example\n *\n * _.isArrayLike([1, 2, 3]);\n * // => true\n *\n * _.isArrayLike(document.body.children);\n * // => true\n *\n * _.isArrayLike('abc');\n * // => true\n *\n * _.isArrayLike(_.noop);\n * // => false\n */\n function isArrayLike(value) {\n return value != null && isLength(value.length) && !isFunction(value);\n }\n\n /**\n * This method is like `_.isArrayLike` except that it also checks if `value`\n * is an object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array-like object,\n * else `false`.\n * @example\n *\n * _.isArrayLikeObject([1, 2, 3]);\n * // => true\n *\n * _.isArrayLikeObject(document.body.children);\n * // => true\n *\n * _.isArrayLikeObject('abc');\n * // => false\n *\n * _.isArrayLikeObject(_.noop);\n * // => false\n */\n function isArrayLikeObject(value) {\n return isObjectLike(value) && isArrayLike(value);\n }\n\n /**\n * Checks if `value` is classified as a boolean primitive or object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a boolean, else `false`.\n * @example\n *\n * _.isBoolean(false);\n * // => true\n *\n * _.isBoolean(null);\n * // => false\n */\n function isBoolean(value) {\n return value === true || value === false ||\n (isObjectLike(value) && baseGetTag(value) == boolTag);\n }\n\n /**\n * Checks if `value` is a buffer.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.\n * @example\n *\n * _.isBuffer(new Buffer(2));\n * // => true\n *\n * _.isBuffer(new Uint8Array(2));\n * // => false\n */\n var isBuffer = nativeIsBuffer || stubFalse;\n\n /**\n * Checks if `value` is classified as a `Date` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a date object, else `false`.\n * @example\n *\n * _.isDate(new Date);\n * // => true\n *\n * _.isDate('Mon April 23 2012');\n * // => false\n */\n var isDate = nodeIsDate ? baseUnary(nodeIsDate) : baseIsDate;\n\n /**\n * Checks if `value` is likely a DOM element.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a DOM element, else `false`.\n * @example\n *\n * _.isElement(document.body);\n * // => true\n *\n * _.isElement('');\n * // => false\n */\n function isElement(value) {\n return isObjectLike(value) && value.nodeType === 1 && !isPlainObject(value);\n }\n\n /**\n * Checks if `value` is an empty object, collection, map, or set.\n *\n * Objects are considered empty if they have no own enumerable string keyed\n * properties.\n *\n * Array-like values such as `arguments` objects, arrays, buffers, strings, or\n * jQuery-like collections are considered empty if they have a `length` of `0`.\n * Similarly, maps and sets are considered empty if they have a `size` of `0`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is empty, else `false`.\n * @example\n *\n * _.isEmpty(null);\n * // => true\n *\n * _.isEmpty(true);\n * // => true\n *\n * _.isEmpty(1);\n * // => true\n *\n * _.isEmpty([1, 2, 3]);\n * // => false\n *\n * _.isEmpty({ 'a': 1 });\n * // => false\n */\n function isEmpty(value) {\n if (value == null) {\n return true;\n }\n if (isArrayLike(value) &&\n (isArray(value) || typeof value == 'string' || typeof value.splice == 'function' ||\n isBuffer(value) || isTypedArray(value) || isArguments(value))) {\n return !value.length;\n }\n var tag = getTag(value);\n if (tag == mapTag || tag == setTag) {\n return !value.size;\n }\n if (isPrototype(value)) {\n return !baseKeys(value).length;\n }\n for (var key in value) {\n if (hasOwnProperty.call(value, key)) {\n return false;\n }\n }\n return true;\n }\n\n /**\n * Performs a deep comparison between two values to determine if they are\n * equivalent.\n *\n * **Note:** This method supports comparing arrays, array buffers, booleans,\n * date objects, error objects, maps, numbers, `Object` objects, regexes,\n * sets, strings, symbols, and typed arrays. `Object` objects are compared\n * by their own, not inherited, enumerable properties. Functions and DOM\n * nodes are compared by strict equality, i.e. `===`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.isEqual(object, other);\n * // => true\n *\n * object === other;\n * // => false\n */\n function isEqual(value, other) {\n return baseIsEqual(value, other);\n }\n\n /**\n * This method is like `_.isEqual` except that it accepts `customizer` which\n * is invoked to compare values. If `customizer` returns `undefined`, comparisons\n * are handled by the method instead. The `customizer` is invoked with up to\n * six arguments: (objValue, othValue [, index|key, object, other, stack]).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @param {Function} [customizer] The function to customize comparisons.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * function isGreeting(value) {\n * return /^h(?:i|ello)$/.test(value);\n * }\n *\n * function customizer(objValue, othValue) {\n * if (isGreeting(objValue) && isGreeting(othValue)) {\n * return true;\n * }\n * }\n *\n * var array = ['hello', 'goodbye'];\n * var other = ['hi', 'goodbye'];\n *\n * _.isEqualWith(array, other, customizer);\n * // => true\n */\n function isEqualWith(value, other, customizer) {\n customizer = typeof customizer == 'function' ? customizer : undefined;\n var result = customizer ? customizer(value, other) : undefined;\n return result === undefined ? baseIsEqual(value, other, undefined, customizer) : !!result;\n }\n\n /**\n * Checks if `value` is an `Error`, `EvalError`, `RangeError`, `ReferenceError`,\n * `SyntaxError`, `TypeError`, or `URIError` object.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an error object, else `false`.\n * @example\n *\n * _.isError(new Error);\n * // => true\n *\n * _.isError(Error);\n * // => false\n */\n function isError(value) {\n if (!isObjectLike(value)) {\n return false;\n }\n var tag = baseGetTag(value);\n return tag == errorTag || tag == domExcTag ||\n (typeof value.message == 'string' && typeof value.name == 'string' && !isPlainObject(value));\n }\n\n /**\n * Checks if `value` is a finite primitive number.\n *\n * **Note:** This method is based on\n * [`Number.isFinite`](https://mdn.io/Number/isFinite).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a finite number, else `false`.\n * @example\n *\n * _.isFinite(3);\n * // => true\n *\n * _.isFinite(Number.MIN_VALUE);\n * // => true\n *\n * _.isFinite(Infinity);\n * // => false\n *\n * _.isFinite('3');\n * // => false\n */\n function isFinite(value) {\n return typeof value == 'number' && nativeIsFinite(value);\n }\n\n /**\n * Checks if `value` is classified as a `Function` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a function, else `false`.\n * @example\n *\n * _.isFunction(_);\n * // => true\n *\n * _.isFunction(/abc/);\n * // => false\n */\n function isFunction(value) {\n if (!isObject(value)) {\n return false;\n }\n // The use of `Object#toString` avoids issues with the `typeof` operator\n // in Safari 9 which returns 'object' for typed arrays and other constructors.\n var tag = baseGetTag(value);\n return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;\n }\n\n /**\n * Checks if `value` is an integer.\n *\n * **Note:** This method is based on\n * [`Number.isInteger`](https://mdn.io/Number/isInteger).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an integer, else `false`.\n * @example\n *\n * _.isInteger(3);\n * // => true\n *\n * _.isInteger(Number.MIN_VALUE);\n * // => false\n *\n * _.isInteger(Infinity);\n * // => false\n *\n * _.isInteger('3');\n * // => false\n */\n function isInteger(value) {\n return typeof value == 'number' && value == toInteger(value);\n }\n\n /**\n * Checks if `value` is a valid array-like length.\n *\n * **Note:** This method is loosely based on\n * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.\n * @example\n *\n * _.isLength(3);\n * // => true\n *\n * _.isLength(Number.MIN_VALUE);\n * // => false\n *\n * _.isLength(Infinity);\n * // => false\n *\n * _.isLength('3');\n * // => false\n */\n function isLength(value) {\n return typeof value == 'number' &&\n value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;\n }\n\n /**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\n function isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n }\n\n /**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\n function isObjectLike(value) {\n return value != null && typeof value == 'object';\n }\n\n /**\n * Checks if `value` is classified as a `Map` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a map, else `false`.\n * @example\n *\n * _.isMap(new Map);\n * // => true\n *\n * _.isMap(new WeakMap);\n * // => false\n */\n var isMap = nodeIsMap ? baseUnary(nodeIsMap) : baseIsMap;\n\n /**\n * Performs a partial deep comparison between `object` and `source` to\n * determine if `object` contains equivalent property values.\n *\n * **Note:** This method is equivalent to `_.matches` when `source` is\n * partially applied.\n *\n * Partial comparisons will match empty array and empty object `source`\n * values against any array or object value, respectively. See `_.isEqual`\n * for a list of supported value comparisons.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {Object} object The object to inspect.\n * @param {Object} source The object of property values to match.\n * @returns {boolean} Returns `true` if `object` is a match, else `false`.\n * @example\n *\n * var object = { 'a': 1, 'b': 2 };\n *\n * _.isMatch(object, { 'b': 2 });\n * // => true\n *\n * _.isMatch(object, { 'b': 1 });\n * // => false\n */\n function isMatch(object, source) {\n return object === source || baseIsMatch(object, source, getMatchData(source));\n }\n\n /**\n * This method is like `_.isMatch` except that it accepts `customizer` which\n * is invoked to compare values. If `customizer` returns `undefined`, comparisons\n * are handled by the method instead. The `customizer` is invoked with five\n * arguments: (objValue, srcValue, index|key, object, source).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {Object} object The object to inspect.\n * @param {Object} source The object of property values to match.\n * @param {Function} [customizer] The function to customize comparisons.\n * @returns {boolean} Returns `true` if `object` is a match, else `false`.\n * @example\n *\n * function isGreeting(value) {\n * return /^h(?:i|ello)$/.test(value);\n * }\n *\n * function customizer(objValue, srcValue) {\n * if (isGreeting(objValue) && isGreeting(srcValue)) {\n * return true;\n * }\n * }\n *\n * var object = { 'greeting': 'hello' };\n * var source = { 'greeting': 'hi' };\n *\n * _.isMatchWith(object, source, customizer);\n * // => true\n */\n function isMatchWith(object, source, customizer) {\n customizer = typeof customizer == 'function' ? customizer : undefined;\n return baseIsMatch(object, source, getMatchData(source), customizer);\n }\n\n /**\n * Checks if `value` is `NaN`.\n *\n * **Note:** This method is based on\n * [`Number.isNaN`](https://mdn.io/Number/isNaN) and is not the same as\n * global [`isNaN`](https://mdn.io/isNaN) which returns `true` for\n * `undefined` and other non-number values.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`.\n * @example\n *\n * _.isNaN(NaN);\n * // => true\n *\n * _.isNaN(new Number(NaN));\n * // => true\n *\n * isNaN(undefined);\n * // => true\n *\n * _.isNaN(undefined);\n * // => false\n */\n function isNaN(value) {\n // An `NaN` primitive is the only value that is not equal to itself.\n // Perform the `toStringTag` check first to avoid errors with some\n // ActiveX objects in IE.\n return isNumber(value) && value != +value;\n }\n\n /**\n * Checks if `value` is a pristine native function.\n *\n * **Note:** This method can't reliably detect native functions in the presence\n * of the core-js package because core-js circumvents this kind of detection.\n * Despite multiple requests, the core-js maintainer has made it clear: any\n * attempt to fix the detection will be obstructed. As a result, we're left\n * with little choice but to throw an error. Unfortunately, this also affects\n * packages, like [babel-polyfill](https://www.npmjs.com/package/babel-polyfill),\n * which rely on core-js.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a native function,\n * else `false`.\n * @example\n *\n * _.isNative(Array.prototype.push);\n * // => true\n *\n * _.isNative(_);\n * // => false\n */\n function isNative(value) {\n if (isMaskable(value)) {\n throw new Error(CORE_ERROR_TEXT);\n }\n return baseIsNative(value);\n }\n\n /**\n * Checks if `value` is `null`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `null`, else `false`.\n * @example\n *\n * _.isNull(null);\n * // => true\n *\n * _.isNull(void 0);\n * // => false\n */\n function isNull(value) {\n return value === null;\n }\n\n /**\n * Checks if `value` is `null` or `undefined`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is nullish, else `false`.\n * @example\n *\n * _.isNil(null);\n * // => true\n *\n * _.isNil(void 0);\n * // => true\n *\n * _.isNil(NaN);\n * // => false\n */\n function isNil(value) {\n return value == null;\n }\n\n /**\n * Checks if `value` is classified as a `Number` primitive or object.\n *\n * **Note:** To exclude `Infinity`, `-Infinity`, and `NaN`, which are\n * classified as numbers, use the `_.isFinite` method.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a number, else `false`.\n * @example\n *\n * _.isNumber(3);\n * // => true\n *\n * _.isNumber(Number.MIN_VALUE);\n * // => true\n *\n * _.isNumber(Infinity);\n * // => true\n *\n * _.isNumber('3');\n * // => false\n */\n function isNumber(value) {\n return typeof value == 'number' ||\n (isObjectLike(value) && baseGetTag(value) == numberTag);\n }\n\n /**\n * Checks if `value` is a plain object, that is, an object created by the\n * `Object` constructor or one with a `[[Prototype]]` of `null`.\n *\n * @static\n * @memberOf _\n * @since 0.8.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a plain object, else `false`.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * }\n *\n * _.isPlainObject(new Foo);\n * // => false\n *\n * _.isPlainObject([1, 2, 3]);\n * // => false\n *\n * _.isPlainObject({ 'x': 0, 'y': 0 });\n * // => true\n *\n * _.isPlainObject(Object.create(null));\n * // => true\n */\n function isPlainObject(value) {\n if (!isObjectLike(value) || baseGetTag(value) != objectTag) {\n return false;\n }\n var proto = getPrototype(value);\n if (proto === null) {\n return true;\n }\n var Ctor = hasOwnProperty.call(proto, 'constructor') && proto.constructor;\n return typeof Ctor == 'function' && Ctor instanceof Ctor &&\n funcToString.call(Ctor) == objectCtorString;\n }\n\n /**\n * Checks if `value` is classified as a `RegExp` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a regexp, else `false`.\n * @example\n *\n * _.isRegExp(/abc/);\n * // => true\n *\n * _.isRegExp('/abc/');\n * // => false\n */\n var isRegExp = nodeIsRegExp ? baseUnary(nodeIsRegExp) : baseIsRegExp;\n\n /**\n * Checks if `value` is a safe integer. An integer is safe if it's an IEEE-754\n * double precision number which isn't the result of a rounded unsafe integer.\n *\n * **Note:** This method is based on\n * [`Number.isSafeInteger`](https://mdn.io/Number/isSafeInteger).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a safe integer, else `false`.\n * @example\n *\n * _.isSafeInteger(3);\n * // => true\n *\n * _.isSafeInteger(Number.MIN_VALUE);\n * // => false\n *\n * _.isSafeInteger(Infinity);\n * // => false\n *\n * _.isSafeInteger('3');\n * // => false\n */\n function isSafeInteger(value) {\n return isInteger(value) && value >= -MAX_SAFE_INTEGER && value <= MAX_SAFE_INTEGER;\n }\n\n /**\n * Checks if `value` is classified as a `Set` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a set, else `false`.\n * @example\n *\n * _.isSet(new Set);\n * // => true\n *\n * _.isSet(new WeakSet);\n * // => false\n */\n var isSet = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet;\n\n /**\n * Checks if `value` is classified as a `String` primitive or object.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a string, else `false`.\n * @example\n *\n * _.isString('abc');\n * // => true\n *\n * _.isString(1);\n * // => false\n */\n function isString(value) {\n return typeof value == 'string' ||\n (!isArray(value) && isObjectLike(value) && baseGetTag(value) == stringTag);\n }\n\n /**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\n function isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && baseGetTag(value) == symbolTag);\n }\n\n /**\n * Checks if `value` is classified as a typed array.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n * @example\n *\n * _.isTypedArray(new Uint8Array);\n * // => true\n *\n * _.isTypedArray([]);\n * // => false\n */\n var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;\n\n /**\n * Checks if `value` is `undefined`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `undefined`, else `false`.\n * @example\n *\n * _.isUndefined(void 0);\n * // => true\n *\n * _.isUndefined(null);\n * // => false\n */\n function isUndefined(value) {\n return value === undefined;\n }\n\n /**\n * Checks if `value` is classified as a `WeakMap` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a weak map, else `false`.\n * @example\n *\n * _.isWeakMap(new WeakMap);\n * // => true\n *\n * _.isWeakMap(new Map);\n * // => false\n */\n function isWeakMap(value) {\n return isObjectLike(value) && getTag(value) == weakMapTag;\n }\n\n /**\n * Checks if `value` is classified as a `WeakSet` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a weak set, else `false`.\n * @example\n *\n * _.isWeakSet(new WeakSet);\n * // => true\n *\n * _.isWeakSet(new Set);\n * // => false\n */\n function isWeakSet(value) {\n return isObjectLike(value) && baseGetTag(value) == weakSetTag;\n }\n\n /**\n * Checks if `value` is less than `other`.\n *\n * @static\n * @memberOf _\n * @since 3.9.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is less than `other`,\n * else `false`.\n * @see _.gt\n * @example\n *\n * _.lt(1, 3);\n * // => true\n *\n * _.lt(3, 3);\n * // => false\n *\n * _.lt(3, 1);\n * // => false\n */\n var lt = createRelationalOperation(baseLt);\n\n /**\n * Checks if `value` is less than or equal to `other`.\n *\n * @static\n * @memberOf _\n * @since 3.9.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is less than or equal to\n * `other`, else `false`.\n * @see _.gte\n * @example\n *\n * _.lte(1, 3);\n * // => true\n *\n * _.lte(3, 3);\n * // => true\n *\n * _.lte(3, 1);\n * // => false\n */\n var lte = createRelationalOperation(function(value, other) {\n return value <= other;\n });\n\n /**\n * Converts `value` to an array.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {Array} Returns the converted array.\n * @example\n *\n * _.toArray({ 'a': 1, 'b': 2 });\n * // => [1, 2]\n *\n * _.toArray('abc');\n * // => ['a', 'b', 'c']\n *\n * _.toArray(1);\n * // => []\n *\n * _.toArray(null);\n * // => []\n */\n function toArray(value) {\n if (!value) {\n return [];\n }\n if (isArrayLike(value)) {\n return isString(value) ? stringToArray(value) : copyArray(value);\n }\n if (symIterator && value[symIterator]) {\n return iteratorToArray(value[symIterator]());\n }\n var tag = getTag(value),\n func = tag == mapTag ? mapToArray : (tag == setTag ? setToArray : values);\n\n return func(value);\n }\n\n /**\n * Converts `value` to a finite number.\n *\n * @static\n * @memberOf _\n * @since 4.12.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted number.\n * @example\n *\n * _.toFinite(3.2);\n * // => 3.2\n *\n * _.toFinite(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toFinite(Infinity);\n * // => 1.7976931348623157e+308\n *\n * _.toFinite('3.2');\n * // => 3.2\n */\n function toFinite(value) {\n if (!value) {\n return value === 0 ? value : 0;\n }\n value = toNumber(value);\n if (value === INFINITY || value === -INFINITY) {\n var sign = (value < 0 ? -1 : 1);\n return sign * MAX_INTEGER;\n }\n return value === value ? value : 0;\n }\n\n /**\n * Converts `value` to an integer.\n *\n * **Note:** This method is loosely based on\n * [`ToInteger`](http://www.ecma-international.org/ecma-262/7.0/#sec-tointeger).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted integer.\n * @example\n *\n * _.toInteger(3.2);\n * // => 3\n *\n * _.toInteger(Number.MIN_VALUE);\n * // => 0\n *\n * _.toInteger(Infinity);\n * // => 1.7976931348623157e+308\n *\n * _.toInteger('3.2');\n * // => 3\n */\n function toInteger(value) {\n var result = toFinite(value),\n remainder = result % 1;\n\n return result === result ? (remainder ? result - remainder : result) : 0;\n }\n\n /**\n * Converts `value` to an integer suitable for use as the length of an\n * array-like object.\n *\n * **Note:** This method is based on\n * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted integer.\n * @example\n *\n * _.toLength(3.2);\n * // => 3\n *\n * _.toLength(Number.MIN_VALUE);\n * // => 0\n *\n * _.toLength(Infinity);\n * // => 4294967295\n *\n * _.toLength('3.2');\n * // => 3\n */\n function toLength(value) {\n return value ? baseClamp(toInteger(value), 0, MAX_ARRAY_LENGTH) : 0;\n }\n\n /**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\n function toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = baseTrim(value);\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n }\n\n /**\n * Converts `value` to a plain object flattening inherited enumerable string\n * keyed properties of `value` to own properties of the plain object.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {Object} Returns the converted plain object.\n * @example\n *\n * function Foo() {\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.assign({ 'a': 1 }, new Foo);\n * // => { 'a': 1, 'b': 2 }\n *\n * _.assign({ 'a': 1 }, _.toPlainObject(new Foo));\n * // => { 'a': 1, 'b': 2, 'c': 3 }\n */\n function toPlainObject(value) {\n return copyObject(value, keysIn(value));\n }\n\n /**\n * Converts `value` to a safe integer. A safe integer can be compared and\n * represented correctly.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted integer.\n * @example\n *\n * _.toSafeInteger(3.2);\n * // => 3\n *\n * _.toSafeInteger(Number.MIN_VALUE);\n * // => 0\n *\n * _.toSafeInteger(Infinity);\n * // => 9007199254740991\n *\n * _.toSafeInteger('3.2');\n * // => 3\n */\n function toSafeInteger(value) {\n return value\n ? baseClamp(toInteger(value), -MAX_SAFE_INTEGER, MAX_SAFE_INTEGER)\n : (value === 0 ? value : 0);\n }\n\n /**\n * Converts `value` to a string. An empty string is returned for `null`\n * and `undefined` values. The sign of `-0` is preserved.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n * @example\n *\n * _.toString(null);\n * // => ''\n *\n * _.toString(-0);\n * // => '-0'\n *\n * _.toString([1, 2, 3]);\n * // => '1,2,3'\n */\n function toString(value) {\n return value == null ? '' : baseToString(value);\n }\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Assigns own enumerable string keyed properties of source objects to the\n * destination object. Source objects are applied from left to right.\n * Subsequent sources overwrite property assignments of previous sources.\n *\n * **Note:** This method mutates `object` and is loosely based on\n * [`Object.assign`](https://mdn.io/Object/assign).\n *\n * @static\n * @memberOf _\n * @since 0.10.0\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @see _.assignIn\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * }\n *\n * function Bar() {\n * this.c = 3;\n * }\n *\n * Foo.prototype.b = 2;\n * Bar.prototype.d = 4;\n *\n * _.assign({ 'a': 0 }, new Foo, new Bar);\n * // => { 'a': 1, 'c': 3 }\n */\n var assign = createAssigner(function(object, source) {\n if (isPrototype(source) || isArrayLike(source)) {\n copyObject(source, keys(source), object);\n return;\n }\n for (var key in source) {\n if (hasOwnProperty.call(source, key)) {\n assignValue(object, key, source[key]);\n }\n }\n });\n\n /**\n * This method is like `_.assign` except that it iterates over own and\n * inherited source properties.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @alias extend\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @see _.assign\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * }\n *\n * function Bar() {\n * this.c = 3;\n * }\n *\n * Foo.prototype.b = 2;\n * Bar.prototype.d = 4;\n *\n * _.assignIn({ 'a': 0 }, new Foo, new Bar);\n * // => { 'a': 1, 'b': 2, 'c': 3, 'd': 4 }\n */\n var assignIn = createAssigner(function(object, source) {\n copyObject(source, keysIn(source), object);\n });\n\n /**\n * This method is like `_.assignIn` except that it accepts `customizer`\n * which is invoked to produce the assigned values. If `customizer` returns\n * `undefined`, assignment is handled by the method instead. The `customizer`\n * is invoked with five arguments: (objValue, srcValue, key, object, source).\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @alias extendWith\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} sources The source objects.\n * @param {Function} [customizer] The function to customize assigned values.\n * @returns {Object} Returns `object`.\n * @see _.assignWith\n * @example\n *\n * function customizer(objValue, srcValue) {\n * return _.isUndefined(objValue) ? srcValue : objValue;\n * }\n *\n * var defaults = _.partialRight(_.assignInWith, customizer);\n *\n * defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 });\n * // => { 'a': 1, 'b': 2 }\n */\n var assignInWith = createAssigner(function(object, source, srcIndex, customizer) {\n copyObject(source, keysIn(source), object, customizer);\n });\n\n /**\n * This method is like `_.assign` except that it accepts `customizer`\n * which is invoked to produce the assigned values. If `customizer` returns\n * `undefined`, assignment is handled by the method instead. The `customizer`\n * is invoked with five arguments: (objValue, srcValue, key, object, source).\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} sources The source objects.\n * @param {Function} [customizer] The function to customize assigned values.\n * @returns {Object} Returns `object`.\n * @see _.assignInWith\n * @example\n *\n * function customizer(objValue, srcValue) {\n * return _.isUndefined(objValue) ? srcValue : objValue;\n * }\n *\n * var defaults = _.partialRight(_.assignWith, customizer);\n *\n * defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 });\n * // => { 'a': 1, 'b': 2 }\n */\n var assignWith = createAssigner(function(object, source, srcIndex, customizer) {\n copyObject(source, keys(source), object, customizer);\n });\n\n /**\n * Creates an array of values corresponding to `paths` of `object`.\n *\n * @static\n * @memberOf _\n * @since 1.0.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {...(string|string[])} [paths] The property paths to pick.\n * @returns {Array} Returns the picked values.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }, 4] };\n *\n * _.at(object, ['a[0].b.c', 'a[1]']);\n * // => [3, 4]\n */\n var at = flatRest(baseAt);\n\n /**\n * Creates an object that inherits from the `prototype` object. If a\n * `properties` object is given, its own enumerable string keyed properties\n * are assigned to the created object.\n *\n * @static\n * @memberOf _\n * @since 2.3.0\n * @category Object\n * @param {Object} prototype The object to inherit from.\n * @param {Object} [properties] The properties to assign to the object.\n * @returns {Object} Returns the new object.\n * @example\n *\n * function Shape() {\n * this.x = 0;\n * this.y = 0;\n * }\n *\n * function Circle() {\n * Shape.call(this);\n * }\n *\n * Circle.prototype = _.create(Shape.prototype, {\n * 'constructor': Circle\n * });\n *\n * var circle = new Circle;\n * circle instanceof Circle;\n * // => true\n *\n * circle instanceof Shape;\n * // => true\n */\n function create(prototype, properties) {\n var result = baseCreate(prototype);\n return properties == null ? result : baseAssign(result, properties);\n }\n\n /**\n * Assigns own and inherited enumerable string keyed properties of source\n * objects to the destination object for all destination properties that\n * resolve to `undefined`. Source objects are applied from left to right.\n * Once a property is set, additional values of the same property are ignored.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @see _.defaultsDeep\n * @example\n *\n * _.defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 });\n * // => { 'a': 1, 'b': 2 }\n */\n var defaults = baseRest(function(object, sources) {\n object = Object(object);\n\n var index = -1;\n var length = sources.length;\n var guard = length > 2 ? sources[2] : undefined;\n\n if (guard && isIterateeCall(sources[0], sources[1], guard)) {\n length = 1;\n }\n\n while (++index < length) {\n var source = sources[index];\n var props = keysIn(source);\n var propsIndex = -1;\n var propsLength = props.length;\n\n while (++propsIndex < propsLength) {\n var key = props[propsIndex];\n var value = object[key];\n\n if (value === undefined ||\n (eq(value, objectProto[key]) && !hasOwnProperty.call(object, key))) {\n object[key] = source[key];\n }\n }\n }\n\n return object;\n });\n\n /**\n * This method is like `_.defaults` except that it recursively assigns\n * default properties.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 3.10.0\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @see _.defaults\n * @example\n *\n * _.defaultsDeep({ 'a': { 'b': 2 } }, { 'a': { 'b': 1, 'c': 3 } });\n * // => { 'a': { 'b': 2, 'c': 3 } }\n */\n var defaultsDeep = baseRest(function(args) {\n args.push(undefined, customDefaultsMerge);\n return apply(mergeWith, undefined, args);\n });\n\n /**\n * This method is like `_.find` except that it returns the key of the first\n * element `predicate` returns truthy for instead of the element itself.\n *\n * @static\n * @memberOf _\n * @since 1.1.0\n * @category Object\n * @param {Object} object The object to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {string|undefined} Returns the key of the matched element,\n * else `undefined`.\n * @example\n *\n * var users = {\n * 'barney': { 'age': 36, 'active': true },\n * 'fred': { 'age': 40, 'active': false },\n * 'pebbles': { 'age': 1, 'active': true }\n * };\n *\n * _.findKey(users, function(o) { return o.age < 40; });\n * // => 'barney' (iteration order is not guaranteed)\n *\n * // The `_.matches` iteratee shorthand.\n * _.findKey(users, { 'age': 1, 'active': true });\n * // => 'pebbles'\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.findKey(users, ['active', false]);\n * // => 'fred'\n *\n * // The `_.property` iteratee shorthand.\n * _.findKey(users, 'active');\n * // => 'barney'\n */\n function findKey(object, predicate) {\n return baseFindKey(object, getIteratee(predicate, 3), baseForOwn);\n }\n\n /**\n * This method is like `_.findKey` except that it iterates over elements of\n * a collection in the opposite order.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Object\n * @param {Object} object The object to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {string|undefined} Returns the key of the matched element,\n * else `undefined`.\n * @example\n *\n * var users = {\n * 'barney': { 'age': 36, 'active': true },\n * 'fred': { 'age': 40, 'active': false },\n * 'pebbles': { 'age': 1, 'active': true }\n * };\n *\n * _.findLastKey(users, function(o) { return o.age < 40; });\n * // => returns 'pebbles' assuming `_.findKey` returns 'barney'\n *\n * // The `_.matches` iteratee shorthand.\n * _.findLastKey(users, { 'age': 36, 'active': true });\n * // => 'barney'\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.findLastKey(users, ['active', false]);\n * // => 'fred'\n *\n * // The `_.property` iteratee shorthand.\n * _.findLastKey(users, 'active');\n * // => 'pebbles'\n */\n function findLastKey(object, predicate) {\n return baseFindKey(object, getIteratee(predicate, 3), baseForOwnRight);\n }\n\n /**\n * Iterates over own and inherited enumerable string keyed properties of an\n * object and invokes `iteratee` for each property. The iteratee is invoked\n * with three arguments: (value, key, object). Iteratee functions may exit\n * iteration early by explicitly returning `false`.\n *\n * @static\n * @memberOf _\n * @since 0.3.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns `object`.\n * @see _.forInRight\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.forIn(new Foo, function(value, key) {\n * console.log(key);\n * });\n * // => Logs 'a', 'b', then 'c' (iteration order is not guaranteed).\n */\n function forIn(object, iteratee) {\n return object == null\n ? object\n : baseFor(object, getIteratee(iteratee, 3), keysIn);\n }\n\n /**\n * This method is like `_.forIn` except that it iterates over properties of\n * `object` in the opposite order.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns `object`.\n * @see _.forIn\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.forInRight(new Foo, function(value, key) {\n * console.log(key);\n * });\n * // => Logs 'c', 'b', then 'a' assuming `_.forIn` logs 'a', 'b', then 'c'.\n */\n function forInRight(object, iteratee) {\n return object == null\n ? object\n : baseForRight(object, getIteratee(iteratee, 3), keysIn);\n }\n\n /**\n * Iterates over own enumerable string keyed properties of an object and\n * invokes `iteratee` for each property. The iteratee is invoked with three\n * arguments: (value, key, object). Iteratee functions may exit iteration\n * early by explicitly returning `false`.\n *\n * @static\n * @memberOf _\n * @since 0.3.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns `object`.\n * @see _.forOwnRight\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.forOwn(new Foo, function(value, key) {\n * console.log(key);\n * });\n * // => Logs 'a' then 'b' (iteration order is not guaranteed).\n */\n function forOwn(object, iteratee) {\n return object && baseForOwn(object, getIteratee(iteratee, 3));\n }\n\n /**\n * This method is like `_.forOwn` except that it iterates over properties of\n * `object` in the opposite order.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns `object`.\n * @see _.forOwn\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.forOwnRight(new Foo, function(value, key) {\n * console.log(key);\n * });\n * // => Logs 'b' then 'a' assuming `_.forOwn` logs 'a' then 'b'.\n */\n function forOwnRight(object, iteratee) {\n return object && baseForOwnRight(object, getIteratee(iteratee, 3));\n }\n\n /**\n * Creates an array of function property names from own enumerable properties\n * of `object`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to inspect.\n * @returns {Array} Returns the function names.\n * @see _.functionsIn\n * @example\n *\n * function Foo() {\n * this.a = _.constant('a');\n * this.b = _.constant('b');\n * }\n *\n * Foo.prototype.c = _.constant('c');\n *\n * _.functions(new Foo);\n * // => ['a', 'b']\n */\n function functions(object) {\n return object == null ? [] : baseFunctions(object, keys(object));\n }\n\n /**\n * Creates an array of function property names from own and inherited\n * enumerable properties of `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to inspect.\n * @returns {Array} Returns the function names.\n * @see _.functions\n * @example\n *\n * function Foo() {\n * this.a = _.constant('a');\n * this.b = _.constant('b');\n * }\n *\n * Foo.prototype.c = _.constant('c');\n *\n * _.functionsIn(new Foo);\n * // => ['a', 'b', 'c']\n */\n function functionsIn(object) {\n return object == null ? [] : baseFunctions(object, keysIn(object));\n }\n\n /**\n * Gets the value at `path` of `object`. If the resolved value is\n * `undefined`, the `defaultValue` is returned in its place.\n *\n * @static\n * @memberOf _\n * @since 3.7.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to get.\n * @param {*} [defaultValue] The value returned for `undefined` resolved values.\n * @returns {*} Returns the resolved value.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }] };\n *\n * _.get(object, 'a[0].b.c');\n * // => 3\n *\n * _.get(object, ['a', '0', 'b', 'c']);\n * // => 3\n *\n * _.get(object, 'a.b.c', 'default');\n * // => 'default'\n */\n function get(object, path, defaultValue) {\n var result = object == null ? undefined : baseGet(object, path);\n return result === undefined ? defaultValue : result;\n }\n\n /**\n * Checks if `path` is a direct property of `object`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n * @example\n *\n * var object = { 'a': { 'b': 2 } };\n * var other = _.create({ 'a': _.create({ 'b': 2 }) });\n *\n * _.has(object, 'a');\n * // => true\n *\n * _.has(object, 'a.b');\n * // => true\n *\n * _.has(object, ['a', 'b']);\n * // => true\n *\n * _.has(other, 'a');\n * // => false\n */\n function has(object, path) {\n return object != null && hasPath(object, path, baseHas);\n }\n\n /**\n * Checks if `path` is a direct or inherited property of `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n * @example\n *\n * var object = _.create({ 'a': _.create({ 'b': 2 }) });\n *\n * _.hasIn(object, 'a');\n * // => true\n *\n * _.hasIn(object, 'a.b');\n * // => true\n *\n * _.hasIn(object, ['a', 'b']);\n * // => true\n *\n * _.hasIn(object, 'b');\n * // => false\n */\n function hasIn(object, path) {\n return object != null && hasPath(object, path, baseHasIn);\n }\n\n /**\n * Creates an object composed of the inverted keys and values of `object`.\n * If `object` contains duplicate values, subsequent values overwrite\n * property assignments of previous values.\n *\n * @static\n * @memberOf _\n * @since 0.7.0\n * @category Object\n * @param {Object} object The object to invert.\n * @returns {Object} Returns the new inverted object.\n * @example\n *\n * var object = { 'a': 1, 'b': 2, 'c': 1 };\n *\n * _.invert(object);\n * // => { '1': 'c', '2': 'b' }\n */\n var invert = createInverter(function(result, value, key) {\n if (value != null &&\n typeof value.toString != 'function') {\n value = nativeObjectToString.call(value);\n }\n\n result[value] = key;\n }, constant(identity));\n\n /**\n * This method is like `_.invert` except that the inverted object is generated\n * from the results of running each element of `object` thru `iteratee`. The\n * corresponding inverted value of each inverted key is an array of keys\n * responsible for generating the inverted value. The iteratee is invoked\n * with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 4.1.0\n * @category Object\n * @param {Object} object The object to invert.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Object} Returns the new inverted object.\n * @example\n *\n * var object = { 'a': 1, 'b': 2, 'c': 1 };\n *\n * _.invertBy(object);\n * // => { '1': ['a', 'c'], '2': ['b'] }\n *\n * _.invertBy(object, function(value) {\n * return 'group' + value;\n * });\n * // => { 'group1': ['a', 'c'], 'group2': ['b'] }\n */\n var invertBy = createInverter(function(result, value, key) {\n if (value != null &&\n typeof value.toString != 'function') {\n value = nativeObjectToString.call(value);\n }\n\n if (hasOwnProperty.call(result, value)) {\n result[value].push(key);\n } else {\n result[value] = [key];\n }\n }, getIteratee);\n\n /**\n * Invokes the method at `path` of `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the method to invoke.\n * @param {...*} [args] The arguments to invoke the method with.\n * @returns {*} Returns the result of the invoked method.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': [1, 2, 3, 4] } }] };\n *\n * _.invoke(object, 'a[0].b.c.slice', 1, 3);\n * // => [2, 3]\n */\n var invoke = baseRest(baseInvoke);\n\n /**\n * Creates an array of the own enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects. See the\n * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * for more details.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keys(new Foo);\n * // => ['a', 'b'] (iteration order is not guaranteed)\n *\n * _.keys('hi');\n * // => ['0', '1']\n */\n function keys(object) {\n return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);\n }\n\n /**\n * Creates an array of the own and inherited enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keysIn(new Foo);\n * // => ['a', 'b', 'c'] (iteration order is not guaranteed)\n */\n function keysIn(object) {\n return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);\n }\n\n /**\n * The opposite of `_.mapValues`; this method creates an object with the\n * same values as `object` and keys generated by running each own enumerable\n * string keyed property of `object` thru `iteratee`. The iteratee is invoked\n * with three arguments: (value, key, object).\n *\n * @static\n * @memberOf _\n * @since 3.8.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns the new mapped object.\n * @see _.mapValues\n * @example\n *\n * _.mapKeys({ 'a': 1, 'b': 2 }, function(value, key) {\n * return key + value;\n * });\n * // => { 'a1': 1, 'b2': 2 }\n */\n function mapKeys(object, iteratee) {\n var result = {};\n iteratee = getIteratee(iteratee, 3);\n\n baseForOwn(object, function(value, key, object) {\n baseAssignValue(result, iteratee(value, key, object), value);\n });\n return result;\n }\n\n /**\n * Creates an object with the same keys as `object` and values generated\n * by running each own enumerable string keyed property of `object` thru\n * `iteratee`. The iteratee is invoked with three arguments:\n * (value, key, object).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns the new mapped object.\n * @see _.mapKeys\n * @example\n *\n * var users = {\n * 'fred': { 'user': 'fred', 'age': 40 },\n * 'pebbles': { 'user': 'pebbles', 'age': 1 }\n * };\n *\n * _.mapValues(users, function(o) { return o.age; });\n * // => { 'fred': 40, 'pebbles': 1 } (iteration order is not guaranteed)\n *\n * // The `_.property` iteratee shorthand.\n * _.mapValues(users, 'age');\n * // => { 'fred': 40, 'pebbles': 1 } (iteration order is not guaranteed)\n */\n function mapValues(object, iteratee) {\n var result = {};\n iteratee = getIteratee(iteratee, 3);\n\n baseForOwn(object, function(value, key, object) {\n baseAssignValue(result, key, iteratee(value, key, object));\n });\n return result;\n }\n\n /**\n * This method is like `_.assign` except that it recursively merges own and\n * inherited enumerable string keyed properties of source objects into the\n * destination object. Source properties that resolve to `undefined` are\n * skipped if a destination value exists. Array and plain object properties\n * are merged recursively. Other objects and value types are overridden by\n * assignment. Source objects are applied from left to right. Subsequent\n * sources overwrite property assignments of previous sources.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 0.5.0\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @example\n *\n * var object = {\n * 'a': [{ 'b': 2 }, { 'd': 4 }]\n * };\n *\n * var other = {\n * 'a': [{ 'c': 3 }, { 'e': 5 }]\n * };\n *\n * _.merge(object, other);\n * // => { 'a': [{ 'b': 2, 'c': 3 }, { 'd': 4, 'e': 5 }] }\n */\n var merge = createAssigner(function(object, source, srcIndex) {\n baseMerge(object, source, srcIndex);\n });\n\n /**\n * This method is like `_.merge` except that it accepts `customizer` which\n * is invoked to produce the merged values of the destination and source\n * properties. If `customizer` returns `undefined`, merging is handled by the\n * method instead. The `customizer` is invoked with six arguments:\n * (objValue, srcValue, key, object, source, stack).\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} sources The source objects.\n * @param {Function} customizer The function to customize assigned values.\n * @returns {Object} Returns `object`.\n * @example\n *\n * function customizer(objValue, srcValue) {\n * if (_.isArray(objValue)) {\n * return objValue.concat(srcValue);\n * }\n * }\n *\n * var object = { 'a': [1], 'b': [2] };\n * var other = { 'a': [3], 'b': [4] };\n *\n * _.mergeWith(object, other, customizer);\n * // => { 'a': [1, 3], 'b': [2, 4] }\n */\n var mergeWith = createAssigner(function(object, source, srcIndex, customizer) {\n baseMerge(object, source, srcIndex, customizer);\n });\n\n /**\n * The opposite of `_.pick`; this method creates an object composed of the\n * own and inherited enumerable property paths of `object` that are not omitted.\n *\n * **Note:** This method is considerably slower than `_.pick`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The source object.\n * @param {...(string|string[])} [paths] The property paths to omit.\n * @returns {Object} Returns the new object.\n * @example\n *\n * var object = { 'a': 1, 'b': '2', 'c': 3 };\n *\n * _.omit(object, ['a', 'c']);\n * // => { 'b': '2' }\n */\n var omit = flatRest(function(object, paths) {\n var result = {};\n if (object == null) {\n return result;\n }\n var isDeep = false;\n paths = arrayMap(paths, function(path) {\n path = castPath(path, object);\n isDeep || (isDeep = path.length > 1);\n return path;\n });\n copyObject(object, getAllKeysIn(object), result);\n if (isDeep) {\n result = baseClone(result, CLONE_DEEP_FLAG | CLONE_FLAT_FLAG | CLONE_SYMBOLS_FLAG, customOmitClone);\n }\n var length = paths.length;\n while (length--) {\n baseUnset(result, paths[length]);\n }\n return result;\n });\n\n /**\n * The opposite of `_.pickBy`; this method creates an object composed of\n * the own and inherited enumerable string keyed properties of `object` that\n * `predicate` doesn't return truthy for. The predicate is invoked with two\n * arguments: (value, key).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The source object.\n * @param {Function} [predicate=_.identity] The function invoked per property.\n * @returns {Object} Returns the new object.\n * @example\n *\n * var object = { 'a': 1, 'b': '2', 'c': 3 };\n *\n * _.omitBy(object, _.isNumber);\n * // => { 'b': '2' }\n */\n function omitBy(object, predicate) {\n return pickBy(object, negate(getIteratee(predicate)));\n }\n\n /**\n * Creates an object composed of the picked `object` properties.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The source object.\n * @param {...(string|string[])} [paths] The property paths to pick.\n * @returns {Object} Returns the new object.\n * @example\n *\n * var object = { 'a': 1, 'b': '2', 'c': 3 };\n *\n * _.pick(object, ['a', 'c']);\n * // => { 'a': 1, 'c': 3 }\n */\n var pick = flatRest(function(object, paths) {\n return object == null ? {} : basePick(object, paths);\n });\n\n /**\n * Creates an object composed of the `object` properties `predicate` returns\n * truthy for. The predicate is invoked with two arguments: (value, key).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The source object.\n * @param {Function} [predicate=_.identity] The function invoked per property.\n * @returns {Object} Returns the new object.\n * @example\n *\n * var object = { 'a': 1, 'b': '2', 'c': 3 };\n *\n * _.pickBy(object, _.isNumber);\n * // => { 'a': 1, 'c': 3 }\n */\n function pickBy(object, predicate) {\n if (object == null) {\n return {};\n }\n var props = arrayMap(getAllKeysIn(object), function(prop) {\n return [prop];\n });\n predicate = getIteratee(predicate);\n return basePickBy(object, props, function(value, path) {\n return predicate(value, path[0]);\n });\n }\n\n /**\n * This method is like `_.get` except that if the resolved value is a\n * function it's invoked with the `this` binding of its parent object and\n * its result is returned.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to resolve.\n * @param {*} [defaultValue] The value returned for `undefined` resolved values.\n * @returns {*} Returns the resolved value.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c1': 3, 'c2': _.constant(4) } }] };\n *\n * _.result(object, 'a[0].b.c1');\n * // => 3\n *\n * _.result(object, 'a[0].b.c2');\n * // => 4\n *\n * _.result(object, 'a[0].b.c3', 'default');\n * // => 'default'\n *\n * _.result(object, 'a[0].b.c3', _.constant('default'));\n * // => 'default'\n */\n function result(object, path, defaultValue) {\n path = castPath(path, object);\n\n var index = -1,\n length = path.length;\n\n // Ensure the loop is entered when path is empty.\n if (!length) {\n length = 1;\n object = undefined;\n }\n while (++index < length) {\n var value = object == null ? undefined : object[toKey(path[index])];\n if (value === undefined) {\n index = length;\n value = defaultValue;\n }\n object = isFunction(value) ? value.call(object) : value;\n }\n return object;\n }\n\n /**\n * Sets the value at `path` of `object`. If a portion of `path` doesn't exist,\n * it's created. Arrays are created for missing index properties while objects\n * are created for all other missing properties. Use `_.setWith` to customize\n * `path` creation.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 3.7.0\n * @category Object\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns `object`.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }] };\n *\n * _.set(object, 'a[0].b.c', 4);\n * console.log(object.a[0].b.c);\n * // => 4\n *\n * _.set(object, ['x', '0', 'y', 'z'], 5);\n * console.log(object.x[0].y.z);\n * // => 5\n */\n function set(object, path, value) {\n return object == null ? object : baseSet(object, path, value);\n }\n\n /**\n * This method is like `_.set` except that it accepts `customizer` which is\n * invoked to produce the objects of `path`. If `customizer` returns `undefined`\n * path creation is handled by the method instead. The `customizer` is invoked\n * with three arguments: (nsValue, key, nsObject).\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to set.\n * @param {*} value The value to set.\n * @param {Function} [customizer] The function to customize assigned values.\n * @returns {Object} Returns `object`.\n * @example\n *\n * var object = {};\n *\n * _.setWith(object, '[0][1]', 'a', Object);\n * // => { '0': { '1': 'a' } }\n */\n function setWith(object, path, value, customizer) {\n customizer = typeof customizer == 'function' ? customizer : undefined;\n return object == null ? object : baseSet(object, path, value, customizer);\n }\n\n /**\n * Creates an array of own enumerable string keyed-value pairs for `object`\n * which can be consumed by `_.fromPairs`. If `object` is a map or set, its\n * entries are returned.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @alias entries\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the key-value pairs.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.toPairs(new Foo);\n * // => [['a', 1], ['b', 2]] (iteration order is not guaranteed)\n */\n var toPairs = createToPairs(keys);\n\n /**\n * Creates an array of own and inherited enumerable string keyed-value pairs\n * for `object` which can be consumed by `_.fromPairs`. If `object` is a map\n * or set, its entries are returned.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @alias entriesIn\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the key-value pairs.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.toPairsIn(new Foo);\n * // => [['a', 1], ['b', 2], ['c', 3]] (iteration order is not guaranteed)\n */\n var toPairsIn = createToPairs(keysIn);\n\n /**\n * An alternative to `_.reduce`; this method transforms `object` to a new\n * `accumulator` object which is the result of running each of its own\n * enumerable string keyed properties thru `iteratee`, with each invocation\n * potentially mutating the `accumulator` object. If `accumulator` is not\n * provided, a new object with the same `[[Prototype]]` will be used. The\n * iteratee is invoked with four arguments: (accumulator, value, key, object).\n * Iteratee functions may exit iteration early by explicitly returning `false`.\n *\n * @static\n * @memberOf _\n * @since 1.3.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @param {*} [accumulator] The custom accumulator value.\n * @returns {*} Returns the accumulated value.\n * @example\n *\n * _.transform([2, 3, 4], function(result, n) {\n * result.push(n *= n);\n * return n % 2 == 0;\n * }, []);\n * // => [4, 9]\n *\n * _.transform({ 'a': 1, 'b': 2, 'c': 1 }, function(result, value, key) {\n * (result[value] || (result[value] = [])).push(key);\n * }, {});\n * // => { '1': ['a', 'c'], '2': ['b'] }\n */\n function transform(object, iteratee, accumulator) {\n var isArr = isArray(object),\n isArrLike = isArr || isBuffer(object) || isTypedArray(object);\n\n iteratee = getIteratee(iteratee, 4);\n if (accumulator == null) {\n var Ctor = object && object.constructor;\n if (isArrLike) {\n accumulator = isArr ? new Ctor : [];\n }\n else if (isObject(object)) {\n accumulator = isFunction(Ctor) ? baseCreate(getPrototype(object)) : {};\n }\n else {\n accumulator = {};\n }\n }\n (isArrLike ? arrayEach : baseForOwn)(object, function(value, index, object) {\n return iteratee(accumulator, value, index, object);\n });\n return accumulator;\n }\n\n /**\n * Removes the property at `path` of `object`.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to unset.\n * @returns {boolean} Returns `true` if the property is deleted, else `false`.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 7 } }] };\n * _.unset(object, 'a[0].b.c');\n * // => true\n *\n * console.log(object);\n * // => { 'a': [{ 'b': {} }] };\n *\n * _.unset(object, ['a', '0', 'b', 'c']);\n * // => true\n *\n * console.log(object);\n * // => { 'a': [{ 'b': {} }] };\n */\n function unset(object, path) {\n return object == null ? true : baseUnset(object, path);\n }\n\n /**\n * This method is like `_.set` except that accepts `updater` to produce the\n * value to set. Use `_.updateWith` to customize `path` creation. The `updater`\n * is invoked with one argument: (value).\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.6.0\n * @category Object\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to set.\n * @param {Function} updater The function to produce the updated value.\n * @returns {Object} Returns `object`.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }] };\n *\n * _.update(object, 'a[0].b.c', function(n) { return n * n; });\n * console.log(object.a[0].b.c);\n * // => 9\n *\n * _.update(object, 'x[0].y.z', function(n) { return n ? n + 1 : 0; });\n * console.log(object.x[0].y.z);\n * // => 0\n */\n function update(object, path, updater) {\n return object == null ? object : baseUpdate(object, path, castFunction(updater));\n }\n\n /**\n * This method is like `_.update` except that it accepts `customizer` which is\n * invoked to produce the objects of `path`. If `customizer` returns `undefined`\n * path creation is handled by the method instead. The `customizer` is invoked\n * with three arguments: (nsValue, key, nsObject).\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.6.0\n * @category Object\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to set.\n * @param {Function} updater The function to produce the updated value.\n * @param {Function} [customizer] The function to customize assigned values.\n * @returns {Object} Returns `object`.\n * @example\n *\n * var object = {};\n *\n * _.updateWith(object, '[0][1]', _.constant('a'), Object);\n * // => { '0': { '1': 'a' } }\n */\n function updateWith(object, path, updater, customizer) {\n customizer = typeof customizer == 'function' ? customizer : undefined;\n return object == null ? object : baseUpdate(object, path, castFunction(updater), customizer);\n }\n\n /**\n * Creates an array of the own enumerable string keyed property values of `object`.\n *\n * **Note:** Non-object values are coerced to objects.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property values.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.values(new Foo);\n * // => [1, 2] (iteration order is not guaranteed)\n *\n * _.values('hi');\n * // => ['h', 'i']\n */\n function values(object) {\n return object == null ? [] : baseValues(object, keys(object));\n }\n\n /**\n * Creates an array of the own and inherited enumerable string keyed property\n * values of `object`.\n *\n * **Note:** Non-object values are coerced to objects.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property values.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.valuesIn(new Foo);\n * // => [1, 2, 3] (iteration order is not guaranteed)\n */\n function valuesIn(object) {\n return object == null ? [] : baseValues(object, keysIn(object));\n }\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Clamps `number` within the inclusive `lower` and `upper` bounds.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Number\n * @param {number} number The number to clamp.\n * @param {number} [lower] The lower bound.\n * @param {number} upper The upper bound.\n * @returns {number} Returns the clamped number.\n * @example\n *\n * _.clamp(-10, -5, 5);\n * // => -5\n *\n * _.clamp(10, -5, 5);\n * // => 5\n */\n function clamp(number, lower, upper) {\n if (upper === undefined) {\n upper = lower;\n lower = undefined;\n }\n if (upper !== undefined) {\n upper = toNumber(upper);\n upper = upper === upper ? upper : 0;\n }\n if (lower !== undefined) {\n lower = toNumber(lower);\n lower = lower === lower ? lower : 0;\n }\n return baseClamp(toNumber(number), lower, upper);\n }\n\n /**\n * Checks if `n` is between `start` and up to, but not including, `end`. If\n * `end` is not specified, it's set to `start` with `start` then set to `0`.\n * If `start` is greater than `end` the params are swapped to support\n * negative ranges.\n *\n * @static\n * @memberOf _\n * @since 3.3.0\n * @category Number\n * @param {number} number The number to check.\n * @param {number} [start=0] The start of the range.\n * @param {number} end The end of the range.\n * @returns {boolean} Returns `true` if `number` is in the range, else `false`.\n * @see _.range, _.rangeRight\n * @example\n *\n * _.inRange(3, 2, 4);\n * // => true\n *\n * _.inRange(4, 8);\n * // => true\n *\n * _.inRange(4, 2);\n * // => false\n *\n * _.inRange(2, 2);\n * // => false\n *\n * _.inRange(1.2, 2);\n * // => true\n *\n * _.inRange(5.2, 4);\n * // => false\n *\n * _.inRange(-3, -2, -6);\n * // => true\n */\n function inRange(number, start, end) {\n start = toFinite(start);\n if (end === undefined) {\n end = start;\n start = 0;\n } else {\n end = toFinite(end);\n }\n number = toNumber(number);\n return baseInRange(number, start, end);\n }\n\n /**\n * Produces a random number between the inclusive `lower` and `upper` bounds.\n * If only one argument is provided a number between `0` and the given number\n * is returned. If `floating` is `true`, or either `lower` or `upper` are\n * floats, a floating-point number is returned instead of an integer.\n *\n * **Note:** JavaScript follows the IEEE-754 standard for resolving\n * floating-point values which can produce unexpected results.\n *\n * @static\n * @memberOf _\n * @since 0.7.0\n * @category Number\n * @param {number} [lower=0] The lower bound.\n * @param {number} [upper=1] The upper bound.\n * @param {boolean} [floating] Specify returning a floating-point number.\n * @returns {number} Returns the random number.\n * @example\n *\n * _.random(0, 5);\n * // => an integer between 0 and 5\n *\n * _.random(5);\n * // => also an integer between 0 and 5\n *\n * _.random(5, true);\n * // => a floating-point number between 0 and 5\n *\n * _.random(1.2, 5.2);\n * // => a floating-point number between 1.2 and 5.2\n */\n function random(lower, upper, floating) {\n if (floating && typeof floating != 'boolean' && isIterateeCall(lower, upper, floating)) {\n upper = floating = undefined;\n }\n if (floating === undefined) {\n if (typeof upper == 'boolean') {\n floating = upper;\n upper = undefined;\n }\n else if (typeof lower == 'boolean') {\n floating = lower;\n lower = undefined;\n }\n }\n if (lower === undefined && upper === undefined) {\n lower = 0;\n upper = 1;\n }\n else {\n lower = toFinite(lower);\n if (upper === undefined) {\n upper = lower;\n lower = 0;\n } else {\n upper = toFinite(upper);\n }\n }\n if (lower > upper) {\n var temp = lower;\n lower = upper;\n upper = temp;\n }\n if (floating || lower % 1 || upper % 1) {\n var rand = nativeRandom();\n return nativeMin(lower + (rand * (upper - lower + freeParseFloat('1e-' + ((rand + '').length - 1)))), upper);\n }\n return baseRandom(lower, upper);\n }\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Converts `string` to [camel case](https://en.wikipedia.org/wiki/CamelCase).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the camel cased string.\n * @example\n *\n * _.camelCase('Foo Bar');\n * // => 'fooBar'\n *\n * _.camelCase('--foo-bar--');\n * // => 'fooBar'\n *\n * _.camelCase('__FOO_BAR__');\n * // => 'fooBar'\n */\n var camelCase = createCompounder(function(result, word, index) {\n word = word.toLowerCase();\n return result + (index ? capitalize(word) : word);\n });\n\n /**\n * Converts the first character of `string` to upper case and the remaining\n * to lower case.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to capitalize.\n * @returns {string} Returns the capitalized string.\n * @example\n *\n * _.capitalize('FRED');\n * // => 'Fred'\n */\n function capitalize(string) {\n return upperFirst(toString(string).toLowerCase());\n }\n\n /**\n * Deburrs `string` by converting\n * [Latin-1 Supplement](https://en.wikipedia.org/wiki/Latin-1_Supplement_(Unicode_block)#Character_table)\n * and [Latin Extended-A](https://en.wikipedia.org/wiki/Latin_Extended-A)\n * letters to basic Latin letters and removing\n * [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to deburr.\n * @returns {string} Returns the deburred string.\n * @example\n *\n * _.deburr('déjà vu');\n * // => 'deja vu'\n */\n function deburr(string) {\n string = toString(string);\n return string && string.replace(reLatin, deburrLetter).replace(reComboMark, '');\n }\n\n /**\n * Checks if `string` ends with the given target string.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to inspect.\n * @param {string} [target] The string to search for.\n * @param {number} [position=string.length] The position to search up to.\n * @returns {boolean} Returns `true` if `string` ends with `target`,\n * else `false`.\n * @example\n *\n * _.endsWith('abc', 'c');\n * // => true\n *\n * _.endsWith('abc', 'b');\n * // => false\n *\n * _.endsWith('abc', 'b', 2);\n * // => true\n */\n function endsWith(string, target, position) {\n string = toString(string);\n target = baseToString(target);\n\n var length = string.length;\n position = position === undefined\n ? length\n : baseClamp(toInteger(position), 0, length);\n\n var end = position;\n position -= target.length;\n return position >= 0 && string.slice(position, end) == target;\n }\n\n /**\n * Converts the characters \"&\", \"<\", \">\", '\"', and \"'\" in `string` to their\n * corresponding HTML entities.\n *\n * **Note:** No other characters are escaped. To escape additional\n * characters use a third-party library like [_he_](https://mths.be/he).\n *\n * Though the \">\" character is escaped for symmetry, characters like\n * \">\" and \"/\" don't need escaping in HTML and have no special meaning\n * unless they're part of a tag or unquoted attribute value. See\n * [Mathias Bynens's article](https://mathiasbynens.be/notes/ambiguous-ampersands)\n * (under \"semi-related fun fact\") for more details.\n *\n * When working with HTML you should always\n * [quote attribute values](http://wonko.com/post/html-escaping) to reduce\n * XSS vectors.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category String\n * @param {string} [string=''] The string to escape.\n * @returns {string} Returns the escaped string.\n * @example\n *\n * _.escape('fred, barney, & pebbles');\n * // => 'fred, barney, & pebbles'\n */\n function escape(string) {\n string = toString(string);\n return (string && reHasUnescapedHtml.test(string))\n ? string.replace(reUnescapedHtml, escapeHtmlChar)\n : string;\n }\n\n /**\n * Escapes the `RegExp` special characters \"^\", \"$\", \"\\\", \".\", \"*\", \"+\",\n * \"?\", \"(\", \")\", \"[\", \"]\", \"{\", \"}\", and \"|\" in `string`.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to escape.\n * @returns {string} Returns the escaped string.\n * @example\n *\n * _.escapeRegExp('[lodash](https://lodash.com/)');\n * // => '\\[lodash\\]\\(https://lodash\\.com/\\)'\n */\n function escapeRegExp(string) {\n string = toString(string);\n return (string && reHasRegExpChar.test(string))\n ? string.replace(reRegExpChar, '\\\\$&')\n : string;\n }\n\n /**\n * Converts `string` to\n * [kebab case](https://en.wikipedia.org/wiki/Letter_case#Special_case_styles).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the kebab cased string.\n * @example\n *\n * _.kebabCase('Foo Bar');\n * // => 'foo-bar'\n *\n * _.kebabCase('fooBar');\n * // => 'foo-bar'\n *\n * _.kebabCase('__FOO_BAR__');\n * // => 'foo-bar'\n */\n var kebabCase = createCompounder(function(result, word, index) {\n return result + (index ? '-' : '') + word.toLowerCase();\n });\n\n /**\n * Converts `string`, as space separated words, to lower case.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the lower cased string.\n * @example\n *\n * _.lowerCase('--Foo-Bar--');\n * // => 'foo bar'\n *\n * _.lowerCase('fooBar');\n * // => 'foo bar'\n *\n * _.lowerCase('__FOO_BAR__');\n * // => 'foo bar'\n */\n var lowerCase = createCompounder(function(result, word, index) {\n return result + (index ? ' ' : '') + word.toLowerCase();\n });\n\n /**\n * Converts the first character of `string` to lower case.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the converted string.\n * @example\n *\n * _.lowerFirst('Fred');\n * // => 'fred'\n *\n * _.lowerFirst('FRED');\n * // => 'fRED'\n */\n var lowerFirst = createCaseFirst('toLowerCase');\n\n /**\n * Pads `string` on the left and right sides if it's shorter than `length`.\n * Padding characters are truncated if they can't be evenly divided by `length`.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to pad.\n * @param {number} [length=0] The padding length.\n * @param {string} [chars=' '] The string used as padding.\n * @returns {string} Returns the padded string.\n * @example\n *\n * _.pad('abc', 8);\n * // => ' abc '\n *\n * _.pad('abc', 8, '_-');\n * // => '_-abc_-_'\n *\n * _.pad('abc', 3);\n * // => 'abc'\n */\n function pad(string, length, chars) {\n string = toString(string);\n length = toInteger(length);\n\n var strLength = length ? stringSize(string) : 0;\n if (!length || strLength >= length) {\n return string;\n }\n var mid = (length - strLength) / 2;\n return (\n createPadding(nativeFloor(mid), chars) +\n string +\n createPadding(nativeCeil(mid), chars)\n );\n }\n\n /**\n * Pads `string` on the right side if it's shorter than `length`. Padding\n * characters are truncated if they exceed `length`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to pad.\n * @param {number} [length=0] The padding length.\n * @param {string} [chars=' '] The string used as padding.\n * @returns {string} Returns the padded string.\n * @example\n *\n * _.padEnd('abc', 6);\n * // => 'abc '\n *\n * _.padEnd('abc', 6, '_-');\n * // => 'abc_-_'\n *\n * _.padEnd('abc', 3);\n * // => 'abc'\n */\n function padEnd(string, length, chars) {\n string = toString(string);\n length = toInteger(length);\n\n var strLength = length ? stringSize(string) : 0;\n return (length && strLength < length)\n ? (string + createPadding(length - strLength, chars))\n : string;\n }\n\n /**\n * Pads `string` on the left side if it's shorter than `length`. Padding\n * characters are truncated if they exceed `length`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to pad.\n * @param {number} [length=0] The padding length.\n * @param {string} [chars=' '] The string used as padding.\n * @returns {string} Returns the padded string.\n * @example\n *\n * _.padStart('abc', 6);\n * // => ' abc'\n *\n * _.padStart('abc', 6, '_-');\n * // => '_-_abc'\n *\n * _.padStart('abc', 3);\n * // => 'abc'\n */\n function padStart(string, length, chars) {\n string = toString(string);\n length = toInteger(length);\n\n var strLength = length ? stringSize(string) : 0;\n return (length && strLength < length)\n ? (createPadding(length - strLength, chars) + string)\n : string;\n }\n\n /**\n * Converts `string` to an integer of the specified radix. If `radix` is\n * `undefined` or `0`, a `radix` of `10` is used unless `value` is a\n * hexadecimal, in which case a `radix` of `16` is used.\n *\n * **Note:** This method aligns with the\n * [ES5 implementation](https://es5.github.io/#x15.1.2.2) of `parseInt`.\n *\n * @static\n * @memberOf _\n * @since 1.1.0\n * @category String\n * @param {string} string The string to convert.\n * @param {number} [radix=10] The radix to interpret `value` by.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {number} Returns the converted integer.\n * @example\n *\n * _.parseInt('08');\n * // => 8\n *\n * _.map(['6', '08', '10'], _.parseInt);\n * // => [6, 8, 10]\n */\n function parseInt(string, radix, guard) {\n if (guard || radix == null) {\n radix = 0;\n } else if (radix) {\n radix = +radix;\n }\n return nativeParseInt(toString(string).replace(reTrimStart, ''), radix || 0);\n }\n\n /**\n * Repeats the given string `n` times.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to repeat.\n * @param {number} [n=1] The number of times to repeat the string.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {string} Returns the repeated string.\n * @example\n *\n * _.repeat('*', 3);\n * // => '***'\n *\n * _.repeat('abc', 2);\n * // => 'abcabc'\n *\n * _.repeat('abc', 0);\n * // => ''\n */\n function repeat(string, n, guard) {\n if ((guard ? isIterateeCall(string, n, guard) : n === undefined)) {\n n = 1;\n } else {\n n = toInteger(n);\n }\n return baseRepeat(toString(string), n);\n }\n\n /**\n * Replaces matches for `pattern` in `string` with `replacement`.\n *\n * **Note:** This method is based on\n * [`String#replace`](https://mdn.io/String/replace).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to modify.\n * @param {RegExp|string} pattern The pattern to replace.\n * @param {Function|string} replacement The match replacement.\n * @returns {string} Returns the modified string.\n * @example\n *\n * _.replace('Hi Fred', 'Fred', 'Barney');\n * // => 'Hi Barney'\n */\n function replace() {\n var args = arguments,\n string = toString(args[0]);\n\n return args.length < 3 ? string : string.replace(args[1], args[2]);\n }\n\n /**\n * Converts `string` to\n * [snake case](https://en.wikipedia.org/wiki/Snake_case).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the snake cased string.\n * @example\n *\n * _.snakeCase('Foo Bar');\n * // => 'foo_bar'\n *\n * _.snakeCase('fooBar');\n * // => 'foo_bar'\n *\n * _.snakeCase('--FOO-BAR--');\n * // => 'foo_bar'\n */\n var snakeCase = createCompounder(function(result, word, index) {\n return result + (index ? '_' : '') + word.toLowerCase();\n });\n\n /**\n * Splits `string` by `separator`.\n *\n * **Note:** This method is based on\n * [`String#split`](https://mdn.io/String/split).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to split.\n * @param {RegExp|string} separator The separator pattern to split by.\n * @param {number} [limit] The length to truncate results to.\n * @returns {Array} Returns the string segments.\n * @example\n *\n * _.split('a-b-c', '-', 2);\n * // => ['a', 'b']\n */\n function split(string, separator, limit) {\n if (limit && typeof limit != 'number' && isIterateeCall(string, separator, limit)) {\n separator = limit = undefined;\n }\n limit = limit === undefined ? MAX_ARRAY_LENGTH : limit >>> 0;\n if (!limit) {\n return [];\n }\n string = toString(string);\n if (string && (\n typeof separator == 'string' ||\n (separator != null && !isRegExp(separator))\n )) {\n separator = baseToString(separator);\n if (!separator && hasUnicode(string)) {\n return castSlice(stringToArray(string), 0, limit);\n }\n }\n return string.split(separator, limit);\n }\n\n /**\n * Converts `string` to\n * [start case](https://en.wikipedia.org/wiki/Letter_case#Stylistic_or_specialised_usage).\n *\n * @static\n * @memberOf _\n * @since 3.1.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the start cased string.\n * @example\n *\n * _.startCase('--foo-bar--');\n * // => 'Foo Bar'\n *\n * _.startCase('fooBar');\n * // => 'Foo Bar'\n *\n * _.startCase('__FOO_BAR__');\n * // => 'FOO BAR'\n */\n var startCase = createCompounder(function(result, word, index) {\n return result + (index ? ' ' : '') + upperFirst(word);\n });\n\n /**\n * Checks if `string` starts with the given target string.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to inspect.\n * @param {string} [target] The string to search for.\n * @param {number} [position=0] The position to search from.\n * @returns {boolean} Returns `true` if `string` starts with `target`,\n * else `false`.\n * @example\n *\n * _.startsWith('abc', 'a');\n * // => true\n *\n * _.startsWith('abc', 'b');\n * // => false\n *\n * _.startsWith('abc', 'b', 1);\n * // => true\n */\n function startsWith(string, target, position) {\n string = toString(string);\n position = position == null\n ? 0\n : baseClamp(toInteger(position), 0, string.length);\n\n target = baseToString(target);\n return string.slice(position, position + target.length) == target;\n }\n\n /**\n * Creates a compiled template function that can interpolate data properties\n * in \"interpolate\" delimiters, HTML-escape interpolated data properties in\n * \"escape\" delimiters, and execute JavaScript in \"evaluate\" delimiters. Data\n * properties may be accessed as free variables in the template. If a setting\n * object is given, it takes precedence over `_.templateSettings` values.\n *\n * **Note:** In the development build `_.template` utilizes\n * [sourceURLs](http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/#toc-sourceurl)\n * for easier debugging.\n *\n * For more information on precompiling templates see\n * [lodash's custom builds documentation](https://lodash.com/custom-builds).\n *\n * For more information on Chrome extension sandboxes see\n * [Chrome's extensions documentation](https://developer.chrome.com/extensions/sandboxingEval).\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category String\n * @param {string} [string=''] The template string.\n * @param {Object} [options={}] The options object.\n * @param {RegExp} [options.escape=_.templateSettings.escape]\n * The HTML \"escape\" delimiter.\n * @param {RegExp} [options.evaluate=_.templateSettings.evaluate]\n * The \"evaluate\" delimiter.\n * @param {Object} [options.imports=_.templateSettings.imports]\n * An object to import into the template as free variables.\n * @param {RegExp} [options.interpolate=_.templateSettings.interpolate]\n * The \"interpolate\" delimiter.\n * @param {string} [options.sourceURL='lodash.templateSources[n]']\n * The sourceURL of the compiled template.\n * @param {string} [options.variable='obj']\n * The data object variable name.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Function} Returns the compiled template function.\n * @example\n *\n * // Use the \"interpolate\" delimiter to create a compiled template.\n * var compiled = _.template('hello <%= user %>!');\n * compiled({ 'user': 'fred' });\n * // => 'hello fred!'\n *\n * // Use the HTML \"escape\" delimiter to escape data property values.\n * var compiled = _.template('<%- value %>');\n * compiled({ 'value': '\n * ^\n * ```\n *\n * @type {State}\n */\n function continuationRawTagOpen(code) {\n if (code === 47) {\n effects.consume(code)\n buffer = ''\n return continuationRawEndTag\n }\n return continuation(code)\n }\n\n /**\n * In raw continuation, after ``, in a raw tag name.\n *\n * ```markdown\n * > | \n * ^^^^^^\n * ```\n *\n * @type {State}\n */\n function continuationRawEndTag(code) {\n if (code === 62) {\n const name = buffer.toLowerCase()\n if (htmlRawNames.includes(name)) {\n effects.consume(code)\n return continuationClose\n }\n return continuation(code)\n }\n if (asciiAlpha(code) && buffer.length < 8) {\n effects.consume(code)\n // @ts-expect-error: not null.\n buffer += String.fromCharCode(code)\n return continuationRawEndTag\n }\n return continuation(code)\n }\n\n /**\n * In cdata continuation, after `]`, expecting `]>`.\n *\n * ```markdown\n * > | &<]]>\n * ^\n * ```\n *\n * @type {State}\n */\n function continuationCdataInside(code) {\n if (code === 93) {\n effects.consume(code)\n return continuationDeclarationInside\n }\n return continuation(code)\n }\n\n /**\n * In declaration or instruction continuation, at `>`.\n *\n * ```markdown\n * > | \n * ^\n * > | >\n * ^\n * > | \n * ^\n * > | \n * ^\n * > | &<]]>\n * ^\n * ```\n *\n * @type {State}\n */\n function continuationDeclarationInside(code) {\n if (code === 62) {\n effects.consume(code)\n return continuationClose\n }\n\n // More dashes.\n if (code === 45 && marker === 2) {\n effects.consume(code)\n return continuationDeclarationInside\n }\n return continuation(code)\n }\n\n /**\n * In closed continuation: everything we get until the eol/eof is part of it.\n *\n * ```markdown\n * > | \n * ^\n * ```\n *\n * @type {State}\n */\n function continuationClose(code) {\n if (code === null || markdownLineEnding(code)) {\n effects.exit('htmlFlowData')\n return continuationAfter(code)\n }\n effects.consume(code)\n return continuationClose\n }\n\n /**\n * Done.\n *\n * ```markdown\n * > | \n * ^\n * ```\n *\n * @type {State}\n */\n function continuationAfter(code) {\n effects.exit('htmlFlow')\n // // Feel free to interrupt.\n // tokenizer.interrupt = false\n // // No longer concrete.\n // tokenizer.concrete = false\n return ok(code)\n }\n}\n\n/**\n * @this {TokenizeContext}\n * @type {Tokenizer}\n */\nfunction tokenizeNonLazyContinuationStart(effects, ok, nok) {\n const self = this\n return start\n\n /**\n * At eol, before continuation.\n *\n * ```markdown\n * > | * ```js\n * ^\n * | b\n * ```\n *\n * @type {State}\n */\n function start(code) {\n if (markdownLineEnding(code)) {\n effects.enter('lineEnding')\n effects.consume(code)\n effects.exit('lineEnding')\n return after\n }\n return nok(code)\n }\n\n /**\n * A continuation.\n *\n * ```markdown\n * | * ```js\n * > | b\n * ^\n * ```\n *\n * @type {State}\n */\n function after(code) {\n return self.parser.lazy[self.now().line] ? nok(code) : ok(code)\n }\n}\n\n/**\n * @this {TokenizeContext}\n * @type {Tokenizer}\n */\nfunction tokenizeBlankLineBefore(effects, ok, nok) {\n return start\n\n /**\n * Before eol, expecting blank line.\n *\n * ```markdown\n * > | \n * ^\n * |\n * ```\n *\n * @type {State}\n */\n function start(code) {\n effects.enter('lineEnding')\n effects.consume(code)\n effects.exit('lineEnding')\n return effects.attempt(blankLine, ok, nok)\n }\n}\n","/**\n * @typedef {import('micromark-util-types').Code} Code\n * @typedef {import('micromark-util-types').Construct} Construct\n * @typedef {import('micromark-util-types').State} State\n * @typedef {import('micromark-util-types').TokenizeContext} TokenizeContext\n * @typedef {import('micromark-util-types').Tokenizer} Tokenizer\n */\n\nimport {factorySpace} from 'micromark-factory-space'\nimport {markdownLineEnding, markdownSpace} from 'micromark-util-character'\n/** @type {Construct} */\nconst nonLazyContinuation = {\n tokenize: tokenizeNonLazyContinuation,\n partial: true\n}\n\n/** @type {Construct} */\nexport const codeFenced = {\n name: 'codeFenced',\n tokenize: tokenizeCodeFenced,\n concrete: true\n}\n\n/**\n * @this {TokenizeContext}\n * @type {Tokenizer}\n */\nfunction tokenizeCodeFenced(effects, ok, nok) {\n const self = this\n /** @type {Construct} */\n const closeStart = {\n tokenize: tokenizeCloseStart,\n partial: true\n }\n let initialPrefix = 0\n let sizeOpen = 0\n /** @type {NonNullable
} */\n let marker\n return start\n\n /**\n * Start of code.\n *\n * ```markdown\n * > | ~~~js\n * ^\n * | alert(1)\n * | ~~~\n * ```\n *\n * @type {State}\n */\n function start(code) {\n // To do: parse whitespace like `markdown-rs`.\n return beforeSequenceOpen(code)\n }\n\n /**\n * In opening fence, after prefix, at sequence.\n *\n * ```markdown\n * > | ~~~js\n * ^\n * | alert(1)\n * | ~~~\n * ```\n *\n * @type {State}\n */\n function beforeSequenceOpen(code) {\n const tail = self.events[self.events.length - 1]\n initialPrefix =\n tail && tail[1].type === 'linePrefix'\n ? tail[2].sliceSerialize(tail[1], true).length\n : 0\n marker = code\n effects.enter('codeFenced')\n effects.enter('codeFencedFence')\n effects.enter('codeFencedFenceSequence')\n return sequenceOpen(code)\n }\n\n /**\n * In opening fence sequence.\n *\n * ```markdown\n * > | ~~~js\n * ^\n * | alert(1)\n * | ~~~\n * ```\n *\n * @type {State}\n */\n function sequenceOpen(code) {\n if (code === marker) {\n sizeOpen++\n effects.consume(code)\n return sequenceOpen\n }\n if (sizeOpen < 3) {\n return nok(code)\n }\n effects.exit('codeFencedFenceSequence')\n return markdownSpace(code)\n ? factorySpace(effects, infoBefore, 'whitespace')(code)\n : infoBefore(code)\n }\n\n /**\n * In opening fence, after the sequence (and optional whitespace), before info.\n *\n * ```markdown\n * > | ~~~js\n * ^\n * | alert(1)\n * | ~~~\n * ```\n *\n * @type {State}\n */\n function infoBefore(code) {\n if (code === null || markdownLineEnding(code)) {\n effects.exit('codeFencedFence')\n return self.interrupt\n ? ok(code)\n : effects.check(nonLazyContinuation, atNonLazyBreak, after)(code)\n }\n effects.enter('codeFencedFenceInfo')\n effects.enter('chunkString', {\n contentType: 'string'\n })\n return info(code)\n }\n\n /**\n * In info.\n *\n * ```markdown\n * > | ~~~js\n * ^\n * | alert(1)\n * | ~~~\n * ```\n *\n * @type {State}\n */\n function info(code) {\n if (code === null || markdownLineEnding(code)) {\n effects.exit('chunkString')\n effects.exit('codeFencedFenceInfo')\n return infoBefore(code)\n }\n if (markdownSpace(code)) {\n effects.exit('chunkString')\n effects.exit('codeFencedFenceInfo')\n return factorySpace(effects, metaBefore, 'whitespace')(code)\n }\n if (code === 96 && code === marker) {\n return nok(code)\n }\n effects.consume(code)\n return info\n }\n\n /**\n * In opening fence, after info and whitespace, before meta.\n *\n * ```markdown\n * > | ~~~js eval\n * ^\n * | alert(1)\n * | ~~~\n * ```\n *\n * @type {State}\n */\n function metaBefore(code) {\n if (code === null || markdownLineEnding(code)) {\n return infoBefore(code)\n }\n effects.enter('codeFencedFenceMeta')\n effects.enter('chunkString', {\n contentType: 'string'\n })\n return meta(code)\n }\n\n /**\n * In meta.\n *\n * ```markdown\n * > | ~~~js eval\n * ^\n * | alert(1)\n * | ~~~\n * ```\n *\n * @type {State}\n */\n function meta(code) {\n if (code === null || markdownLineEnding(code)) {\n effects.exit('chunkString')\n effects.exit('codeFencedFenceMeta')\n return infoBefore(code)\n }\n if (code === 96 && code === marker) {\n return nok(code)\n }\n effects.consume(code)\n return meta\n }\n\n /**\n * At eol/eof in code, before a non-lazy closing fence or content.\n *\n * ```markdown\n * > | ~~~js\n * ^\n * > | alert(1)\n * ^\n * | ~~~\n * ```\n *\n * @type {State}\n */\n function atNonLazyBreak(code) {\n return effects.attempt(closeStart, after, contentBefore)(code)\n }\n\n /**\n * Before code content, not a closing fence, at eol.\n *\n * ```markdown\n * | ~~~js\n * > | alert(1)\n * ^\n * | ~~~\n * ```\n *\n * @type {State}\n */\n function contentBefore(code) {\n effects.enter('lineEnding')\n effects.consume(code)\n effects.exit('lineEnding')\n return contentStart\n }\n\n /**\n * Before code content, not a closing fence.\n *\n * ```markdown\n * | ~~~js\n * > | alert(1)\n * ^\n * | ~~~\n * ```\n *\n * @type {State}\n */\n function contentStart(code) {\n return initialPrefix > 0 && markdownSpace(code)\n ? factorySpace(\n effects,\n beforeContentChunk,\n 'linePrefix',\n initialPrefix + 1\n )(code)\n : beforeContentChunk(code)\n }\n\n /**\n * Before code content, after optional prefix.\n *\n * ```markdown\n * | ~~~js\n * > | alert(1)\n * ^\n * | ~~~\n * ```\n *\n * @type {State}\n */\n function beforeContentChunk(code) {\n if (code === null || markdownLineEnding(code)) {\n return effects.check(nonLazyContinuation, atNonLazyBreak, after)(code)\n }\n effects.enter('codeFlowValue')\n return contentChunk(code)\n }\n\n /**\n * In code content.\n *\n * ```markdown\n * | ~~~js\n * > | alert(1)\n * ^^^^^^^^\n * | ~~~\n * ```\n *\n * @type {State}\n */\n function contentChunk(code) {\n if (code === null || markdownLineEnding(code)) {\n effects.exit('codeFlowValue')\n return beforeContentChunk(code)\n }\n effects.consume(code)\n return contentChunk\n }\n\n /**\n * After code.\n *\n * ```markdown\n * | ~~~js\n * | alert(1)\n * > | ~~~\n * ^\n * ```\n *\n * @type {State}\n */\n function after(code) {\n effects.exit('codeFenced')\n return ok(code)\n }\n\n /**\n * @this {TokenizeContext}\n * @type {Tokenizer}\n */\n function tokenizeCloseStart(effects, ok, nok) {\n let size = 0\n return startBefore\n\n /**\n *\n *\n * @type {State}\n */\n function startBefore(code) {\n effects.enter('lineEnding')\n effects.consume(code)\n effects.exit('lineEnding')\n return start\n }\n\n /**\n * Before closing fence, at optional whitespace.\n *\n * ```markdown\n * | ~~~js\n * | alert(1)\n * > | ~~~\n * ^\n * ```\n *\n * @type {State}\n */\n function start(code) {\n // Always populated by defaults.\n\n // To do: `enter` here or in next state?\n effects.enter('codeFencedFence')\n return markdownSpace(code)\n ? factorySpace(\n effects,\n beforeSequenceClose,\n 'linePrefix',\n self.parser.constructs.disable.null.includes('codeIndented')\n ? undefined\n : 4\n )(code)\n : beforeSequenceClose(code)\n }\n\n /**\n * In closing fence, after optional whitespace, at sequence.\n *\n * ```markdown\n * | ~~~js\n * | alert(1)\n * > | ~~~\n * ^\n * ```\n *\n * @type {State}\n */\n function beforeSequenceClose(code) {\n if (code === marker) {\n effects.enter('codeFencedFenceSequence')\n return sequenceClose(code)\n }\n return nok(code)\n }\n\n /**\n * In closing fence sequence.\n *\n * ```markdown\n * | ~~~js\n * | alert(1)\n * > | ~~~\n * ^\n * ```\n *\n * @type {State}\n */\n function sequenceClose(code) {\n if (code === marker) {\n size++\n effects.consume(code)\n return sequenceClose\n }\n if (size >= sizeOpen) {\n effects.exit('codeFencedFenceSequence')\n return markdownSpace(code)\n ? factorySpace(effects, sequenceCloseAfter, 'whitespace')(code)\n : sequenceCloseAfter(code)\n }\n return nok(code)\n }\n\n /**\n * After closing fence sequence, after optional whitespace.\n *\n * ```markdown\n * | ~~~js\n * | alert(1)\n * > | ~~~\n * ^\n * ```\n *\n * @type {State}\n */\n function sequenceCloseAfter(code) {\n if (code === null || markdownLineEnding(code)) {\n effects.exit('codeFencedFence')\n return ok(code)\n }\n return nok(code)\n }\n }\n}\n\n/**\n * @this {TokenizeContext}\n * @type {Tokenizer}\n */\nfunction tokenizeNonLazyContinuation(effects, ok, nok) {\n const self = this\n return start\n\n /**\n *\n *\n * @type {State}\n */\n function start(code) {\n if (code === null) {\n return nok(code)\n }\n effects.enter('lineEnding')\n effects.consume(code)\n effects.exit('lineEnding')\n return lineStart\n }\n\n /**\n *\n *\n * @type {State}\n */\n function lineStart(code) {\n return self.parser.lazy[self.now().line] ? nok(code) : ok(code)\n }\n}\n","/// \n\n/* eslint-env browser */\n\nconst element = document.createElement('i')\n\n/**\n * @param {string} value\n * @returns {string|false}\n */\nexport function decodeNamedCharacterReference(value) {\n const characterReference = '&' + value + ';'\n element.innerHTML = characterReference\n const char = element.textContent\n\n // Some named character references do not require the closing semicolon\n // (`¬`, for instance), which leads to situations where parsing the assumed\n // named reference of `¬it;` will result in the string `¬it;`.\n // When we encounter a trailing semicolon after parsing, and the character\n // reference to decode was not a semicolon (`;`), we can assume that the\n // matching was not complete.\n // @ts-expect-error: TypeScript is wrong that `textContent` on elements can\n // yield `null`.\n if (char.charCodeAt(char.length - 1) === 59 /* `;` */ && value !== 'semi') {\n return false\n }\n\n // If the decoded string is equal to the input, the character reference was\n // not valid.\n // @ts-expect-error: TypeScript is wrong that `textContent` on elements can\n // yield `null`.\n return char === characterReference ? false : char\n}\n","/**\n * @typedef {import('micromark-util-types').Code} Code\n * @typedef {import('micromark-util-types').Construct} Construct\n * @typedef {import('micromark-util-types').State} State\n * @typedef {import('micromark-util-types').TokenizeContext} TokenizeContext\n * @typedef {import('micromark-util-types').Tokenizer} Tokenizer\n */\n\nimport {decodeNamedCharacterReference} from 'decode-named-character-reference'\nimport {\n asciiAlphanumeric,\n asciiDigit,\n asciiHexDigit\n} from 'micromark-util-character'\n/** @type {Construct} */\nexport const characterReference = {\n name: 'characterReference',\n tokenize: tokenizeCharacterReference\n}\n\n/**\n * @this {TokenizeContext}\n * @type {Tokenizer}\n */\nfunction tokenizeCharacterReference(effects, ok, nok) {\n const self = this\n let size = 0\n /** @type {number} */\n let max\n /** @type {(code: Code) => boolean} */\n let test\n return start\n\n /**\n * Start of character reference.\n *\n * ```markdown\n * > | a&b\n * ^\n * > | a{b\n * ^\n * > | a b\n * ^\n * ```\n *\n * @type {State}\n */\n function start(code) {\n effects.enter('characterReference')\n effects.enter('characterReferenceMarker')\n effects.consume(code)\n effects.exit('characterReferenceMarker')\n return open\n }\n\n /**\n * After `&`, at `#` for numeric references or alphanumeric for named\n * references.\n *\n * ```markdown\n * > | a&b\n * ^\n * > | a{b\n * ^\n * > | a b\n * ^\n * ```\n *\n * @type {State}\n */\n function open(code) {\n if (code === 35) {\n effects.enter('characterReferenceMarkerNumeric')\n effects.consume(code)\n effects.exit('characterReferenceMarkerNumeric')\n return numeric\n }\n effects.enter('characterReferenceValue')\n max = 31\n test = asciiAlphanumeric\n return value(code)\n }\n\n /**\n * After `#`, at `x` for hexadecimals or digit for decimals.\n *\n * ```markdown\n * > | a{b\n * ^\n * > | a b\n * ^\n * ```\n *\n * @type {State}\n */\n function numeric(code) {\n if (code === 88 || code === 120) {\n effects.enter('characterReferenceMarkerHexadecimal')\n effects.consume(code)\n effects.exit('characterReferenceMarkerHexadecimal')\n effects.enter('characterReferenceValue')\n max = 6\n test = asciiHexDigit\n return value\n }\n effects.enter('characterReferenceValue')\n max = 7\n test = asciiDigit\n return value(code)\n }\n\n /**\n * After markers (``, ``, or `&`), in value, before `;`.\n *\n * The character reference kind defines what and how many characters are\n * allowed.\n *\n * ```markdown\n * > | a&b\n * ^^^\n * > | a{b\n * ^^^\n * > | a b\n * ^\n * ```\n *\n * @type {State}\n */\n function value(code) {\n if (code === 59 && size) {\n const token = effects.exit('characterReferenceValue')\n if (\n test === asciiAlphanumeric &&\n !decodeNamedCharacterReference(self.sliceSerialize(token))\n ) {\n return nok(code)\n }\n\n // To do: `markdown-rs` uses a different name:\n // `CharacterReferenceMarkerSemi`.\n effects.enter('characterReferenceMarker')\n effects.consume(code)\n effects.exit('characterReferenceMarker')\n effects.exit('characterReference')\n return ok\n }\n if (test(code) && size++ < max) {\n effects.consume(code)\n return value\n }\n return nok(code)\n }\n}\n","/**\n * @typedef {import('micromark-util-types').Construct} Construct\n * @typedef {import('micromark-util-types').State} State\n * @typedef {import('micromark-util-types').TokenizeContext} TokenizeContext\n * @typedef {import('micromark-util-types').Tokenizer} Tokenizer\n */\n\nimport {asciiPunctuation} from 'micromark-util-character'\n/** @type {Construct} */\nexport const characterEscape = {\n name: 'characterEscape',\n tokenize: tokenizeCharacterEscape\n}\n\n/**\n * @this {TokenizeContext}\n * @type {Tokenizer}\n */\nfunction tokenizeCharacterEscape(effects, ok, nok) {\n return start\n\n /**\n * Start of character escape.\n *\n * ```markdown\n * > | a\\*b\n * ^\n * ```\n *\n * @type {State}\n */\n function start(code) {\n effects.enter('characterEscape')\n effects.enter('escapeMarker')\n effects.consume(code)\n effects.exit('escapeMarker')\n return inside\n }\n\n /**\n * After `\\`, at punctuation.\n *\n * ```markdown\n * > | a\\*b\n * ^\n * ```\n *\n * @type {State}\n */\n function inside(code) {\n // ASCII punctuation.\n if (asciiPunctuation(code)) {\n effects.enter('characterEscapeValue')\n effects.consume(code)\n effects.exit('characterEscapeValue')\n effects.exit('characterEscape')\n return ok\n }\n return nok(code)\n }\n}\n","/**\n * @typedef {import('micromark-util-types').Construct} Construct\n * @typedef {import('micromark-util-types').State} State\n * @typedef {import('micromark-util-types').TokenizeContext} TokenizeContext\n * @typedef {import('micromark-util-types').Tokenizer} Tokenizer\n */\n\nimport {factorySpace} from 'micromark-factory-space'\nimport {markdownLineEnding} from 'micromark-util-character'\n/** @type {Construct} */\nexport const lineEnding = {\n name: 'lineEnding',\n tokenize: tokenizeLineEnding\n}\n\n/**\n * @this {TokenizeContext}\n * @type {Tokenizer}\n */\nfunction tokenizeLineEnding(effects, ok) {\n return start\n\n /** @type {State} */\n function start(code) {\n effects.enter('lineEnding')\n effects.consume(code)\n effects.exit('lineEnding')\n return factorySpace(effects, ok, 'linePrefix')\n }\n}\n","/**\n * @typedef {import('micromark-util-types').Construct} Construct\n * @typedef {import('micromark-util-types').Event} Event\n * @typedef {import('micromark-util-types').Resolver} Resolver\n * @typedef {import('micromark-util-types').State} State\n * @typedef {import('micromark-util-types').Token} Token\n * @typedef {import('micromark-util-types').TokenizeContext} TokenizeContext\n * @typedef {import('micromark-util-types').Tokenizer} Tokenizer\n */\n\nimport {factoryDestination} from 'micromark-factory-destination'\nimport {factoryLabel} from 'micromark-factory-label'\nimport {factoryTitle} from 'micromark-factory-title'\nimport {factoryWhitespace} from 'micromark-factory-whitespace'\nimport {markdownLineEndingOrSpace} from 'micromark-util-character'\nimport {push, splice} from 'micromark-util-chunked'\nimport {normalizeIdentifier} from 'micromark-util-normalize-identifier'\nimport {resolveAll} from 'micromark-util-resolve-all'\n/** @type {Construct} */\nexport const labelEnd = {\n name: 'labelEnd',\n tokenize: tokenizeLabelEnd,\n resolveTo: resolveToLabelEnd,\n resolveAll: resolveAllLabelEnd\n}\n\n/** @type {Construct} */\nconst resourceConstruct = {\n tokenize: tokenizeResource\n}\n/** @type {Construct} */\nconst referenceFullConstruct = {\n tokenize: tokenizeReferenceFull\n}\n/** @type {Construct} */\nconst referenceCollapsedConstruct = {\n tokenize: tokenizeReferenceCollapsed\n}\n\n/** @type {Resolver} */\nfunction resolveAllLabelEnd(events) {\n let index = -1\n while (++index < events.length) {\n const token = events[index][1]\n if (\n token.type === 'labelImage' ||\n token.type === 'labelLink' ||\n token.type === 'labelEnd'\n ) {\n // Remove the marker.\n events.splice(index + 1, token.type === 'labelImage' ? 4 : 2)\n token.type = 'data'\n index++\n }\n }\n return events\n}\n\n/** @type {Resolver} */\nfunction resolveToLabelEnd(events, context) {\n let index = events.length\n let offset = 0\n /** @type {Token} */\n let token\n /** @type {number | undefined} */\n let open\n /** @type {number | undefined} */\n let close\n /** @type {Array} */\n let media\n\n // Find an opening.\n while (index--) {\n token = events[index][1]\n if (open) {\n // If we see another link, or inactive link label, we’ve been here before.\n if (\n token.type === 'link' ||\n (token.type === 'labelLink' && token._inactive)\n ) {\n break\n }\n\n // Mark other link openings as inactive, as we can’t have links in\n // links.\n if (events[index][0] === 'enter' && token.type === 'labelLink') {\n token._inactive = true\n }\n } else if (close) {\n if (\n events[index][0] === 'enter' &&\n (token.type === 'labelImage' || token.type === 'labelLink') &&\n !token._balanced\n ) {\n open = index\n if (token.type !== 'labelLink') {\n offset = 2\n break\n }\n }\n } else if (token.type === 'labelEnd') {\n close = index\n }\n }\n const group = {\n type: events[open][1].type === 'labelLink' ? 'link' : 'image',\n start: Object.assign({}, events[open][1].start),\n end: Object.assign({}, events[events.length - 1][1].end)\n }\n const label = {\n type: 'label',\n start: Object.assign({}, events[open][1].start),\n end: Object.assign({}, events[close][1].end)\n }\n const text = {\n type: 'labelText',\n start: Object.assign({}, events[open + offset + 2][1].end),\n end: Object.assign({}, events[close - 2][1].start)\n }\n media = [\n ['enter', group, context],\n ['enter', label, context]\n ]\n\n // Opening marker.\n media = push(media, events.slice(open + 1, open + offset + 3))\n\n // Text open.\n media = push(media, [['enter', text, context]])\n\n // Always populated by defaults.\n\n // Between.\n media = push(\n media,\n resolveAll(\n context.parser.constructs.insideSpan.null,\n events.slice(open + offset + 4, close - 3),\n context\n )\n )\n\n // Text close, marker close, label close.\n media = push(media, [\n ['exit', text, context],\n events[close - 2],\n events[close - 1],\n ['exit', label, context]\n ])\n\n // Reference, resource, or so.\n media = push(media, events.slice(close + 1))\n\n // Media close.\n media = push(media, [['exit', group, context]])\n splice(events, open, events.length, media)\n return events\n}\n\n/**\n * @this {TokenizeContext}\n * @type {Tokenizer}\n */\nfunction tokenizeLabelEnd(effects, ok, nok) {\n const self = this\n let index = self.events.length\n /** @type {Token} */\n let labelStart\n /** @type {boolean} */\n let defined\n\n // Find an opening.\n while (index--) {\n if (\n (self.events[index][1].type === 'labelImage' ||\n self.events[index][1].type === 'labelLink') &&\n !self.events[index][1]._balanced\n ) {\n labelStart = self.events[index][1]\n break\n }\n }\n return start\n\n /**\n * Start of label end.\n *\n * ```markdown\n * > | [a](b) c\n * ^\n * > | [a][b] c\n * ^\n * > | [a][] b\n * ^\n * > | [a] b\n * ```\n *\n * @type {State}\n */\n function start(code) {\n // If there is not an okay opening.\n if (!labelStart) {\n return nok(code)\n }\n\n // If the corresponding label (link) start is marked as inactive,\n // it means we’d be wrapping a link, like this:\n //\n // ```markdown\n // > | a [b [c](d) e](f) g.\n // ^\n // ```\n //\n // We can’t have that, so it’s just balanced brackets.\n if (labelStart._inactive) {\n return labelEndNok(code)\n }\n defined = self.parser.defined.includes(\n normalizeIdentifier(\n self.sliceSerialize({\n start: labelStart.end,\n end: self.now()\n })\n )\n )\n effects.enter('labelEnd')\n effects.enter('labelMarker')\n effects.consume(code)\n effects.exit('labelMarker')\n effects.exit('labelEnd')\n return after\n }\n\n /**\n * After `]`.\n *\n * ```markdown\n * > | [a](b) c\n * ^\n * > | [a][b] c\n * ^\n * > | [a][] b\n * ^\n * > | [a] b\n * ^\n * ```\n *\n * @type {State}\n */\n function after(code) {\n // Note: `markdown-rs` also parses GFM footnotes here, which for us is in\n // an extension.\n\n // Resource (`[asd](fgh)`)?\n if (code === 40) {\n return effects.attempt(\n resourceConstruct,\n labelEndOk,\n defined ? labelEndOk : labelEndNok\n )(code)\n }\n\n // Full (`[asd][fgh]`) or collapsed (`[asd][]`) reference?\n if (code === 91) {\n return effects.attempt(\n referenceFullConstruct,\n labelEndOk,\n defined ? referenceNotFull : labelEndNok\n )(code)\n }\n\n // Shortcut (`[asd]`) reference?\n return defined ? labelEndOk(code) : labelEndNok(code)\n }\n\n /**\n * After `]`, at `[`, but not at a full reference.\n *\n * > 👉 **Note**: we only get here if the label is defined.\n *\n * ```markdown\n * > | [a][] b\n * ^\n * > | [a] b\n * ^\n * ```\n *\n * @type {State}\n */\n function referenceNotFull(code) {\n return effects.attempt(\n referenceCollapsedConstruct,\n labelEndOk,\n labelEndNok\n )(code)\n }\n\n /**\n * Done, we found something.\n *\n * ```markdown\n * > | [a](b) c\n * ^\n * > | [a][b] c\n * ^\n * > | [a][] b\n * ^\n * > | [a] b\n * ^\n * ```\n *\n * @type {State}\n */\n function labelEndOk(code) {\n // Note: `markdown-rs` does a bunch of stuff here.\n return ok(code)\n }\n\n /**\n * Done, it’s nothing.\n *\n * There was an okay opening, but we didn’t match anything.\n *\n * ```markdown\n * > | [a](b c\n * ^\n * > | [a][b c\n * ^\n * > | [a] b\n * ^\n * ```\n *\n * @type {State}\n */\n function labelEndNok(code) {\n labelStart._balanced = true\n return nok(code)\n }\n}\n\n/**\n * @this {TokenizeContext}\n * @type {Tokenizer}\n */\nfunction tokenizeResource(effects, ok, nok) {\n return resourceStart\n\n /**\n * At a resource.\n *\n * ```markdown\n * > | [a](b) c\n * ^\n * ```\n *\n * @type {State}\n */\n function resourceStart(code) {\n effects.enter('resource')\n effects.enter('resourceMarker')\n effects.consume(code)\n effects.exit('resourceMarker')\n return resourceBefore\n }\n\n /**\n * In resource, after `(`, at optional whitespace.\n *\n * ```markdown\n * > | [a](b) c\n * ^\n * ```\n *\n * @type {State}\n */\n function resourceBefore(code) {\n return markdownLineEndingOrSpace(code)\n ? factoryWhitespace(effects, resourceOpen)(code)\n : resourceOpen(code)\n }\n\n /**\n * In resource, after optional whitespace, at `)` or a destination.\n *\n * ```markdown\n * > | [a](b) c\n * ^\n * ```\n *\n * @type {State}\n */\n function resourceOpen(code) {\n if (code === 41) {\n return resourceEnd(code)\n }\n return factoryDestination(\n effects,\n resourceDestinationAfter,\n resourceDestinationMissing,\n 'resourceDestination',\n 'resourceDestinationLiteral',\n 'resourceDestinationLiteralMarker',\n 'resourceDestinationRaw',\n 'resourceDestinationString',\n 32\n )(code)\n }\n\n /**\n * In resource, after destination, at optional whitespace.\n *\n * ```markdown\n * > | [a](b) c\n * ^\n * ```\n *\n * @type {State}\n */\n function resourceDestinationAfter(code) {\n return markdownLineEndingOrSpace(code)\n ? factoryWhitespace(effects, resourceBetween)(code)\n : resourceEnd(code)\n }\n\n /**\n * At invalid destination.\n *\n * ```markdown\n * > | [a](<<) b\n * ^\n * ```\n *\n * @type {State}\n */\n function resourceDestinationMissing(code) {\n return nok(code)\n }\n\n /**\n * In resource, after destination and whitespace, at `(` or title.\n *\n * ```markdown\n * > | [a](b ) c\n * ^\n * ```\n *\n * @type {State}\n */\n function resourceBetween(code) {\n if (code === 34 || code === 39 || code === 40) {\n return factoryTitle(\n effects,\n resourceTitleAfter,\n nok,\n 'resourceTitle',\n 'resourceTitleMarker',\n 'resourceTitleString'\n )(code)\n }\n return resourceEnd(code)\n }\n\n /**\n * In resource, after title, at optional whitespace.\n *\n * ```markdown\n * > | [a](b \"c\") d\n * ^\n * ```\n *\n * @type {State}\n */\n function resourceTitleAfter(code) {\n return markdownLineEndingOrSpace(code)\n ? factoryWhitespace(effects, resourceEnd)(code)\n : resourceEnd(code)\n }\n\n /**\n * In resource, at `)`.\n *\n * ```markdown\n * > | [a](b) d\n * ^\n * ```\n *\n * @type {State}\n */\n function resourceEnd(code) {\n if (code === 41) {\n effects.enter('resourceMarker')\n effects.consume(code)\n effects.exit('resourceMarker')\n effects.exit('resource')\n return ok\n }\n return nok(code)\n }\n}\n\n/**\n * @this {TokenizeContext}\n * @type {Tokenizer}\n */\nfunction tokenizeReferenceFull(effects, ok, nok) {\n const self = this\n return referenceFull\n\n /**\n * In a reference (full), at the `[`.\n *\n * ```markdown\n * > | [a][b] d\n * ^\n * ```\n *\n * @type {State}\n */\n function referenceFull(code) {\n return factoryLabel.call(\n self,\n effects,\n referenceFullAfter,\n referenceFullMissing,\n 'reference',\n 'referenceMarker',\n 'referenceString'\n )(code)\n }\n\n /**\n * In a reference (full), after `]`.\n *\n * ```markdown\n * > | [a][b] d\n * ^\n * ```\n *\n * @type {State}\n */\n function referenceFullAfter(code) {\n return self.parser.defined.includes(\n normalizeIdentifier(\n self.sliceSerialize(self.events[self.events.length - 1][1]).slice(1, -1)\n )\n )\n ? ok(code)\n : nok(code)\n }\n\n /**\n * In reference (full) that was missing.\n *\n * ```markdown\n * > | [a][b d\n * ^\n * ```\n *\n * @type {State}\n */\n function referenceFullMissing(code) {\n return nok(code)\n }\n}\n\n/**\n * @this {TokenizeContext}\n * @type {Tokenizer}\n */\nfunction tokenizeReferenceCollapsed(effects, ok, nok) {\n return referenceCollapsedStart\n\n /**\n * In reference (collapsed), at `[`.\n *\n * > 👉 **Note**: we only get here if the label is defined.\n *\n * ```markdown\n * > | [a][] d\n * ^\n * ```\n *\n * @type {State}\n */\n function referenceCollapsedStart(code) {\n // We only attempt a collapsed label if there’s a `[`.\n\n effects.enter('reference')\n effects.enter('referenceMarker')\n effects.consume(code)\n effects.exit('referenceMarker')\n return referenceCollapsedOpen\n }\n\n /**\n * In reference (collapsed), at `]`.\n *\n * > 👉 **Note**: we only get here if the label is defined.\n *\n * ```markdown\n * > | [a][] d\n * ^\n * ```\n *\n * @type {State}\n */\n function referenceCollapsedOpen(code) {\n if (code === 93) {\n effects.enter('referenceMarker')\n effects.consume(code)\n effects.exit('referenceMarker')\n effects.exit('reference')\n return ok\n }\n return nok(code)\n }\n}\n","/**\n * @typedef {import('micromark-util-types').Construct} Construct\n * @typedef {import('micromark-util-types').State} State\n * @typedef {import('micromark-util-types').TokenizeContext} TokenizeContext\n * @typedef {import('micromark-util-types').Tokenizer} Tokenizer\n */\n\nimport {labelEnd} from './label-end.js'\n\n/** @type {Construct} */\nexport const labelStartImage = {\n name: 'labelStartImage',\n tokenize: tokenizeLabelStartImage,\n resolveAll: labelEnd.resolveAll\n}\n\n/**\n * @this {TokenizeContext}\n * @type {Tokenizer}\n */\nfunction tokenizeLabelStartImage(effects, ok, nok) {\n const self = this\n return start\n\n /**\n * Start of label (image) start.\n *\n * ```markdown\n * > | a ![b] c\n * ^\n * ```\n *\n * @type {State}\n */\n function start(code) {\n effects.enter('labelImage')\n effects.enter('labelImageMarker')\n effects.consume(code)\n effects.exit('labelImageMarker')\n return open\n }\n\n /**\n * After `!`, at `[`.\n *\n * ```markdown\n * > | a ![b] c\n * ^\n * ```\n *\n * @type {State}\n */\n function open(code) {\n if (code === 91) {\n effects.enter('labelMarker')\n effects.consume(code)\n effects.exit('labelMarker')\n effects.exit('labelImage')\n return after\n }\n return nok(code)\n }\n\n /**\n * After `![`.\n *\n * ```markdown\n * > | a ![b] c\n * ^\n * ```\n *\n * This is needed in because, when GFM footnotes are enabled, images never\n * form when started with a `^`.\n * Instead, links form:\n *\n * ```markdown\n * ![^a](b)\n *\n * ![^a][b]\n *\n * [b]: c\n * ```\n *\n * ```html\n * !^a
\n * !^a
\n * ```\n *\n * @type {State}\n */\n function after(code) {\n // To do: use a new field to do this, this is still needed for\n // `micromark-extension-gfm-footnote`, but the `label-start-link`\n // behavior isn’t.\n // Hidden footnotes hook.\n /* c8 ignore next 3 */\n return code === 94 && '_hiddenFootnoteSupport' in self.parser.constructs\n ? nok(code)\n : ok(code)\n }\n}\n","/**\n * @typedef {import('micromark-util-types').Code} Code\n */\n\nimport {\n markdownLineEndingOrSpace,\n unicodePunctuation,\n unicodeWhitespace\n} from 'micromark-util-character'\n/**\n * Classify whether a code represents whitespace, punctuation, or something\n * else.\n *\n * Used for attention (emphasis, strong), whose sequences can open or close\n * based on the class of surrounding characters.\n *\n * > 👉 **Note**: eof (`null`) is seen as whitespace.\n *\n * @param {Code} code\n * Code.\n * @returns {typeof constants.characterGroupWhitespace | typeof constants.characterGroupPunctuation | undefined}\n * Group.\n */\nexport function classifyCharacter(code) {\n if (\n code === null ||\n markdownLineEndingOrSpace(code) ||\n unicodeWhitespace(code)\n ) {\n return 1\n }\n if (unicodePunctuation(code)) {\n return 2\n }\n}\n","/**\n * @typedef {import('micromark-util-types').Code} Code\n * @typedef {import('micromark-util-types').Construct} Construct\n * @typedef {import('micromark-util-types').Event} Event\n * @typedef {import('micromark-util-types').Point} Point\n * @typedef {import('micromark-util-types').Resolver} Resolver\n * @typedef {import('micromark-util-types').State} State\n * @typedef {import('micromark-util-types').Token} Token\n * @typedef {import('micromark-util-types').TokenizeContext} TokenizeContext\n * @typedef {import('micromark-util-types').Tokenizer} Tokenizer\n */\n\nimport {push, splice} from 'micromark-util-chunked'\nimport {classifyCharacter} from 'micromark-util-classify-character'\nimport {resolveAll} from 'micromark-util-resolve-all'\n/** @type {Construct} */\nexport const attention = {\n name: 'attention',\n tokenize: tokenizeAttention,\n resolveAll: resolveAllAttention\n}\n\n/**\n * Take all events and resolve attention to emphasis or strong.\n *\n * @type {Resolver}\n */\nfunction resolveAllAttention(events, context) {\n let index = -1\n /** @type {number} */\n let open\n /** @type {Token} */\n let group\n /** @type {Token} */\n let text\n /** @type {Token} */\n let openingSequence\n /** @type {Token} */\n let closingSequence\n /** @type {number} */\n let use\n /** @type {Array} */\n let nextEvents\n /** @type {number} */\n let offset\n\n // Walk through all events.\n //\n // Note: performance of this is fine on an mb of normal markdown, but it’s\n // a bottleneck for malicious stuff.\n while (++index < events.length) {\n // Find a token that can close.\n if (\n events[index][0] === 'enter' &&\n events[index][1].type === 'attentionSequence' &&\n events[index][1]._close\n ) {\n open = index\n\n // Now walk back to find an opener.\n while (open--) {\n // Find a token that can open the closer.\n if (\n events[open][0] === 'exit' &&\n events[open][1].type === 'attentionSequence' &&\n events[open][1]._open &&\n // If the markers are the same:\n context.sliceSerialize(events[open][1]).charCodeAt(0) ===\n context.sliceSerialize(events[index][1]).charCodeAt(0)\n ) {\n // If the opening can close or the closing can open,\n // and the close size *is not* a multiple of three,\n // but the sum of the opening and closing size *is* multiple of three,\n // then don’t match.\n if (\n (events[open][1]._close || events[index][1]._open) &&\n (events[index][1].end.offset - events[index][1].start.offset) % 3 &&\n !(\n (events[open][1].end.offset -\n events[open][1].start.offset +\n events[index][1].end.offset -\n events[index][1].start.offset) %\n 3\n )\n ) {\n continue\n }\n\n // Number of markers to use from the sequence.\n use =\n events[open][1].end.offset - events[open][1].start.offset > 1 &&\n events[index][1].end.offset - events[index][1].start.offset > 1\n ? 2\n : 1\n const start = Object.assign({}, events[open][1].end)\n const end = Object.assign({}, events[index][1].start)\n movePoint(start, -use)\n movePoint(end, use)\n openingSequence = {\n type: use > 1 ? 'strongSequence' : 'emphasisSequence',\n start,\n end: Object.assign({}, events[open][1].end)\n }\n closingSequence = {\n type: use > 1 ? 'strongSequence' : 'emphasisSequence',\n start: Object.assign({}, events[index][1].start),\n end\n }\n text = {\n type: use > 1 ? 'strongText' : 'emphasisText',\n start: Object.assign({}, events[open][1].end),\n end: Object.assign({}, events[index][1].start)\n }\n group = {\n type: use > 1 ? 'strong' : 'emphasis',\n start: Object.assign({}, openingSequence.start),\n end: Object.assign({}, closingSequence.end)\n }\n events[open][1].end = Object.assign({}, openingSequence.start)\n events[index][1].start = Object.assign({}, closingSequence.end)\n nextEvents = []\n\n // If there are more markers in the opening, add them before.\n if (events[open][1].end.offset - events[open][1].start.offset) {\n nextEvents = push(nextEvents, [\n ['enter', events[open][1], context],\n ['exit', events[open][1], context]\n ])\n }\n\n // Opening.\n nextEvents = push(nextEvents, [\n ['enter', group, context],\n ['enter', openingSequence, context],\n ['exit', openingSequence, context],\n ['enter', text, context]\n ])\n\n // Always populated by defaults.\n\n // Between.\n nextEvents = push(\n nextEvents,\n resolveAll(\n context.parser.constructs.insideSpan.null,\n events.slice(open + 1, index),\n context\n )\n )\n\n // Closing.\n nextEvents = push(nextEvents, [\n ['exit', text, context],\n ['enter', closingSequence, context],\n ['exit', closingSequence, context],\n ['exit', group, context]\n ])\n\n // If there are more markers in the closing, add them after.\n if (events[index][1].end.offset - events[index][1].start.offset) {\n offset = 2\n nextEvents = push(nextEvents, [\n ['enter', events[index][1], context],\n ['exit', events[index][1], context]\n ])\n } else {\n offset = 0\n }\n splice(events, open - 1, index - open + 3, nextEvents)\n index = open + nextEvents.length - offset - 2\n break\n }\n }\n }\n }\n\n // Remove remaining sequences.\n index = -1\n while (++index < events.length) {\n if (events[index][1].type === 'attentionSequence') {\n events[index][1].type = 'data'\n }\n }\n return events\n}\n\n/**\n * @this {TokenizeContext}\n * @type {Tokenizer}\n */\nfunction tokenizeAttention(effects, ok) {\n const attentionMarkers = this.parser.constructs.attentionMarkers.null\n const previous = this.previous\n const before = classifyCharacter(previous)\n\n /** @type {NonNullable} */\n let marker\n return start\n\n /**\n * Before a sequence.\n *\n * ```markdown\n * > | **\n * ^\n * ```\n *\n * @type {State}\n */\n function start(code) {\n marker = code\n effects.enter('attentionSequence')\n return inside(code)\n }\n\n /**\n * In a sequence.\n *\n * ```markdown\n * > | **\n * ^^\n * ```\n *\n * @type {State}\n */\n function inside(code) {\n if (code === marker) {\n effects.consume(code)\n return inside\n }\n const token = effects.exit('attentionSequence')\n\n // To do: next major: move this to resolver, just like `markdown-rs`.\n const after = classifyCharacter(code)\n\n // Always populated by defaults.\n\n const open =\n !after || (after === 2 && before) || attentionMarkers.includes(code)\n const close =\n !before || (before === 2 && after) || attentionMarkers.includes(previous)\n token._open = Boolean(marker === 42 ? open : open && (before || !close))\n token._close = Boolean(marker === 42 ? close : close && (after || !open))\n return ok(code)\n }\n}\n\n/**\n * Move a point a bit.\n *\n * Note: `move` only works inside lines! It’s not possible to move past other\n * chunks (replacement characters, tabs, or line endings).\n *\n * @param {Point} point\n * @param {number} offset\n * @returns {void}\n */\nfunction movePoint(point, offset) {\n point.column += offset\n point.offset += offset\n point._bufferIndex += offset\n}\n","/**\n * @typedef {import('micromark-util-types').Construct} Construct\n * @typedef {import('micromark-util-types').State} State\n * @typedef {import('micromark-util-types').TokenizeContext} TokenizeContext\n * @typedef {import('micromark-util-types').Tokenizer} Tokenizer\n */\n\nimport {\n asciiAlpha,\n asciiAlphanumeric,\n asciiAtext,\n asciiControl\n} from 'micromark-util-character'\n/** @type {Construct} */\nexport const autolink = {\n name: 'autolink',\n tokenize: tokenizeAutolink\n}\n\n/**\n * @this {TokenizeContext}\n * @type {Tokenizer}\n */\nfunction tokenizeAutolink(effects, ok, nok) {\n let size = 0\n return start\n\n /**\n * Start of an autolink.\n *\n * ```markdown\n * > | ab\n * ^\n * > | ab\n * ^\n * ```\n *\n * @type {State}\n */\n function start(code) {\n effects.enter('autolink')\n effects.enter('autolinkMarker')\n effects.consume(code)\n effects.exit('autolinkMarker')\n effects.enter('autolinkProtocol')\n return open\n }\n\n /**\n * After `<`, at protocol or atext.\n *\n * ```markdown\n * > | ab\n * ^\n * > | ab\n * ^\n * ```\n *\n * @type {State}\n */\n function open(code) {\n if (asciiAlpha(code)) {\n effects.consume(code)\n return schemeOrEmailAtext\n }\n return emailAtext(code)\n }\n\n /**\n * At second byte of protocol or atext.\n *\n * ```markdown\n * > | ab\n * ^\n * > | a