1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[30074],{49211:function(e,t,o){"use strict";var r=o(99623),n={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,t){var o,a,i,c,l,s,u,p,f=!1;t||(t={}),i=t.debug||!1;try{if(l=r(),s=document.createRange(),u=document.getSelection(),(p=document.createElement("span")).textContent=e,p.ariaHidden="true",p.style.all="unset",p.style.position="fixed",p.style.top=0,p.style.clip="rect(0, 0, 0, 0)",p.style.whiteSpace="pre",p.style.webkitUserSelect="text",p.style.MozUserSelect="text",p.style.msUserSelect="text",p.style.userSelect="text",p.addEventListener("copy",function(o){if(o.stopPropagation(),t.format){if(o.preventDefault(),void 0===o.clipboardData){i&&console.warn("unable to use e.clipboardData"),i&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var r=n[t.format]||n.default;window.clipboardData.setData(r,e)}else o.clipboardData.clearData(),o.clipboardData.setData(t.format,e)}t.onCopy&&(o.preventDefault(),t.onCopy(o.clipboardData))}),document.body.appendChild(p),s.selectNodeContents(p),u.addRange(s),!document.execCommand("copy"))throw Error("copy command was unsuccessful");f=!0}catch(r){i&&console.error("unable to copy using execCommand: ",r),i&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),f=!0}catch(r){i&&console.error("unable to copy using clipboardData: ",r),i&&console.error("falling back to prompt"),o="message"in t?t.message:"Copy to clipboard: #{key}, Enter",a=(/mac os x/i.test(navigator.userAgent)?"â":"Ctrl")+"+C",c=o.replace(/#{\s*key\s*}/g,a),window.prompt(c,e)}}finally{u&&("function"==typeof u.removeRange?u.removeRange(s):u.removeAllRanges()),p&&document.body.removeChild(p),l()}return f}},6337:function(e,t,o){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.CopyToClipboard=void 0;var n=c(o(2265)),a=c(o(49211)),i=["text","onCopy","options","children"];function c(e){return e&&e.__esModule?e:{default:e}}function l(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),o.push.apply(o,r)}return o}function s(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?l(Object(o),!0).forEach(function(t){d(e,t,o[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):l(Object(o)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))})}return e}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function p(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function d(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}var y=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&u(e,t)}(l,e);var t,o,c=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,o=f(l);return e=t?Reflect.construct(o,arguments,f(this).constructor):o.apply(this,arguments),function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return p(e)}(this,e)});function l(){var e;!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,l);for(var t=arguments.length,o=Array(t),r=0;r<t;r++)o[r]=arguments[r];return d(p(e=c.call.apply(c,[this].concat(o))),"onClick",function(t){var o=e.props,r=o.text,i=o.onCopy,c=o.children,l=o.options,s=n.default.Children.only(c),u=(0,a.default)(r,l);i&&i(r,u),s&&s.props&&"function"==typeof s.props.onClick&&s.props.onClick(t)}),e}return o=[{key:"render",value:function(){var e=this.props,t=(e.text,e.onCopy,e.options,e.children),o=function(e,t){if(null==e)return{};var o,r,n=function(e,t){if(null==e)return{};var o,r,n={},a=Object.keys(e);for(r=0;r<a.length;r++)o=a[r],t.indexOf(o)>=0||(n[o]=e[o]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)o=a[r],!(t.indexOf(o)>=0)&&Object.prototype.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}(e,i),r=n.default.Children.only(t);return n.default.cloneElement(r,s(s({},o),{},{onClick:this.onClick}))}}],function(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(l.prototype,o),Object.defineProperty(l,"prototype",{writable:!1}),l}(n.default.PureComponent);t.CopyToClipboard=y,d(y,"defaultProps",{onCopy:void 0,options:void 0})},29233:function(e,t,o){"use strict";var r=o(6337).CopyToClipboard;r.CopyToClipboard=r,e.exports=r},99623:function(e){e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,o=[],r=0;r<e.rangeCount;r++)o.push(e.getRangeAt(r));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null}return e.removeAllRanges(),function(){"Caret"===e.type&&e.removeAllRanges(),e.rangeCount||o.forEach(function(t){e.addRange(t)}
1),t&&t.focus()}}},30074:function(e,t,o){"use strict";o.r(t);var r=o(57437),n=o(2265),a=o(29233),i=o.n(a),c=o(71488),l=o(33145),s=o(38452);t.default=e=>{let{text:t,tooltipLabel:o,copiedLabel:a,iconSrc:u="/images/icons/copy-clipboard.svg",iconAlt:p="copy",iconSize:f=20,className:d="",dataTestId:y="copy-to-clipboard",tooltipClass:b=""}=e,[m,h]=(0,n.useState)(!1),[g,v]=(0,n.useState)(!1),x=(0,n.useCallback)(()=>{h(!0),v(!0),setTimeout(()=>{h(!1),v(!1)},2e3)},[]);return(0,r.jsx)(i(),{onCopy:x,text:t,"data-testid":y,children:(0,r.jsx)("div",{className:"shrink-0 flex justify-center items-center bg-transparent ".concat(d),children:(0,r.jsx)(c.pn,{children:(0,r.jsxs)(c.u,{open:g,onOpenChange:v,delayDuration:200,children:[(0,r.jsx)(c.aJ,{asChild:!0,children:(0,r.jsx)("div",{className:"relative shadow-lg",children:(0,r.jsx)(l.default,{src:u,alt:p,width:f,height:f,className:"relative z-10"})})}),(0,r.jsx)(c._v,{className:(0,s.cn)("bg-black !w-fit min-h-[30px] max-h-[364px] overflow-y-auto scrollbar-hide",b),variant:"bottom",side:"bottom",align:"end",sideOffset:8,alignOffset:-8,children:(0,r.jsx)("p",{children:m?a:o})})]})})})})}},71488:function(e,t,o){"use strict";o.d(t,{_v:function(){return u},aJ:function(){return s},pn:function(){return c},u:function(){return l}});var r=o(57437),n=o(2265),a=o(91668),i=o(38452);let c=a.zt,l=a.fC,s=a.xz,u=n.forwardRef((e,t)=>{let{className:o,sideOffset:n=4,variant:c,...l}=e;return(0,r.jsxs)(a.VY,{ref:t,sideOffset:n,align:"center",className:(0,i.cn)("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ",o,"bottom"===c&&"border-[#25503E] rounded-[8px] p-[12px] gap-[12px] flex flex-col tooltip-content bg-[#192421]"),...l,children:["bottom"===c&&(0,r.jsx)("div",{className:"w-[11px] absolute right-[12px] -top-[5px] h-[11px] border border-[#25503E] bg-[#192421] border-b-0 border-r-0 transform rotate-45"}),l.children]})});u.displayName=a.VY.displayName}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.