{"version":3,"file":"transcription.nomodule.min.js","sources":["../../../.config/config.js","../../../src/core/api.js","../../../src/component/transcription/script/accordion/transcription-selector.js","../../../src/component/transcription/script/accordion/transcription.js","../../../src/component/transcription/index.js","../../../src/component/transcription/main.js"],"sourcesContent":["const config = {\r\n prefix: 'fr',\r\n namespace: 'dsfr',\r\n organisation: '@gouvfr',\r\n version: '1.11.2'\r\n};\r\n\r\nexport default config;\r\n","import config from './config.js';\nconst api = window[config.namespace];\nexport default api;\n","import api from '../../api.js';\n\nconst TRANSCRIPTION = api.internals.ns.selector('transcription');\n\nexport const TranscriptionSelector = {\n TRANSCRIPTION: TRANSCRIPTION,\n BUTTON: `${TRANSCRIPTION}__btn`\n};\n","import api from '../../api.js';\nimport { TranscriptionSelector } from './transcription-selector';\n\nclass Transcription extends api.core.Instance {\n static get instanceClassName () {\n return 'Transcription';\n }\n\n get collapsePrimary () {\n const buttons = this.element.children.map(child => child.getInstance('CollapseButton')).filter(button => button !== null && button.hasClass(TranscriptionSelector.BUTTON));\n return buttons[0];\n }\n}\n\nexport { Transcription };\n","import api from './api.js';\nimport { Transcription } from './script/accordion/transcription';\nimport { TranscriptionSelector } from './script/accordion/transcription-selector.js';\n\napi.transcription = {\n Transcription: Transcription,\n TranscriptionSelector: TranscriptionSelector\n};\n\nexport default api;\n","import api from './index.js';\n\napi.internals.register(api.transcription.TranscriptionSelector.TRANSCRIPTION, api.transcription.Transcription);\n\nexport default api;\n"],"names":["const","api","window","TRANSCRIPTION","internals","ns","selector","TranscriptionSelector","BUTTON","Transcription","staticAccessors","instanceClassName","prototypeAccessors","collapsePrimary","this","element","children","map","child","getInstance","filter","button","hasClass","core","Instance","transcription","register"],"mappings":";yBAAAA,ICCMC,EAAMC,OAAuB,KCC7BC,EAAgBF,EAAIG,UAAUC,GAAGC,SAAS,iBAEnCC,EAAwB,CACnCJ,cAAeA,EACfK,OAAWL,WCHPM,mOACJC,EAAWC,iCACT,MAAO,iBAGTC,EAAIC,+BAEF,OADgBC,KAAKC,QAAQC,SAASC,cAAIC,UAASA,EAAMC,YAAY,qBAAmBC,iBAAOC,UAAqB,OAAXA,GAAmBA,EAAOC,SAASf,EAAsBC,WACnJ,2EAPSP,EAAIsB,KAAKC,UCCrCvB,EAAIwB,cAAgB,CAClBhB,cAAeA,EACfF,sBAAuBA,GCJzBN,EAAIG,UAAUsB,SAASzB,EAAIwB,cAAclB,sBAAsBJ,cAAeF,EAAIwB,cAAchB"}