@roomle/web-sdk 2.79.0 → 2.80.0-alpha.2
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.
- package/lib/{banana-for-scale-ce3eda5d.js → banana-for-scale-12147338.js} +2 -2
- package/lib/{banana-for-scale-ce3eda5d.js.map → banana-for-scale-12147338.js.map} +1 -1
- package/lib/{banana-for-scale-d5213ac7.nomodule.js → banana-for-scale-8c9b8e0d.nomodule.js} +2 -2
- package/lib/{banana-for-scale-d5213ac7.nomodule.js.map → banana-for-scale-8c9b8e0d.nomodule.js.map} +1 -1
- package/lib/{camera-behaviour-956df474.nomodule.js → camera-behaviour-1b0b7853.nomodule.js} +2 -2
- package/lib/{camera-behaviour-956df474.nomodule.js.map → camera-behaviour-1b0b7853.nomodule.js.map} +1 -1
- package/lib/{camera-behaviour-265f1725.js → camera-behaviour-4d4e7e7c.js} +2 -2
- package/lib/{camera-behaviour-265f1725.js.map → camera-behaviour-4d4e7e7c.js.map} +1 -1
- package/lib/{component-dimensioning-211401c5.nomodule.js → component-dimensioning-36a1e68e.nomodule.js} +2 -2
- package/lib/component-dimensioning-36a1e68e.nomodule.js.map +1 -0
- package/lib/{component-dimensioning-208d190d.js → component-dimensioning-bdbf6729.js} +2 -2
- package/lib/component-dimensioning-bdbf6729.js.map +1 -0
- package/lib/{component-raycast-helper-76a73fd4.js → component-raycast-helper-40363857.js} +2 -2
- package/lib/component-raycast-helper-40363857.js.map +1 -0
- package/lib/{component-raycast-helper-d36606a4.nomodule.js → component-raycast-helper-67f9a0e9.nomodule.js} +2 -2
- package/lib/component-raycast-helper-67f9a0e9.nomodule.js.map +1 -0
- package/lib/{configurator-b03fe279.nomodule.js → configurator-04e3b0ec.nomodule.js} +2 -2
- package/lib/configurator-04e3b0ec.nomodule.js.map +1 -0
- package/lib/{configurator-db209442.js → configurator-7fce117f.js} +2 -2
- package/lib/configurator-7fce117f.js.map +1 -0
- package/lib/configurator-main-16e36fb1.js +2 -0
- package/lib/configurator-main-16e36fb1.js.map +1 -0
- package/lib/configurator-main.nomodule.js +1 -1
- package/lib/{continuous-drawing-helper-304c9678.js → continuous-drawing-helper-094fdf93.js} +2 -2
- package/lib/continuous-drawing-helper-094fdf93.js.map +1 -0
- package/lib/{continuous-drawing-helper-bf78cff1.nomodule.js → continuous-drawing-helper-f2aea1db.nomodule.js} +2 -2
- package/lib/continuous-drawing-helper-f2aea1db.nomodule.js.map +1 -0
- package/lib/{default-light-setting-c2fd567d.nomodule.js → default-light-setting-7f113f35.nomodule.js} +2 -2
- package/lib/default-light-setting-7f113f35.nomodule.js.map +1 -0
- package/lib/{default-light-setting-f34982ae.js → default-light-setting-ad52e6de.js} +2 -2
- package/lib/default-light-setting-ad52e6de.js.map +1 -0
- package/lib/definitions/common-core/src/configurator-kernel-access.d.ts +4 -1
- package/lib/definitions/common-core/src/services/common-kernel-access.d.ts +8 -4
- package/lib/definitions/common-core/src/utils/init-data.d.ts +1 -0
- package/lib/definitions/common-core/src/webgl/roomle-webgl-renderer.d.ts +1 -0
- package/lib/definitions/configurator-core/src/static-files/fonts.d.ts +2 -2
- package/lib/definitions/planner-core/src/roomle-planner.d.ts +1 -0
- package/lib/definitions/planner-core/src/view-model/wall-plan-element-view-model.d.ts +5 -2
- package/lib/definitions/planner-core/src/webgl/planner-scene-manager.d.ts +7 -0
- package/lib/definitions/typings/kernel.d.ts +25 -12
- package/lib/definitions/typings/planner.d.ts +2 -0
- package/lib/dimensioning-helper-7494fb28.js +2 -0
- package/lib/dimensioning-helper-7494fb28.js.map +1 -0
- package/lib/dimensioning-helper-b9377b93.nomodule.js +2 -0
- package/lib/dimensioning-helper-b9377b93.nomodule.js.map +1 -0
- package/lib/{glb-viewer-8f01091d.js → glb-viewer-039ccdb1.js} +2 -2
- package/lib/{glb-viewer-8f01091d.js.map → glb-viewer-039ccdb1.js.map} +1 -1
- package/lib/{glb-viewer-597ac257.nomodule.js → glb-viewer-0fd5cc99.nomodule.js} +2 -2
- package/lib/{glb-viewer-597ac257.nomodule.js.map → glb-viewer-0fd5cc99.nomodule.js.map} +1 -1
- package/lib/glb-viewer-camera-behaviour-21363fa3.js +2 -0
- package/lib/glb-viewer-camera-behaviour-21363fa3.js.map +1 -0
- package/lib/{glb-viewer-camera-behaviour-d7f286c3.nomodule.js → glb-viewer-camera-behaviour-c43375cf.nomodule.js} +2 -2
- package/lib/glb-viewer-camera-behaviour-c43375cf.nomodule.js.map +1 -0
- package/lib/glb-viewer-main-ca829f73.js +2 -0
- package/lib/glb-viewer-main-ca829f73.js.map +1 -0
- package/lib/glb-viewer-main.nomodule.js +1 -1
- package/lib/legacy/{banana-for-scale-18be7655.legacy.js → banana-for-scale-ade37173.legacy.js} +2 -2
- package/lib/legacy/{banana-for-scale-18be7655.legacy.js.map → banana-for-scale-ade37173.legacy.js.map} +1 -1
- package/lib/legacy/{camera-behaviour-e3581b58.legacy.js → camera-behaviour-ba624fdd.legacy.js} +2 -2
- package/lib/legacy/{camera-behaviour-e3581b58.legacy.js.map → camera-behaviour-ba624fdd.legacy.js.map} +1 -1
- package/lib/legacy/{component-dimensioning-0ff91d29.legacy.js → component-dimensioning-d6f65e0d.legacy.js} +2 -2
- package/lib/legacy/component-dimensioning-d6f65e0d.legacy.js.map +1 -0
- package/lib/legacy/{component-raycast-helper-b7f5e8bd.legacy.js → component-raycast-helper-f8241e23.legacy.js} +2 -2
- package/lib/legacy/component-raycast-helper-f8241e23.legacy.js.map +1 -0
- package/lib/legacy/{configurator-57934960.legacy.js → configurator-9881273c.legacy.js} +2 -2
- package/lib/legacy/configurator-9881273c.legacy.js.map +1 -0
- package/lib/legacy/configurator-main.legacy.js +1 -1
- package/lib/legacy/{continuous-drawing-helper-562124e1.legacy.js → continuous-drawing-helper-8f4235b4.legacy.js} +2 -2
- package/lib/legacy/continuous-drawing-helper-8f4235b4.legacy.js.map +1 -0
- package/lib/legacy/{default-light-setting-e77566a5.legacy.js → default-light-setting-1e175f7c.legacy.js} +2 -2
- package/lib/legacy/default-light-setting-1e175f7c.legacy.js.map +1 -0
- package/lib/legacy/dimensioning-helper-5c4c4754.legacy.js +2 -0
- package/lib/legacy/dimensioning-helper-5c4c4754.legacy.js.map +1 -0
- package/lib/legacy/{glb-viewer-ea6d3597.legacy.js → glb-viewer-53726809.legacy.js} +2 -2
- package/lib/legacy/{glb-viewer-ea6d3597.legacy.js.map → glb-viewer-53726809.legacy.js.map} +1 -1
- package/lib/legacy/{glb-viewer-camera-behaviour-5164a72d.legacy.js → glb-viewer-camera-behaviour-6f853358.legacy.js} +2 -2
- package/lib/legacy/glb-viewer-camera-behaviour-6f853358.legacy.js.map +1 -0
- package/lib/legacy/glb-viewer-main.legacy.js +1 -1
- package/lib/legacy/{material-viewer-6bffb50f.legacy.js → material-viewer-40206245.legacy.js} +2 -2
- package/lib/legacy/material-viewer-40206245.legacy.js.map +1 -0
- package/lib/legacy/material-viewer-main.legacy.js +1 -1
- package/lib/legacy/planner-20fc10ce.legacy.js +2 -0
- package/lib/legacy/{planner-a30ad695.legacy.js.map → planner-20fc10ce.legacy.js.map} +1 -1
- package/lib/legacy/planner-main.legacy.js +1 -1
- package/lib/legacy/{roomle-configurator-48f81f38.legacy.js → roomle-configurator-34ae3e86.legacy.js} +2 -2
- package/lib/legacy/roomle-configurator-34ae3e86.legacy.js.map +1 -0
- package/lib/legacy/{roomle-dependency-injection-3fd533e1.legacy.js → roomle-dependency-injection-3542b35a.legacy.js} +3 -3
- package/lib/legacy/roomle-dependency-injection-3542b35a.legacy.js.map +1 -0
- package/lib/legacy/roomle-sdk.legacy.js +1 -1
- package/lib/legacy/{script-loader-aa704ceb.legacy.js → script-loader-25518980.legacy.js} +2 -2
- package/lib/legacy/script-loader-25518980.legacy.js.map +1 -0
- package/lib/legacy/static/ConfiguratorKernel-d8ae2b5e3db74698.wasm +0 -0
- package/lib/legacy/static/ConfiguratorKernel-e3e0aeb0f3ad9a11.js +86 -0
- package/lib/legacy/static/RoomleCore-09101ce4c57050b0.wasm +0 -0
- package/lib/legacy/static/RoomleCore-34da59877c9fc80d.js +90 -0
- package/lib/legacy/static/RoomleToolsCore-19282746bbb98ca2.wasm +0 -0
- package/lib/legacy/static/RoomleToolsCore-b1b3c955c7b9feb4.js +86 -0
- package/lib/legacy/static/lato_regular-d4b30187185acc59.json +198 -0
- package/lib/legacy/static/lato_regular_sub-d4b30187185acc59.json +198 -0
- package/lib/legacy/{stats-helper-8b9445c9.legacy.js → stats-helper-4dd75b8d.legacy.js} +2 -2
- package/lib/legacy/stats-helper-4dd75b8d.legacy.js.map +1 -0
- package/lib/legacy/{tools-core-88221a7d.legacy.js → tools-core-5dd3b7d4.legacy.js} +2 -2
- package/lib/legacy/tools-core-5dd3b7d4.legacy.js.map +1 -0
- package/lib/{material-viewer-0fa4b211.nomodule.js → material-viewer-3271df96.nomodule.js} +2 -2
- package/lib/material-viewer-3271df96.nomodule.js.map +1 -0
- package/lib/{material-viewer-d7864d8f.js → material-viewer-8b817d3e.js} +2 -2
- package/lib/material-viewer-8b817d3e.js.map +1 -0
- package/lib/material-viewer-main-d05716e9.js +2 -0
- package/lib/material-viewer-main-d05716e9.js.map +1 -0
- package/lib/material-viewer-main.nomodule.js +1 -1
- package/lib/planner-75145ec2.nomodule.js +2 -0
- package/lib/{planner-b8464950.nomodule.js.map → planner-75145ec2.nomodule.js.map} +1 -1
- package/lib/planner-ce25224e.js +2 -0
- package/lib/{planner-76d8228a.js.map → planner-ce25224e.js.map} +1 -1
- package/lib/planner-main-f5484b07.js +2 -0
- package/lib/planner-main-f5484b07.js.map +1 -0
- package/lib/planner-main.nomodule.js +1 -1
- package/lib/{roomle-configurator-511db0e8.nomodule.js → roomle-configurator-96729652.nomodule.js} +2 -2
- package/lib/roomle-configurator-96729652.nomodule.js.map +1 -0
- package/lib/{roomle-configurator-5c1b1237.js → roomle-configurator-e867d909.js} +2 -2
- package/lib/roomle-configurator-e867d909.js.map +1 -0
- package/lib/{roomle-dependency-injection-1e356a73.js → roomle-dependency-injection-56db2f22.js} +3 -3
- package/lib/roomle-dependency-injection-56db2f22.js.map +1 -0
- package/lib/{roomle-dependency-injection-fe1cab4f.nomodule.js → roomle-dependency-injection-c12e4c00.nomodule.js} +3 -3
- package/lib/roomle-dependency-injection-c12e4c00.nomodule.js.map +1 -0
- package/lib/{roomle-sdk-f0dd3c93.js → roomle-sdk-d2dbfbba.js} +2 -2
- package/lib/roomle-sdk-d2dbfbba.js.map +1 -0
- package/lib/roomle-sdk.nomodule.js +1 -1
- package/lib/{script-loader-d1436ad4.nomodule.js → script-loader-98a17bbb.nomodule.js} +2 -2
- package/lib/script-loader-98a17bbb.nomodule.js.map +1 -0
- package/lib/{script-loader-d3f78a09.js → script-loader-ef092985.js} +2 -2
- package/lib/script-loader-ef092985.js.map +1 -0
- package/lib/static/ConfiguratorKernel-d8ae2b5e3db74698.wasm +0 -0
- package/lib/static/ConfiguratorKernel-e3e0aeb0f3ad9a11.js +86 -0
- package/lib/static/RoomleCore-09101ce4c57050b0.wasm +0 -0
- package/lib/static/RoomleCore-34da59877c9fc80d.js +90 -0
- package/lib/static/RoomleToolsCore-19282746bbb98ca2.wasm +0 -0
- package/lib/static/RoomleToolsCore-b1b3c955c7b9feb4.js +86 -0
- package/lib/static/Tween-d57ee5d181fce582.js +767 -1
- package/lib/static/asset-loader.worker-1735a5fb1e401244.js +2 -1
- package/lib/static/asset-loader.worker.js.map +1 -1
- package/lib/static/budgeteer.sw-a4a226d2fc19672e.js +2 -1
- package/lib/static/budgeteer.sw.js.map +1 -1
- package/lib/static/jszip.min-c96375d50e72b199.js +2 -1
- package/lib/static/lato_regular-d4b30187185acc59.json +198 -0
- package/lib/static/lato_regular_sub-d4b30187185acc59.json +198 -0
- package/lib/static/worker-to-main-thread-3ad1cee7.js.map +1 -1
- package/lib/{stats-helper-472e9163.js → stats-helper-c0748092.js} +2 -2
- package/lib/stats-helper-c0748092.js.map +1 -0
- package/lib/{stats-helper-18b27855.nomodule.js → stats-helper-efe5bf85.nomodule.js} +2 -2
- package/lib/stats-helper-efe5bf85.nomodule.js.map +1 -0
- package/lib/{tools-core-6f70168d.js → tools-core-2e800d36.js} +2 -2
- package/lib/tools-core-2e800d36.js.map +1 -0
- package/lib/{tools-core-e39e5ee7.nomodule.js → tools-core-c31d15d3.nomodule.js} +2 -2
- package/lib/tools-core-c31d15d3.nomodule.js.map +1 -0
- package/package.json +2 -2
- package/lib/component-dimensioning-208d190d.js.map +0 -1
- package/lib/component-dimensioning-211401c5.nomodule.js.map +0 -1
- package/lib/component-raycast-helper-76a73fd4.js.map +0 -1
- package/lib/component-raycast-helper-d36606a4.nomodule.js.map +0 -1
- package/lib/configurator-b03fe279.nomodule.js.map +0 -1
- package/lib/configurator-db209442.js.map +0 -1
- package/lib/configurator-main-8b004fb9.js +0 -2
- package/lib/configurator-main-8b004fb9.js.map +0 -1
- package/lib/continuous-drawing-helper-304c9678.js.map +0 -1
- package/lib/continuous-drawing-helper-bf78cff1.nomodule.js.map +0 -1
- package/lib/default-light-setting-c2fd567d.nomodule.js.map +0 -1
- package/lib/default-light-setting-f34982ae.js.map +0 -1
- package/lib/dimensioning-helper-17297085.js +0 -2
- package/lib/dimensioning-helper-17297085.js.map +0 -1
- package/lib/dimensioning-helper-32be2c2d.nomodule.js +0 -2
- package/lib/dimensioning-helper-32be2c2d.nomodule.js.map +0 -1
- package/lib/glb-viewer-camera-behaviour-3ef8c6cf.js +0 -2
- package/lib/glb-viewer-camera-behaviour-3ef8c6cf.js.map +0 -1
- package/lib/glb-viewer-camera-behaviour-d7f286c3.nomodule.js.map +0 -1
- package/lib/glb-viewer-main-009db5f6.js +0 -2
- package/lib/glb-viewer-main-009db5f6.js.map +0 -1
- package/lib/legacy/component-dimensioning-0ff91d29.legacy.js.map +0 -1
- package/lib/legacy/component-raycast-helper-b7f5e8bd.legacy.js.map +0 -1
- package/lib/legacy/configurator-57934960.legacy.js.map +0 -1
- package/lib/legacy/continuous-drawing-helper-562124e1.legacy.js.map +0 -1
- package/lib/legacy/default-light-setting-e77566a5.legacy.js.map +0 -1
- package/lib/legacy/dimensioning-helper-23fbd546.legacy.js +0 -2
- package/lib/legacy/dimensioning-helper-23fbd546.legacy.js.map +0 -1
- package/lib/legacy/glb-viewer-camera-behaviour-5164a72d.legacy.js.map +0 -1
- package/lib/legacy/material-viewer-6bffb50f.legacy.js.map +0 -1
- package/lib/legacy/planner-a30ad695.legacy.js +0 -2
- package/lib/legacy/roomle-configurator-48f81f38.legacy.js.map +0 -1
- package/lib/legacy/roomle-dependency-injection-3fd533e1.legacy.js.map +0 -1
- package/lib/legacy/script-loader-aa704ceb.legacy.js.map +0 -1
- package/lib/legacy/static/ConfiguratorKernel-177b506cdd3711c9.js +0 -95
- package/lib/legacy/static/ConfiguratorKernel-85781bb41f4ad73b.wasm +0 -0
- package/lib/legacy/static/RoomleCore-554c790f636abde3.js +0 -98
- package/lib/legacy/static/RoomleCore-72d11772d69ee987.wasm +0 -0
- package/lib/legacy/static/RoomleToolsCore-354feeb929ea1598.js +0 -92
- package/lib/legacy/static/RoomleToolsCore-785e6369dca13d78.wasm +0 -0
- package/lib/legacy/static/rubik_regular-bc008a7de2daee79.json +0 -3535
- package/lib/legacy/static/rubik_regular_sub-2dd2d5cca49018c5.json +0 -168
- package/lib/legacy/stats-helper-8b9445c9.legacy.js.map +0 -1
- package/lib/legacy/tools-core-88221a7d.legacy.js.map +0 -1
- package/lib/material-viewer-0fa4b211.nomodule.js.map +0 -1
- package/lib/material-viewer-d7864d8f.js.map +0 -1
- package/lib/material-viewer-main-c59f3c1b.js +0 -2
- package/lib/material-viewer-main-c59f3c1b.js.map +0 -1
- package/lib/planner-76d8228a.js +0 -2
- package/lib/planner-b8464950.nomodule.js +0 -2
- package/lib/planner-main-cf533850.js +0 -2
- package/lib/planner-main-cf533850.js.map +0 -1
- package/lib/roomle-configurator-511db0e8.nomodule.js.map +0 -1
- package/lib/roomle-configurator-5c1b1237.js.map +0 -1
- package/lib/roomle-dependency-injection-1e356a73.js.map +0 -1
- package/lib/roomle-dependency-injection-fe1cab4f.nomodule.js.map +0 -1
- package/lib/roomle-sdk-f0dd3c93.js.map +0 -1
- package/lib/script-loader-d1436ad4.nomodule.js.map +0 -1
- package/lib/script-loader-d3f78a09.js.map +0 -1
- package/lib/static/ConfiguratorKernel-177b506cdd3711c9.js +0 -1
- package/lib/static/ConfiguratorKernel-177b506cdd3711c9.js.map +0 -1
- package/lib/static/ConfiguratorKernel-85781bb41f4ad73b.wasm +0 -0
- package/lib/static/RoomleCore-554c790f636abde3.js +0 -1
- package/lib/static/RoomleCore-554c790f636abde3.js.map +0 -1
- package/lib/static/RoomleCore-72d11772d69ee987.wasm +0 -0
- package/lib/static/RoomleToolsCore-354feeb929ea1598.js +0 -1
- package/lib/static/RoomleToolsCore-354feeb929ea1598.js.map +0 -1
- package/lib/static/RoomleToolsCore-785e6369dca13d78.wasm +0 -0
- package/lib/static/Tween-d57ee5d181fce582.js.map +0 -1
- package/lib/static/asset-loader.worker-1735a5fb1e401244.js.map +0 -1
- package/lib/static/budgeteer.sw-a4a226d2fc19672e.js.map +0 -1
- package/lib/static/jszip.min-c96375d50e72b199.js.map +0 -1
- package/lib/static/rubik_regular-bc008a7de2daee79.json +0 -3535
- package/lib/static/rubik_regular_sub-2dd2d5cca49018c5.json +0 -168
- package/lib/stats-helper-18b27855.nomodule.js.map +0 -1
- package/lib/stats-helper-472e9163.js.map +0 -1
- package/lib/tools-core-6f70168d.js.map +0 -1
- package/lib/tools-core-e39e5ee7.nomodule.js.map +0 -1
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
{
|
|
2
|
+
"glyphs": {
|
|
3
|
+
"0": {
|
|
4
|
+
"ha": 806,
|
|
5
|
+
"x_min": 42,
|
|
6
|
+
"x_max": 764,
|
|
7
|
+
"o": "m 764 497 q 736 271 764 367 q 659 113 708 176 q 544 20 610 51 q 402 -10 478 -10 q 260 20 326 -10 q 146 113 194 51 q 69 271 97 176 q 42 497 42 367 q 69 724 42 628 q 146 882 97 819 q 260 976 194 945 q 402 1006 326 1006 q 544 976 478 1006 q 659 882 610 945 q 736 724 708 819 q 764 497 764 628 m 635 497 q 616 689 635 611 q 565 813 597 766 q 490 881 533 860 q 402 901 448 901 q 314 881 356 901 q 240 813 272 860 q 189 689 208 766 q 169 497 169 611 q 189 306 169 383 q 240 182 208 229 q 314 114 272 135 q 402 94 356 94 q 490 114 448 94 q 565 182 533 135 q 616 306 597 229 q 635 497 635 383 z "
|
|
8
|
+
},
|
|
9
|
+
"1": {
|
|
10
|
+
"ha": 806,
|
|
11
|
+
"x_min": 114,
|
|
12
|
+
"x_max": 707,
|
|
13
|
+
"o": "m 707 94 l 707 0 l 174 0 l 174 94 l 387 94 l 387 773 q 389 835 387 803 l 212 683 q 194 673 203 675 q 177 673 185 672 q 163 678 169 674 q 153 688 156 683 l 114 741 l 410 997 l 511 997 l 511 94 l 707 94 z "
|
|
14
|
+
},
|
|
15
|
+
"2": {
|
|
16
|
+
"ha": 806,
|
|
17
|
+
"x_min": 65,
|
|
18
|
+
"x_max": 729,
|
|
19
|
+
"o": "m 685 117 q 717 106 706 117 q 729 75 729 94 l 729 0 l 65 0 l 65 42 q 71 69 65 56 q 88 95 76 83 l 407 415 q 479 493 447 456 q 535 567 512 530 q 570 643 558 605 q 583 726 583 682 q 569 802 583 769 q 531 857 555 835 q 474 889 507 878 q 404 900 442 900 q 334 889 366 900 q 277 858 302 878 q 236 811 253 838 q 213 751 219 784 q 190 719 204 727 q 150 715 176 711 l 85 726 q 123 846 95 794 q 194 934 151 899 q 292 988 237 969 q 410 1006 347 1006 q 528 988 474 1006 q 624 933 583 969 q 687 846 664 897 q 710 729 710 794 q 693 626 710 674 q 648 535 676 578 q 582 451 619 492 q 503 369 545 410 l 241 101 q 297 113 269 108 q 352 117 326 117 l 685 117 z "
|
|
20
|
+
},
|
|
21
|
+
"3": {
|
|
22
|
+
"ha": 806,
|
|
23
|
+
"x_min": 60,
|
|
24
|
+
"x_max": 728,
|
|
25
|
+
"o": "m 90 726 q 128 846 100 794 q 198 934 156 899 q 296 988 241 969 q 415 1006 351 1006 q 532 988 478 1006 q 624 937 585 970 q 684 856 663 903 q 706 751 706 809 q 693 667 706 704 q 659 602 681 630 q 604 555 636 574 q 533 523 572 535 q 679 437 630 498 q 728 285 728 376 q 702 162 728 217 q 631 68 676 107 q 525 9 585 30 q 397 -11 465 -11 q 261 9 317 -11 q 166 63 205 28 q 102 145 127 98 q 60 249 77 193 l 113 271 q 154 276 134 280 q 183 253 174 272 q 205 206 192 233 q 242 154 219 179 q 302 112 266 129 q 395 94 339 94 q 486 111 447 94 q 552 156 526 128 q 591 216 578 183 q 604 282 604 249 q 594 356 604 322 q 555 413 583 389 q 477 451 526 438 q 349 465 427 465 l 349 555 q 458 569 413 556 q 531 605 503 582 q 572 660 559 628 q 585 731 585 692 q 571 806 585 774 q 534 858 558 838 q 478 890 510 879 q 408 900 446 900 q 339 889 371 900 q 282 858 306 878 q 240 811 257 838 q 217 751 224 784 q 194 719 208 727 q 155 715 181 711 l 90 726 z "
|
|
26
|
+
},
|
|
27
|
+
"4": {
|
|
28
|
+
"ha": 806,
|
|
29
|
+
"x_min": 16,
|
|
30
|
+
"x_max": 766,
|
|
31
|
+
"o": "m 507 359 l 507 769 q 508 809 507 788 q 513 853 510 831 l 150 359 l 507 359 m 766 359 l 766 288 q 759 269 766 277 q 739 262 753 262 l 615 262 l 615 0 l 507 0 l 507 262 l 65 262 q 41 270 51 262 q 28 290 31 278 l 16 353 l 500 995 l 615 995 l 615 359 l 766 359 z "
|
|
32
|
+
},
|
|
33
|
+
"5": {
|
|
34
|
+
"ha": 806,
|
|
35
|
+
"x_min": 78,
|
|
36
|
+
"x_max": 713,
|
|
37
|
+
"o": "m 251 619 q 394 636 329 636 q 532 613 472 636 q 632 550 592 590 q 692 455 672 510 q 713 335 713 400 q 685 192 713 256 q 609 83 658 128 q 496 13 561 38 q 355 -11 431 -11 q 271 -2 311 -11 q 195 21 231 6 q 131 54 160 35 q 78 94 101 73 l 116 147 q 149 165 128 165 q 180 154 163 165 q 222 130 197 143 q 281 106 247 117 q 361 95 315 95 q 455 112 413 95 q 526 159 497 128 q 572 233 556 190 q 588 330 588 276 q 575 414 588 376 q 534 478 561 451 q 465 519 506 504 q 369 533 424 533 q 291 527 332 533 q 208 507 251 521 l 131 530 l 210 995 l 682 995 l 682 941 q 666 898 682 915 q 610 881 649 881 l 297 881 l 251 619 z "
|
|
38
|
+
},
|
|
39
|
+
"6": {
|
|
40
|
+
"ha": 806,
|
|
41
|
+
"x_min": 75,
|
|
42
|
+
"x_max": 745,
|
|
43
|
+
"o": "m 401 92 q 492 108 451 92 q 561 152 533 124 q 606 219 590 181 q 622 304 622 258 q 606 392 622 353 q 563 459 591 431 q 496 501 535 486 q 410 515 457 515 q 320 498 360 515 q 252 452 280 481 q 209 386 224 424 q 194 307 194 348 q 208 219 194 259 q 248 151 222 180 q 314 107 275 123 q 401 92 352 92 m 329 622 q 304 590 316 606 q 281 559 292 574 q 358 597 316 583 q 451 610 401 610 q 565 590 511 610 q 658 532 618 570 q 722 439 698 494 q 745 313 745 384 q 720 185 745 244 q 650 83 695 126 q 543 14 606 39 q 404 -11 480 -11 q 268 13 329 -11 q 164 81 207 37 q 98 188 122 125 q 75 328 75 251 q 104 468 75 394 q 196 626 133 542 l 449 965 q 475 986 458 978 q 515 995 492 995 l 624 995 l 329 622 z "
|
|
44
|
+
},
|
|
45
|
+
"7": {
|
|
46
|
+
"ha": 806,
|
|
47
|
+
"x_min": 75,
|
|
48
|
+
"x_max": 751,
|
|
49
|
+
"o": "m 751 995 l 751 940 q 745 901 751 916 q 735 875 740 885 l 323 44 q 298 13 314 26 q 256 0 282 0 l 167 0 l 585 821 q 603 853 594 838 q 624 881 613 867 l 105 881 q 84 890 93 881 q 75 911 75 899 l 75 995 l 751 995 z "
|
|
50
|
+
},
|
|
51
|
+
"8": {
|
|
52
|
+
"ha": 806,
|
|
53
|
+
"x_min": 67,
|
|
54
|
+
"x_max": 738,
|
|
55
|
+
"o": "m 403 88 q 490 101 451 88 q 555 139 528 115 q 596 198 582 164 q 610 274 610 233 q 593 362 610 326 q 548 422 576 399 q 481 455 519 444 q 403 466 444 466 q 324 455 362 466 q 258 422 287 444 q 212 362 229 399 q 195 274 195 326 q 209 198 195 233 q 250 139 224 164 q 316 101 277 115 q 403 88 354 88 m 403 910 q 325 897 358 910 q 268 861 291 884 q 234 808 246 838 q 223 742 223 777 q 233 676 223 708 q 264 620 242 644 q 320 580 285 595 q 403 565 354 565 q 486 580 451 565 q 542 620 520 595 q 573 676 563 644 q 583 742 583 708 q 571 808 583 777 q 537 861 560 838 q 481 897 515 884 q 403 910 447 910 m 545 519 q 688 431 638 492 q 738 272 738 369 q 714 155 738 207 q 645 65 689 102 q 539 9 601 28 q 403 -11 477 -11 q 267 9 328 -11 q 160 65 205 28 q 92 155 116 102 q 67 272 67 207 q 117 431 67 369 q 260 519 167 492 q 142 606 182 548 q 102 744 102 664 q 124 847 102 799 q 185 931 145 895 q 280 986 224 966 q 403 1006 335 1006 q 526 986 470 1006 q 621 931 581 966 q 682 847 660 895 q 703 744 703 799 q 664 606 703 664 q 545 519 624 548 z "
|
|
56
|
+
},
|
|
57
|
+
"9": {
|
|
58
|
+
"ha": 806,
|
|
59
|
+
"x_min": 73,
|
|
60
|
+
"x_max": 719,
|
|
61
|
+
"o": "m 197 703 q 210 618 197 656 q 249 556 224 581 q 311 517 274 530 q 392 503 347 503 q 481 520 442 503 q 546 563 519 536 q 586 626 572 590 q 600 699 600 661 q 585 784 600 746 q 544 848 570 822 q 481 889 517 874 q 401 903 444 903 q 317 888 355 903 q 253 847 280 873 q 211 783 226 820 q 197 703 197 747 m 485 397 q 514 435 501 417 q 539 471 527 453 q 453 424 501 440 q 351 408 405 408 q 245 427 295 408 q 156 482 194 446 q 95 572 118 519 q 73 694 73 625 q 97 816 73 759 q 165 915 122 873 q 269 982 209 958 q 402 1006 330 1006 q 532 983 474 1006 q 632 917 590 959 q 696 815 674 874 q 719 685 719 756 q 711 603 719 642 q 688 527 703 565 q 651 454 673 490 q 603 379 630 417 l 360 29 q 335 8 351 16 q 297 0 318 0 l 183 0 l 485 397 z "
|
|
62
|
+
},
|
|
63
|
+
" ": {
|
|
64
|
+
"ha": 356,
|
|
65
|
+
"x_min": 0,
|
|
66
|
+
"x_max": 0,
|
|
67
|
+
"o": ""
|
|
68
|
+
},
|
|
69
|
+
"c": {
|
|
70
|
+
"ha": 663,
|
|
71
|
+
"x_min": 58,
|
|
72
|
+
"x_max": 628,
|
|
73
|
+
"o": "m 588 578 q 576 567 582 571 q 561 563 571 563 q 538 571 551 563 q 507 590 526 580 q 462 609 489 601 q 397 618 435 618 q 305 600 344 618 q 239 547 265 581 q 198 463 212 512 q 185 352 185 413 q 199 239 185 288 q 241 155 214 189 q 305 104 267 122 q 390 86 343 86 q 465 97 435 86 q 513 121 494 108 q 545 145 532 134 q 570 156 558 156 q 594 144 585 156 l 628 99 q 576 50 606 70 q 514 16 547 30 q 443 -3 480 3 q 368 -10 406 -10 q 245 15 302 -10 q 147 85 189 39 q 82 199 106 131 q 58 352 58 266 q 80 497 58 431 q 144 612 102 564 q 248 688 186 660 q 389 715 309 715 q 520 691 463 715 q 620 623 576 667 l 588 578 z "
|
|
74
|
+
},
|
|
75
|
+
"e": {
|
|
76
|
+
"ha": 733,
|
|
77
|
+
"x_min": 58,
|
|
78
|
+
"x_max": 680,
|
|
79
|
+
"o": "m 569 428 q 557 507 569 472 q 521 569 544 543 q 465 609 498 595 q 389 624 431 624 q 248 572 300 624 q 184 428 197 520 l 569 428 m 669 99 q 614 50 646 71 q 545 17 582 30 q 470 -3 509 3 q 393 -10 431 -10 q 259 15 320 -10 q 152 87 197 40 q 83 205 108 135 q 58 366 58 275 q 80 503 58 440 q 145 614 103 567 q 249 688 188 661 q 386 715 310 715 q 503 693 449 715 q 596 632 557 672 q 658 534 635 592 q 680 400 680 475 q 674 361 680 371 q 650 351 667 351 l 180 351 q 198 235 182 285 q 244 153 215 186 q 313 104 273 120 q 403 88 353 88 q 484 98 450 88 q 542 122 517 109 q 582 145 566 134 q 610 156 599 156 q 634 144 626 156 l 669 99 z "
|
|
80
|
+
},
|
|
81
|
+
"f": {
|
|
82
|
+
"ha": 487,
|
|
83
|
+
"x_min": 33,
|
|
84
|
+
"x_max": 472,
|
|
85
|
+
"o": "m 144 0 l 144 598 l 66 607 q 42 618 51 610 q 33 639 33 625 l 33 690 l 144 690 l 144 758 q 161 865 144 818 q 209 944 178 912 q 285 993 241 976 q 385 1010 330 1010 q 472 996 433 1010 l 469 934 q 451 916 468 917 q 406 915 434 915 q 348 906 374 915 q 303 879 322 898 q 274 830 284 860 q 264 754 264 799 l 264 690 l 467 690 l 467 600 l 268 600 l 268 0 l 144 0 z "
|
|
86
|
+
},
|
|
87
|
+
"h": {
|
|
88
|
+
"ha": 775,
|
|
89
|
+
"x_min": 98,
|
|
90
|
+
"x_max": 684,
|
|
91
|
+
"o": "m 222 610 q 322 686 267 658 q 449 715 377 715 q 550 695 506 715 q 624 641 594 676 q 669 557 653 606 q 684 448 684 508 l 684 0 l 560 0 l 560 448 q 523 572 560 528 q 413 616 487 616 q 310 590 358 616 q 222 518 263 563 l 222 0 l 98 0 l 98 1023 l 222 1023 l 222 610 z "
|
|
92
|
+
},
|
|
93
|
+
"i": {
|
|
94
|
+
"ha": 333,
|
|
95
|
+
"x_min": 78,
|
|
96
|
+
"x_max": 255,
|
|
97
|
+
"o": "m 228 703 l 228 0 l 105 0 l 105 703 l 228 703 m 255 924 q 248 891 255 906 q 228 863 240 875 q 200 844 216 851 q 165 837 183 837 q 132 844 147 837 q 104 863 116 851 q 85 891 92 875 q 78 924 78 906 q 85 959 78 942 q 104 987 92 975 q 132 1006 116 999 q 165 1013 147 1013 q 200 1006 183 1013 q 228 987 216 999 q 248 959 240 975 q 255 924 255 942 z "
|
|
98
|
+
},
|
|
99
|
+
"m": {
|
|
100
|
+
"ha": 1142,
|
|
101
|
+
"x_min": 98,
|
|
102
|
+
"x_max": 1052,
|
|
103
|
+
"o": "m 98 0 l 98 703 l 172 703 q 205 678 199 703 l 214 606 q 301 684 253 653 q 414 715 350 715 q 529 675 485 715 q 592 568 573 635 q 632 634 608 606 q 685 680 656 662 q 749 706 715 698 q 817 715 783 715 q 916 697 873 715 q 990 645 960 679 q 1036 561 1020 611 q 1052 448 1052 512 l 1052 0 l 928 0 l 928 448 q 892 573 928 531 q 788 616 856 616 q 730 605 757 616 q 681 574 702 594 q 648 521 660 553 q 636 448 636 490 l 636 0 l 512 0 l 512 448 q 478 574 512 533 q 378 616 444 616 q 294 591 333 616 q 222 524 255 567 l 222 0 l 98 0 z "
|
|
104
|
+
},
|
|
105
|
+
"n": {
|
|
106
|
+
"ha": 775,
|
|
107
|
+
"x_min": 98,
|
|
108
|
+
"x_max": 684,
|
|
109
|
+
"o": "m 215 601 q 263 648 238 627 q 318 684 289 669 q 379 707 347 699 q 449 715 411 715 q 550 695 506 715 q 624 641 594 676 q 669 557 653 606 q 684 448 684 508 l 684 0 l 560 0 l 560 448 q 523 572 560 528 q 413 616 487 616 q 310 590 358 616 q 222 518 263 563 l 222 0 l 98 0 l 98 703 l 172 703 q 205 678 199 703 l 215 601 z "
|
|
110
|
+
},
|
|
111
|
+
"t": {
|
|
112
|
+
"ha": 498,
|
|
113
|
+
"x_min": 30,
|
|
114
|
+
"x_max": 484,
|
|
115
|
+
"o": "m 314 -11 q 186 35 231 -11 q 141 169 141 82 l 141 600 l 56 600 q 38 607 45 600 q 30 627 30 613 l 30 676 l 145 691 l 174 908 q 183 925 176 919 q 202 932 190 932 l 265 932 l 265 690 l 468 690 l 468 600 l 265 600 l 265 178 q 286 112 265 133 q 342 90 308 90 q 375 95 361 90 q 400 107 390 101 q 418 118 410 113 q 431 124 425 124 q 448 112 440 124 l 484 53 q 407 6 452 23 q 314 -11 362 -11 z "
|
|
116
|
+
},
|
|
117
|
+
",": {
|
|
118
|
+
"ha": 315,
|
|
119
|
+
"x_min": 74,
|
|
120
|
+
"x_max": 242,
|
|
121
|
+
"o": "m 90 -168 q 83 -159 85 -163 q 81 -149 81 -155 q 84 -139 81 -144 q 91 -130 87 -134 q 109 -110 98 -122 q 131 -80 119 -97 q 151 -43 142 -63 q 165 1 160 -22 q 160 0 163 0 q 156 0 158 0 q 97 24 119 0 q 74 85 74 48 q 97 141 74 118 q 157 164 119 164 q 194 156 178 164 q 220 135 210 149 q 237 104 231 122 q 242 65 242 86 q 234 0 242 34 q 208 -66 225 -33 q 167 -131 191 -99 q 111 -188 142 -162 l 90 -168 z "
|
|
122
|
+
},
|
|
123
|
+
".": {
|
|
124
|
+
"ha": 328,
|
|
125
|
+
"x_min": 77,
|
|
126
|
+
"x_max": 251,
|
|
127
|
+
"o": "m 77 76 q 84 110 77 94 q 102 138 90 126 q 129 157 113 150 q 163 164 145 164 q 197 157 181 164 q 225 138 213 150 q 244 110 237 126 q 251 76 251 94 q 244 42 251 58 q 225 15 237 26 q 197 -4 213 3 q 163 -10 181 -10 q 129 -4 145 -10 q 102 15 113 3 q 84 42 90 26 q 77 76 77 58 z "
|
|
128
|
+
},
|
|
129
|
+
"/": {
|
|
130
|
+
"ha": 628,
|
|
131
|
+
"x_min": 47,
|
|
132
|
+
"x_max": 581,
|
|
133
|
+
"o": "m 166 -15 q 138 -51 157 -39 q 99 -62 119 -62 l 47 -62 l 464 977 q 489 1011 472 999 q 528 1023 506 1023 l 581 1023 l 166 -15 z "
|
|
134
|
+
},
|
|
135
|
+
"\\": {
|
|
136
|
+
"ha": 628,
|
|
137
|
+
"x_min": 47,
|
|
138
|
+
"x_max": 581,
|
|
139
|
+
"o": "m 47 1023 l 99 1023 q 139 1011 122 1023 q 164 977 156 999 l 581 -62 l 529 -62 q 490 -51 509 -62 q 462 -15 470 -39 l 47 1023 z "
|
|
140
|
+
},
|
|
141
|
+
"-": {
|
|
142
|
+
"ha": 516,
|
|
143
|
+
"x_min": 87,
|
|
144
|
+
"x_max": 430,
|
|
145
|
+
"o": "m 87 469 l 430 469 l 430 364 l 87 364 l 87 469 z "
|
|
146
|
+
},
|
|
147
|
+
"'": {
|
|
148
|
+
"ha": 283,
|
|
149
|
+
"x_min": 88,
|
|
150
|
+
"x_max": 196,
|
|
151
|
+
"o": "m 196 995 l 196 794 l 185 686 q 172 652 181 664 q 142 640 163 640 q 113 652 123 640 q 99 686 103 664 l 88 794 l 88 995 l 196 995 z "
|
|
152
|
+
},
|
|
153
|
+
"\"": {
|
|
154
|
+
"ha": 515,
|
|
155
|
+
"x_min": 88,
|
|
156
|
+
"x_max": 427,
|
|
157
|
+
"o": "m 196 995 l 196 794 l 185 686 q 172 652 181 664 q 142 640 163 640 q 113 652 123 640 q 99 686 103 664 l 88 794 l 88 995 l 196 995 m 427 995 l 427 794 l 416 686 q 403 652 413 664 q 373 640 394 640 q 344 652 354 640 q 331 686 334 664 l 319 794 l 319 995 l 427 995 z "
|
|
158
|
+
},
|
|
159
|
+
"+": {
|
|
160
|
+
"ha": 806,
|
|
161
|
+
"x_min": 70,
|
|
162
|
+
"x_max": 736,
|
|
163
|
+
"o": "m 736 419 l 453 419 l 453 121 l 352 121 l 352 419 l 70 419 l 70 513 l 352 513 l 352 810 l 453 810 l 453 513 l 736 513 l 736 419 z "
|
|
164
|
+
}
|
|
165
|
+
},
|
|
166
|
+
"familyName": "Lato",
|
|
167
|
+
"ascender": 1371,
|
|
168
|
+
"descender": -296,
|
|
169
|
+
"underlinePosition": -324,
|
|
170
|
+
"underlineThickness": 62,
|
|
171
|
+
"boundingBox": {
|
|
172
|
+
"yMin": -373,
|
|
173
|
+
"xMin": -759,
|
|
174
|
+
"yMax": 1498,
|
|
175
|
+
"xMax": 1647
|
|
176
|
+
},
|
|
177
|
+
"resolution": 1000,
|
|
178
|
+
"original_font_information": {
|
|
179
|
+
"format": 0,
|
|
180
|
+
"copyright": "Copyright (c) 2011-2015 by tyPoland Lukasz Dziedzic (http://www.typoland.com/) with Reserved Font Name \"Lato\". Licensed under the SIL Open Font License, Version 1.1 (http://scripts.sil.org/OFL). ",
|
|
181
|
+
"fontFamily": "Lato",
|
|
182
|
+
"fontSubfamily": "Regular",
|
|
183
|
+
"uniqueID": "2.015;tyPL;Lato-Regular;2015;TR4-4.0.2.5571",
|
|
184
|
+
"fullName": "Lato Regular",
|
|
185
|
+
"version": "Version 2.015; 2015-08-06; http://www.latofonts.com/",
|
|
186
|
+
"postScriptName": "Lato-Regular",
|
|
187
|
+
"trademark": "Lato is a trademark of tyPoland Lukasz Dziedzic.",
|
|
188
|
+
"manufacturer": "tyPoland Lukasz Dziedzic",
|
|
189
|
+
"designer": "Lukasz Dziedzic with Adam Twardoch and Botio Nikoltchev",
|
|
190
|
+
"description": "Lato is a sanserif typeface family designed in the Summer 2010 and extended in the Summer 2013 by Warsaw-based designer Lukasz Dziedzic (\"Lato\" means \"Summer\" in Polish). It tries to carefully balance some potentially conflicting priorities: it should seem quite \"transparent\" when used in body text but would display some original traits when used in larger sizes. The classical proportions, particularly visible in the uppercase, give the letterforms familiar harmony and elegance. At the same time, its sleek sanserif look makes evident the fact that Lato was designed in the 2010s, even though it does not follow any current trend. The semi-rounded details of the letters give Lato a feeling of warmth, while the strong structure provides stability and seriousness. In 2013-2014, the family was greatly extended (with the help of Adam Twardoch and Botio Nikoltchev) to cover 3000+ glyphs over nine weights with italics. It now supports 100+ Latin-based languages, 50+ Cyrillic-based languages as well as Greek and IPA phonetics. The Lato fonts are available free of charge under the SIL Open Font License from http://www.latofonts.com/",
|
|
191
|
+
"manufacturerURL": "http://www.typoland.com/",
|
|
192
|
+
"designerURL": "http://www.latofonts.com/",
|
|
193
|
+
"licence": "Copyright (c) 2011-2015 by tyPoland Lukasz Dziedzic (http://www.typoland.com/) with Reserved Font Name \"Lato\". Licensed under the SIL Open Font License, Version 1.1 (http://scripts.sil.org/OFL). ",
|
|
194
|
+
"licenceURL": "http://scripts.sil.org/OFL"
|
|
195
|
+
},
|
|
196
|
+
"cssFontWeight": "normal",
|
|
197
|
+
"cssFontStyle": "normal"
|
|
198
|
+
}
|
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
{
|
|
2
|
+
"glyphs": {
|
|
3
|
+
"0": {
|
|
4
|
+
"ha": 806,
|
|
5
|
+
"x_min": 42,
|
|
6
|
+
"x_max": 764,
|
|
7
|
+
"o": "m 764 497 q 736 271 764 367 q 659 113 708 176 q 544 20 610 51 q 402 -10 478 -10 q 260 20 326 -10 q 146 113 194 51 q 69 271 97 176 q 42 497 42 367 q 69 724 42 628 q 146 882 97 819 q 260 976 194 945 q 402 1006 326 1006 q 544 976 478 1006 q 659 882 610 945 q 736 724 708 819 q 764 497 764 628 m 635 497 q 616 689 635 611 q 565 813 597 766 q 490 881 533 860 q 402 901 448 901 q 314 881 356 901 q 240 813 272 860 q 189 689 208 766 q 169 497 169 611 q 189 306 169 383 q 240 182 208 229 q 314 114 272 135 q 402 94 356 94 q 490 114 448 94 q 565 182 533 135 q 616 306 597 229 q 635 497 635 383 z "
|
|
8
|
+
},
|
|
9
|
+
"1": {
|
|
10
|
+
"ha": 806,
|
|
11
|
+
"x_min": 114,
|
|
12
|
+
"x_max": 707,
|
|
13
|
+
"o": "m 707 94 l 707 0 l 174 0 l 174 94 l 387 94 l 387 773 q 389 835 387 803 l 212 683 q 194 673 203 675 q 177 673 185 672 q 163 678 169 674 q 153 688 156 683 l 114 741 l 410 997 l 511 997 l 511 94 l 707 94 z "
|
|
14
|
+
},
|
|
15
|
+
"2": {
|
|
16
|
+
"ha": 806,
|
|
17
|
+
"x_min": 65,
|
|
18
|
+
"x_max": 729,
|
|
19
|
+
"o": "m 685 117 q 717 106 706 117 q 729 75 729 94 l 729 0 l 65 0 l 65 42 q 71 69 65 56 q 88 95 76 83 l 407 415 q 479 493 447 456 q 535 567 512 530 q 570 643 558 605 q 583 726 583 682 q 569 802 583 769 q 531 857 555 835 q 474 889 507 878 q 404 900 442 900 q 334 889 366 900 q 277 858 302 878 q 236 811 253 838 q 213 751 219 784 q 190 719 204 727 q 150 715 176 711 l 85 726 q 123 846 95 794 q 194 934 151 899 q 292 988 237 969 q 410 1006 347 1006 q 528 988 474 1006 q 624 933 583 969 q 687 846 664 897 q 710 729 710 794 q 693 626 710 674 q 648 535 676 578 q 582 451 619 492 q 503 369 545 410 l 241 101 q 297 113 269 108 q 352 117 326 117 l 685 117 z "
|
|
20
|
+
},
|
|
21
|
+
"3": {
|
|
22
|
+
"ha": 806,
|
|
23
|
+
"x_min": 60,
|
|
24
|
+
"x_max": 728,
|
|
25
|
+
"o": "m 90 726 q 128 846 100 794 q 198 934 156 899 q 296 988 241 969 q 415 1006 351 1006 q 532 988 478 1006 q 624 937 585 970 q 684 856 663 903 q 706 751 706 809 q 693 667 706 704 q 659 602 681 630 q 604 555 636 574 q 533 523 572 535 q 679 437 630 498 q 728 285 728 376 q 702 162 728 217 q 631 68 676 107 q 525 9 585 30 q 397 -11 465 -11 q 261 9 317 -11 q 166 63 205 28 q 102 145 127 98 q 60 249 77 193 l 113 271 q 154 276 134 280 q 183 253 174 272 q 205 206 192 233 q 242 154 219 179 q 302 112 266 129 q 395 94 339 94 q 486 111 447 94 q 552 156 526 128 q 591 216 578 183 q 604 282 604 249 q 594 356 604 322 q 555 413 583 389 q 477 451 526 438 q 349 465 427 465 l 349 555 q 458 569 413 556 q 531 605 503 582 q 572 660 559 628 q 585 731 585 692 q 571 806 585 774 q 534 858 558 838 q 478 890 510 879 q 408 900 446 900 q 339 889 371 900 q 282 858 306 878 q 240 811 257 838 q 217 751 224 784 q 194 719 208 727 q 155 715 181 711 l 90 726 z "
|
|
26
|
+
},
|
|
27
|
+
"4": {
|
|
28
|
+
"ha": 806,
|
|
29
|
+
"x_min": 16,
|
|
30
|
+
"x_max": 766,
|
|
31
|
+
"o": "m 507 359 l 507 769 q 508 809 507 788 q 513 853 510 831 l 150 359 l 507 359 m 766 359 l 766 288 q 759 269 766 277 q 739 262 753 262 l 615 262 l 615 0 l 507 0 l 507 262 l 65 262 q 41 270 51 262 q 28 290 31 278 l 16 353 l 500 995 l 615 995 l 615 359 l 766 359 z "
|
|
32
|
+
},
|
|
33
|
+
"5": {
|
|
34
|
+
"ha": 806,
|
|
35
|
+
"x_min": 78,
|
|
36
|
+
"x_max": 713,
|
|
37
|
+
"o": "m 251 619 q 394 636 329 636 q 532 613 472 636 q 632 550 592 590 q 692 455 672 510 q 713 335 713 400 q 685 192 713 256 q 609 83 658 128 q 496 13 561 38 q 355 -11 431 -11 q 271 -2 311 -11 q 195 21 231 6 q 131 54 160 35 q 78 94 101 73 l 116 147 q 149 165 128 165 q 180 154 163 165 q 222 130 197 143 q 281 106 247 117 q 361 95 315 95 q 455 112 413 95 q 526 159 497 128 q 572 233 556 190 q 588 330 588 276 q 575 414 588 376 q 534 478 561 451 q 465 519 506 504 q 369 533 424 533 q 291 527 332 533 q 208 507 251 521 l 131 530 l 210 995 l 682 995 l 682 941 q 666 898 682 915 q 610 881 649 881 l 297 881 l 251 619 z "
|
|
38
|
+
},
|
|
39
|
+
"6": {
|
|
40
|
+
"ha": 806,
|
|
41
|
+
"x_min": 75,
|
|
42
|
+
"x_max": 745,
|
|
43
|
+
"o": "m 401 92 q 492 108 451 92 q 561 152 533 124 q 606 219 590 181 q 622 304 622 258 q 606 392 622 353 q 563 459 591 431 q 496 501 535 486 q 410 515 457 515 q 320 498 360 515 q 252 452 280 481 q 209 386 224 424 q 194 307 194 348 q 208 219 194 259 q 248 151 222 180 q 314 107 275 123 q 401 92 352 92 m 329 622 q 304 590 316 606 q 281 559 292 574 q 358 597 316 583 q 451 610 401 610 q 565 590 511 610 q 658 532 618 570 q 722 439 698 494 q 745 313 745 384 q 720 185 745 244 q 650 83 695 126 q 543 14 606 39 q 404 -11 480 -11 q 268 13 329 -11 q 164 81 207 37 q 98 188 122 125 q 75 328 75 251 q 104 468 75 394 q 196 626 133 542 l 449 965 q 475 986 458 978 q 515 995 492 995 l 624 995 l 329 622 z "
|
|
44
|
+
},
|
|
45
|
+
"7": {
|
|
46
|
+
"ha": 806,
|
|
47
|
+
"x_min": 75,
|
|
48
|
+
"x_max": 751,
|
|
49
|
+
"o": "m 751 995 l 751 940 q 745 901 751 916 q 735 875 740 885 l 323 44 q 298 13 314 26 q 256 0 282 0 l 167 0 l 585 821 q 603 853 594 838 q 624 881 613 867 l 105 881 q 84 890 93 881 q 75 911 75 899 l 75 995 l 751 995 z "
|
|
50
|
+
},
|
|
51
|
+
"8": {
|
|
52
|
+
"ha": 806,
|
|
53
|
+
"x_min": 67,
|
|
54
|
+
"x_max": 738,
|
|
55
|
+
"o": "m 403 88 q 490 101 451 88 q 555 139 528 115 q 596 198 582 164 q 610 274 610 233 q 593 362 610 326 q 548 422 576 399 q 481 455 519 444 q 403 466 444 466 q 324 455 362 466 q 258 422 287 444 q 212 362 229 399 q 195 274 195 326 q 209 198 195 233 q 250 139 224 164 q 316 101 277 115 q 403 88 354 88 m 403 910 q 325 897 358 910 q 268 861 291 884 q 234 808 246 838 q 223 742 223 777 q 233 676 223 708 q 264 620 242 644 q 320 580 285 595 q 403 565 354 565 q 486 580 451 565 q 542 620 520 595 q 573 676 563 644 q 583 742 583 708 q 571 808 583 777 q 537 861 560 838 q 481 897 515 884 q 403 910 447 910 m 545 519 q 688 431 638 492 q 738 272 738 369 q 714 155 738 207 q 645 65 689 102 q 539 9 601 28 q 403 -11 477 -11 q 267 9 328 -11 q 160 65 205 28 q 92 155 116 102 q 67 272 67 207 q 117 431 67 369 q 260 519 167 492 q 142 606 182 548 q 102 744 102 664 q 124 847 102 799 q 185 931 145 895 q 280 986 224 966 q 403 1006 335 1006 q 526 986 470 1006 q 621 931 581 966 q 682 847 660 895 q 703 744 703 799 q 664 606 703 664 q 545 519 624 548 z "
|
|
56
|
+
},
|
|
57
|
+
"9": {
|
|
58
|
+
"ha": 806,
|
|
59
|
+
"x_min": 73,
|
|
60
|
+
"x_max": 719,
|
|
61
|
+
"o": "m 197 703 q 210 618 197 656 q 249 556 224 581 q 311 517 274 530 q 392 503 347 503 q 481 520 442 503 q 546 563 519 536 q 586 626 572 590 q 600 699 600 661 q 585 784 600 746 q 544 848 570 822 q 481 889 517 874 q 401 903 444 903 q 317 888 355 903 q 253 847 280 873 q 211 783 226 820 q 197 703 197 747 m 485 397 q 514 435 501 417 q 539 471 527 453 q 453 424 501 440 q 351 408 405 408 q 245 427 295 408 q 156 482 194 446 q 95 572 118 519 q 73 694 73 625 q 97 816 73 759 q 165 915 122 873 q 269 982 209 958 q 402 1006 330 1006 q 532 983 474 1006 q 632 917 590 959 q 696 815 674 874 q 719 685 719 756 q 711 603 719 642 q 688 527 703 565 q 651 454 673 490 q 603 379 630 417 l 360 29 q 335 8 351 16 q 297 0 318 0 l 183 0 l 485 397 z "
|
|
62
|
+
},
|
|
63
|
+
" ": {
|
|
64
|
+
"ha": 356,
|
|
65
|
+
"x_min": 0,
|
|
66
|
+
"x_max": 0,
|
|
67
|
+
"o": ""
|
|
68
|
+
},
|
|
69
|
+
"c": {
|
|
70
|
+
"ha": 663,
|
|
71
|
+
"x_min": 58,
|
|
72
|
+
"x_max": 628,
|
|
73
|
+
"o": "m 588 578 q 576 567 582 571 q 561 563 571 563 q 538 571 551 563 q 507 590 526 580 q 462 609 489 601 q 397 618 435 618 q 305 600 344 618 q 239 547 265 581 q 198 463 212 512 q 185 352 185 413 q 199 239 185 288 q 241 155 214 189 q 305 104 267 122 q 390 86 343 86 q 465 97 435 86 q 513 121 494 108 q 545 145 532 134 q 570 156 558 156 q 594 144 585 156 l 628 99 q 576 50 606 70 q 514 16 547 30 q 443 -3 480 3 q 368 -10 406 -10 q 245 15 302 -10 q 147 85 189 39 q 82 199 106 131 q 58 352 58 266 q 80 497 58 431 q 144 612 102 564 q 248 688 186 660 q 389 715 309 715 q 520 691 463 715 q 620 623 576 667 l 588 578 z "
|
|
74
|
+
},
|
|
75
|
+
"e": {
|
|
76
|
+
"ha": 733,
|
|
77
|
+
"x_min": 58,
|
|
78
|
+
"x_max": 680,
|
|
79
|
+
"o": "m 569 428 q 557 507 569 472 q 521 569 544 543 q 465 609 498 595 q 389 624 431 624 q 248 572 300 624 q 184 428 197 520 l 569 428 m 669 99 q 614 50 646 71 q 545 17 582 30 q 470 -3 509 3 q 393 -10 431 -10 q 259 15 320 -10 q 152 87 197 40 q 83 205 108 135 q 58 366 58 275 q 80 503 58 440 q 145 614 103 567 q 249 688 188 661 q 386 715 310 715 q 503 693 449 715 q 596 632 557 672 q 658 534 635 592 q 680 400 680 475 q 674 361 680 371 q 650 351 667 351 l 180 351 q 198 235 182 285 q 244 153 215 186 q 313 104 273 120 q 403 88 353 88 q 484 98 450 88 q 542 122 517 109 q 582 145 566 134 q 610 156 599 156 q 634 144 626 156 l 669 99 z "
|
|
80
|
+
},
|
|
81
|
+
"f": {
|
|
82
|
+
"ha": 487,
|
|
83
|
+
"x_min": 33,
|
|
84
|
+
"x_max": 472,
|
|
85
|
+
"o": "m 144 0 l 144 598 l 66 607 q 42 618 51 610 q 33 639 33 625 l 33 690 l 144 690 l 144 758 q 161 865 144 818 q 209 944 178 912 q 285 993 241 976 q 385 1010 330 1010 q 472 996 433 1010 l 469 934 q 451 916 468 917 q 406 915 434 915 q 348 906 374 915 q 303 879 322 898 q 274 830 284 860 q 264 754 264 799 l 264 690 l 467 690 l 467 600 l 268 600 l 268 0 l 144 0 z "
|
|
86
|
+
},
|
|
87
|
+
"h": {
|
|
88
|
+
"ha": 775,
|
|
89
|
+
"x_min": 98,
|
|
90
|
+
"x_max": 684,
|
|
91
|
+
"o": "m 222 610 q 322 686 267 658 q 449 715 377 715 q 550 695 506 715 q 624 641 594 676 q 669 557 653 606 q 684 448 684 508 l 684 0 l 560 0 l 560 448 q 523 572 560 528 q 413 616 487 616 q 310 590 358 616 q 222 518 263 563 l 222 0 l 98 0 l 98 1023 l 222 1023 l 222 610 z "
|
|
92
|
+
},
|
|
93
|
+
"i": {
|
|
94
|
+
"ha": 333,
|
|
95
|
+
"x_min": 78,
|
|
96
|
+
"x_max": 255,
|
|
97
|
+
"o": "m 228 703 l 228 0 l 105 0 l 105 703 l 228 703 m 255 924 q 248 891 255 906 q 228 863 240 875 q 200 844 216 851 q 165 837 183 837 q 132 844 147 837 q 104 863 116 851 q 85 891 92 875 q 78 924 78 906 q 85 959 78 942 q 104 987 92 975 q 132 1006 116 999 q 165 1013 147 1013 q 200 1006 183 1013 q 228 987 216 999 q 248 959 240 975 q 255 924 255 942 z "
|
|
98
|
+
},
|
|
99
|
+
"m": {
|
|
100
|
+
"ha": 1142,
|
|
101
|
+
"x_min": 98,
|
|
102
|
+
"x_max": 1052,
|
|
103
|
+
"o": "m 98 0 l 98 703 l 172 703 q 205 678 199 703 l 214 606 q 301 684 253 653 q 414 715 350 715 q 529 675 485 715 q 592 568 573 635 q 632 634 608 606 q 685 680 656 662 q 749 706 715 698 q 817 715 783 715 q 916 697 873 715 q 990 645 960 679 q 1036 561 1020 611 q 1052 448 1052 512 l 1052 0 l 928 0 l 928 448 q 892 573 928 531 q 788 616 856 616 q 730 605 757 616 q 681 574 702 594 q 648 521 660 553 q 636 448 636 490 l 636 0 l 512 0 l 512 448 q 478 574 512 533 q 378 616 444 616 q 294 591 333 616 q 222 524 255 567 l 222 0 l 98 0 z "
|
|
104
|
+
},
|
|
105
|
+
"n": {
|
|
106
|
+
"ha": 775,
|
|
107
|
+
"x_min": 98,
|
|
108
|
+
"x_max": 684,
|
|
109
|
+
"o": "m 215 601 q 263 648 238 627 q 318 684 289 669 q 379 707 347 699 q 449 715 411 715 q 550 695 506 715 q 624 641 594 676 q 669 557 653 606 q 684 448 684 508 l 684 0 l 560 0 l 560 448 q 523 572 560 528 q 413 616 487 616 q 310 590 358 616 q 222 518 263 563 l 222 0 l 98 0 l 98 703 l 172 703 q 205 678 199 703 l 215 601 z "
|
|
110
|
+
},
|
|
111
|
+
"t": {
|
|
112
|
+
"ha": 498,
|
|
113
|
+
"x_min": 30,
|
|
114
|
+
"x_max": 484,
|
|
115
|
+
"o": "m 314 -11 q 186 35 231 -11 q 141 169 141 82 l 141 600 l 56 600 q 38 607 45 600 q 30 627 30 613 l 30 676 l 145 691 l 174 908 q 183 925 176 919 q 202 932 190 932 l 265 932 l 265 690 l 468 690 l 468 600 l 265 600 l 265 178 q 286 112 265 133 q 342 90 308 90 q 375 95 361 90 q 400 107 390 101 q 418 118 410 113 q 431 124 425 124 q 448 112 440 124 l 484 53 q 407 6 452 23 q 314 -11 362 -11 z "
|
|
116
|
+
},
|
|
117
|
+
",": {
|
|
118
|
+
"ha": 315,
|
|
119
|
+
"x_min": 74,
|
|
120
|
+
"x_max": 242,
|
|
121
|
+
"o": "m 90 -168 q 83 -159 85 -163 q 81 -149 81 -155 q 84 -139 81 -144 q 91 -130 87 -134 q 109 -110 98 -122 q 131 -80 119 -97 q 151 -43 142 -63 q 165 1 160 -22 q 160 0 163 0 q 156 0 158 0 q 97 24 119 0 q 74 85 74 48 q 97 141 74 118 q 157 164 119 164 q 194 156 178 164 q 220 135 210 149 q 237 104 231 122 q 242 65 242 86 q 234 0 242 34 q 208 -66 225 -33 q 167 -131 191 -99 q 111 -188 142 -162 l 90 -168 z "
|
|
122
|
+
},
|
|
123
|
+
".": {
|
|
124
|
+
"ha": 328,
|
|
125
|
+
"x_min": 77,
|
|
126
|
+
"x_max": 251,
|
|
127
|
+
"o": "m 77 76 q 84 110 77 94 q 102 138 90 126 q 129 157 113 150 q 163 164 145 164 q 197 157 181 164 q 225 138 213 150 q 244 110 237 126 q 251 76 251 94 q 244 42 251 58 q 225 15 237 26 q 197 -4 213 3 q 163 -10 181 -10 q 129 -4 145 -10 q 102 15 113 3 q 84 42 90 26 q 77 76 77 58 z "
|
|
128
|
+
},
|
|
129
|
+
"/": {
|
|
130
|
+
"ha": 628,
|
|
131
|
+
"x_min": 47,
|
|
132
|
+
"x_max": 581,
|
|
133
|
+
"o": "m 166 -15 q 138 -51 157 -39 q 99 -62 119 -62 l 47 -62 l 464 977 q 489 1011 472 999 q 528 1023 506 1023 l 581 1023 l 166 -15 z "
|
|
134
|
+
},
|
|
135
|
+
"\\": {
|
|
136
|
+
"ha": 628,
|
|
137
|
+
"x_min": 47,
|
|
138
|
+
"x_max": 581,
|
|
139
|
+
"o": "m 47 1023 l 99 1023 q 139 1011 122 1023 q 164 977 156 999 l 581 -62 l 529 -62 q 490 -51 509 -62 q 462 -15 470 -39 l 47 1023 z "
|
|
140
|
+
},
|
|
141
|
+
"-": {
|
|
142
|
+
"ha": 516,
|
|
143
|
+
"x_min": 87,
|
|
144
|
+
"x_max": 430,
|
|
145
|
+
"o": "m 87 469 l 430 469 l 430 364 l 87 364 l 87 469 z "
|
|
146
|
+
},
|
|
147
|
+
"'": {
|
|
148
|
+
"ha": 283,
|
|
149
|
+
"x_min": 88,
|
|
150
|
+
"x_max": 196,
|
|
151
|
+
"o": "m 196 995 l 196 794 l 185 686 q 172 652 181 664 q 142 640 163 640 q 113 652 123 640 q 99 686 103 664 l 88 794 l 88 995 l 196 995 z "
|
|
152
|
+
},
|
|
153
|
+
"\"": {
|
|
154
|
+
"ha": 515,
|
|
155
|
+
"x_min": 88,
|
|
156
|
+
"x_max": 427,
|
|
157
|
+
"o": "m 196 995 l 196 794 l 185 686 q 172 652 181 664 q 142 640 163 640 q 113 652 123 640 q 99 686 103 664 l 88 794 l 88 995 l 196 995 m 427 995 l 427 794 l 416 686 q 403 652 413 664 q 373 640 394 640 q 344 652 354 640 q 331 686 334 664 l 319 794 l 319 995 l 427 995 z "
|
|
158
|
+
},
|
|
159
|
+
"+": {
|
|
160
|
+
"ha": 806,
|
|
161
|
+
"x_min": 70,
|
|
162
|
+
"x_max": 736,
|
|
163
|
+
"o": "m 736 419 l 453 419 l 453 121 l 352 121 l 352 419 l 70 419 l 70 513 l 352 513 l 352 810 l 453 810 l 453 513 l 736 513 l 736 419 z "
|
|
164
|
+
}
|
|
165
|
+
},
|
|
166
|
+
"familyName": "Lato",
|
|
167
|
+
"ascender": 1371,
|
|
168
|
+
"descender": -296,
|
|
169
|
+
"underlinePosition": -324,
|
|
170
|
+
"underlineThickness": 62,
|
|
171
|
+
"boundingBox": {
|
|
172
|
+
"yMin": -373,
|
|
173
|
+
"xMin": -759,
|
|
174
|
+
"yMax": 1498,
|
|
175
|
+
"xMax": 1647
|
|
176
|
+
},
|
|
177
|
+
"resolution": 1000,
|
|
178
|
+
"original_font_information": {
|
|
179
|
+
"format": 0,
|
|
180
|
+
"copyright": "Copyright (c) 2011-2015 by tyPoland Lukasz Dziedzic (http://www.typoland.com/) with Reserved Font Name \"Lato\". Licensed under the SIL Open Font License, Version 1.1 (http://scripts.sil.org/OFL). ",
|
|
181
|
+
"fontFamily": "Lato",
|
|
182
|
+
"fontSubfamily": "Regular",
|
|
183
|
+
"uniqueID": "2.015;tyPL;Lato-Regular;2015;TR4-4.0.2.5571",
|
|
184
|
+
"fullName": "Lato Regular",
|
|
185
|
+
"version": "Version 2.015; 2015-08-06; http://www.latofonts.com/",
|
|
186
|
+
"postScriptName": "Lato-Regular",
|
|
187
|
+
"trademark": "Lato is a trademark of tyPoland Lukasz Dziedzic.",
|
|
188
|
+
"manufacturer": "tyPoland Lukasz Dziedzic",
|
|
189
|
+
"designer": "Lukasz Dziedzic with Adam Twardoch and Botio Nikoltchev",
|
|
190
|
+
"description": "Lato is a sanserif typeface family designed in the Summer 2010 and extended in the Summer 2013 by Warsaw-based designer Lukasz Dziedzic (\"Lato\" means \"Summer\" in Polish). It tries to carefully balance some potentially conflicting priorities: it should seem quite \"transparent\" when used in body text but would display some original traits when used in larger sizes. The classical proportions, particularly visible in the uppercase, give the letterforms familiar harmony and elegance. At the same time, its sleek sanserif look makes evident the fact that Lato was designed in the 2010s, even though it does not follow any current trend. The semi-rounded details of the letters give Lato a feeling of warmth, while the strong structure provides stability and seriousness. In 2013-2014, the family was greatly extended (with the help of Adam Twardoch and Botio Nikoltchev) to cover 3000+ glyphs over nine weights with italics. It now supports 100+ Latin-based languages, 50+ Cyrillic-based languages as well as Greek and IPA phonetics. The Lato fonts are available free of charge under the SIL Open Font License from http://www.latofonts.com/",
|
|
191
|
+
"manufacturerURL": "http://www.typoland.com/",
|
|
192
|
+
"designerURL": "http://www.latofonts.com/",
|
|
193
|
+
"licence": "Copyright (c) 2011-2015 by tyPoland Lukasz Dziedzic (http://www.typoland.com/) with Reserved Font Name \"Lato\". Licensed under the SIL Open Font License, Version 1.1 (http://scripts.sil.org/OFL). ",
|
|
194
|
+
"licenceURL": "http://scripts.sil.org/OFL"
|
|
195
|
+
},
|
|
196
|
+
"cssFontWeight": "normal",
|
|
197
|
+
"cssFontStyle": "normal"
|
|
198
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
System.register(["./roomle-dependency-injection-
|
|
2
|
-
//# sourceMappingURL=stats-helper-
|
|
1
|
+
System.register(["./roomle-dependency-injection-3542b35a.legacy.js","./main-thread-to-worker-63c62382.legacy.js"],(function(e){var t,a;return{setters:[function(e){t=e._,a=e.i},function(){}],execute:function(){class s{constructor(){this._statPanels=[]}_init(){let e=new Stats;e.showPanel(0),e.dom.style.cssText="position:absolute;top:0px;left:0px;z-index:110;",document.body.appendChild(e.dom),this._statPanels.push(e);let t=new Stats;t.showPanel(2),t.dom.style.cssText="position:absolute;top:50px;left:0px;z-index:110;",document.body.appendChild(t.dom),this._statPanels.push(t);let a=new Stats;this._drawPanel=a.addPanel(new Stats.Panel("draw","#0f0","#000")),a.showPanel(3),a.dom.style.cssText="position:absolute;top:100px;left:0px;z-index:110;",document.body.appendChild(a.dom),this._statPanels.push(a);let s=new Stats;this._trianglesPanel=s.addPanel(new Stats.Panel("poly","#0f0","#000")),s.showPanel(3),s.dom.style.cssText="position:absolute;top:150px;left:0px;z-index:110;",document.body.appendChild(s.dom),this._statPanels.push(s);let n=new Stats;this._geometryPanel=n.addPanel(new Stats.Panel("geo","#f00","#000")),n.showPanel(3),n.dom.style.cssText="position:absolute;top:200px;left:0px;z-index:110;",document.body.appendChild(n.dom),this._statPanels.push(n);let l=new Stats;this._texturePanel=l.addPanel(new Stats.Panel("tex","#f00","#000")),l.showPanel(3),l.dom.style.cssText="position:absolute;top:250px;left:0px;z-index:110;",document.body.appendChild(l.dom),this._statPanels.push(l);let o=new Stats;this._materialPanel=o.addPanel(new Stats.Panel("mat","#f00","#000")),o.showPanel(3),o.dom.style.cssText="position:absolute;top:300px;left:0px;z-index:110;",document.body.appendChild(o.dom),this._statPanels.push(o);let i=new Stats;this._qualityPanel=i.addPanel(new Stats.Panel("quality","#fff","#000")),i.showPanel(3),i.dom.style.cssText="position:absolute;top:350px;left:0px;z-index:110;",document.body.appendChild(i.dom),this._statPanels.push(i)}updateRenderInfo(e){this._drawPanel&&e.render.calls>0&&this._drawPanel.update(e.render.calls,500),this._trianglesPanel&&e.render.triangles>0&&this._trianglesPanel.update(e.render.triangles,1e4),this._geometryPanel&&e.memory.geometries>0&&this._geometryPanel.update(e.memory.geometries,1e4),this._texturePanel&&e.memory.textures>0&&this._texturePanel.update(e.memory.textures,1e4),this._materialPanel&&this._cacheHolder.materialCache.size>0&&this._materialPanel.update(this._cacheHolder.materialCache.size,1e3),this._statPanels.length>0&&this._statPanels.forEach(e=>e.update())}updateQualityInfo(e){this._qualityPanel&&e&&this._qualityPanel.update(e.getQuality(),5)}}e("default",s),t([a],s.prototype,"_cacheHolder",void 0)}}}));
|
|
2
|
+
//# sourceMappingURL=stats-helper-4dd75b8d.legacy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stats-helper-4dd75b8d.legacy.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
System.register(["./script-loader-
|
|
2
|
-
//# sourceMappingURL=tools-core-
|
|
1
|
+
System.register(["./script-loader-25518980.legacy.js","./roomle-dependency-injection-3542b35a.legacy.js","./query-params-helper-a1e70858.legacy.js","./main-thread-to-worker-63c62382.legacy.js"],(function(o){var e,t,s,n;return{setters:[function(o){e=o.S,t=o.M},function(o){s=o.D,n=o.b},function(){},function(){}],execute:function(){const l=[new s("script-loader",e)];o("ToolsCore",class extends t{setupGlobals(){}setupDependencies(){n.setup(l),this.lookup("logger",this._context)}cleanUpGlobals(){this._tools=void 0,window.RoomleToolsCore&&delete window.RoomleToolsCore}cleanUpDependencies(){const o=this.lookup("script-loader");o&&o.cleanUp()}bootFinished(){this._tools=this.lookup("roomle-tools-core",this._context),window.RoomleToolsCore||(window.RoomleToolsCore=this._tools)}getApi(){return this._tools}getContextName(){return"tools-core"}})}}}));
|
|
2
|
+
//# sourceMappingURL=tools-core-5dd3b7d4.legacy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tools-core-5dd3b7d4.legacy.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
System.register(["./script-loader-
|
|
2
|
-
//# sourceMappingURL=material-viewer-
|
|
1
|
+
System.register(["./script-loader-98a17bbb.nomodule.js","./roomle-dependency-injection-c12e4c00.nomodule.js","./camera-behaviour-1b0b7853.nomodule.js","./main-thread-to-worker-ff04af1e.nomodule.js","./query-params-helper-712890e0.nomodule.js"],(function(e){var t,a,i,r,s,n,o,h,l,m,_,c,d,g,u,p,M,w,y,C,f,v,b,S,P,x,F,G,I,U,R,A,T,B,D,k,E;return{setters:[function(e){t=e.S,a=e.M},function(e){i=e._,r=e.i,s=e.m,n=e.q,o=e.r,h=e.Z,l=e.ay,m=e.az,_=e.a1,c=e.aA,d=e.a0,g=e.aB,u=e.D,p=e.L,M=e.aw,w=e.aC,y=e.R,C=e.b},function(e){f=e.b,v=e.S,b=e.B,S=e.C,P=e.F,x=e.T},function(e){F=e.aE,G=e.aP,I=e.z,U=e.C,R=e.ad,A=e.w,T=e.a,B=e.a7,D=e.b1,k=e.bc,E=e.a9},function(){}],execute:function(){class V extends f{get cameraControl(){return this._cameraControl}}class j extends v{constructor(e,t){super(e,t,s.RMV,F.CAMERA_3D),this._sceneParams={type:"cube"},this._materialParams={color:"#ffffff",metallic:.5,alpha:0,alphaCutoff:0,doubleSided:!1},this._renderer.capabilities.maxTextures>8&&this.loadDynamicLightSetting(n.createDynamicLightSettingSource(null,o.CAMERA)),this._initScene()}_initScene(){const e=new G(1,1,1,100,100,100),t=h.createMeshPhysicalMaterial({color:this._initData.colors.PRIMARY});this._setMaterial(t),this._mesh=new I(e,this._material),this._mesh.castShadow=!0,this._mesh.position.setY(.5),this._scene.add(this._mesh);const{initialFloorMaterial:a}=this._initData;if(a?this.changeFloorMaterialById(a):this._environment=new b(this._scene,null,new U(16777215)),this.cameraBehaviour.cameraControl instanceof S){const e=new R;e.setFromObject(this._mesh),console.trace("reset camera"),this.cameraBehaviour.cameraControl.updateAndReset(e)}this.showGUI()}loadMaterialId(e){return new Promise(t=>{this._configuratorMeshGenerator.loadMaterial(e,1e3,1e3).then(e=>{this._setMaterial(e),this._mesh.material=this._material,this._updateGUI(),this._requestRender(),t()})})}loadMaterial(e){return new Promise(t=>{e.__rapi_path__||(e.__rapi_path__="materials"),this._mesh.material=this._material,this._configuratorMeshGenerator.loadTextures(e,this._material,100,100).then(()=>{this._updateGUI(),this._requestRender()}),t()})}loadMaterialShading(e){return new Promise(t=>{let a={shading:e};this._setMaterial(l(this._material,a)),this._mesh.material=this._material,this._updateGUI(),this._requestRender(),t()})}resetMaterial(){this._initScene()}_setMaterial(e){this._material=e,this._materialParams.alpha=e.opacity,this._materialParams.alphaCutoff=e.alphaTest,this._materialParams.color="#"+e.color.getHexString(),this._materialParams.doubleSided=e.side===A,this._materialParams.metallic=1===e.metalness?1:e.reflectivity}getMaterialShading(e=1){return m(this._material,e)}createCameraControl(e,t){this._changeCameraBehaviour(new V(new S(this._creator_,this._getInputManager(),new T(-1,1,1)),this._cameraBehaviourState))}_getInputManager(){return this._inputManager}sceneChanged(){}getBounds(){return this._mesh?(new R).setFromObject(this._mesh):null}getGeometryBounds(){return null}_guiLoaded(){this._updateGUI()}_updateGUI(){let e=_();e&&(this._guiGeometryFolder||(this._guiGeometryFolder=e.addFolder("Geometry"),this._guiGeometryFolder.add(this._sceneParams,"type",{Cube:"cube",Sphere:"sphere",PlaneVertical:"plane_vertical",PlaneHorizontal:"plane_horizontal"}).onChange(e=>{this._setGeometry()})),this._material&&(this._guiMaterialFolder&&e.removeFolder(this._guiMaterialFolder),this._guiMaterialFolder=e.addFolder("Material"),this._guiMaterialFolder.addColor(this._materialParams,"color").onChange(e=>{this._material.color=new U(e),this._shadingChanged()}),this._guiMaterialFolder.add(this._materialParams,"metallic").min(0).max(1).step(.01).onChange(e=>{this._material.metalness=1===e?1:.5,this._material.reflectivity=e||.5,this._shadingChanged()}),this._guiMaterialFolder.add(this._material,"roughness").min(0).max(1).step(.01).onChange(e=>{this._shadingChanged()}),this._guiMaterialFolder.add(this._material,"transmission").min(0).max(1).step(.01).onChange(e=>{this._material.transmission=e,e>0&&(this._material.opacity=1,this._material.alphaTest=.5,this._material.depthWrite=!1,this._material.transparent=!0,this._material.metalness=0),this._mesh.castShadow=!this._material.transparent,this._shadingChanged()}),this._guiMaterialFolder.add(this._materialParams,"alpha").min(0).max(1).step(.01).onChange(e=>{this._material.transparent=e<1,this._material.opacity=e,this._material.depthWrite=e>=1,this._mesh.castShadow=!this._material.transparent,this._shadingChanged()}),this._guiMaterialFolder.add(this._materialParams,"alphaCutoff").min(0).max(1).step(.01).onChange(e=>{this._material.alphaTest=e||0,this._shadingChanged()}),this._guiMaterialFolder.add(this._materialParams,"doubleSided").onChange(e=>{this._material.side=e?A:B,this._shadingChanged()})),this._addGUIListener(e))}_shadingChanged(){this._roomleMaterialViewerUiCallback.onMaterialShadingChanged(m(this._material))}setGeometry(e){this._sceneParams.type=e,this._setGeometry()}_setGeometry(){let e;"cube"===this._sceneParams.type&&(e=new G(1,1,1,100,100,100)),"sphere"===this._sceneParams.type&&(e=new D(.5,100,100)),"plane_horizontal"===this._sceneParams.type&&(e=new k(1,1),e.rotateX(-Math.PI/2)),"plane_vertical"===this._sceneParams.type&&(e=new k(1,1)),this._mesh.geometry=e,this._renderEverything()}async changeFloorMaterialById(e){const t=await this._rapiAccess.getMaterial(e);return this._environment&&this._environment instanceof P||(this._environment=new P(this._scene,this._environment,!0)),new Promise((e,a)=>{this._environment.changeFloorMaterial(t,this._maxAnisotropy).then(()=>{this._requestRender(),e()},a)})}async addTexture(e,t){const a=100/(0===e.mmWidth?1:e.mmWidth),i=100/(0===e.mmHeight?1:e.mmHeight);if(t){const r=new Image;r.src=t;const s=new E;s.image=r,r.onload=function(){s.needsUpdate=!0},c(s,e,this._material,this._maxAnisotropy,a,i,this._renderer.capabilities.maxTextures)}else await d(e.image,e,this._material,this._maxAnisotropy,a,i,this._renderer.capabilities.maxTextures);this._requestRender()}removeTexture(e){"ORM"===e.mapping&&(this._material.aoMap=null,this._material.roughnessMap=null,this._material.metalnessMap=null),"RGB"!==e.mapping&&"RGBA"!==e.mapping||(this._material.map=null),"XYZ"===e.mapping&&(this._material.normalMap=null),this._material.needsUpdate=!0,this._requestRender()}clearCache(){this._configuratorMeshGenerator.clear()}}i([r],j.prototype,"_inputManager",void 0),i([r],j.prototype,"_configuratorMeshGenerator",void 0),i([r],j.prototype,"_roomleMaterialViewerUiCallback",void 0),i([r],j.prototype,"_rapiAccess",void 0);class O{constructor(e){this._creator_=e}setCameraOffset(e){this._sceneManager.setCameraOffset(e)}getCameraOffset(){return this._sceneManager.getCameraOffset()}init(e){return this._domHelper.setDomElement(e),this._sceneManager?(this._lifeCycleManager.resume(),Promise.resolve()):new Promise(this._initPromiseCallback.bind(this))}_initPromiseCallback(e,t){Promise.all([this._scriptLoader.fetch(x,{id:"tween-js"})]).then(()=>{this._sceneManager=new j(this._creator_,{left:0,top:1,right:1,bottom:0}),this._sceneManager.enableHD(),e()})}get callbacks(){return this._roomleMaterialViewerUiCallback}set callbacks(e){this._roomleMaterialViewerUiCallback=e}loadMaterialShading(e){return this._sceneManager.loadMaterialShading(e)}resetMaterial(){this._sceneManager.resetMaterial()}loadMaterial(e,t={}){return t.flushCache&&this._clearCaches(),this._sceneManager.loadMaterial(e)}loadMaterialId(e,t={}){return t.flushCache&&this._clearCaches(),this._sceneManager.loadMaterialId(e)}getMaterialShading(e=1){return this._sceneManager.getMaterialShading(e)}loadSceneSetting(e){return this._sceneManager.loadSceneSettings(e)}setOverrides(e){e&&this._initData.setOverrides(e)}updateSize(){this._sceneManager.updateCamera()}getMain(){}resumeTest(e){this._domHelper.setDomElement(e),this._lifeCycleManager.resume()}pauseTest(){this._lifeCycleManager.pause()}showGUI(){this._sceneManager.showGUI()}async changeFloorMaterialById(e){return this._sceneManager.changeFloorMaterialById(e)}setGeometry(e){this._sceneManager.setGeometry(e)}async addTexture(e,t){return this._sceneManager.addTexture(e,t)}removeTexture(e){return this._sceneManager.removeTexture(e)}_clearCaches(){this._rapiAccess.cleanUp(),this._sceneManager.clearCache()}getScene(){return this._sceneManager.getScene()}updateScene(){this._sceneManager.updateScene()}getUnitFormatter(){return this._unitFormatter}getStorage(){return this._idbManager}setEnvironmentMap(e){const{url:t,intensity:a,rotation:i,maxLightSources:r}=e;this._sceneManager.setEnvironmentMap(t,a,i,r)}}i([r],O.prototype,"_domHelper",void 0),i([r],O.prototype,"_scriptLoader",void 0),i([r],O.prototype,"_lifeCycleManager",void 0),i([r],O.prototype,"_roomleMaterialViewerUiCallback",void 0),i([r],O.prototype,"_initData",void 0),i([r],O.prototype,"_rapiAccess",void 0),i([r],O.prototype,"_unitFormatter",void 0),i([r],O.prototype,"_idbManager",void 0);const q=[new u("script-loader",t),new u("logger",p),new u("input-manager",M,1),new u("configurator-mesh-generator",w),new u("rapi-access",y),new u("roomle-material-viewer-ui-callback",class extends g{constructor(e){super(e),this.onMaterialShadingChanged=e=>{}}},1)];e("MaterialViewer",class extends a{setupGlobals(){}setupDependencies(){C.setup(q),this.lookup("logger",this._context)}cleanUpGlobals(){throw new Error("Method not implemented.")}cleanUpDependencies(){throw new Error("Method not implemented.")}bootFinished(){this._viewer=new O(this._context),window.RoomleMaterialViewer||(window.RoomleMaterialViewer=this._viewer)}getApi(){return this._viewer}getContextName(){return"material-viewer"}})}}}));
|
|
2
|
+
//# sourceMappingURL=material-viewer-3271df96.nomodule.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"material-viewer-3271df96.nomodule.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{S as ScriptLoader,M as Main}from"./script-loader-d3f78a09.js";import{_ as __decorate,i as inject,m as CANVAS_ID,q as DynamicLightSettingLoader,r as PREDEFINED_LIGHTSETTING,Z as MaterialCreator,ay as setMaterial,az as getMaterialShading,a1 as getGUI,aA as addExistingTexture,a0 as addTexture,aB as UiCallback,D as DependencyInjectionAssignment,L as Logger,aw as InputManager,aC as ConfiguratorMeshGenerator,R as RapiAccess,b as RoomleDependencyInjection}from"./roomle-dependency-injection-1e356a73.js";import{b as CameraBehaviour,S as SceneManager,B as BackgroundEnvironment,C as CameraControl3D,F as FloorEnvironment,T as TWEEN_FILE_NAME}from"./camera-behaviour-265f1725.js";import{aE as CAMERA_TYPE,aP as BoxGeometry,z as Mesh,C as Color,ad as Box3,w as DoubleSide,a as Vector3,a7 as FrontSide,b1 as SphereGeometry,bc as PlaneGeometry,a9 as Texture}from"./main-thread-to-worker-82b32425.js";import"./query-params-helper-68ed40a6.js";class MaterialViewerCameraBehaviour extends CameraBehaviour{get cameraControl(){return this._cameraControl}}class MaterialViewerSceneManager extends SceneManager{constructor(e,a){super(e,a,CANVAS_ID.RMV,CAMERA_TYPE.CAMERA_3D),this._sceneParams={type:"cube"},this._materialParams={color:"#ffffff",metallic:.5,alpha:0,alphaCutoff:0,doubleSided:!1},this._renderer.capabilities.maxTextures>8&&this.loadDynamicLightSetting(DynamicLightSettingLoader.createDynamicLightSettingSource(null,PREDEFINED_LIGHTSETTING.CAMERA)),this._initScene()}_initScene(){const e=new BoxGeometry(1,1,1,100,100,100),a=MaterialCreator.createMeshPhysicalMaterial({color:this._initData.colors.PRIMARY});this._setMaterial(a),this._mesh=new Mesh(e,this._material),this._mesh.castShadow=!0,this._mesh.position.setY(.5),this._scene.add(this._mesh);const{initialFloorMaterial:t}=this._initData;if(t?this.changeFloorMaterialById(t):this._environment=new BackgroundEnvironment(this._scene,null,new Color(16777215)),this.cameraBehaviour.cameraControl instanceof CameraControl3D){const e=new Box3;e.setFromObject(this._mesh),console.trace("reset camera"),this.cameraBehaviour.cameraControl.updateAndReset(e)}this.showGUI()}loadMaterialId(e){return new Promise(a=>{this._configuratorMeshGenerator.loadMaterial(e,1e3,1e3).then(e=>{this._setMaterial(e),this._mesh.material=this._material,this._updateGUI(),this._requestRender(),a()})})}loadMaterial(e){return new Promise(a=>{e.__rapi_path__||(e.__rapi_path__="materials"),this._mesh.material=this._material,this._configuratorMeshGenerator.loadTextures(e,this._material,100,100).then(()=>{this._updateGUI(),this._requestRender()}),a()})}loadMaterialShading(e){return new Promise(a=>{let t={shading:e};this._setMaterial(setMaterial(this._material,t)),this._mesh.material=this._material,this._updateGUI(),this._requestRender(),a()})}resetMaterial(){this._initScene()}_setMaterial(e){this._material=e,this._materialParams.alpha=e.opacity,this._materialParams.alphaCutoff=e.alphaTest,this._materialParams.color="#"+e.color.getHexString(),this._materialParams.doubleSided=e.side===DoubleSide,this._materialParams.metallic=1===e.metalness?1:e.reflectivity}getMaterialShading(e=1){return getMaterialShading(this._material,e)}createCameraControl(e,a){this._changeCameraBehaviour(new MaterialViewerCameraBehaviour(new CameraControl3D(this._creator_,this._getInputManager(),new Vector3(-1,1,1)),this._cameraBehaviourState))}_getInputManager(){return this._inputManager}sceneChanged(){}getBounds(){return this._mesh?(new Box3).setFromObject(this._mesh):null}getGeometryBounds(){return null}_guiLoaded(){this._updateGUI()}_updateGUI(){let e=getGUI();e&&(this._guiGeometryFolder||(this._guiGeometryFolder=e.addFolder("Geometry"),this._guiGeometryFolder.add(this._sceneParams,"type",{Cube:"cube",Sphere:"sphere",PlaneVertical:"plane_vertical",PlaneHorizontal:"plane_horizontal"}).onChange(e=>{this._setGeometry()})),this._material&&(this._guiMaterialFolder&&e.removeFolder(this._guiMaterialFolder),this._guiMaterialFolder=e.addFolder("Material"),this._guiMaterialFolder.addColor(this._materialParams,"color").onChange(e=>{this._material.color=new Color(e),this._shadingChanged()}),this._guiMaterialFolder.add(this._materialParams,"metallic").min(0).max(1).step(.01).onChange(e=>{this._material.metalness=1===e?1:.5,this._material.reflectivity=e||.5,this._shadingChanged()}),this._guiMaterialFolder.add(this._material,"roughness").min(0).max(1).step(.01).onChange(e=>{this._shadingChanged()}),this._guiMaterialFolder.add(this._material,"transmission").min(0).max(1).step(.01).onChange(e=>{this._material.transmission=e,e>0&&(this._material.opacity=1,this._material.alphaTest=.5,this._material.depthWrite=!1,this._material.transparent=!0,this._material.metalness=0),this._mesh.castShadow=!this._material.transparent,this._shadingChanged()}),this._guiMaterialFolder.add(this._materialParams,"alpha").min(0).max(1).step(.01).onChange(e=>{this._material.transparent=e<1,this._material.opacity=e,this._material.depthWrite=e>=1,this._mesh.castShadow=!this._material.transparent,this._shadingChanged()}),this._guiMaterialFolder.add(this._materialParams,"alphaCutoff").min(0).max(1).step(.01).onChange(e=>{this._material.alphaTest=e||0,this._shadingChanged()}),this._guiMaterialFolder.add(this._materialParams,"doubleSided").onChange(e=>{this._material.side=e?DoubleSide:FrontSide,this._shadingChanged()})),this._addGUIListener(e))}_shadingChanged(){this._roomleMaterialViewerUiCallback.onMaterialShadingChanged(getMaterialShading(this._material))}setGeometry(e){this._sceneParams.type=e,this._setGeometry()}_setGeometry(){let e;"cube"===this._sceneParams.type&&(e=new BoxGeometry(1,1,1,100,100,100)),"sphere"===this._sceneParams.type&&(e=new SphereGeometry(.5,100,100)),"plane_horizontal"===this._sceneParams.type&&(e=new PlaneGeometry(1,1),e.rotateX(-Math.PI/2)),"plane_vertical"===this._sceneParams.type&&(e=new PlaneGeometry(1,1)),this._mesh.geometry=e,this._renderEverything()}async changeFloorMaterialById(e){const a=await this._rapiAccess.getMaterial(e);return this._environment&&this._environment instanceof FloorEnvironment||(this._environment=new FloorEnvironment(this._scene,this._environment,!0)),new Promise((e,t)=>{this._environment.changeFloorMaterial(a,this._maxAnisotropy).then(()=>{this._requestRender(),e()},t)})}async addTexture(e,a){const t=100/(0===e.mmWidth?1:e.mmWidth),r=100/(0===e.mmHeight?1:e.mmHeight);if(a){const i=new Image;i.src=a;const s=new Texture;s.image=i,i.onload=function(){s.needsUpdate=!0},addExistingTexture(s,e,this._material,this._maxAnisotropy,t,r,this._renderer.capabilities.maxTextures)}else await addTexture(e.image,e,this._material,this._maxAnisotropy,t,r,this._renderer.capabilities.maxTextures);this._requestRender()}removeTexture(e){"ORM"===e.mapping&&(this._material.aoMap=null,this._material.roughnessMap=null,this._material.metalnessMap=null),"RGB"!==e.mapping&&"RGBA"!==e.mapping||(this._material.map=null),"XYZ"===e.mapping&&(this._material.normalMap=null),this._material.needsUpdate=!0,this._requestRender()}clearCache(){this._configuratorMeshGenerator.clear()}}__decorate([inject],MaterialViewerSceneManager.prototype,"_inputManager",void 0),__decorate([inject],MaterialViewerSceneManager.prototype,"_configuratorMeshGenerator",void 0),__decorate([inject],MaterialViewerSceneManager.prototype,"_roomleMaterialViewerUiCallback",void 0),__decorate([inject],MaterialViewerSceneManager.prototype,"_rapiAccess",void 0);class RoomleMaterialViewer{constructor(e){this._creator_=e}setCameraOffset(e){this._sceneManager.setCameraOffset(e)}getCameraOffset(){return this._sceneManager.getCameraOffset()}init(e){return this._domHelper.setDomElement(e),this._sceneManager?(this._lifeCycleManager.resume(),Promise.resolve()):new Promise(this._initPromiseCallback.bind(this))}_initPromiseCallback(e,a){Promise.all([this._scriptLoader.fetch(TWEEN_FILE_NAME,{id:"tween-js"})]).then(()=>{this._sceneManager=new MaterialViewerSceneManager(this._creator_,{left:0,top:1,right:1,bottom:0}),this._sceneManager.enableHD(),e()})}get callbacks(){return this._roomleMaterialViewerUiCallback}set callbacks(e){this._roomleMaterialViewerUiCallback=e}loadMaterialShading(e){return this._sceneManager.loadMaterialShading(e)}resetMaterial(){this._sceneManager.resetMaterial()}loadMaterial(e,a={}){return a.flushCache&&this._clearCaches(),this._sceneManager.loadMaterial(e)}loadMaterialId(e,a={}){return a.flushCache&&this._clearCaches(),this._sceneManager.loadMaterialId(e)}getMaterialShading(e=1){return this._sceneManager.getMaterialShading(e)}loadSceneSetting(e){return this._sceneManager.loadSceneSettings(e)}setOverrides(e){e&&this._initData.setOverrides(e)}updateSize(){this._sceneManager.updateCamera()}getMain(){}resumeTest(e){this._domHelper.setDomElement(e),this._lifeCycleManager.resume()}pauseTest(){this._lifeCycleManager.pause()}showGUI(){this._sceneManager.showGUI()}async changeFloorMaterialById(e){return this._sceneManager.changeFloorMaterialById(e)}setGeometry(e){this._sceneManager.setGeometry(e)}async addTexture(e,a){return this._sceneManager.addTexture(e,a)}removeTexture(e){return this._sceneManager.removeTexture(e)}_clearCaches(){this._rapiAccess.cleanUp(),this._sceneManager.clearCache()}getScene(){return this._sceneManager.getScene()}updateScene(){this._sceneManager.updateScene()}getUnitFormatter(){return this._unitFormatter}getStorage(){return this._idbManager}setEnvironmentMap(e){const{url:a,intensity:t,rotation:r,maxLightSources:i}=e;this._sceneManager.setEnvironmentMap(a,t,r,i)}}__decorate([inject],RoomleMaterialViewer.prototype,"_domHelper",void 0),__decorate([inject],RoomleMaterialViewer.prototype,"_scriptLoader",void 0),__decorate([inject],RoomleMaterialViewer.prototype,"_lifeCycleManager",void 0),__decorate([inject],RoomleMaterialViewer.prototype,"_roomleMaterialViewerUiCallback",void 0),__decorate([inject],RoomleMaterialViewer.prototype,"_initData",void 0),__decorate([inject],RoomleMaterialViewer.prototype,"_rapiAccess",void 0),__decorate([inject],RoomleMaterialViewer.prototype,"_unitFormatter",void 0),__decorate([inject],RoomleMaterialViewer.prototype,"_idbManager",void 0);const INJECTABLES=[new DependencyInjectionAssignment("script-loader",ScriptLoader),new DependencyInjectionAssignment("logger",Logger),new DependencyInjectionAssignment("input-manager",InputManager,1),new DependencyInjectionAssignment("configurator-mesh-generator",ConfiguratorMeshGenerator),new DependencyInjectionAssignment("rapi-access",RapiAccess),new DependencyInjectionAssignment("roomle-material-viewer-ui-callback",class extends UiCallback{constructor(e){super(e),this.onMaterialShadingChanged=e=>{}}},1)];class MaterialViewer extends Main{setupGlobals(){}setupDependencies(){RoomleDependencyInjection.setup(INJECTABLES),this.lookup("logger",this._context)}cleanUpGlobals(){throw new Error("Method not implemented.")}cleanUpDependencies(){throw new Error("Method not implemented.")}bootFinished(){this._viewer=new RoomleMaterialViewer(this._context),window.RoomleMaterialViewer||(window.RoomleMaterialViewer=this._viewer)}getApi(){return this._viewer}getContextName(){return"material-viewer"}}export{MaterialViewer};
|
|
2
|
-
//# sourceMappingURL=material-viewer-
|
|
1
|
+
import{S as ScriptLoader,M as Main}from"./script-loader-ef092985.js";import{_ as __decorate,i as inject,m as CANVAS_ID,q as DynamicLightSettingLoader,r as PREDEFINED_LIGHTSETTING,Z as MaterialCreator,ay as setMaterial,az as getMaterialShading,a1 as getGUI,aA as addExistingTexture,a0 as addTexture,aB as UiCallback,D as DependencyInjectionAssignment,L as Logger,aw as InputManager,aC as ConfiguratorMeshGenerator,R as RapiAccess,b as RoomleDependencyInjection}from"./roomle-dependency-injection-56db2f22.js";import{b as CameraBehaviour,S as SceneManager,B as BackgroundEnvironment,C as CameraControl3D,F as FloorEnvironment,T as TWEEN_FILE_NAME}from"./camera-behaviour-4d4e7e7c.js";import{aE as CAMERA_TYPE,aP as BoxGeometry,z as Mesh,C as Color,ad as Box3,w as DoubleSide,a as Vector3,a7 as FrontSide,b1 as SphereGeometry,bc as PlaneGeometry,a9 as Texture}from"./main-thread-to-worker-82b32425.js";import"./query-params-helper-68ed40a6.js";class MaterialViewerCameraBehaviour extends CameraBehaviour{get cameraControl(){return this._cameraControl}}class MaterialViewerSceneManager extends SceneManager{constructor(e,a){super(e,a,CANVAS_ID.RMV,CAMERA_TYPE.CAMERA_3D),this._sceneParams={type:"cube"},this._materialParams={color:"#ffffff",metallic:.5,alpha:0,alphaCutoff:0,doubleSided:!1},this._renderer.capabilities.maxTextures>8&&this.loadDynamicLightSetting(DynamicLightSettingLoader.createDynamicLightSettingSource(null,PREDEFINED_LIGHTSETTING.CAMERA)),this._initScene()}_initScene(){const e=new BoxGeometry(1,1,1,100,100,100),a=MaterialCreator.createMeshPhysicalMaterial({color:this._initData.colors.PRIMARY});this._setMaterial(a),this._mesh=new Mesh(e,this._material),this._mesh.castShadow=!0,this._mesh.position.setY(.5),this._scene.add(this._mesh);const{initialFloorMaterial:t}=this._initData;if(t?this.changeFloorMaterialById(t):this._environment=new BackgroundEnvironment(this._scene,null,new Color(16777215)),this.cameraBehaviour.cameraControl instanceof CameraControl3D){const e=new Box3;e.setFromObject(this._mesh),console.trace("reset camera"),this.cameraBehaviour.cameraControl.updateAndReset(e)}this.showGUI()}loadMaterialId(e){return new Promise(a=>{this._configuratorMeshGenerator.loadMaterial(e,1e3,1e3).then(e=>{this._setMaterial(e),this._mesh.material=this._material,this._updateGUI(),this._requestRender(),a()})})}loadMaterial(e){return new Promise(a=>{e.__rapi_path__||(e.__rapi_path__="materials"),this._mesh.material=this._material,this._configuratorMeshGenerator.loadTextures(e,this._material,100,100).then(()=>{this._updateGUI(),this._requestRender()}),a()})}loadMaterialShading(e){return new Promise(a=>{let t={shading:e};this._setMaterial(setMaterial(this._material,t)),this._mesh.material=this._material,this._updateGUI(),this._requestRender(),a()})}resetMaterial(){this._initScene()}_setMaterial(e){this._material=e,this._materialParams.alpha=e.opacity,this._materialParams.alphaCutoff=e.alphaTest,this._materialParams.color="#"+e.color.getHexString(),this._materialParams.doubleSided=e.side===DoubleSide,this._materialParams.metallic=1===e.metalness?1:e.reflectivity}getMaterialShading(e=1){return getMaterialShading(this._material,e)}createCameraControl(e,a){this._changeCameraBehaviour(new MaterialViewerCameraBehaviour(new CameraControl3D(this._creator_,this._getInputManager(),new Vector3(-1,1,1)),this._cameraBehaviourState))}_getInputManager(){return this._inputManager}sceneChanged(){}getBounds(){return this._mesh?(new Box3).setFromObject(this._mesh):null}getGeometryBounds(){return null}_guiLoaded(){this._updateGUI()}_updateGUI(){let e=getGUI();e&&(this._guiGeometryFolder||(this._guiGeometryFolder=e.addFolder("Geometry"),this._guiGeometryFolder.add(this._sceneParams,"type",{Cube:"cube",Sphere:"sphere",PlaneVertical:"plane_vertical",PlaneHorizontal:"plane_horizontal"}).onChange(e=>{this._setGeometry()})),this._material&&(this._guiMaterialFolder&&e.removeFolder(this._guiMaterialFolder),this._guiMaterialFolder=e.addFolder("Material"),this._guiMaterialFolder.addColor(this._materialParams,"color").onChange(e=>{this._material.color=new Color(e),this._shadingChanged()}),this._guiMaterialFolder.add(this._materialParams,"metallic").min(0).max(1).step(.01).onChange(e=>{this._material.metalness=1===e?1:.5,this._material.reflectivity=e||.5,this._shadingChanged()}),this._guiMaterialFolder.add(this._material,"roughness").min(0).max(1).step(.01).onChange(e=>{this._shadingChanged()}),this._guiMaterialFolder.add(this._material,"transmission").min(0).max(1).step(.01).onChange(e=>{this._material.transmission=e,e>0&&(this._material.opacity=1,this._material.alphaTest=.5,this._material.depthWrite=!1,this._material.transparent=!0,this._material.metalness=0),this._mesh.castShadow=!this._material.transparent,this._shadingChanged()}),this._guiMaterialFolder.add(this._materialParams,"alpha").min(0).max(1).step(.01).onChange(e=>{this._material.transparent=e<1,this._material.opacity=e,this._material.depthWrite=e>=1,this._mesh.castShadow=!this._material.transparent,this._shadingChanged()}),this._guiMaterialFolder.add(this._materialParams,"alphaCutoff").min(0).max(1).step(.01).onChange(e=>{this._material.alphaTest=e||0,this._shadingChanged()}),this._guiMaterialFolder.add(this._materialParams,"doubleSided").onChange(e=>{this._material.side=e?DoubleSide:FrontSide,this._shadingChanged()})),this._addGUIListener(e))}_shadingChanged(){this._roomleMaterialViewerUiCallback.onMaterialShadingChanged(getMaterialShading(this._material))}setGeometry(e){this._sceneParams.type=e,this._setGeometry()}_setGeometry(){let e;"cube"===this._sceneParams.type&&(e=new BoxGeometry(1,1,1,100,100,100)),"sphere"===this._sceneParams.type&&(e=new SphereGeometry(.5,100,100)),"plane_horizontal"===this._sceneParams.type&&(e=new PlaneGeometry(1,1),e.rotateX(-Math.PI/2)),"plane_vertical"===this._sceneParams.type&&(e=new PlaneGeometry(1,1)),this._mesh.geometry=e,this._renderEverything()}async changeFloorMaterialById(e){const a=await this._rapiAccess.getMaterial(e);return this._environment&&this._environment instanceof FloorEnvironment||(this._environment=new FloorEnvironment(this._scene,this._environment,!0)),new Promise((e,t)=>{this._environment.changeFloorMaterial(a,this._maxAnisotropy).then(()=>{this._requestRender(),e()},t)})}async addTexture(e,a){const t=100/(0===e.mmWidth?1:e.mmWidth),r=100/(0===e.mmHeight?1:e.mmHeight);if(a){const i=new Image;i.src=a;const s=new Texture;s.image=i,i.onload=function(){s.needsUpdate=!0},addExistingTexture(s,e,this._material,this._maxAnisotropy,t,r,this._renderer.capabilities.maxTextures)}else await addTexture(e.image,e,this._material,this._maxAnisotropy,t,r,this._renderer.capabilities.maxTextures);this._requestRender()}removeTexture(e){"ORM"===e.mapping&&(this._material.aoMap=null,this._material.roughnessMap=null,this._material.metalnessMap=null),"RGB"!==e.mapping&&"RGBA"!==e.mapping||(this._material.map=null),"XYZ"===e.mapping&&(this._material.normalMap=null),this._material.needsUpdate=!0,this._requestRender()}clearCache(){this._configuratorMeshGenerator.clear()}}__decorate([inject],MaterialViewerSceneManager.prototype,"_inputManager",void 0),__decorate([inject],MaterialViewerSceneManager.prototype,"_configuratorMeshGenerator",void 0),__decorate([inject],MaterialViewerSceneManager.prototype,"_roomleMaterialViewerUiCallback",void 0),__decorate([inject],MaterialViewerSceneManager.prototype,"_rapiAccess",void 0);class RoomleMaterialViewer{constructor(e){this._creator_=e}setCameraOffset(e){this._sceneManager.setCameraOffset(e)}getCameraOffset(){return this._sceneManager.getCameraOffset()}init(e){return this._domHelper.setDomElement(e),this._sceneManager?(this._lifeCycleManager.resume(),Promise.resolve()):new Promise(this._initPromiseCallback.bind(this))}_initPromiseCallback(e,a){Promise.all([this._scriptLoader.fetch(TWEEN_FILE_NAME,{id:"tween-js"})]).then(()=>{this._sceneManager=new MaterialViewerSceneManager(this._creator_,{left:0,top:1,right:1,bottom:0}),this._sceneManager.enableHD(),e()})}get callbacks(){return this._roomleMaterialViewerUiCallback}set callbacks(e){this._roomleMaterialViewerUiCallback=e}loadMaterialShading(e){return this._sceneManager.loadMaterialShading(e)}resetMaterial(){this._sceneManager.resetMaterial()}loadMaterial(e,a={}){return a.flushCache&&this._clearCaches(),this._sceneManager.loadMaterial(e)}loadMaterialId(e,a={}){return a.flushCache&&this._clearCaches(),this._sceneManager.loadMaterialId(e)}getMaterialShading(e=1){return this._sceneManager.getMaterialShading(e)}loadSceneSetting(e){return this._sceneManager.loadSceneSettings(e)}setOverrides(e){e&&this._initData.setOverrides(e)}updateSize(){this._sceneManager.updateCamera()}getMain(){}resumeTest(e){this._domHelper.setDomElement(e),this._lifeCycleManager.resume()}pauseTest(){this._lifeCycleManager.pause()}showGUI(){this._sceneManager.showGUI()}async changeFloorMaterialById(e){return this._sceneManager.changeFloorMaterialById(e)}setGeometry(e){this._sceneManager.setGeometry(e)}async addTexture(e,a){return this._sceneManager.addTexture(e,a)}removeTexture(e){return this._sceneManager.removeTexture(e)}_clearCaches(){this._rapiAccess.cleanUp(),this._sceneManager.clearCache()}getScene(){return this._sceneManager.getScene()}updateScene(){this._sceneManager.updateScene()}getUnitFormatter(){return this._unitFormatter}getStorage(){return this._idbManager}setEnvironmentMap(e){const{url:a,intensity:t,rotation:r,maxLightSources:i}=e;this._sceneManager.setEnvironmentMap(a,t,r,i)}}__decorate([inject],RoomleMaterialViewer.prototype,"_domHelper",void 0),__decorate([inject],RoomleMaterialViewer.prototype,"_scriptLoader",void 0),__decorate([inject],RoomleMaterialViewer.prototype,"_lifeCycleManager",void 0),__decorate([inject],RoomleMaterialViewer.prototype,"_roomleMaterialViewerUiCallback",void 0),__decorate([inject],RoomleMaterialViewer.prototype,"_initData",void 0),__decorate([inject],RoomleMaterialViewer.prototype,"_rapiAccess",void 0),__decorate([inject],RoomleMaterialViewer.prototype,"_unitFormatter",void 0),__decorate([inject],RoomleMaterialViewer.prototype,"_idbManager",void 0);const INJECTABLES=[new DependencyInjectionAssignment("script-loader",ScriptLoader),new DependencyInjectionAssignment("logger",Logger),new DependencyInjectionAssignment("input-manager",InputManager,1),new DependencyInjectionAssignment("configurator-mesh-generator",ConfiguratorMeshGenerator),new DependencyInjectionAssignment("rapi-access",RapiAccess),new DependencyInjectionAssignment("roomle-material-viewer-ui-callback",class extends UiCallback{constructor(e){super(e),this.onMaterialShadingChanged=e=>{}}},1)];class MaterialViewer extends Main{setupGlobals(){}setupDependencies(){RoomleDependencyInjection.setup(INJECTABLES),this.lookup("logger",this._context)}cleanUpGlobals(){throw new Error("Method not implemented.")}cleanUpDependencies(){throw new Error("Method not implemented.")}bootFinished(){this._viewer=new RoomleMaterialViewer(this._context),window.RoomleMaterialViewer||(window.RoomleMaterialViewer=this._viewer)}getApi(){return this._viewer}getContextName(){return"material-viewer"}}export{MaterialViewer};
|
|
2
|
+
//# sourceMappingURL=material-viewer-8b817d3e.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"material-viewer-8b817d3e.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{MaterialViewer}from"./material-viewer-8b817d3e.js";import"./script-loader-ef092985.js";import"./query-params-helper-68ed40a6.js";import"./main-thread-to-worker-82b32425.js";import"./roomle-dependency-injection-56db2f22.js";import"./camera-behaviour-4d4e7e7c.js";(new MaterialViewer).boot();
|
|
2
|
+
//# sourceMappingURL=material-viewer-main-d05716e9.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"material-viewer-main-d05716e9.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
System.register(["./material-viewer-
|
|
1
|
+
System.register(["./material-viewer-3271df96.nomodule.js","./script-loader-98a17bbb.nomodule.js","./query-params-helper-712890e0.nomodule.js","./main-thread-to-worker-ff04af1e.nomodule.js","./roomle-dependency-injection-c12e4c00.nomodule.js","./camera-behaviour-1b0b7853.nomodule.js"],(function(){var e;return{setters:[function(n){e=n.MaterialViewer},function(){},function(){},function(){},function(){},function(){}],execute:function(){(new e).boot()}}}));
|
|
2
2
|
//# sourceMappingURL=material-viewer-main.nomodule.js.map
|