@codeyam/codeyam-cli 0.1.0-staging.c1c8678 → 0.1.0-staging.c5503ac

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (70) hide show
  1. package/analyzer-template/.build-info.json +6 -6
  2. package/analyzer-template/log.txt +3 -3
  3. package/codeyam-cli/src/utils/__tests__/npmVersionCheck.test.js +179 -0
  4. package/codeyam-cli/src/utils/__tests__/npmVersionCheck.test.js.map +1 -0
  5. package/codeyam-cli/src/utils/backgroundServer.js +0 -10
  6. package/codeyam-cli/src/utils/backgroundServer.js.map +1 -1
  7. package/codeyam-cli/src/utils/npmVersionCheck.js +76 -0
  8. package/codeyam-cli/src/utils/npmVersionCheck.js.map +1 -0
  9. package/codeyam-cli/src/webserver/__tests__/dependency-smoke.test.js +66 -0
  10. package/codeyam-cli/src/webserver/__tests__/dependency-smoke.test.js.map +1 -0
  11. package/codeyam-cli/src/webserver/build/client/assets/CopyButton-jNYXRRNI.js +1 -0
  12. package/codeyam-cli/src/webserver/build/client/assets/{EntityItem-BLlhOa3C.js → EntityItem-bwuHPyTa.js} +1 -1
  13. package/codeyam-cli/src/webserver/build/client/assets/{EntityTypeBadge-De5b5pC7.js → EntityTypeBadge-CvzqMxcu.js} +1 -1
  14. package/codeyam-cli/src/webserver/build/client/assets/{EntityTypeIcon-CzdG5I7z.js → EntityTypeIcon-BH0XDim7.js} +1 -1
  15. package/codeyam-cli/src/webserver/build/client/assets/{InlineSpinner-Bclf8Hka.js → InlineSpinner-EhOseatT.js} +1 -1
  16. package/codeyam-cli/src/webserver/build/client/assets/{InteractivePreview-Ce-byqKl.js → InteractivePreview-yjIHlOGa.js} +2 -2
  17. package/codeyam-cli/src/webserver/build/client/assets/{LibraryFunctionPreview-DEMHrl7v.js → LibraryFunctionPreview-Cq5o8jL4.js} +1 -1
  18. package/codeyam-cli/src/webserver/build/client/assets/{LoadingDots-B1LNGboS.js → LoadingDots-BvMu2i-g.js} +1 -1
  19. package/codeyam-cli/src/webserver/build/client/assets/{LogViewer-B0Ll1DjK.js → LogViewer-kgBTLoJD.js} +1 -1
  20. package/codeyam-cli/src/webserver/build/client/assets/{ReportIssueModal-CVOvmCKb.js → ReportIssueModal-BzPgx-xO.js} +1 -1
  21. package/codeyam-cli/src/webserver/build/client/assets/{SafeScreenshot-L0DWHa_L.js → SafeScreenshot-CwZrv-Ok.js} +1 -1
  22. package/codeyam-cli/src/webserver/build/client/assets/{ScenarioViewer-D54Mmpwi.js → ScenarioViewer-BX2Ny2Qj.js} +1 -1
  23. package/codeyam-cli/src/webserver/build/client/assets/{TruncatedFilePath-C7PFQfXy.js → TruncatedFilePath-CDpEprKa.js} +1 -1
  24. package/codeyam-cli/src/webserver/build/client/assets/{_index-CKTtYlBU.js → _index-BRx8ZGZo.js} +1 -1
  25. package/codeyam-cli/src/webserver/build/client/assets/{activity.(_tab)-CdziRIWU.js → activity.(_tab)-4S4yPfFw.js} +1 -1
  26. package/codeyam-cli/src/webserver/build/client/assets/{agent-transcripts-CPXtdaWm.js → agent-transcripts-DHKuQSmR.js} +1 -1
  27. package/codeyam-cli/src/webserver/build/client/assets/{book-open-Ch8b7GyQ.js → book-open-D4IPYH_y.js} +1 -1
  28. package/codeyam-cli/src/webserver/build/client/assets/{chevron-down-vJHJExlT.js → chevron-down-CG65viiV.js} +1 -1
  29. package/codeyam-cli/src/webserver/build/client/assets/{chunk-JZWAC4HX-BEyX4X6_.js → chunk-JZWAC4HX-DB3aFuEO.js} +11 -11
  30. package/codeyam-cli/src/webserver/build/client/assets/{circle-check-rwynPZTW.js → circle-check-igfMr5DY.js} +1 -1
  31. package/codeyam-cli/src/webserver/build/client/assets/{copy-BBSpeBYf.js → copy-Coc4o_8c.js} +1 -1
  32. package/codeyam-cli/src/webserver/build/client/assets/{createLucideIcon-DHVDauuc.js → createLucideIcon-D1zB-pYc.js} +1 -1
  33. package/codeyam-cli/src/webserver/build/client/assets/{dev.empty-B9_ZqelV.js → dev.empty-JTAjQ54M.js} +1 -1
  34. package/codeyam-cli/src/webserver/build/client/assets/entity._sha._-B0h9AqE6.js +23 -0
  35. package/codeyam-cli/src/webserver/build/client/assets/{entity._sha.scenarios._scenarioId.fullscreen-Cfw__yQa.js → entity._sha.scenarios._scenarioId.fullscreen-DjLxr2JB.js} +1 -1
  36. package/codeyam-cli/src/webserver/build/client/assets/{entity._sha_.create-scenario-BIDUUrI3.js → entity._sha_.create-scenario-CtYowLOt.js} +1 -1
  37. package/codeyam-cli/src/webserver/build/client/assets/{entity._sha_.edit._scenarioId-BEqewwtZ.js → entity._sha_.edit._scenarioId-PePWg17F.js} +1 -1
  38. package/codeyam-cli/src/webserver/build/client/assets/{entry.client-Dxqz8ygt.js → entry.client-I-Wo99C_.js} +1 -1
  39. package/codeyam-cli/src/webserver/build/client/assets/{fileTableUtils-CYnF5KWN.js → fileTableUtils-9sMMAiWJ.js} +1 -1
  40. package/codeyam-cli/src/webserver/build/client/assets/{files-B_dAq2PQ.js → files-Co65J0s3.js} +1 -1
  41. package/codeyam-cli/src/webserver/build/client/assets/{git-BHPqH3Ch.js → git-BdHOxVfg.js} +1 -1
  42. package/codeyam-cli/src/webserver/build/client/assets/globals-CCgBKWy4.css +1 -0
  43. package/codeyam-cli/src/webserver/build/client/assets/{index-viijWaN6.js → index-CUM5iXwc.js} +1 -1
  44. package/codeyam-cli/src/webserver/build/client/assets/{index-DgAAopZk.js → index-_417gcQW.js} +1 -1
  45. package/codeyam-cli/src/webserver/build/client/assets/{labs-ChoAe3xq.js → labs-BK0C1H1T.js} +1 -1
  46. package/codeyam-cli/src/webserver/build/client/assets/{loader-circle-LGi2eKI5.js → loader-circle-TzRHMVog.js} +1 -1
  47. package/codeyam-cli/src/webserver/build/client/assets/{manifest-87493a32.js → manifest-7d29f0c4.js} +1 -1
  48. package/codeyam-cli/src/webserver/build/client/assets/memory-CzZySbBE.js +78 -0
  49. package/codeyam-cli/src/webserver/build/client/assets/{pause-DxJFmMsK.js → pause-hjzB7t2z.js} +1 -1
  50. package/codeyam-cli/src/webserver/build/client/assets/root-COPwrT8R.js +62 -0
  51. package/codeyam-cli/src/webserver/build/client/assets/{search-Cu3QE9E5.js → search-DcAwD_Ln.js} +1 -1
  52. package/codeyam-cli/src/webserver/build/client/assets/{settings-KH9TdArD.js → settings-CclxrcPK.js} +1 -1
  53. package/codeyam-cli/src/webserver/build/client/assets/{simulations-D9Fkx0-d.js → simulations-DVNJVQgD.js} +1 -1
  54. package/codeyam-cli/src/webserver/build/client/assets/{terminal-dAhIBEcd.js → terminal-DbEAHMbA.js} +1 -1
  55. package/codeyam-cli/src/webserver/build/client/assets/{triangle-alert-C4CYTEeP.js → triangle-alert-CAD5b1o_.js} +1 -1
  56. package/codeyam-cli/src/webserver/build/client/assets/{useCustomSizes-CLPnITMB.js → useCustomSizes-BqgrAzs3.js} +1 -1
  57. package/codeyam-cli/src/webserver/build/client/assets/{useLastLogLine-DmGI38Et.js → useLastLogLine-DAFqfEDH.js} +1 -1
  58. package/codeyam-cli/src/webserver/build/client/assets/{useReportContext-BK0S88PB.js → useReportContext-DZlYx2c4.js} +1 -1
  59. package/codeyam-cli/src/webserver/build/client/assets/{useToast-CJ-JqR0l.js → useToast-ihdMtlf6.js} +1 -1
  60. package/codeyam-cli/src/webserver/build/server/assets/{index-CkkmL6r5.js → index-ChT1lWao.js} +1 -1
  61. package/codeyam-cli/src/webserver/build/server/assets/{server-build-iBGjHYtO.js → server-build-CtNSi7yC.js} +63 -63
  62. package/codeyam-cli/src/webserver/build/server/index.js +1 -1
  63. package/codeyam-cli/src/webserver/build-info.json +5 -5
  64. package/codeyam-cli/templates/rules-instructions.md +1 -1
  65. package/package.json +1 -1
  66. package/codeyam-cli/src/webserver/build/client/assets/CopyButton-D9i_zSlY.js +0 -1
  67. package/codeyam-cli/src/webserver/build/client/assets/entity._sha._-BOPComvD.js +0 -16
  68. package/codeyam-cli/src/webserver/build/client/assets/globals-BJGhRykz.css +0 -1
  69. package/codeyam-cli/src/webserver/build/client/assets/memory-D9eA6kTo.js +0 -78
  70. package/codeyam-cli/src/webserver/build/client/assets/root-C3r0p_7H.js +0 -62
