Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

project.test.ts.snap 20KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809
  1. // Jest Snapshot v1, https://goo.gl/fbAQLP
  2. exports[`project loads file from json: data after mount from file 1`] = `
  3. Object {
  4. "code": Object {
  5. "file0": Object {
  6. "code": "
  7. const draw = new Draw({
  8. points: [
  9. ...Utils.getPointsBetween([0, 0], [20, 50]),
  10. ...Utils.getPointsBetween([20, 50], [100, 20], 3),
  11. ...Utils.getPointsBetween([100, 20], [100, 100], 10),
  12. [100, 100],
  13. ],
  14. })
  15. const rectangle = new Rectangle({
  16. point: [200, 0],
  17. style: {
  18. color: ColorStyle.Blue,
  19. },
  20. })
  21. const ellipse = new Ellipse({
  22. point: [400, 0],
  23. })
  24. const arrow = new Arrow({
  25. start: [600, 0],
  26. end: [700, 100],
  27. })
  28. const radius = 1000
  29. const count = 100
  30. const center = [350, 50]
  31. for (let i = 0; i < count; i++) {
  32. const point = Vec.rotWith(
  33. Vec.add(center, [radius, 0]),
  34. center,
  35. (Math.PI * 2 * i) / count
  36. )
  37. const dot = new Dot({
  38. point,
  39. })
  40. }
  41. ",
  42. "id": "file0",
  43. "name": "index.ts",
  44. },
  45. },
  46. "id": "TESTING",
  47. "name": "My Document",
  48. "pages": Object {
  49. "page1": Object {
  50. "childIndex": 0,
  51. "id": "page1",
  52. "name": "Page 1",
  53. "shapes": Object {
  54. "13448777-d8f5-46cd-8a70-a4259211902e": Object {
  55. "childIndex": 4,
  56. "id": "13448777-d8f5-46cd-8a70-a4259211902e",
  57. "name": "Rectangle",
  58. "parentId": "page1",
  59. "point": Array [
  60. 500,
  61. 400,
  62. ],
  63. "radius": 2,
  64. "rotation": 0,
  65. "size": Array [
  66. 200,
  67. 200,
  68. ],
  69. "style": Object {
  70. "color": "Black",
  71. "dash": "Draw",
  72. "isFilled": false,
  73. "size": "Medium",
  74. },
  75. "type": "rectangle",
  76. },
  77. "2d842ace-ebc5-4e83-acdf-de29352e5e62": Object {
  78. "bend": 0,
  79. "childIndex": 10,
  80. "decorations": Object {
  81. "end": "Arrow",
  82. "middle": null,
  83. "start": null,
  84. },
  85. "handles": Object {
  86. "bend": Object {
  87. "id": "bend",
  88. "index": 2,
  89. "point": Array [
  90. 1.2250000000000227,
  91. 92.60000000000002,
  92. ],
  93. },
  94. "end": Object {
  95. "id": "end",
  96. "index": 1,
  97. "point": Array [
  98. 2.4500000000000455,
  99. 185.20000000000005,
  100. ],
  101. },
  102. "start": Object {
  103. "id": "start",
  104. "index": 0,
  105. "point": Array [
  106. 0,
  107. 0,
  108. ],
  109. },
  110. },
  111. "id": "2d842ace-ebc5-4e83-acdf-de29352e5e62",
  112. "name": "Arrow",
  113. "parentId": "page1",
  114. "point": Array [
  115. 616.9,
  116. 1124.3,
  117. ],
  118. "rotation": 0,
  119. "style": Object {
  120. "color": "Black",
  121. "dash": "Draw",
  122. "isFilled": false,
  123. "size": "Medium",
  124. },
  125. "type": "arrow",
  126. },
  127. "38e9e750-16c2-4476-93ab-21aeb5f8858f": Object {
  128. "childIndex": 12,
  129. "id": "38e9e750-16c2-4476-93ab-21aeb5f8858f",
  130. "name": "Text",
  131. "parentId": "page1",
  132. "point": Array [
  133. 207.16,
  134. 1422.4,
  135. ],
  136. "rotation": 0,
  137. "scale": 1,
  138. "style": Object {
  139. "color": "Black",
  140. "dash": "Draw",
  141. "isFilled": false,
  142. "size": "Medium",
  143. },
  144. "text": "Hello",
  145. "type": "text",
  146. },
  147. "3c688979-b190-4270-915b-7d8dd22a2bb7": Object {
  148. "childIndex": 14,
  149. "id": "3c688979-b190-4270-915b-7d8dd22a2bb7",
  150. "name": "Text",
  151. "parentId": "page1",
  152. "point": Array [
  153. 564.06,
  154. 1558.1,
  155. ],
  156. "rotation": 0,
  157. "scale": 1,
  158. "style": Object {
  159. "color": "Black",
  160. "dash": "Draw",
  161. "isFilled": false,
  162. "size": "Medium",
  163. },
  164. "text": "Hello",
  165. "type": "text",
  166. },
  167. "51641de1-9787-41b8-afcc-2c85fd1b24c7": Object {
  168. "childIndex": 7,
  169. "id": "51641de1-9787-41b8-afcc-2c85fd1b24c7",
  170. "name": "Ellipse",
  171. "parentId": "page1",
  172. "point": Array [
  173. 517.18,
  174. 783.54,
  175. ],
  176. "radiusX": 102.99999999999997,
  177. "radiusY": 102.99999999999994,
  178. "rotation": 0,
  179. "style": Object {
  180. "color": "Black",
  181. "dash": "Draw",
  182. "isFilled": false,
  183. "size": "Medium",
  184. },
  185. "type": "ellipse",
  186. },
  187. "5ba998df-c036-447a-9b88-d96c71394f52": Object {
  188. "childIndex": 13,
  189. "id": "5ba998df-c036-447a-9b88-d96c71394f52",
  190. "name": "Text",
  191. "parentId": "page1",
  192. "point": Array [
  193. 389.57,
  194. 1496.5,
  195. ],
  196. "rotation": 0,
  197. "scale": 1,
  198. "style": Object {
  199. "color": "Black",
  200. "dash": "Draw",
  201. "isFilled": false,
  202. "size": "Medium",
  203. },
  204. "text": "Hello",
  205. "type": "text",
  206. },
  207. "75010635-8dfb-48ea-9250-719e50e58f02": Object {
  208. "childIndex": 5,
  209. "id": "75010635-8dfb-48ea-9250-719e50e58f02",
  210. "name": "Rectangle",
  211. "parentId": "page1",
  212. "point": Array [
  213. 384.09,
  214. 378.45,
  215. ],
  216. "radius": 2,
  217. "rotation": 0,
  218. "size": Array [
  219. 95.20999999999992,
  220. 91.1799999999999,
  221. ],
  222. "style": Object {
  223. "color": "Black",
  224. "dash": "Draw",
  225. "isFilled": false,
  226. "size": "Medium",
  227. },
  228. "type": "rectangle",
  229. },
  230. "b8e4e2c5-c662-4587-bf80-b9820ad8ad7f": Object {
  231. "bend": 0,
  232. "childIndex": 11,
  233. "decorations": Object {
  234. "end": "Arrow",
  235. "middle": null,
  236. "start": null,
  237. },
  238. "handles": Object {
  239. "bend": Object {
  240. "id": "bend",
  241. "index": 2,
  242. "point": Array [
  243. 0.9250000000000114,
  244. 47.85000000000002,
  245. ],
  246. },
  247. "end": Object {
  248. "id": "end",
  249. "index": 1,
  250. "point": Array [
  251. 1.8500000000000227,
  252. 95.70000000000005,
  253. ],
  254. },
  255. "start": Object {
  256. "id": "start",
  257. "index": 0,
  258. "point": Array [
  259. 0,
  260. 0,
  261. ],
  262. },
  263. },
  264. "id": "b8e4e2c5-c662-4587-bf80-b9820ad8ad7f",
  265. "name": "Arrow",
  266. "parentId": "page1",
  267. "point": Array [
  268. 425.18,
  269. 1143.2,
  270. ],
  271. "rotation": 0,
  272. "style": Object {
  273. "color": "Black",
  274. "dash": "Draw",
  275. "isFilled": false,
  276. "size": "Medium",
  277. },
  278. "type": "arrow",
  279. },
  280. "c892d665-3311-4e25-a0bf-c4632d777f7e": Object {
  281. "childIndex": 6,
  282. "id": "c892d665-3311-4e25-a0bf-c4632d777f7e",
  283. "name": "Ellipse",
  284. "parentId": "page1",
  285. "point": Array [
  286. 162.45,
  287. 679.23,
  288. ],
  289. "radiusX": 102.99999999999997,
  290. "radiusY": 102.99999999999994,
  291. "rotation": 0,
  292. "style": Object {
  293. "color": "Black",
  294. "dash": "Draw",
  295. "isFilled": false,
  296. "size": "Medium",
  297. },
  298. "type": "ellipse",
  299. },
  300. "e08c415e-3db3-4d3b-878e-28ce693ec1b0": Object {
  301. "childIndex": 8,
  302. "id": "e08c415e-3db3-4d3b-878e-28ce693ec1b0",
  303. "name": "Ellipse",
  304. "parentId": "page1",
  305. "point": Array [
  306. 398.99,
  307. 810.79,
  308. ],
  309. "radiusX": 45.484999999999985,
  310. "radiusY": 45.48499999999996,
  311. "rotation": 0,
  312. "style": Object {
  313. "color": "Black",
  314. "dash": "Draw",
  315. "isFilled": false,
  316. "size": "Medium",
  317. },
  318. "type": "ellipse",
  319. },
  320. "e43559cb-6f41-4ae4-9c49-158ed1ad2f72": Object {
  321. "childIndex": 3,
  322. "id": "e43559cb-6f41-4ae4-9c49-158ed1ad2f72",
  323. "name": "Rectangle",
  324. "parentId": "page1",
  325. "point": Array [
  326. 100,
  327. 100,
  328. ],
  329. "radius": 2,
  330. "rotation": 0,
  331. "size": Array [
  332. 100,
  333. 100,
  334. ],
  335. "style": Object {
  336. "color": "Black",
  337. "dash": "Draw",
  338. "isFilled": false,
  339. "size": "Medium",
  340. },
  341. "type": "rectangle",
  342. },
  343. "fee77127-e779-4576-882b-b1bf7c7e132f": Object {
  344. "bend": 0,
  345. "childIndex": 9,
  346. "decorations": Object {
  347. "end": "Arrow",
  348. "middle": null,
  349. "start": null,
  350. },
  351. "handles": Object {
  352. "bend": Object {
  353. "id": "bend",
  354. "index": 2,
  355. "point": Array [
  356. 0.045000000000001705,
  357. 104,
  358. ],
  359. },
  360. "end": Object {
  361. "id": "end",
  362. "index": 1,
  363. "point": Array [
  364. 0.09000000000000341,
  365. 208,
  366. ],
  367. },
  368. "start": Object {
  369. "id": "start",
  370. "index": 0,
  371. "point": Array [
  372. 0,
  373. 0,
  374. ],
  375. },
  376. },
  377. "id": "fee77127-e779-4576-882b-b1bf7c7e132f",
  378. "name": "Arrow",
  379. "parentId": "page1",
  380. "point": Array [
  381. 252.85,
  382. 1057.5,
  383. ],
  384. "rotation": 0,
  385. "style": Object {
  386. "color": "Black",
  387. "dash": "Draw",
  388. "isFilled": false,
  389. "size": "Medium",
  390. },
  391. "type": "arrow",
  392. },
  393. },
  394. "type": "page",
  395. },
  396. },
  397. }
  398. `;
  399. exports[`restoring project remounts the state after mutating the current state: data after re-mount from file 1`] = `
  400. Object {
  401. "code": Object {
  402. "file0": Object {
  403. "code": "
  404. const draw = new Draw({
  405. points: [
  406. ...Utils.getPointsBetween([0, 0], [20, 50]),
  407. ...Utils.getPointsBetween([20, 50], [100, 20], 3),
  408. ...Utils.getPointsBetween([100, 20], [100, 100], 10),
  409. [100, 100],
  410. ],
  411. })
  412. const rectangle = new Rectangle({
  413. point: [200, 0],
  414. style: {
  415. color: ColorStyle.Blue,
  416. },
  417. })
  418. const ellipse = new Ellipse({
  419. point: [400, 0],
  420. })
  421. const arrow = new Arrow({
  422. start: [600, 0],
  423. end: [700, 100],
  424. })
  425. const radius = 1000
  426. const count = 100
  427. const center = [350, 50]
  428. for (let i = 0; i < count; i++) {
  429. const point = Vec.rotWith(
  430. Vec.add(center, [radius, 0]),
  431. center,
  432. (Math.PI * 2 * i) / count
  433. )
  434. const dot = new Dot({
  435. point,
  436. })
  437. }
  438. ",
  439. "id": "file0",
  440. "name": "index.ts",
  441. },
  442. },
  443. "id": "TESTING",
  444. "name": "My Document",
  445. "pages": Object {
  446. "page1": Object {
  447. "childIndex": 0,
  448. "id": "page1",
  449. "name": "Page 1",
  450. "shapes": Object {
  451. "13448777-d8f5-46cd-8a70-a4259211902e": Object {
  452. "childIndex": 4,
  453. "id": "13448777-d8f5-46cd-8a70-a4259211902e",
  454. "name": "Rectangle",
  455. "parentId": "page1",
  456. "point": Array [
  457. 500,
  458. 400,
  459. ],
  460. "radius": 2,
  461. "rotation": 0,
  462. "size": Array [
  463. 200,
  464. 200,
  465. ],
  466. "style": Object {
  467. "color": "Black",
  468. "dash": "Draw",
  469. "isFilled": false,
  470. "size": "Medium",
  471. },
  472. "type": "rectangle",
  473. },
  474. "2d842ace-ebc5-4e83-acdf-de29352e5e62": Object {
  475. "bend": 0,
  476. "childIndex": 10,
  477. "decorations": Object {
  478. "end": "Arrow",
  479. "middle": null,
  480. "start": null,
  481. },
  482. "handles": Object {
  483. "bend": Object {
  484. "id": "bend",
  485. "index": 2,
  486. "point": Array [
  487. 1.2250000000000227,
  488. 92.60000000000002,
  489. ],
  490. },
  491. "end": Object {
  492. "id": "end",
  493. "index": 1,
  494. "point": Array [
  495. 2.4500000000000455,
  496. 185.20000000000005,
  497. ],
  498. },
  499. "start": Object {
  500. "id": "start",
  501. "index": 0,
  502. "point": Array [
  503. 0,
  504. 0,
  505. ],
  506. },
  507. },
  508. "id": "2d842ace-ebc5-4e83-acdf-de29352e5e62",
  509. "name": "Arrow",
  510. "parentId": "page1",
  511. "point": Array [
  512. 616.9,
  513. 1124.3,
  514. ],
  515. "rotation": 0,
  516. "style": Object {
  517. "color": "Black",
  518. "dash": "Draw",
  519. "isFilled": false,
  520. "size": "Medium",
  521. },
  522. "type": "arrow",
  523. },
  524. "38e9e750-16c2-4476-93ab-21aeb5f8858f": Object {
  525. "childIndex": 12,
  526. "id": "38e9e750-16c2-4476-93ab-21aeb5f8858f",
  527. "name": "Text",
  528. "parentId": "page1",
  529. "point": Array [
  530. 207.16,
  531. 1422.4,
  532. ],
  533. "rotation": 0,
  534. "scale": 1,
  535. "style": Object {
  536. "color": "Black",
  537. "dash": "Draw",
  538. "isFilled": false,
  539. "size": "Medium",
  540. },
  541. "text": "Hello",
  542. "type": "text",
  543. },
  544. "3c688979-b190-4270-915b-7d8dd22a2bb7": Object {
  545. "childIndex": 14,
  546. "id": "3c688979-b190-4270-915b-7d8dd22a2bb7",
  547. "name": "Text",
  548. "parentId": "page1",
  549. "point": Array [
  550. 564.06,
  551. 1558.1,
  552. ],
  553. "rotation": 0,
  554. "scale": 1,
  555. "style": Object {
  556. "color": "Black",
  557. "dash": "Draw",
  558. "isFilled": false,
  559. "size": "Medium",
  560. },
  561. "text": "Hello",
  562. "type": "text",
  563. },
  564. "51641de1-9787-41b8-afcc-2c85fd1b24c7": Object {
  565. "childIndex": 7,
  566. "id": "51641de1-9787-41b8-afcc-2c85fd1b24c7",
  567. "name": "Ellipse",
  568. "parentId": "page1",
  569. "point": Array [
  570. 517.18,
  571. 783.54,
  572. ],
  573. "radiusX": 102.99999999999997,
  574. "radiusY": 102.99999999999994,
  575. "rotation": 0,
  576. "style": Object {
  577. "color": "Black",
  578. "dash": "Draw",
  579. "isFilled": false,
  580. "size": "Medium",
  581. },
  582. "type": "ellipse",
  583. },
  584. "5ba998df-c036-447a-9b88-d96c71394f52": Object {
  585. "childIndex": 13,
  586. "id": "5ba998df-c036-447a-9b88-d96c71394f52",
  587. "name": "Text",
  588. "parentId": "page1",
  589. "point": Array [
  590. 389.57,
  591. 1496.5,
  592. ],
  593. "rotation": 0,
  594. "scale": 1,
  595. "style": Object {
  596. "color": "Black",
  597. "dash": "Draw",
  598. "isFilled": false,
  599. "size": "Medium",
  600. },
  601. "text": "Hello",
  602. "type": "text",
  603. },
  604. "75010635-8dfb-48ea-9250-719e50e58f02": Object {
  605. "childIndex": 5,
  606. "id": "75010635-8dfb-48ea-9250-719e50e58f02",
  607. "name": "Rectangle",
  608. "parentId": "page1",
  609. "point": Array [
  610. 384.09,
  611. 378.45,
  612. ],
  613. "radius": 2,
  614. "rotation": 0,
  615. "size": Array [
  616. 95.20999999999992,
  617. 91.1799999999999,
  618. ],
  619. "style": Object {
  620. "color": "Black",
  621. "dash": "Draw",
  622. "isFilled": false,
  623. "size": "Medium",
  624. },
  625. "type": "rectangle",
  626. },
  627. "b8e4e2c5-c662-4587-bf80-b9820ad8ad7f": Object {
  628. "bend": 0,
  629. "childIndex": 11,
  630. "decorations": Object {
  631. "end": "Arrow",
  632. "middle": null,
  633. "start": null,
  634. },
  635. "handles": Object {
  636. "bend": Object {
  637. "id": "bend",
  638. "index": 2,
  639. "point": Array [
  640. 0.9250000000000114,
  641. 47.85000000000002,
  642. ],
  643. },
  644. "end": Object {
  645. "id": "end",
  646. "index": 1,
  647. "point": Array [
  648. 1.8500000000000227,
  649. 95.70000000000005,
  650. ],
  651. },
  652. "start": Object {
  653. "id": "start",
  654. "index": 0,
  655. "point": Array [
  656. 0,
  657. 0,
  658. ],
  659. },
  660. },
  661. "id": "b8e4e2c5-c662-4587-bf80-b9820ad8ad7f",
  662. "name": "Arrow",
  663. "parentId": "page1",
  664. "point": Array [
  665. 425.18,
  666. 1143.2,
  667. ],
  668. "rotation": 0,
  669. "style": Object {
  670. "color": "Black",
  671. "dash": "Draw",
  672. "isFilled": false,
  673. "size": "Medium",
  674. },
  675. "type": "arrow",
  676. },
  677. "c892d665-3311-4e25-a0bf-c4632d777f7e": Object {
  678. "childIndex": 6,
  679. "id": "c892d665-3311-4e25-a0bf-c4632d777f7e",
  680. "name": "Ellipse",
  681. "parentId": "page1",
  682. "point": Array [
  683. 162.45,
  684. 679.23,
  685. ],
  686. "radiusX": 102.99999999999997,
  687. "radiusY": 102.99999999999994,
  688. "rotation": 0,
  689. "style": Object {
  690. "color": "Black",
  691. "dash": "Draw",
  692. "isFilled": false,
  693. "size": "Medium",
  694. },
  695. "type": "ellipse",
  696. },
  697. "e08c415e-3db3-4d3b-878e-28ce693ec1b0": Object {
  698. "childIndex": 8,
  699. "id": "e08c415e-3db3-4d3b-878e-28ce693ec1b0",
  700. "name": "Ellipse",
  701. "parentId": "page1",
  702. "point": Array [
  703. 398.99,
  704. 810.79,
  705. ],
  706. "radiusX": 45.484999999999985,
  707. "radiusY": 45.48499999999996,
  708. "rotation": 0,
  709. "style": Object {
  710. "color": "Black",
  711. "dash": "Draw",
  712. "isFilled": false,
  713. "size": "Medium",
  714. },
  715. "type": "ellipse",
  716. },
  717. "e43559cb-6f41-4ae4-9c49-158ed1ad2f72": Object {
  718. "childIndex": 3,
  719. "id": "e43559cb-6f41-4ae4-9c49-158ed1ad2f72",
  720. "name": "Rectangle",
  721. "parentId": "page1",
  722. "point": Array [
  723. 100,
  724. 100,
  725. ],
  726. "radius": 2,
  727. "rotation": 0,
  728. "size": Array [
  729. 100,
  730. 100,
  731. ],
  732. "style": Object {
  733. "color": "Black",
  734. "dash": "Draw",
  735. "isFilled": false,
  736. "size": "Medium",
  737. },
  738. "type": "rectangle",
  739. },
  740. "fee77127-e779-4576-882b-b1bf7c7e132f": Object {
  741. "bend": 0,
  742. "childIndex": 9,
  743. "decorations": Object {
  744. "end": "Arrow",
  745. "middle": null,
  746. "start": null,
  747. },
  748. "handles": Object {
  749. "bend": Object {
  750. "id": "bend",
  751. "index": 2,
  752. "point": Array [
  753. 0.045000000000001705,
  754. 104,
  755. ],
  756. },
  757. "end": Object {
  758. "id": "end",
  759. "index": 1,
  760. "point": Array [
  761. 0.09000000000000341,
  762. 208,
  763. ],
  764. },
  765. "start": Object {
  766. "id": "start",
  767. "index": 0,
  768. "point": Array [
  769. 0,
  770. 0,
  771. ],
  772. },
  773. },
  774. "id": "fee77127-e779-4576-882b-b1bf7c7e132f",
  775. "name": "Arrow",
  776. "parentId": "page1",
  777. "point": Array [
  778. 252.85,
  779. 1057.5,
  780. ],
  781. "rotation": 0,
  782. "style": Object {
  783. "color": "Black",
  784. "dash": "Draw",
  785. "isFilled": false,
  786. "size": "Medium",
  787. },
  788. "type": "arrow",
  789. },
  790. },
  791. "type": "page",
  792. },
  793. },
  794. }
  795. `;