@icure/cardinal-sdk 2.0.0-PREVIEW-18.1 → 2.0.0-PREVIEW-21

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 (384) hide show
  1. package/Kermit-kermit-core.mjs +45 -40
  2. package/Kermit-kermit.mjs +6 -6
  3. package/Kotlin-DateTime-library-kotlinx-datetime.mjs +1577 -1577
  4. package/api/HealthcarePartyApi.d.mts +2 -0
  5. package/api/HealthcarePartyApiInGroup.d.mts +5 -0
  6. package/api/HealthcarePartyApiInGroup.mjs +1 -0
  7. package/api/RecoveryApi.d.mts +5 -1
  8. package/api.d.mts +1 -0
  9. package/api.mjs +1 -0
  10. package/bitops-library-bits.mjs +197 -0
  11. package/bitops-library-endian.mjs +117 -0
  12. package/cardinal-sdk-ts.d.mts +2 -2
  13. package/cardinal-sdk-ts.mjs +57007 -56794
  14. package/cardinal-sdk.mjs +120895 -120501
  15. package/core-library-digest.mjs +186 -0
  16. package/crypto/CryptoService.d.mts +17 -7
  17. package/error-library-error.mjs +42 -0
  18. package/hash-library-sha2.mjs +183 -0
  19. package/internal/BytesEncoding.d.mts +3 -0
  20. package/internal/BytesEncoding.mjs +99 -0
  21. package/internal/JsonDecodeUtils.d.mts +20 -0
  22. package/internal/JsonDecodeUtils.mjs +99 -0
  23. package/kerberus.mjs +557 -389
  24. package/kotlin-kotlin-stdlib.mjs +2445 -2713
  25. package/kotlinx-atomicfu.mjs +13 -13
  26. package/kotlinx-coroutines-core.mjs +2455 -2450
  27. package/kotlinx-io-kotlinx-io-bytestring.mjs +36 -36
  28. package/kotlinx-io-kotlinx-io-core.mjs +459 -459
  29. package/kotlinx-serialization-kotlinx-serialization-core.mjs +2029 -2029
  30. package/kotlinx-serialization-kotlinx-serialization-json.mjs +1952 -1952
  31. package/kryptom-lib.mjs +3263 -1967
  32. package/ktor-ktor-client-content-negotiation.mjs +184 -184
  33. package/ktor-ktor-client-core.mjs +2713 -2713
  34. package/ktor-ktor-events.mjs +6 -6
  35. package/ktor-ktor-http-cio.mjs +481 -481
  36. package/ktor-ktor-http.mjs +693 -693
  37. package/ktor-ktor-io.mjs +963 -963
  38. package/ktor-ktor-serialization-kotlinx-json.mjs +7 -7
  39. package/ktor-ktor-serialization-kotlinx.mjs +238 -238
  40. package/ktor-ktor-serialization.mjs +109 -109
  41. package/ktor-ktor-utils.mjs +557 -557
  42. package/ktor-ktor-websockets.mjs +673 -673
  43. package/model/AccessLog.d.mts +5 -0
  44. package/model/AccessLog.mjs +168 -0
  45. package/model/Agenda.d.mts +2 -0
  46. package/model/Agenda.mjs +82 -0
  47. package/model/ApplicationSettings.d.mts +5 -0
  48. package/model/ApplicationSettings.mjs +140 -0
  49. package/model/BooleanResponse.d.mts +2 -0
  50. package/model/BooleanResponse.mjs +20 -0
  51. package/model/CalendarItem.d.mts +5 -0
  52. package/model/CalendarItem.mjs +290 -0
  53. package/model/CalendarItemType.d.mts +7 -0
  54. package/model/CalendarItemType.mjs +117 -0
  55. package/model/Classification.d.mts +5 -0
  56. package/model/Classification.mjs +148 -0
  57. package/model/Code.d.mts +2 -0
  58. package/model/Code.mjs +69 -0
  59. package/model/Contact.d.mts +5 -0
  60. package/model/Contact.mjs +218 -0
  61. package/model/CryptoActorStub.d.mts +2 -0
  62. package/model/CryptoActorStub.mjs +45 -0
  63. package/model/CryptoActorStubWithType.d.mts +2 -0
  64. package/model/CryptoActorStubWithType.mjs +25 -0
  65. package/model/DataOwnerRegistrationSuccess.d.mts +2 -0
  66. package/model/DataOwnerRegistrationSuccess.mjs +24 -0
  67. package/model/DataOwnerWithType.d.mts +7 -0
  68. package/model/DataOwnerWithType.mjs +80 -0
  69. package/model/DatabaseInitialisation.d.mts +2 -0
  70. package/model/DatabaseInitialisation.mjs +34 -0
  71. package/model/Device.d.mts +2 -0
  72. package/model/Device.mjs +99 -0
  73. package/model/Document.d.mts +5 -0
  74. package/model/Document.mjs +246 -0
  75. package/model/DocumentTemplate.d.mts +2 -0
  76. package/model/DocumentTemplate.mjs +91 -0
  77. package/model/EntityReference.d.mts +2 -0
  78. package/model/EntityReference.mjs +29 -0
  79. package/model/EntityReferenceInGroup.d.mts +2 -0
  80. package/model/EntityReferenceInGroup.mjs +23 -0
  81. package/model/EntityTemplate.d.mts +2 -0
  82. package/model/EntityTemplate.mjs +46 -0
  83. package/model/Form.d.mts +5 -0
  84. package/model/Form.mjs +204 -0
  85. package/model/FormTemplate.d.mts +2 -0
  86. package/model/FormTemplate.mjs +82 -0
  87. package/model/FrontEndMigration.d.mts +2 -0
  88. package/model/FrontEndMigration.mjs +57 -0
  89. package/model/Group.d.mts +2 -0
  90. package/model/Group.mjs +68 -0
  91. package/model/GroupDeletionReport.d.mts +2 -0
  92. package/model/GroupDeletionReport.mjs +24 -0
  93. package/model/HealthElement.d.mts +5 -0
  94. package/model/HealthElement.mjs +226 -0
  95. package/model/HealthcareParty.d.mts +2 -0
  96. package/model/HealthcareParty.mjs +182 -0
  97. package/model/IdWithRev.d.mts +2 -0
  98. package/model/IdWithRev.mjs +23 -0
  99. package/model/IndexingInfo.d.mts +2 -0
  100. package/model/IndexingInfo.mjs +21 -0
  101. package/model/Insurance.d.mts +2 -0
  102. package/model/Insurance.mjs +46 -0
  103. package/model/Invoice.d.mts +5 -0
  104. package/model/Invoice.mjs +468 -0
  105. package/model/Keyword.d.mts +2 -0
  106. package/model/Keyword.mjs +58 -0
  107. package/model/ListOfIds.d.mts +2 -0
  108. package/model/ListOfIds.mjs +20 -0
  109. package/model/ListOfProperties.d.mts +2 -0
  110. package/model/ListOfProperties.mjs +22 -0
  111. package/model/MaintenanceTask.d.mts +5 -0
  112. package/model/MaintenanceTask.mjs +152 -0
  113. package/model/MedicalLocation.d.mts +2 -0
  114. package/model/MedicalLocation.mjs +63 -0
  115. package/model/Message.d.mts +5 -0
  116. package/model/Message.mjs +248 -0
  117. package/model/PaginatedDocumentKeyIdPair.d.mts +2 -0
  118. package/model/PaginatedDocumentKeyIdPair.mjs +24 -0
  119. package/model/Patient.d.mts +5 -0
  120. package/model/Patient.mjs +491 -0
  121. package/model/Place.d.mts +2 -0
  122. package/model/Place.mjs +33 -0
  123. package/model/PropertyStub.d.mts +5 -0
  124. package/model/PropertyStub.mjs +74 -0
  125. package/model/PropertyTypeStub.d.mts +2 -0
  126. package/model/PropertyTypeStub.mjs +26 -0
  127. package/model/PublicAgendasAndCalendarItemTypes.d.mts +2 -0
  128. package/model/PublicAgendasAndCalendarItemTypes.mjs +25 -0
  129. package/model/PublicKey.d.mts +2 -0
  130. package/model/PublicKey.mjs +24 -0
  131. package/model/Receipt.d.mts +5 -0
  132. package/model/Receipt.mjs +159 -0
  133. package/model/RegistrationInformation.d.mts +2 -0
  134. package/model/RegistrationInformation.mjs +43 -0
  135. package/model/RegistrationSuccess.d.mts +2 -0
  136. package/model/RegistrationSuccess.mjs +24 -0
  137. package/model/Replication.d.mts +2 -0
  138. package/model/Replication.mjs +35 -0
  139. package/model/ReplicationInfo.d.mts +2 -0
  140. package/model/ReplicationInfo.mjs +28 -0
  141. package/model/Role.d.mts +2 -0
  142. package/model/Role.mjs +34 -0
  143. package/model/StoredDocumentIdentifier.d.mts +2 -0
  144. package/model/StoredDocumentIdentifier.mjs +22 -0
  145. package/model/Tarification.d.mts +2 -0
  146. package/model/Tarification.mjs +92 -0
  147. package/model/TimeTable.d.mts +2 -0
  148. package/model/TimeTable.mjs +64 -0
  149. package/model/Topic.d.mts +5 -0
  150. package/model/Topic.mjs +163 -0
  151. package/model/User.d.mts +4 -0
  152. package/model/User.mjs +118 -0
  153. package/model/UserGroup.d.mts +2 -0
  154. package/model/UserGroup.mjs +55 -0
  155. package/model/base/CodeStub.d.mts +2 -0
  156. package/model/base/CodeStub.mjs +40 -0
  157. package/model/base/CryptoActor.d.mts +3 -0
  158. package/model/base/CryptoActor.mjs +19 -1
  159. package/model/base/Identifier.d.mts +2 -0
  160. package/model/base/Identifier.mjs +44 -0
  161. package/model/couchdb/Basic.d.mts +2 -0
  162. package/model/couchdb/Basic.mjs +22 -0
  163. package/model/couchdb/DatabaseInfo.d.mts +2 -0
  164. package/model/couchdb/DatabaseInfo.mjs +47 -0
  165. package/model/couchdb/DesignDocument.d.mts +2 -0
  166. package/model/couchdb/DesignDocument.mjs +40 -0
  167. package/model/couchdb/DocIdentifier.d.mts +2 -0
  168. package/model/couchdb/DocIdentifier.mjs +24 -0
  169. package/model/couchdb/GroupDatabasesInfo.d.mts +2 -0
  170. package/model/couchdb/GroupDatabasesInfo.mjs +26 -0
  171. package/model/couchdb/Remote.d.mts +2 -0
  172. package/model/couchdb/Remote.mjs +25 -0
  173. package/model/couchdb/RemoteAuthentication.d.mts +2 -0
  174. package/model/couchdb/RemoteAuthentication.mjs +23 -0
  175. package/model/couchdb/ReplicationStats.d.mts +2 -0
  176. package/model/couchdb/ReplicationStats.mjs +45 -0
  177. package/model/couchdb/ReplicatorDocument.d.mts +2 -0
  178. package/model/couchdb/ReplicatorDocument.mjs +61 -0
  179. package/model/couchdb/View.d.mts +2 -0
  180. package/model/couchdb/View.mjs +23 -0
  181. package/model/data/LabelledOccurence.d.mts +2 -0
  182. package/model/data/LabelledOccurence.mjs +22 -0
  183. package/model/embed/Address.d.mts +5 -0
  184. package/model/embed/Address.mjs +133 -0
  185. package/model/embed/AdministrationQuantity.d.mts +2 -0
  186. package/model/embed/AdministrationQuantity.mjs +29 -0
  187. package/model/embed/AgendaSlottingAlgorithm.d.mts +3 -0
  188. package/model/embed/AgendaSlottingAlgorithm.mjs +30 -0
  189. package/model/embed/AgreementAppendix.d.mts +2 -0
  190. package/model/embed/AgreementAppendix.mjs +30 -0
  191. package/model/embed/Annotation.d.mts +2 -0
  192. package/model/embed/Annotation.mjs +46 -0
  193. package/model/embed/CalendarItemTag.d.mts +5 -0
  194. package/model/embed/CalendarItemTag.mjs +72 -0
  195. package/model/embed/CareTeamMember.d.mts +5 -0
  196. package/model/embed/CareTeamMember.mjs +71 -0
  197. package/model/embed/CareTeamMembership.d.mts +5 -0
  198. package/model/embed/CareTeamMembership.mjs +73 -0
  199. package/model/embed/Content.d.mts +5 -0
  200. package/model/embed/Content.mjs +125 -0
  201. package/model/embed/DataAttachment.d.mts +2 -0
  202. package/model/embed/DataAttachment.mjs +26 -0
  203. package/model/embed/DatabaseSynchronization.d.mts +2 -0
  204. package/model/embed/DatabaseSynchronization.mjs +30 -0
  205. package/model/embed/Delegation.d.mts +2 -0
  206. package/model/embed/Delegation.mjs +30 -0
  207. package/model/embed/DeletedAttachment.d.mts +2 -0
  208. package/model/embed/DeletedAttachment.mjs +30 -0
  209. package/model/embed/DocumentGroup.d.mts +2 -0
  210. package/model/embed/DocumentGroup.mjs +24 -0
  211. package/model/embed/Duration.d.mts +2 -0
  212. package/model/embed/Duration.mjs +26 -0
  213. package/model/embed/EmbeddedTimeTableHour.d.mts +2 -0
  214. package/model/embed/EmbeddedTimeTableHour.mjs +22 -0
  215. package/model/embed/EmbeddedTimeTableItem.d.mts +2 -0
  216. package/model/embed/EmbeddedTimeTableItem.mjs +41 -0
  217. package/model/embed/Employer.d.mts +2 -0
  218. package/model/embed/Employer.mjs +26 -0
  219. package/model/embed/EmploymentInfo.d.mts +5 -0
  220. package/model/embed/EmploymentInfo.mjs +74 -0
  221. package/model/embed/Episode.d.mts +5 -0
  222. package/model/embed/Episode.mjs +75 -0
  223. package/model/embed/FinancialInstitutionInformation.d.mts +5 -0
  224. package/model/embed/FinancialInstitutionInformation.mjs +88 -0
  225. package/model/embed/FlatRateTarification.d.mts +5 -0
  226. package/model/embed/FlatRateTarification.mjs +72 -0
  227. package/model/embed/FlowItem.d.mts +2 -0
  228. package/model/embed/FlowItem.mjs +117 -0
  229. package/model/embed/HealthcarePartyHistoryStatus.d.mts +2 -0
  230. package/model/embed/HealthcarePartyHistoryStatus.mjs +28 -0
  231. package/model/embed/IdentityDocumentReader.d.mts +2 -0
  232. package/model/embed/IdentityDocumentReader.mjs +33 -0
  233. package/model/embed/Insurability.d.mts +5 -0
  234. package/model/embed/Insurability.mjs +100 -0
  235. package/model/embed/InvoicingCode.d.mts +5 -0
  236. package/model/embed/InvoicingCode.mjs +377 -0
  237. package/model/embed/KeywordSubword.d.mts +2 -0
  238. package/model/embed/KeywordSubword.mjs +25 -0
  239. package/model/embed/LetterValue.d.mts +2 -0
  240. package/model/embed/LetterValue.mjs +30 -0
  241. package/model/embed/Measure.d.mts +2 -0
  242. package/model/embed/Measure.mjs +57 -0
  243. package/model/embed/MedicalHouseContract.d.mts +5 -0
  244. package/model/embed/MedicalHouseContract.mjs +223 -0
  245. package/model/embed/Medication.d.mts +2 -0
  246. package/model/embed/Medication.mjs +157 -0
  247. package/model/embed/Medicinalproduct.d.mts +2 -0
  248. package/model/embed/Medicinalproduct.mjs +33 -0
  249. package/model/embed/MessageAttachment.d.mts +2 -0
  250. package/model/embed/MessageAttachment.mjs +25 -0
  251. package/model/embed/MessageReadStatus.d.mts +2 -0
  252. package/model/embed/MessageReadStatus.mjs +23 -0
  253. package/model/embed/ParagraphAgreement.d.mts +2 -0
  254. package/model/embed/ParagraphAgreement.mjs +86 -0
  255. package/model/embed/Partnership.d.mts +2 -0
  256. package/model/embed/Partnership.mjs +36 -0
  257. package/model/embed/PatientHealthCareParty.d.mts +9 -0
  258. package/model/embed/PatientHealthCareParty.mjs +88 -0
  259. package/model/embed/Payment.d.mts +2 -0
  260. package/model/embed/Payment.mjs +28 -0
  261. package/model/embed/Periodicity.d.mts +2 -0
  262. package/model/embed/Periodicity.mjs +26 -0
  263. package/model/embed/PersonName.d.mts +2 -0
  264. package/model/embed/PersonName.mjs +41 -0
  265. package/model/embed/PlanOfAction.d.mts +8 -3
  266. package/model/embed/PlanOfAction.mjs +179 -0
  267. package/model/embed/Range.d.mts +2 -0
  268. package/model/embed/Range.mjs +24 -0
  269. package/model/embed/ReferenceRange.d.mts +2 -0
  270. package/model/embed/ReferenceRange.mjs +40 -0
  271. package/model/embed/ReferralPeriod.d.mts +2 -0
  272. package/model/embed/ReferralPeriod.mjs +27 -0
  273. package/model/embed/RegimenItem.d.mts +2 -0
  274. package/model/embed/RegimenItem.mjs +40 -0
  275. package/model/embed/Renewal.d.mts +2 -0
  276. package/model/embed/Renewal.mjs +26 -0
  277. package/model/embed/ResourceGroupAllocationSchedule.d.mts +2 -0
  278. package/model/embed/ResourceGroupAllocationSchedule.mjs +39 -0
  279. package/model/embed/Right.d.mts +2 -0
  280. package/model/embed/Right.mjs +27 -0
  281. package/model/embed/RoleConfiguration.d.mts +2 -0
  282. package/model/embed/RoleConfiguration.mjs +22 -0
  283. package/model/embed/SchoolingInfo.d.mts +5 -0
  284. package/model/embed/SchoolingInfo.mjs +73 -0
  285. package/model/embed/SecureDelegation.d.mts +2 -0
  286. package/model/embed/SecureDelegation.mjs +39 -0
  287. package/model/embed/SecurityMetadata.d.mts +2 -0
  288. package/model/embed/SecurityMetadata.mjs +22 -0
  289. package/model/embed/Service.d.mts +5 -0
  290. package/model/embed/Service.mjs +240 -0
  291. package/model/embed/ServiceLink.d.mts +2 -0
  292. package/model/embed/ServiceLink.mjs +21 -0
  293. package/model/embed/SubContact.d.mts +5 -0
  294. package/model/embed/SubContact.mjs +146 -0
  295. package/model/embed/Substanceproduct.d.mts +2 -0
  296. package/model/embed/Substanceproduct.mjs +33 -0
  297. package/model/embed/Suspension.d.mts +2 -0
  298. package/model/embed/Suspension.mjs +30 -0
  299. package/model/embed/Telecom.d.mts +5 -0
  300. package/model/embed/Telecom.mjs +67 -0
  301. package/model/embed/TimeSeries.d.mts +2 -0
  302. package/model/embed/TimeSeries.mjs +32 -0
  303. package/model/embed/TimeTableHour.d.mts +2 -0
  304. package/model/embed/TimeTableHour.mjs +24 -0
  305. package/model/embed/TimeTableItem.d.mts +2 -0
  306. package/model/embed/TimeTableItem.mjs +57 -0
  307. package/model/embed/TypedValue.d.mts +5 -0
  308. package/model/embed/TypedValue.mjs +85 -0
  309. package/model/embed/Valorisation.d.mts +5 -0
  310. package/model/embed/Valorisation.mjs +108 -0
  311. package/model/embed/ValueWithPrecision.d.mts +2 -0
  312. package/model/embed/ValueWithPrecision.mjs +22 -0
  313. package/model/embed/Weekday.d.mts +2 -0
  314. package/model/embed/Weekday.mjs +26 -0
  315. package/model/embed/form/template/Action.d.mts +2 -0
  316. package/model/embed/form/template/Action.mjs +30 -0
  317. package/model/embed/form/template/CheckBox.d.mts +2 -0
  318. package/model/embed/form/template/CheckBox.mjs +71 -0
  319. package/model/embed/form/template/DatePicker.d.mts +2 -0
  320. package/model/embed/form/template/DatePicker.mjs +71 -0
  321. package/model/embed/form/template/DateTimePicker.d.mts +2 -0
  322. package/model/embed/form/template/DateTimePicker.mjs +71 -0
  323. package/model/embed/form/template/DropdownField.d.mts +2 -0
  324. package/model/embed/form/template/DropdownField.mjs +71 -0
  325. package/model/embed/form/template/FieldsGroup.d.mts +2 -0
  326. package/model/embed/form/template/FieldsGroup.mjs +28 -0
  327. package/model/embed/form/template/FormTemplateLayout.d.mts +2 -0
  328. package/model/embed/form/template/FormTemplateLayout.mjs +33 -0
  329. package/model/embed/form/template/Launcher.d.mts +2 -0
  330. package/model/embed/form/template/Launcher.mjs +26 -0
  331. package/model/embed/form/template/MeasureField.d.mts +2 -0
  332. package/model/embed/form/template/MeasureField.mjs +71 -0
  333. package/model/embed/form/template/MultipleChoice.d.mts +2 -0
  334. package/model/embed/form/template/MultipleChoice.mjs +71 -0
  335. package/model/embed/form/template/NumberField.d.mts +2 -0
  336. package/model/embed/form/template/NumberField.mjs +71 -0
  337. package/model/embed/form/template/RadioButton.d.mts +2 -0
  338. package/model/embed/form/template/RadioButton.mjs +71 -0
  339. package/model/embed/form/template/Section.d.mts +2 -0
  340. package/model/embed/form/template/Section.mjs +30 -0
  341. package/model/embed/form/template/State.d.mts +2 -0
  342. package/model/embed/form/template/State.mjs +26 -0
  343. package/model/embed/form/template/StructureElement.d.mts +3 -0
  344. package/model/embed/form/template/StructureElement.mjs +32 -1
  345. package/model/embed/form/template/TextField.d.mts +2 -0
  346. package/model/embed/form/template/TextField.mjs +71 -0
  347. package/model/embed/form/template/TimePicker.d.mts +2 -0
  348. package/model/embed/form/template/TimePicker.mjs +71 -0
  349. package/model/filter/predicate/AlwaysPredicate.d.mts +2 -0
  350. package/model/filter/predicate/AlwaysPredicate.mjs +20 -0
  351. package/model/filter/predicate/AndPredicate.d.mts +2 -0
  352. package/model/filter/predicate/AndPredicate.mjs +25 -0
  353. package/model/filter/predicate/KeyValuePredicate.d.mts +2 -0
  354. package/model/filter/predicate/KeyValuePredicate.mjs +32 -0
  355. package/model/filter/predicate/NotPredicate.d.mts +2 -0
  356. package/model/filter/predicate/NotPredicate.mjs +25 -0
  357. package/model/filter/predicate/OrPredicate.d.mts +2 -0
  358. package/model/filter/predicate/OrPredicate.mjs +25 -0
  359. package/model/filter/predicate/Predicate.d.mts +3 -0
  360. package/model/filter/predicate/Predicate.mjs +20 -1
  361. package/model/security/AlwaysPermissionItem.d.mts +2 -0
  362. package/model/security/AlwaysPermissionItem.mjs +25 -0
  363. package/model/security/AuthenticationToken.d.mts +2 -0
  364. package/model/security/AuthenticationToken.mjs +28 -0
  365. package/model/security/Enable2faRequest.d.mts +2 -0
  366. package/model/security/Enable2faRequest.mjs +22 -0
  367. package/model/security/ExternalJwtConfig.d.mts +18 -0
  368. package/model/security/ExternalJwtConfig.mjs +199 -0
  369. package/model/security/LoginIdentifier.d.mts +2 -0
  370. package/model/security/LoginIdentifier.mjs +22 -0
  371. package/model/security/OperationToken.d.mts +2 -0
  372. package/model/security/OperationToken.mjs +31 -0
  373. package/model/security/Permission.d.mts +2 -0
  374. package/model/security/Permission.mjs +24 -0
  375. package/model/security/PermissionItem.d.mts +3 -0
  376. package/model/security/PermissionItem.mjs +12 -1
  377. package/model/security/TokenWithGroup.d.mts +2 -0
  378. package/model/security/TokenWithGroup.mjs +25 -0
  379. package/options/SdkOptions.d.mts +3 -23
  380. package/package.json +1 -1
  381. package/utils/Id.d.mts +5 -0
  382. package/utils/Id.mjs +19 -10
  383. package/KotlinBigInteger-bignum.mjs +0 -5902
  384. /package/{KotlinBigInteger-bignum-serialization-kotlinx.mjs → core-library-core.mjs} +0 -0