@@ -1 +1 @@
1
- import{Y as H,Z as I,M as J,N as K,W as L,O as _,R as $,T as rr,V as tr,U as or,X as ir,Q as pr}from"./assets/server-build-iBGjHYtO.js";import"react/jsx-runtime";import"node:stream";import"@react-router/node";import"react-router";import"isbot";import"react-dom/server";import"react";import"lucide-react";import"fetch-retry";import"better-sqlite3";import"pg";import"fs";import"path";import"kysely";import"kysely/helpers/sqlite";import"kysely/helpers/postgres";import"typescript";import"fs/promises";import"os";import"prompts";import"chalk";import"crypto";import"child_process";import"url";import"util";import"dotenv";import"events";import"uuid";import"openai";import"p-queue";import"p-retry";import"@aws-sdk/client-dynamodb";import"lru-cache";import"pluralize";import"piscina";import"json5";import"@aws-sdk/util-dynamodb";import"v8";import"react-syntax-highlighter";import"react-syntax-highlighter/dist/cjs/styles/prism/index.js";import"node:crypto";import"minimatch";import"react-markdown";import"remark-gfm";import"react-diff-viewer-continued";export{H as allowedActionOrigins,I as assets,J as assetsBuildDirectory,K as basename,L as entry,_ as future,$ as isSpaMode,rr as prerender,tr as publicPath,or as routeDiscovery,ir as routes,pr as ssr};
1
+ import{Y as H,Z as I,M as J,N as K,W as L,O as _,R as $,T as rr,V as tr,U as or,X as ir,Q as pr}from"./assets/server-build-CtNSi7yC.js";import"react/jsx-runtime";import"node:stream";import"@react-router/node";import"react-router";import"isbot";import"react-dom/server";import"react";import"lucide-react";import"fetch-retry";import"better-sqlite3";import"pg";import"fs";import"path";import"kysely";import"kysely/helpers/sqlite";import"kysely/helpers/postgres";import"typescript";import"fs/promises";import"os";import"prompts";import"chalk";import"crypto";import"child_process";import"url";import"util";import"dotenv";import"events";import"uuid";import"openai";import"p-queue";import"p-retry";import"@aws-sdk/client-dynamodb";import"lru-cache";import"pluralize";import"piscina";import"json5";import"@aws-sdk/util-dynamodb";import"v8";import"react-syntax-highlighter";import"react-syntax-highlighter/dist/cjs/styles/prism/index.js";import"node:crypto";import"minimatch";import"react-markdown";import"remark-gfm";import"react-diff-viewer-continued";export{H as allowedActionOrigins,I as assets,J as assetsBuildDirectory,K as basename,L as entry,_ as future,$ as isSpaMode,rr as prerender,tr as publicPath,or as routeDiscovery,ir as routes,pr as ssr};
@@ -1,7 +1,7 @@
1
1
  {
2
- "buildTimestamp": "2026-02-13T15:31:55.307Z",
3
- "buildTime": 1770996715307,
4
- "buildNumber": 643,
5
- "semanticVersion": "0.1.643",
6
- "version": "0.1.643 (2026-02-13T15:31)"
2
+ "buildTimestamp": "2026-02-13T19:54:55.829Z",
3
+ "buildTime": 1771012495829,
4
+ "buildNumber": 645,
5
+ "semanticVersion": "0.1.645",
6
+ "version": "0.1.645 (2026-02-13T19:54)"
7
7
  }
@@ -54,7 +54,7 @@ A rule earns its place when it meets these criteria:
54
54
  - Debugging strategies for a particular area of the repo
55
55
  - "Use `pnpm test` to run tests" (if there is more than one way to run tests and this way is preferred)
56
56
 
57
- Skip things like "The auth module handles authentication" or "This function takes X and returns Y" — Claude can read the code and infer these.
57
+ Skip things like "The auth module handles authentication" or "This function takes X and returns Y" unless creating an overview of a complex area of the app For individual files Claude can read the code and infer these insights.
58
58
 
59
59
  ## Path Specificity
60
60
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codeyam/codeyam-cli",
3
- "version": "0.1.0-staging.c1c8678",
3
+ "version": "0.1.0-staging.c5503ac",
4
4
  "description": "Local development CLI for CodeYam analysis",
5
5
  "type": "module",
6
6
  "bin": {
@@ -1 +0,0 @@
1
- import{r as M,j as v}from"./chunk-JZWAC4HX-BEyX4X6_.js";import{C as F,a as j}from"./copy-BBSpeBYf.js";class f{constructor(e,t,a){this.normal=t,this.property=e,a&&(this.space=a)}}f.prototype.normal={};f.prototype.property={};f.prototype.space=void 0;function R(l,e){const t={},a={};for(const s of l)Object.assign(t,s.property),Object.assign(a,s.normal);return new f(t,a,e)}function b(l){return l.toLowerCase()}class c{constructor(e,t){this.attribute=t,this.property=e}}c.prototype.attribute="";c.prototype.booleanish=!1;c.prototype.boolean=!1;c.prototype.commaOrSpaceSeparated=!1;c.prototype.commaSeparated=!1;c.prototype.defined=!1;c.prototype.mustUseProperty=!1;c.prototype.number=!1;c.prototype.overloadedBoolean=!1;c.prototype.property="";c.prototype.spaceSeparated=!1;c.prototype.space=void 0;let V=0;const o=g(),u=g(),C=g(),n=g(),r=g(),h=g(),p=g();function g(){return 2**++V}const S=Object.freeze(Object.defineProperty({__proto__:null,boolean:o,booleanish:u,commaOrSpaceSeparated:p,commaSeparated:h,number:n,overloadedBoolean:C,spaceSeparated:r},Symbol.toStringTag,{value:"Module"})),k=Object.keys(S);class x extends c{constructor(e,t,a,s){let i=-1;if(super(e,t),L(this,"space",s),typeof a=="number")for(;++i<k.length;){const d=k[i];L(this,k[i],(a&S[d])===S[d])}}}x.prototype.defined=!0;function L(l,e,t){t&&(l[e]=t)}function m(l){const e={},t={};for(const[a,s]of Object.entries(l.properties)){const i=new x(a,l.transform(l.attributes||{},a),s,l.space);l.mustUseProperty&&l.mustUseProperty.includes(a)&&(i.mustUseProperty=!0),e[a]=i,t[b(a)]=a,t[b(i.attribute)]=a}return new f(e,t,l.space)}const T=m({properties:{ariaActiveDescendant:null,ariaAtomic:u,ariaAutoComplete:null,ariaBusy:u,ariaChecked:u,ariaColCount:n,ariaColIndex:n,ariaColSpan:n,ariaControls:r,ariaCurrent:null,ariaDescribedBy:r,ariaDetails:null,ariaDisabled:u,ariaDropEffect:r,ariaErrorMessage:null,ariaExpanded:u,ariaFlowTo:r,ariaGrabbed:u,ariaHasPopup:null,ariaHidden:u,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:r,ariaLevel:n,ariaLive:null,ariaModal:u,ariaMultiLine:u,ariaMultiSelectable:u,ariaOrientation:null,ariaOwns:r,ariaPlaceholder:null,ariaPosInSet:n,ariaPressed:u,ariaReadOnly:u,ariaRelevant:null,ariaRequired:u,ariaRoleDescription:r,ariaRowCount:n,ariaRowIndex:n,ariaRowSpan:n,ariaSelected:u,ariaSetSize:n,ariaSort:null,ariaValueMax:n,ariaValueMin:n,ariaValueNow:n,ariaValueText:null,role:null},transform(l,e){return e==="role"?e:"aria-"+e.slice(4).toLowerCase()}});function E(l,e){return e in l?l[e]:e}function A(l,e){return E(l,e.toLowerCase())}const N=m({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:h,acceptCharset:r,accessKey:r,action:null,allow:null,allowFullScreen:o,allowPaymentRequest:o,allowUserMedia:o,alt:null,as:null,async:o,autoCapitalize:null,autoComplete:r,autoFocus:o,autoPlay:o,blocking:r,capture:null,charSet:null,checked:o,cite:null,className:r,cols:n,colSpan:null,content:null,contentEditable:u,controls:o,controlsList:r,coords:n|h,crossOrigin:null,data:null,dateTime:null,decoding:null,default:o,defer:o,dir:null,dirName:null,disabled:o,download:C,draggable:u,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:o,formTarget:null,headers:r,height:n,hidden:C,high:n,href:null,hrefLang:null,htmlFor:r,httpEquiv:r,id:null,imageSizes:null,imageSrcSet:null,inert:o,inputMode:null,integrity:null,is:null,isMap:o,itemId:null,itemProp:r,itemRef:r,itemScope:o,itemType:r,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:o,low:n,manifest:null,max:null,maxLength:n,media:null,method:null,min:null,minLength:n,multiple:o,muted:o,name:null,nonce:null,noModule:o,noValidate:o,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:o,optimum:n,pattern:null,ping:r,placeholder:null,playsInline:o,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:o,referrerPolicy:null,rel:r,required:o,reversed:o,rows:n,rowSpan:n,sandbox:r,scope:null,scoped:o,seamless:o,selected:o,shadowRootClonable:o,shadowRootDelegatesFocus:o,shadowRootMode:null,shape:null,size:n,sizes:null,slot:null,span:n,spellCheck:u,src:null,srcDoc:null,srcLang:null,srcSet:null,start:n,step:null,style:null,tabIndex:n,target:null,title:null,translate:null,type:null,typeMustMatch:o,useMap:null,value:u,width:n,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:r,axis:null,background:null,bgColor:null,border:n,borderColor:null,bottomMargin:n,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:o,declare:o,event:null,face:null,frame:null,frameBorder:null,hSpace:n,leftMargin:n,link:null,longDesc:null,lowSrc:null,marginHeight:n,marginWidth:n,noResize:o,noHref:o,noShade:o,noWrap:o,object:null,profile:null,prompt:null,rev:null,rightMargin:n,rules:null,scheme:null,scrolling:u,standby:null,summary:null,text:null,topMargin:n,valueType:null,version:null,vAlign:null,vLink:null,vSpace:n,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:o,disableRemotePlayback:o,prefix:null,property:null,results:n,security:null,unselectable:null},space:"html",transform:A}),W=m({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"},properties:{about:p,accentHeight:n,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:n,amplitude:n,arabicForm:null,ascent:n,attributeName:null,attributeType:null,azimuth:n,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:n,by:null,calcMode:null,capHeight:n,className:r,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:n,diffuseConstant:n,direction:null,display:null,dur:null,divisor:n,dominantBaseline:null,download:o,dx:null,dy:null,edgeMode:null,editable:null,elevation:n,enableBackground:null,end:null,event:null,exponent:n,externalResourcesRequired:null,fill:null,fillOpacity:n,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:h,g2:h,glyphName:h,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:n,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:n,horizOriginX:n,horizOriginY:n,id:null,ideographic:n,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:n,k:n,k1:n,k2:n,k3:n,k4:n,kernelMatrix:p,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:n,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:n,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:n,overlineThickness:n,paintOrder:null,panose1:null,path:null,pathLength:n,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:r,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:n,pointsAtY:n,pointsAtZ:n,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:p,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:p,rev:p,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:p,requiredFeatures:p,requiredFonts:p,requiredFormats:p,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:n,specularExponent:n,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:n,strikethroughThickness:n,string:null,stroke:null,strokeDashArray:p,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:n,strokeOpacity:n,strokeWidth:null,style:null,surfaceScale:n,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:p,tabIndex:n,tableValues:null,target:null,targetX:n,targetY:n,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:p,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:n,underlineThickness:n,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:n,values:null,vAlphabetic:n,vMathematical:n,vectorEffect:null,vHanging:n,vIdeographic:n,version:null,vertAdvY:n,vertOriginX:n,vertOriginY:n,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:n,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:E}),U=m({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(l,e){return"xlink:"+e.slice(5).toLowerCase()}}),z=m({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:A}),B=m({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(l,e){return"xml:"+e.slice(3).toLowerCase()}}),q=/[A-Z]/g,O=/-[a-z]/g,K=/^data[-\w.:]+$/i;function Z(l,e){const t=b(e);let a=e,s=c;if(t in l.normal)return l.property[l.normal[t]];if(t.length>4&&t.slice(0,4)==="data"&&K.test(e)){if(e.charAt(4)==="-"){const i=e.slice(5).replace(O,Y);a="data"+i.charAt(0).toUpperCase()+i.slice(1)}else{const i=e.slice(4);if(!O.test(i)){let d=i.replace(q,X);d.charAt(0)!=="-"&&(d="-"+d),e="data"+d}}s=x}return new s(a,e)}function X(l){return"-"+l.toLowerCase()}function Y(l){return l.charAt(1).toUpperCase()}const J=R([T,N,U,z,B],"html"),G=R([T,W,U,z,B],"svg");function Q(l){const e=[],t=String(l||"");let a=t.indexOf(","),s=0,i=!1;for(;!i;){a===-1&&(a=t.length,i=!0);const d=t.slice(s,a).trim();(d||!i)&&e.push(d),s=a+1,a=t.indexOf(",",s)}return e}function nn(l,e){const t={};return(l[l.length-1]===""?[...l,""]:l).join((t.padRight?" ":"")+","+(t.padLeft===!1?"":" ")).trim()}function ln(l){const e=String(l||"").trim();return e?e.split(/[ \t\n\r\f]+/g):[]}function en(l){return l.join(" ").trim()}const D=document.createElement("i");function on(l){const e="&"+l+";";D.innerHTML=e;const t=D.textContent;return t.charCodeAt(t.length-1)===59&&l!=="semi"||t===e?!1:t}function tn({content:l,label:e="Copy",copiedLabel:t="✓ Copied!",className:a="",duration:s=2e3,ariaLabel:i,icon:d=!1,iconSize:w=14}){const[y,P]=M.useState(!1),I=M.useCallback(()=>{navigator.clipboard.writeText(l).then(()=>{P(!0),setTimeout(()=>P(!1),s)}).catch(H=>{console.error("Failed to copy:",H)})},[l,s]);return v.jsx("button",{onClick:I,className:`cursor-pointer ${a}`,disabled:y,"aria-label":i||(y?"Copied to clipboard":"Copy to clipboard"),"aria-live":"polite",children:d?y?v.jsx(F,{size:w,className:"text-green-500"}):v.jsx(j,{size:w}):y?t:e})}export{tn as C,nn as a,en as b,Q as c,on as d,Z as f,J as h,b as n,ln as p,G as s};