@@ -107,35 +107,35 @@ function get_ContentNegotiation() {
107
107
  }
108
108
  var ContentNegotiation;
109
109
  function ConverterRegistration(converter, contentTypeToSend, contentTypeMatcher) {
110
- this.h6k_1 = converter;
111
- this.i6k_1 = contentTypeToSend;
112
- this.j6k_1 = contentTypeMatcher;
110
+ this.y6q_1 = converter;
111
+ this.z6q_1 = contentTypeToSend;
112
+ this.a6r_1 = contentTypeMatcher;
113
113
  }
114
114
  function defaultMatcher($this, pattern) {
115
115
  return new ContentNegotiationConfig$defaultMatcher$1(pattern);
116
116
  }
117
117
  function ContentNegotiationConfig$defaultMatcher$1($pattern) {
118
- this.k6k_1 = $pattern;
118
+ this.b6r_1 = $pattern;
119
119
  }
120
- protoOf(ContentNegotiationConfig$defaultMatcher$1).l6k = function (contentType) {
121
- return contentType.x4p(this.k6k_1);
120
+ protoOf(ContentNegotiationConfig$defaultMatcher$1).c6r = function (contentType) {
121
+ return contentType.o4w(this.b6r_1);
122
122
  };
123
123
  function ContentNegotiationConfig() {
124
- this.m6k_1 = toMutableSet(plus(get_DefaultIgnoredTypes(), get_DefaultCommonIgnoredTypes()));
124
+ this.d6r_1 = toMutableSet(plus(get_DefaultIgnoredTypes(), get_DefaultCommonIgnoredTypes()));
125
125
  var tmp = this;
126
126
  // Inline function 'kotlin.collections.mutableListOf' call
127
- tmp.n6k_1 = ArrayList_init_$Create$();
128
- this.o6k_1 = null;
127
+ tmp.e6r_1 = ArrayList_init_$Create$();
128
+ this.f6r_1 = null;
129
129
  }
130
- protoOf(ContentNegotiationConfig).m5e = function (contentType, converter, configuration) {
131
- var matcher = contentType.x4p(Application_getInstance().d4o_1) ? JsonContentTypeMatcher_instance : defaultMatcher(this, contentType);
132
- this.p6k(contentType, converter, matcher, configuration);
130
+ protoOf(ContentNegotiationConfig).d5l = function (contentType, converter, configuration) {
131
+ var matcher = contentType.o4w(Application_getInstance().u4u_1) ? JsonContentTypeMatcher_instance : defaultMatcher(this, contentType);
132
+ this.g6r(contentType, converter, matcher, configuration);
133
133
  };
134
- protoOf(ContentNegotiationConfig).p6k = function (contentTypeToSend, converter, contentTypeMatcher, configuration) {
134
+ protoOf(ContentNegotiationConfig).g6r = function (contentTypeToSend, converter, contentTypeMatcher, configuration) {
135
135
  // Inline function 'kotlin.apply' call
136
136
  configuration(converter);
137
137
  var registration = new ConverterRegistration(converter, contentTypeToSend, contentTypeMatcher);
138
- this.n6k_1.p(registration);
138
+ this.e6r_1.p(registration);
139
139
  };
140
140
  function ContentConverterException(message) {
141
141
  Exception_init_$Init$(message, this);
@@ -150,53 +150,53 @@ function ContentNegotiationConfig$_init_$ref_1ne3ob() {
150
150
  }
151
151
  function ContentNegotiation$lambda($this$createClientPlugin) {
152
152
  _init_properties_ContentNegotiation_kt__o183go();
153
- var registrations = $this$createClientPlugin.o5q_1.n6k_1;
154
- var ignoredTypes = $this$createClientPlugin.o5q_1.m6k_1;
155
- $this$createClientPlugin.k66(ContentNegotiation$lambda$slambda_0(registrations, $this$createClientPlugin, ignoredTypes, null));
156
- $this$createClientPlugin.a5z(ContentNegotiation$lambda$slambda_2(ignoredTypes, registrations, $this$createClientPlugin, null));
153
+ var registrations = $this$createClientPlugin.f5x_1.e6r_1;
154
+ var ignoredTypes = $this$createClientPlugin.f5x_1.d6r_1;
155
+ $this$createClientPlugin.b6d(ContentNegotiation$lambda$slambda_0(registrations, $this$createClientPlugin, ignoredTypes, null));
156
+ $this$createClientPlugin.r65(ContentNegotiation$lambda$slambda_2(ignoredTypes, registrations, $this$createClientPlugin, null));
157
157
  return Unit_instance;
158
158
  }
159
159
  function invoke$convertRequest(registrations, $this_createClientPlugin, ignoredTypes, request, body, $completion) {
160
160
  var tmp = new $invoke$convertRequestCOROUTINE$(registrations, $this_createClientPlugin, ignoredTypes, request, body, $completion);
161
- tmp.u8_1 = Unit_instance;
162
- tmp.v8_1 = null;
163
- return tmp.a9();
161
+ tmp.n8_1 = Unit_instance;
162
+ tmp.o8_1 = null;
163
+ return tmp.t8();
164
164
  }
165
165
  function invoke$convertResponse(ignoredTypes, registrations, $this_createClientPlugin, requestUrl, info, body, responseContentType, charset, $completion) {
166
- charset = charset === VOID ? Charsets_getInstance().o4g_1 : charset;
166
+ charset = charset === VOID ? Charsets_getInstance().f4n_1 : charset;
167
167
  var tmp = new $invoke$convertResponseCOROUTINE$(ignoredTypes, registrations, $this_createClientPlugin, requestUrl, info, body, responseContentType, charset, $completion);
168
- tmp.u8_1 = Unit_instance;
169
- tmp.v8_1 = null;
170
- return tmp.a9();
168
+ tmp.n8_1 = Unit_instance;
169
+ tmp.o8_1 = null;
170
+ return tmp.t8();
171
171
  }
172
172
  function ContentNegotiation$lambda$slambda($registrations, $this_createClientPlugin, $ignoredTypes, resultContinuation) {
173
- this.h6m_1 = $registrations;
174
- this.i6m_1 = $this_createClientPlugin;
175
- this.j6m_1 = $ignoredTypes;
173
+ this.y6s_1 = $registrations;
174
+ this.z6s_1 = $this_createClientPlugin;
175
+ this.a6t_1 = $ignoredTypes;
176
176
  CoroutineImpl.call(this, resultContinuation);
177
177
  }
178
- protoOf(ContentNegotiation$lambda$slambda).o6m = function ($this$transformRequestBody, request, body, _unused_var__etf5q3, $completion) {
179
- var tmp = this.p6m($this$transformRequestBody, request, body, _unused_var__etf5q3, $completion);
180
- tmp.u8_1 = Unit_instance;
181
- tmp.v8_1 = null;
182
- return tmp.a9();
178
+ protoOf(ContentNegotiation$lambda$slambda).f6t = function ($this$transformRequestBody, request, body, _unused_var__etf5q3, $completion) {
179
+ var tmp = this.g6t($this$transformRequestBody, request, body, _unused_var__etf5q3, $completion);
180
+ tmp.n8_1 = Unit_instance;
181
+ tmp.o8_1 = null;
182
+ return tmp.t8();
183
183
  };
184
- protoOf(ContentNegotiation$lambda$slambda).f60 = function (p1, p2, p3, p4, $completion) {
184
+ protoOf(ContentNegotiation$lambda$slambda).w66 = function (p1, p2, p3, p4, $completion) {
185
185
  var tmp = p1 instanceof TransformRequestBodyContext ? p1 : THROW_CCE();
186
186
  var tmp_0 = p2 instanceof HttpRequestBuilder ? p2 : THROW_CCE();
187
187
  var tmp_1 = !(p3 == null) ? p3 : THROW_CCE();
188
- return this.o6m(tmp, tmp_0, tmp_1, (p4 == null ? true : p4 instanceof TypeInfo) ? p4 : THROW_CCE(), $completion);
188
+ return this.f6t(tmp, tmp_0, tmp_1, (p4 == null ? true : p4 instanceof TypeInfo) ? p4 : THROW_CCE(), $completion);
189
189
  };
190
- protoOf(ContentNegotiation$lambda$slambda).a9 = function () {
191
- var suspendResult = this.u8_1;
190
+ protoOf(ContentNegotiation$lambda$slambda).t8 = function () {
191
+ var suspendResult = this.n8_1;
192
192
  $sm: do
193
193
  try {
194
- var tmp = this.s8_1;
194
+ var tmp = this.l8_1;
195
195
  switch (tmp) {
196
196
  case 0:
197
- this.t8_1 = 2;
198
- this.s8_1 = 1;
199
- suspendResult = invoke$convertRequest(this.h6m_1, this.i6m_1, this.j6m_1, this.l6m_1, this.m6m_1, this);
197
+ this.m8_1 = 2;
198
+ this.l8_1 = 1;
199
+ suspendResult = invoke$convertRequest(this.y6s_1, this.z6s_1, this.a6t_1, this.c6t_1, this.d6t_1, this);
200
200
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
201
201
  return suspendResult;
202
202
  }
@@ -205,62 +205,62 @@ protoOf(ContentNegotiation$lambda$slambda).a9 = function () {
205
205
  case 1:
206
206
  return suspendResult;
207
207
  case 2:
208
- throw this.v8_1;
208
+ throw this.o8_1;
209
209
  }
210
210
  } catch ($p) {
211
211
  var e = $p;
212
- if (this.t8_1 === 2) {
212
+ if (this.m8_1 === 2) {
213
213
  throw e;
214
214
  } else {
215
- this.s8_1 = this.t8_1;
216
- this.v8_1 = e;
215
+ this.l8_1 = this.m8_1;
216
+ this.o8_1 = e;
217
217
  }
218
218
  }
219
219
  while (true);
220
220
  };
221
- protoOf(ContentNegotiation$lambda$slambda).p6m = function ($this$transformRequestBody, request, body, _unused_var__etf5q3, completion) {
222
- var i = new ContentNegotiation$lambda$slambda(this.h6m_1, this.i6m_1, this.j6m_1, completion);
223
- i.k6m_1 = $this$transformRequestBody;
224
- i.l6m_1 = request;
225
- i.m6m_1 = body;
226
- i.n6m_1 = _unused_var__etf5q3;
221
+ protoOf(ContentNegotiation$lambda$slambda).g6t = function ($this$transformRequestBody, request, body, _unused_var__etf5q3, completion) {
222
+ var i = new ContentNegotiation$lambda$slambda(this.y6s_1, this.z6s_1, this.a6t_1, completion);
223
+ i.b6t_1 = $this$transformRequestBody;
224
+ i.c6t_1 = request;
225
+ i.d6t_1 = body;
226
+ i.e6t_1 = _unused_var__etf5q3;
227
227
  return i;
228
228
  };
229
229
  function ContentNegotiation$lambda$slambda_0($registrations, $this_createClientPlugin, $ignoredTypes, resultContinuation) {
230
230
  var i = new ContentNegotiation$lambda$slambda($registrations, $this_createClientPlugin, $ignoredTypes, resultContinuation);
231
231
  var l = function ($this$transformRequestBody, request, body, _unused_var__etf5q3, $completion) {
232
- return i.o6m($this$transformRequestBody, request, body, _unused_var__etf5q3, $completion);
232
+ return i.f6t($this$transformRequestBody, request, body, _unused_var__etf5q3, $completion);
233
233
  };
234
234
  l.$arity = 4;
235
235
  return l;
236
236
  }
237
237
  function ContentNegotiation$lambda$slambda_1($ignoredTypes, $registrations, $this_createClientPlugin, resultContinuation) {
238
- this.y6m_1 = $ignoredTypes;
239
- this.z6m_1 = $registrations;
240
- this.a6n_1 = $this_createClientPlugin;
238
+ this.p6t_1 = $ignoredTypes;
239
+ this.q6t_1 = $registrations;
240
+ this.r6t_1 = $this_createClientPlugin;
241
241
  CoroutineImpl.call(this, resultContinuation);
242
242
  }
243
- protoOf(ContentNegotiation$lambda$slambda_1).d60 = function ($this$transformResponseBody, response, body, info, $completion) {
244
- var tmp = this.e60($this$transformResponseBody, response, body, info, $completion);
245
- tmp.u8_1 = Unit_instance;
246
- tmp.v8_1 = null;
247
- return tmp.a9();
243
+ protoOf(ContentNegotiation$lambda$slambda_1).u66 = function ($this$transformResponseBody, response, body, info, $completion) {
244
+ var tmp = this.v66($this$transformResponseBody, response, body, info, $completion);
245
+ tmp.n8_1 = Unit_instance;
246
+ tmp.o8_1 = null;
247
+ return tmp.t8();
248
248
  };
249
- protoOf(ContentNegotiation$lambda$slambda_1).f60 = function (p1, p2, p3, p4, $completion) {
249
+ protoOf(ContentNegotiation$lambda$slambda_1).w66 = function (p1, p2, p3, p4, $completion) {
250
250
  var tmp = p1 instanceof TransformResponseBodyContext ? p1 : THROW_CCE();
251
251
  var tmp_0 = p2 instanceof HttpResponse ? p2 : THROW_CCE();
252
252
  var tmp_1 = (!(p3 == null) ? isInterface(p3, ByteReadChannel) : false) ? p3 : THROW_CCE();
253
- return this.d60(tmp, tmp_0, tmp_1, p4 instanceof TypeInfo ? p4 : THROW_CCE(), $completion);
253
+ return this.u66(tmp, tmp_0, tmp_1, p4 instanceof TypeInfo ? p4 : THROW_CCE(), $completion);
254
254
  };
255
- protoOf(ContentNegotiation$lambda$slambda_1).a9 = function () {
256
- var suspendResult = this.u8_1;
255
+ protoOf(ContentNegotiation$lambda$slambda_1).t8 = function () {
256
+ var suspendResult = this.n8_1;
257
257
  $sm: do
258
258
  try {
259
- var tmp = this.s8_1;
259
+ var tmp = this.l8_1;
260
260
  switch (tmp) {
261
261
  case 0:
262
- this.t8_1 = 2;
263
- var tmp0_elvis_lhs = contentType(this.c6n_1);
262
+ this.m8_1 = 2;
263
+ var tmp0_elvis_lhs = contentType(this.t6t_1);
264
264
  var tmp_0;
265
265
  if (tmp0_elvis_lhs == null) {
266
266
  return null;
@@ -269,9 +269,9 @@ protoOf(ContentNegotiation$lambda$slambda_1).a9 = function () {
269
269
  }
270
270
 
271
271
  var contentType_0 = tmp_0;
272
- var charset = suitableCharset(get_request(this.c6n_1).f4u());
273
- this.s8_1 = 1;
274
- suspendResult = invoke$convertResponse(this.y6m_1, this.z6m_1, this.a6n_1, get_request(this.c6n_1).b5k(), this.e6n_1, this.d6n_1, contentType_0, charset, this);
272
+ var charset = suitableCharset(get_request(this.t6t_1).w50());
273
+ this.l8_1 = 1;
274
+ suspendResult = invoke$convertResponse(this.p6t_1, this.q6t_1, this.r6t_1, get_request(this.t6t_1).s5q(), this.v6t_1, this.u6t_1, contentType_0, charset, this);
275
275
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
276
276
  return suspendResult;
277
277
  }
@@ -280,59 +280,59 @@ protoOf(ContentNegotiation$lambda$slambda_1).a9 = function () {
280
280
  case 1:
281
281
  return suspendResult;
282
282
  case 2:
283
- throw this.v8_1;
283
+ throw this.o8_1;
284
284
  }
285
285
  } catch ($p) {
286
286
  var e = $p;
287
- if (this.t8_1 === 2) {
287
+ if (this.m8_1 === 2) {
288
288
  throw e;
289
289
  } else {
290
- this.s8_1 = this.t8_1;
291
- this.v8_1 = e;
290
+ this.l8_1 = this.m8_1;
291
+ this.o8_1 = e;
292
292
  }
293
293
  }
294
294
  while (true);
295
295
  };
296
- protoOf(ContentNegotiation$lambda$slambda_1).e60 = function ($this$transformResponseBody, response, body, info, completion) {
297
- var i = new ContentNegotiation$lambda$slambda_1(this.y6m_1, this.z6m_1, this.a6n_1, completion);
298
- i.b6n_1 = $this$transformResponseBody;
299
- i.c6n_1 = response;
300
- i.d6n_1 = body;
301
- i.e6n_1 = info;
296
+ protoOf(ContentNegotiation$lambda$slambda_1).v66 = function ($this$transformResponseBody, response, body, info, completion) {
297
+ var i = new ContentNegotiation$lambda$slambda_1(this.p6t_1, this.q6t_1, this.r6t_1, completion);
298
+ i.s6t_1 = $this$transformResponseBody;
299
+ i.t6t_1 = response;
300
+ i.u6t_1 = body;
301
+ i.v6t_1 = info;
302
302
  return i;
303
303
  };
304
304
  function ContentNegotiation$lambda$slambda_2($ignoredTypes, $registrations, $this_createClientPlugin, resultContinuation) {
305
305
  var i = new ContentNegotiation$lambda$slambda_1($ignoredTypes, $registrations, $this_createClientPlugin, resultContinuation);
306
306
  var l = function ($this$transformResponseBody, response, body, info, $completion) {
307
- return i.d60($this$transformResponseBody, response, body, info, $completion);
307
+ return i.u66($this$transformResponseBody, response, body, info, $completion);
308
308
  };
309
309
  l.$arity = 4;
310
310
  return l;
311
311
  }
312
312
  function ContentNegotiation$lambda$convertRequest$lambda(it) {
313
313
  _init_properties_ContentNegotiation_kt__o183go();
314
- return toString(it.h6k_1);
314
+ return toString(it.y6q_1);
315
315
  }
316
316
  function $invoke$convertRequestCOROUTINE$(registrations, $this_createClientPlugin, ignoredTypes, request, body, resultContinuation) {
317
317
  CoroutineImpl.call(this, resultContinuation);
318
- this.y6k_1 = registrations;
319
- this.z6k_1 = $this_createClientPlugin;
320
- this.a6l_1 = ignoredTypes;
321
- this.b6l_1 = request;
322
- this.c6l_1 = body;
318
+ this.p6r_1 = registrations;
319
+ this.q6r_1 = $this_createClientPlugin;
320
+ this.r6r_1 = ignoredTypes;
321
+ this.s6r_1 = request;
322
+ this.t6r_1 = body;
323
323
  }
324
- protoOf($invoke$convertRequestCOROUTINE$).a9 = function () {
325
- var suspendResult = this.u8_1;
324
+ protoOf($invoke$convertRequestCOROUTINE$).t8 = function () {
325
+ var suspendResult = this.n8_1;
326
326
  $sm: do
327
327
  try {
328
- var tmp = this.s8_1;
328
+ var tmp = this.l8_1;
329
329
  switch (tmp) {
330
330
  case 0:
331
- this.t8_1 = 7;
331
+ this.m8_1 = 7;
332
332
  var tmp_0;
333
- if (this.b6l_1.q5i_1.v4h(get_ExcludedContentTypes())) {
334
- var excluded = this.b6l_1.q5i_1.t4h(get_ExcludedContentTypes());
335
- var tmp0 = this.y6k_1;
333
+ if (this.s6r_1.h5p_1.m4o(get_ExcludedContentTypes())) {
334
+ var excluded = this.s6r_1.h5p_1.k4o(get_ExcludedContentTypes());
335
+ var tmp0 = this.p6r_1;
336
336
  var destination = ArrayList_init_$Create$();
337
337
  var _iterator__ex2g4s = tmp0.s();
338
338
  while (_iterator__ex2g4s.t()) {
@@ -352,7 +352,7 @@ protoOf($invoke$convertRequestCOROUTINE$).a9 = function () {
352
352
  var _iterator__ex2g4s_0 = excluded.s();
353
353
  while (_iterator__ex2g4s_0.t()) {
354
354
  var element_0 = _iterator__ex2g4s_0.u();
355
- if (element.i6k_1.x4p(element_0)) {
355
+ if (element.z6q_1.o4w(element_0)) {
356
356
  tmp$ret$0 = false;
357
357
  break l$ret$1;
358
358
  }
@@ -366,11 +366,11 @@ protoOf($invoke$convertRequestCOROUTINE$).a9 = function () {
366
366
  }
367
367
  tmp_0 = destination;
368
368
  } else {
369
- tmp_0 = this.y6k_1;
369
+ tmp_0 = this.p6r_1;
370
370
  }
371
371
 
372
372
  var requestRegistrations = tmp_0;
373
- var tmp0_elvis_lhs = this.b6l_1.n5i_1.n4j(HttpHeaders_getInstance().b4q_1);
373
+ var tmp0_elvis_lhs = this.s6r_1.e5p_1.e4q(HttpHeaders_getInstance().s4w_1);
374
374
  var acceptHeaders = tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
375
375
  var _iterator__ex2g4s_1 = requestRegistrations.s();
376
376
  while (_iterator__ex2g4s_1.t()) {
@@ -390,7 +390,7 @@ protoOf($invoke$convertRequestCOROUTINE$).a9 = function () {
390
390
  var _iterator__ex2g4s_2 = acceptHeaders.s();
391
391
  while (_iterator__ex2g4s_2.t()) {
392
392
  var element_2 = _iterator__ex2g4s_2.u();
393
- if (Companion_getInstance().ln(element_2).x4p(element_1.i6k_1)) {
393
+ if (Companion_getInstance().en(element_2).o4w(element_1.z6q_1)) {
394
394
  tmp$ret$2 = false;
395
395
  break l$ret$3;
396
396
  }
@@ -399,19 +399,19 @@ protoOf($invoke$convertRequestCOROUTINE$).a9 = function () {
399
399
  }
400
400
  while (false);
401
401
  if (tmp$ret$2) {
402
- var qValue = this.z6k_1.o5q_1.o6k_1;
403
- var contentTypeToSend = qValue == null ? element_1.i6k_1 : element_1.i6k_1.v4p('q', qValue.toString());
404
- get_LOGGER().p4n('Adding Accept=' + contentTypeToSend.toString() + ' header for ' + this.b6l_1.l5i_1.toString());
405
- accept(this.b6l_1, contentTypeToSend);
402
+ var qValue = this.q6r_1.f5x_1.f6r_1;
403
+ var contentTypeToSend = qValue == null ? element_1.z6q_1 : element_1.z6q_1.m4w('q', qValue.toString());
404
+ get_LOGGER().g4u('Adding Accept=' + contentTypeToSend.toString() + ' header for ' + this.s6r_1.c5p_1.toString());
405
+ accept(this.s6r_1, contentTypeToSend);
406
406
  }
407
407
  }
408
408
 
409
409
  var tmp_3;
410
- var tmp_4 = this.c6l_1;
410
+ var tmp_4 = this.t6r_1;
411
411
  if (tmp_4 instanceof OutgoingContent) {
412
412
  tmp_3 = true;
413
413
  } else {
414
- var tmp0_0 = this.a6l_1;
414
+ var tmp0_0 = this.r6r_1;
415
415
  var tmp$ret$4;
416
416
  l$ret$5: do {
417
417
  var tmp_5;
@@ -427,7 +427,7 @@ protoOf($invoke$convertRequestCOROUTINE$).a9 = function () {
427
427
  var _iterator__ex2g4s_3 = tmp0_0.s();
428
428
  while (_iterator__ex2g4s_3.t()) {
429
429
  var element_3 = _iterator__ex2g4s_3.u();
430
- if (element_3.ya(this.c6l_1)) {
430
+ if (element_3.ra(this.t6r_1)) {
431
431
  tmp$ret$4 = true;
432
432
  break l$ret$5;
433
433
  }
@@ -439,36 +439,36 @@ protoOf($invoke$convertRequestCOROUTINE$).a9 = function () {
439
439
  }
440
440
 
441
441
  if (tmp_3) {
442
- get_LOGGER().p4n('Body type ' + toString(getKClassFromExpression(this.c6l_1)) + ' is in ignored types. ' + ('Skipping ContentNegotiation for ' + this.b6l_1.l5i_1.toString() + '.'));
442
+ get_LOGGER().g4u('Body type ' + toString(getKClassFromExpression(this.t6r_1)) + ' is in ignored types. ' + ('Skipping ContentNegotiation for ' + this.s6r_1.c5p_1.toString() + '.'));
443
443
  return null;
444
444
  }
445
445
 
446
446
  var tmp_6 = this;
447
- var tmp0_elvis_lhs_0 = contentType_0(this.b6l_1);
447
+ var tmp0_elvis_lhs_0 = contentType_0(this.s6r_1);
448
448
  var tmp_7;
449
449
  if (tmp0_elvis_lhs_0 == null) {
450
- this.z6k_1;
451
- get_LOGGER().p4n("Request doesn't have Content-Type header. Skipping ContentNegotiation for " + this.b6l_1.l5i_1.toString() + '.');
450
+ this.q6r_1;
451
+ get_LOGGER().g4u("Request doesn't have Content-Type header. Skipping ContentNegotiation for " + this.s6r_1.c5p_1.toString() + '.');
452
452
  return null;
453
453
  } else {
454
454
  tmp_7 = tmp0_elvis_lhs_0;
455
455
  }
456
456
 
457
- tmp_6.e6l_1 = tmp_7;
458
- var tmp_8 = this.c6l_1;
457
+ tmp_6.v6r_1 = tmp_7;
458
+ var tmp_8 = this.t6r_1;
459
459
  if (tmp_8 instanceof Unit) {
460
- get_LOGGER().p4n('Sending empty body for ' + this.b6l_1.l5i_1.toString());
461
- this.b6l_1.n5i_1.u4j(HttpHeaders_getInstance().t4q_1);
460
+ get_LOGGER().g4u('Sending empty body for ' + this.s6r_1.c5p_1.toString());
461
+ this.s6r_1.e5p_1.l4q(HttpHeaders_getInstance().k4x_1);
462
462
  return EmptyContent_getInstance();
463
463
  }
464
464
 
465
465
  var tmp_9 = this;
466
- var tmp0_1 = this.y6k_1;
466
+ var tmp0_1 = this.p6r_1;
467
467
  var destination_0 = ArrayList_init_$Create$();
468
468
  var _iterator__ex2g4s_4 = tmp0_1.s();
469
469
  while (_iterator__ex2g4s_4.t()) {
470
470
  var element_4 = _iterator__ex2g4s_4.u();
471
- if (element_4.j6k_1.l6k(this.e6l_1)) {
471
+ if (element_4.a6r_1.c6r(this.v6r_1)) {
472
472
  destination_0.p(element_4);
473
473
  }
474
474
  }
@@ -483,41 +483,41 @@ protoOf($invoke$convertRequestCOROUTINE$).a9 = function () {
483
483
  var tmp1_elvis_lhs = tmp_10;
484
484
  var tmp_11;
485
485
  if (tmp1_elvis_lhs == null) {
486
- this.z6k_1;
487
- get_LOGGER().p4n('None of the registered converters match request Content-Type=' + this.e6l_1.toString() + '. ' + ('Skipping ContentNegotiation for ' + this.b6l_1.l5i_1.toString() + '.'));
486
+ this.q6r_1;
487
+ get_LOGGER().g4u('None of the registered converters match request Content-Type=' + this.v6r_1.toString() + '. ' + ('Skipping ContentNegotiation for ' + this.s6r_1.c5p_1.toString() + '.'));
488
488
  return null;
489
489
  } else {
490
490
  tmp_11 = tmp1_elvis_lhs;
491
491
  }
492
492
 
493
- tmp_9.d6l_1 = tmp_11;
494
- if (this.b6l_1.g68() == null) {
495
- get_LOGGER().p4n('Request has unknown body type. Skipping ContentNegotiation for ' + this.b6l_1.l5i_1.toString() + '.');
493
+ tmp_9.u6r_1 = tmp_11;
494
+ if (this.s6r_1.x6e() == null) {
495
+ get_LOGGER().g4u('Request has unknown body type. Skipping ContentNegotiation for ' + this.s6r_1.c5p_1.toString() + '.');
496
496
  return null;
497
497
  }
498
498
 
499
- this.b6l_1.n5i_1.u4j(HttpHeaders_getInstance().t4q_1);
499
+ this.s6r_1.e5p_1.l4q(HttpHeaders_getInstance().k4x_1);
500
500
  var tmp_12 = this;
501
- tmp_12.i6l_1 = this.d6l_1;
502
- this.s8_1 = 1;
501
+ tmp_12.z6r_1 = this.u6r_1;
502
+ this.l8_1 = 1;
503
503
  continue $sm;
504
504
  case 1:
505
- this.h6l_1 = this.i6l_1.s();
506
- this.s8_1 = 2;
505
+ this.y6r_1 = this.z6r_1.s();
506
+ this.l8_1 = 2;
507
507
  continue $sm;
508
508
  case 2:
509
- if (!this.h6l_1.t()) {
510
- this.s8_1 = 5;
509
+ if (!this.y6r_1.t()) {
510
+ this.l8_1 = 5;
511
511
  continue $sm;
512
512
  }
513
513
 
514
- var element_5 = this.h6l_1.u();
515
- this.g6l_1 = element_5;
516
- this.s8_1 = 3;
517
- var tmp0_elvis_lhs_1 = charset(this.e6l_1);
518
- var tmp_13 = tmp0_elvis_lhs_1 == null ? Charsets_getInstance().o4g_1 : tmp0_elvis_lhs_1;
519
- var tmp_14 = ensureNotNull(this.b6l_1.g68());
520
- var this_0 = this.c6l_1;
514
+ var element_5 = this.y6r_1.u();
515
+ this.x6r_1 = element_5;
516
+ this.l8_1 = 3;
517
+ var tmp0_elvis_lhs_1 = charset(this.v6r_1);
518
+ var tmp_13 = tmp0_elvis_lhs_1 == null ? Charsets_getInstance().f4n_1 : tmp0_elvis_lhs_1;
519
+ var tmp_14 = ensureNotNull(this.s6r_1.x6e());
520
+ var this_0 = this.t6r_1;
521
521
  var tmp_15;
522
522
  if (!equals(this_0, NullBody_instance)) {
523
523
  tmp_15 = this_0;
@@ -525,7 +525,7 @@ protoOf($invoke$convertRequestCOROUTINE$).a9 = function () {
525
525
  tmp_15 = null;
526
526
  }
527
527
 
528
- suspendResult = this.g6l_1.h6k_1.f6n(this.e6l_1, tmp_13, tmp_14, tmp_15, this);
528
+ suspendResult = this.x6r_1.y6q_1.w6t(this.v6r_1, tmp_13, tmp_14, tmp_15, this);
529
529
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
530
530
  return suspendResult;
531
531
  }
@@ -534,37 +534,37 @@ protoOf($invoke$convertRequestCOROUTINE$).a9 = function () {
534
534
  case 3:
535
535
  var result = suspendResult;
536
536
  if (!(result == null)) {
537
- get_LOGGER().p4n('Converted request body using ' + toString(this.g6l_1.h6k_1) + ' for ' + this.b6l_1.l5i_1.toString());
537
+ get_LOGGER().g4u('Converted request body using ' + toString(this.x6r_1.y6q_1) + ' for ' + this.s6r_1.c5p_1.toString());
538
538
  }
539
539
 
540
540
  var result_0 = result;
541
541
  if (!(result_0 == null)) {
542
- this.f6l_1 = result_0;
543
- this.s8_1 = 6;
542
+ this.w6r_1 = result_0;
543
+ this.l8_1 = 6;
544
544
  continue $sm;
545
545
  } else {
546
- this.s8_1 = 4;
546
+ this.l8_1 = 4;
547
547
  continue $sm;
548
548
  }
549
549
 
550
550
  case 4:
551
- this.s8_1 = 2;
551
+ this.l8_1 = 2;
552
552
  continue $sm;
553
553
  case 5:
554
- this.f6l_1 = null;
554
+ this.w6r_1 = null;
555
555
  if (false) {
556
- this.s8_1 = 1;
556
+ this.l8_1 = 1;
557
557
  continue $sm;
558
558
  }
559
559
 
560
- this.s8_1 = 6;
560
+ this.l8_1 = 6;
561
561
  continue $sm;
562
562
  case 6:
563
- var tmp2_elvis_lhs = this.f6l_1;
563
+ var tmp2_elvis_lhs = this.w6r_1;
564
564
  var tmp_16;
565
565
  if (tmp2_elvis_lhs == null) {
566
- var tmp_17 = "Can't convert " + toString(this.c6l_1) + ' with contentType ' + this.e6l_1.toString() + ' using converters ';
567
- throw new ContentConverterException(tmp_17 + joinToString(this.d6l_1, VOID, VOID, VOID, VOID, VOID, ContentNegotiation$lambda$convertRequest$lambda));
566
+ var tmp_17 = "Can't convert " + toString(this.t6r_1) + ' with contentType ' + this.v6r_1.toString() + ' using converters ';
567
+ throw new ContentConverterException(tmp_17 + joinToString(this.u6r_1, VOID, VOID, VOID, VOID, VOID, ContentNegotiation$lambda$convertRequest$lambda));
568
568
  } else {
569
569
  tmp_16 = tmp2_elvis_lhs;
570
570
  }
@@ -572,55 +572,55 @@ protoOf($invoke$convertRequestCOROUTINE$).a9 = function () {
572
572
  var serializedContent = tmp_16;
573
573
  return serializedContent;
574
574
  case 7:
575
- throw this.v8_1;
575
+ throw this.o8_1;
576
576
  }
577
577
  } catch ($p) {
578
578
  var e = $p;
579
- if (this.t8_1 === 7) {
579
+ if (this.m8_1 === 7) {
580
580
  throw e;
581
581
  } else {
582
- this.s8_1 = this.t8_1;
583
- this.v8_1 = e;
582
+ this.l8_1 = this.m8_1;
583
+ this.o8_1 = e;
584
584
  }
585
585
  }
586
586
  while (true);
587
587
  };
588
588
  function $invoke$convertResponseCOROUTINE$(ignoredTypes, registrations, $this_createClientPlugin, requestUrl, info, body, responseContentType, charset, resultContinuation) {
589
589
  CoroutineImpl.call(this, resultContinuation);
590
- this.r6l_1 = ignoredTypes;
591
- this.s6l_1 = registrations;
592
- this.t6l_1 = $this_createClientPlugin;
593
- this.u6l_1 = requestUrl;
594
- this.v6l_1 = info;
595
- this.w6l_1 = body;
596
- this.x6l_1 = responseContentType;
597
- this.y6l_1 = charset;
590
+ this.i6s_1 = ignoredTypes;
591
+ this.j6s_1 = registrations;
592
+ this.k6s_1 = $this_createClientPlugin;
593
+ this.l6s_1 = requestUrl;
594
+ this.m6s_1 = info;
595
+ this.n6s_1 = body;
596
+ this.o6s_1 = responseContentType;
597
+ this.p6s_1 = charset;
598
598
  }
599
- protoOf($invoke$convertResponseCOROUTINE$).a9 = function () {
600
- var suspendResult = this.u8_1;
599
+ protoOf($invoke$convertResponseCOROUTINE$).t8 = function () {
600
+ var suspendResult = this.n8_1;
601
601
  $sm: do
602
602
  try {
603
- var tmp = this.s8_1;
603
+ var tmp = this.l8_1;
604
604
  switch (tmp) {
605
605
  case 0:
606
- this.t8_1 = 2;
607
- var tmp_0 = this.w6l_1;
606
+ this.m8_1 = 2;
607
+ var tmp_0 = this.n6s_1;
608
608
  if (!isInterface(tmp_0, ByteReadChannel)) {
609
- get_LOGGER().p4n('Response body is already transformed. Skipping ContentNegotiation for ' + this.u6l_1.toString() + '.');
609
+ get_LOGGER().g4u('Response body is already transformed. Skipping ContentNegotiation for ' + this.l6s_1.toString() + '.');
610
610
  return null;
611
611
  }
612
612
 
613
- if (this.r6l_1.z(this.v6l_1.j4n_1)) {
614
- get_LOGGER().p4n('Response body type ' + toString(this.v6l_1.j4n_1) + ' is in ignored types. ' + ('Skipping ContentNegotiation for ' + this.u6l_1.toString() + '.'));
613
+ if (this.i6s_1.z(this.m6s_1.a4u_1)) {
614
+ get_LOGGER().g4u('Response body type ' + toString(this.m6s_1.a4u_1) + ' is in ignored types. ' + ('Skipping ContentNegotiation for ' + this.l6s_1.toString() + '.'));
615
615
  return null;
616
616
  }
617
617
 
618
- var tmp0 = this.s6l_1;
618
+ var tmp0 = this.j6s_1;
619
619
  var destination = ArrayList_init_$Create$();
620
620
  var _iterator__ex2g4s = tmp0.s();
621
621
  while (_iterator__ex2g4s.t()) {
622
622
  var element = _iterator__ex2g4s.u();
623
- if (element.j6k_1.l6k(this.x6l_1)) {
623
+ if (element.a6r_1.c6r(this.o6s_1)) {
624
624
  destination.p(element);
625
625
  }
626
626
  }
@@ -629,7 +629,7 @@ protoOf($invoke$convertResponseCOROUTINE$).a9 = function () {
629
629
  var _iterator__ex2g4s_0 = destination.s();
630
630
  while (_iterator__ex2g4s_0.t()) {
631
631
  var item = _iterator__ex2g4s_0.u();
632
- destination_0.p(item.h6k_1);
632
+ destination_0.p(item.y6q_1);
633
633
  }
634
634
 
635
635
  var tmp_1;
@@ -642,16 +642,16 @@ protoOf($invoke$convertResponseCOROUTINE$).a9 = function () {
642
642
  var tmp0_elvis_lhs = tmp_1;
643
643
  var tmp_2;
644
644
  if (tmp0_elvis_lhs == null) {
645
- this.t6l_1;
646
- get_LOGGER().p4n('None of the registered converters match response with Content-Type=' + this.x6l_1.toString() + '. ' + ('Skipping ContentNegotiation for ' + this.u6l_1.toString() + '.'));
645
+ this.k6s_1;
646
+ get_LOGGER().g4u('None of the registered converters match response with Content-Type=' + this.o6s_1.toString() + '. ' + ('Skipping ContentNegotiation for ' + this.l6s_1.toString() + '.'));
647
647
  return null;
648
648
  } else {
649
649
  tmp_2 = tmp0_elvis_lhs;
650
650
  }
651
651
 
652
652
  var suitableConverters = tmp_2;
653
- this.s8_1 = 1;
654
- suspendResult = deserialize(suitableConverters, this.w6l_1, this.v6l_1, this.y6l_1, this);
653
+ this.l8_1 = 1;
654
+ suspendResult = deserialize(suitableConverters, this.n6s_1, this.m6s_1, this.p6s_1, this);
655
655
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
656
656
  return suspendResult;
657
657
  }
@@ -660,20 +660,20 @@ protoOf($invoke$convertResponseCOROUTINE$).a9 = function () {
660
660
  case 1:
661
661
  var result = suspendResult;
662
662
  if (!isInterface(result, ByteReadChannel)) {
663
- get_LOGGER().p4n('Response body was converted to ' + toString(getKClassFromExpression(result)) + ' for ' + this.u6l_1.toString() + '.');
663
+ get_LOGGER().g4u('Response body was converted to ' + toString(getKClassFromExpression(result)) + ' for ' + this.l6s_1.toString() + '.');
664
664
  }
665
665
 
666
666
  return result;
667
667
  case 2:
668
- throw this.v8_1;
668
+ throw this.o8_1;
669
669
  }
670
670
  } catch ($p) {
671
671
  var e = $p;
672
- if (this.t8_1 === 2) {
672
+ if (this.m8_1 === 2) {
673
673
  throw e;
674
674
  } else {
675
- this.s8_1 = this.t8_1;
676
- this.v8_1 = e;
675
+ this.l8_1 = this.m8_1;
676
+ this.o8_1 = e;
677
677
  }
678
678
  }
679
679
  while (true);
@@ -683,7 +683,7 @@ function _init_properties_ContentNegotiation_kt__o183go() {
683
683
  if (!properties_initialized_ContentNegotiation_kt_1ayduy) {
684
684
  properties_initialized_ContentNegotiation_kt_1ayduy = true;
685
685
  LOGGER = KtorSimpleLogger('io.ktor.client.plugins.contentnegotiation.ContentNegotiation');
686
- DefaultCommonIgnoredTypes = setOf([PrimitiveClasses_getInstance().ic(), PrimitiveClasses_getInstance().ec(), getKClass(HttpStatusCode), getKClass(ByteReadChannel), getKClass(OutgoingContent)]);
686
+ DefaultCommonIgnoredTypes = setOf([PrimitiveClasses_getInstance().bc(), PrimitiveClasses_getInstance().xb(), getKClass(HttpStatusCode), getKClass(ByteReadChannel), getKClass(OutgoingContent)]);
687
687
  // Inline function 'io.ktor.util.AttributeKey' call
688
688
  var name = 'ExcludedContentTypesAttr';
689
689
  // Inline function 'io.ktor.util.reflect.typeInfo' call
@@ -711,12 +711,12 @@ function _init_properties_ContentNegotiation_kt__o183go() {
711
711
  }
712
712
  function JsonContentTypeMatcher() {
713
713
  }
714
- protoOf(JsonContentTypeMatcher).l6k = function (contentType) {
715
- if (contentType.x4p(Application_getInstance().d4o_1)) {
714
+ protoOf(JsonContentTypeMatcher).c6r = function (contentType) {
715
+ if (contentType.o4w(Application_getInstance().u4u_1)) {
716
716
  return true;
717
717
  }
718
- var value = contentType.w4p().toString();
719
- return Application_getInstance().x4o(value) && endsWith(value, '+json', true);
718
+ var value = contentType.n4w().toString();
719
+ return Application_getInstance().o4v(value) && endsWith(value, '+json', true);
720
720
  };
721
721
  var JsonContentTypeMatcher_instance;
722
722
  function JsonContentTypeMatcher_getInstance() {
@@ -736,7 +736,7 @@ function _init_properties_DefaultIgnoredTypesJs_kt__rjtdk1() {
736
736
  }
737
737
  }
738
738
  //region block: post-declaration
739
- protoOf(ContentNegotiationConfig).n5e = register$default;
739
+ protoOf(ContentNegotiationConfig).e5l = register$default;
740
740
  //endregion
741
741
  //region block: init
742
742
  JsonContentTypeMatcher_instance = new JsonContentTypeMatcher();