eptium
Advanced tools
| { | ||
| "load_extensions": { | ||
| "eptium/extension": true | ||
| } | ||
| } |
| { | ||
| "packageManager": "python", | ||
| "packageName": "eptium", | ||
| "uninstallInstructions": "Use your Python package manager (pip, conda, etc.) to uninstall the package eptium" | ||
| } |
| { | ||
| "name": "eptium", | ||
| "version": "0.1.0", | ||
| "description": "A jupyter widget to display COPC and COGS data from Eptium.", | ||
| "keywords": [ | ||
| "jupyter", | ||
| "jupyterlab", | ||
| "jupyterlab-extension", | ||
| "widgets" | ||
| ], | ||
| "files": [ | ||
| "lib/**/*.js", | ||
| "dist/*.js", | ||
| "css/*.css" | ||
| ], | ||
| "homepage": "https://github.com/hobuinc/eptium-python", | ||
| "bugs": { | ||
| "url": "https://github.com/hobuinc/eptium-python/issues" | ||
| }, | ||
| "license": "BSD-3-Clause", | ||
| "author": { | ||
| "name": "Ognyan Moore", | ||
| "email": "ogi@hobu.co" | ||
| }, | ||
| "main": "lib/index.js", | ||
| "types": "./lib/index.d.ts", | ||
| "repository": { | ||
| "type": "git", | ||
| "url": "https://github.com/hobuinc/eptium-python" | ||
| }, | ||
| "scripts": { | ||
| "build": "jlpm run build:lib && jlpm run build:nbextension && jlpm run build:labextension:dev", | ||
| "build:prod": "jlpm run build:lib && jlpm run build:nbextension && jlpm run build:labextension", | ||
| "build:labextension": "jupyter labextension build .", | ||
| "build:labextension:dev": "jupyter labextension build --development True .", | ||
| "build:lib": "tsc", | ||
| "build:nbextension": "webpack", | ||
| "clean": "jlpm run clean:lib && jlpm run clean:nbextension && jlpm run clean:labextension", | ||
| "clean:lib": "rimraf lib", | ||
| "clean:labextension": "rimraf eptium/labextension", | ||
| "clean:nbextension": "rimraf eptium/nbextension/static/index.js", | ||
| "lint": "eslint . --ext .ts,.tsx --fix", | ||
| "lint:check": "eslint . --ext .ts,.tsx", | ||
| "prepack": "jlpm run build:lib", | ||
| "test": "jest", | ||
| "watch": "npm-run-all -p watch:*", | ||
| "watch:lib": "tsc -w", | ||
| "watch:nbextension": "webpack --watch --mode=development", | ||
| "watch:labextension": "jupyter labextension watch ." | ||
| }, | ||
| "dependencies": { | ||
| "@jupyter-widgets/base": "^1.1.10 || ^2 || ^3 || ^4 || ^5 || ^6" | ||
| }, | ||
| "devDependencies": { | ||
| "@babel/core": "^7.23.7", | ||
| "@babel/preset-env": "^7.23.8", | ||
| "@jupyter-widgets/base-manager": "^1.0.7", | ||
| "@jupyterlab/builder": "^4.0.11", | ||
| "@lumino/application": "^2.3.0", | ||
| "@lumino/widgets": "^2.3.1", | ||
| "@types/jest": "^29.5.11", | ||
| "@types/webpack-env": "^1.18.4", | ||
| "@typescript-eslint/eslint-plugin": "^6.19.1", | ||
| "@typescript-eslint/parser": "^6.19.1", | ||
| "acorn": "^8.11.3", | ||
| "css-loader": "^6.9.1", | ||
| "eslint": "^8.56.0", | ||
| "eslint-config-prettier": "^9.1.0", | ||
| "eslint-plugin-prettier": "^5.1.3", | ||
| "fs-extra": "^11.2.0", | ||
| "identity-obj-proxy": "^3.0.0", | ||
| "jest": "^29.7.0", | ||
| "mkdirp": "^3.0.1", | ||
| "npm-run-all": "^4.1.5", | ||
| "prettier": "^3.2.4", | ||
| "rimraf": "^5.0.5", | ||
| "source-map-loader": "^5.0.0", | ||
| "style-loader": "^3.3.4", | ||
| "ts-jest": "^29.1.2", | ||
| "ts-loader": "^9.5.1", | ||
| "typescript": "~5.3.3", | ||
| "webpack": "^5.90.0", | ||
| "webpack-cli": "^5.1.4" | ||
| }, | ||
| "devDependenciesComments": { | ||
| "@jupyterlab/builder": "pinned to the latest JupyterLab 3.x release", | ||
| "@lumino/application": "pinned to the latest Lumino 1.x release", | ||
| "@lumino/widgets": "pinned to the latest Lumino 1.x release" | ||
| }, | ||
| "jupyterlab": { | ||
| "extension": "lib/plugin", | ||
| "outputDir": "eptium/labextension/", | ||
| "sharedPackages": { | ||
| "@jupyter-widgets/base": { | ||
| "bundled": false, | ||
| "singleton": true | ||
| } | ||
| }, | ||
| "_build": { | ||
| "load": "static/remoteEntry.1ea837417202a59c855e.js", | ||
| "extension": "./extension" | ||
| } | ||
| }, | ||
| "packageManager": "yarn@4.5.3" | ||
| } |
| "use strict";(self.webpackChunkeptium=self.webpackChunkeptium||[]).push([[122],{122:function(e,t,n){var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,i,r)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&i(t,e,n);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0});const s=n(983),a=o(n(266)),l=n(797),u={id:"eptium:plugin",requires:[s.IJupyterWidgetRegistry],activate:function(e,t){t.registerWidget({name:l.MODULE_NAME,version:l.MODULE_VERSION,exports:a})},autoStart:!0};t.default=u},797:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.MODULE_NAME=t.MODULE_VERSION=void 0;const i=n(330);t.MODULE_VERSION=i.version,t.MODULE_NAME=i.name},266:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.EptiumView=t.EptiumModel=void 0;const i=n(983),r=n(797);n(463);class o extends i.DOMWidgetModel{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:o.model_name,_model_module:o.model_module,_model_module_version:o.model_module_version,_view_name:o.view_name,_view_module:o.view_module,_view_module_version:o.view_module_version,src:"https://viewer.copc.io"})}}t.EptiumModel=o,o.serializers=Object.assign({},i.DOMWidgetModel.serializers),o.model_name="EptiumModel",o.model_module=r.MODULE_NAME,o.model_module_version=r.MODULE_VERSION,o.view_name="EptiumView",o.view_module=r.MODULE_NAME,o.view_module_version=r.MODULE_VERSION;class s extends i.DOMWidgetView{render(){this._iframe=document.createElement("iframe"),this._iframe.width="100%",this._iframe.height="400",this._iframe.style.boxSizing="border-box",this.el.appendChild(this._iframe),this._onSrcChanged(),this.model.on("change:src",this._onSrcChanged,this)}_onSrcChanged(){const e=this.model.get("src");this.model.widget_manager.resolveUrl(e).then((e=>{this._iframe.src=e}))}}t.EptiumView=s},930:(e,t,n)=>{n.d(t,{A:()=>a});var i=n(601),r=n.n(i),o=n(314),s=n.n(o)()(r());s.push([e.id,".custom-widget {\n background-color: lightseagreen;\n padding: 0px 2px;\n}\n",""]);const a=s},314:e=>{e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",i=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),i&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),i&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,i,r,o){"string"==typeof e&&(e=[[null,e,void 0]]);var s={};if(i)for(var a=0;a<this.length;a++){var l=this[a][0];null!=l&&(s[l]=!0)}for(var u=0;u<e.length;u++){var c=[].concat(e[u]);i&&s[c[0]]||(void 0!==o&&(void 0===c[5]||(c[1]="@layer".concat(c[5].length>0?" ".concat(c[5]):""," {").concat(c[1],"}")),c[5]=o),n&&(c[2]?(c[1]="@media ".concat(c[2]," {").concat(c[1],"}"),c[2]=n):c[2]=n),r&&(c[4]?(c[1]="@supports (".concat(c[4],") {").concat(c[1],"}"),c[4]=r):c[4]="".concat(r)),t.push(c))}},t}},601:e=>{e.exports=function(e){return e[1]}},463:(e,t,n)=>{n.r(t),n.d(t,{default:()=>v});var i=n(72),r=n.n(i),o=n(825),s=n.n(o),a=n(659),l=n.n(a),u=n(56),c=n.n(u),d=n(540),p=n.n(d),m=n(113),b=n.n(m),f=n(930),h={};h.styleTagTransform=b(),h.setAttributes=c(),h.insert=l().bind(null,"head"),h.domAPI=s(),h.insertStyleElement=p(),r()(f.A,h);const v=f.A&&f.A.locals?f.A.locals:void 0},72:e=>{var t=[];function n(e){for(var n=-1,i=0;i<t.length;i++)if(t[i].identifier===e){n=i;break}return n}function i(e,i){for(var o={},s=[],a=0;a<e.length;a++){var l=e[a],u=i.base?l[0]+i.base:l[0],c=o[u]||0,d="".concat(u," ").concat(c);o[u]=c+1;var p=n(d),m={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==p)t[p].references++,t[p].updater(m);else{var b=r(m,i);i.byIndex=a,t.splice(a,0,{identifier:d,updater:b,references:1})}s.push(d)}return s}function r(e,t){var n=t.domAPI(t);return n.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,r){var o=i(e=e||[],r=r||{});return function(e){e=e||[];for(var s=0;s<o.length;s++){var a=n(o[s]);t[a].references--}for(var l=i(e,r),u=0;u<o.length;u++){var c=n(o[u]);0===t[c].references&&(t[c].updater(),t.splice(c,1))}o=l}}},659:e=>{var t={};e.exports=function(e,n){var i=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(n)}},540:e=>{e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},56:(e,t,n)=>{e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},825:e=>{e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var i="";n.supports&&(i+="@supports (".concat(n.supports,") {")),n.media&&(i+="@media ".concat(n.media," {"));var r=void 0!==n.layer;r&&(i+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),i+=n.css,r&&(i+="}"),n.media&&(i+="}"),n.supports&&(i+="}");var o=n.sourceMap;o&&"undefined"!=typeof btoa&&(i+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),t.styleTagTransform(i,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},113:e=>{e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},330:e=>{e.exports=JSON.parse('{"name":"eptium","version":"0.1.0","description":"A jupyter widget to display COPC and COGS data from Eptium.","keywords":["jupyter","jupyterlab","jupyterlab-extension","widgets"],"files":["lib/**/*.js","dist/*.js","css/*.css"],"homepage":"https://github.com/hobuinc/eptium-python","bugs":{"url":"https://github.com/hobuinc/eptium-python/issues"},"license":"BSD-3-Clause","author":{"name":"Ognyan Moore","email":"ogi@hobu.co"},"main":"lib/index.js","types":"./lib/index.d.ts","repository":{"type":"git","url":"https://github.com/hobuinc/eptium-python"},"scripts":{"build":"jlpm run build:lib && jlpm run build:nbextension && jlpm run build:labextension:dev","build:prod":"jlpm run build:lib && jlpm run build:nbextension && jlpm run build:labextension","build:labextension":"jupyter labextension build .","build:labextension:dev":"jupyter labextension build --development True .","build:lib":"tsc","build:nbextension":"webpack","clean":"jlpm run clean:lib && jlpm run clean:nbextension && jlpm run clean:labextension","clean:lib":"rimraf lib","clean:labextension":"rimraf eptium/labextension","clean:nbextension":"rimraf eptium/nbextension/static/index.js","lint":"eslint . --ext .ts,.tsx --fix","lint:check":"eslint . --ext .ts,.tsx","prepack":"jlpm run build:lib","test":"jest","watch":"npm-run-all -p watch:*","watch:lib":"tsc -w","watch:nbextension":"webpack --watch --mode=development","watch:labextension":"jupyter labextension watch ."},"dependencies":{"@jupyter-widgets/base":"^1.1.10 || ^2 || ^3 || ^4 || ^5 || ^6"},"devDependencies":{"@babel/core":"^7.23.7","@babel/preset-env":"^7.23.8","@jupyter-widgets/base-manager":"^1.0.7","@jupyterlab/builder":"^4.0.11","@lumino/application":"^2.3.0","@lumino/widgets":"^2.3.1","@types/jest":"^29.5.11","@types/webpack-env":"^1.18.4","@typescript-eslint/eslint-plugin":"^6.19.1","@typescript-eslint/parser":"^6.19.1","acorn":"^8.11.3","css-loader":"^6.9.1","eslint":"^8.56.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.1.3","fs-extra":"^11.2.0","identity-obj-proxy":"^3.0.0","jest":"^29.7.0","mkdirp":"^3.0.1","npm-run-all":"^4.1.5","prettier":"^3.2.4","rimraf":"^5.0.5","source-map-loader":"^5.0.0","style-loader":"^3.3.4","ts-jest":"^29.1.2","ts-loader":"^9.5.1","typescript":"~5.3.3","webpack":"^5.90.0","webpack-cli":"^5.1.4"},"devDependenciesComments":{"@jupyterlab/builder":"pinned to the latest JupyterLab 3.x release","@lumino/application":"pinned to the latest Lumino 1.x release","@lumino/widgets":"pinned to the latest Lumino 1.x release"},"jupyterlab":{"extension":"lib/plugin","outputDir":"eptium/labextension/","sharedPackages":{"@jupyter-widgets/base":{"bundled":false,"singleton":true}}},"packageManager":"yarn@4.5.3"}')}}]); |
| "use strict";(self.webpackChunkeptium=self.webpackChunkeptium||[]).push([[509],{509:function(e,t,n){var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,i,r)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(797),t),r(n(266),t)},797:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.MODULE_NAME=t.MODULE_VERSION=void 0;const i=n(330);t.MODULE_VERSION=i.version,t.MODULE_NAME=i.name},266:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.EptiumView=t.EptiumModel=void 0;const i=n(983),r=n(797);n(463);class o extends i.DOMWidgetModel{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:o.model_name,_model_module:o.model_module,_model_module_version:o.model_module_version,_view_name:o.view_name,_view_module:o.view_module,_view_module_version:o.view_module_version,src:"https://viewer.copc.io"})}}t.EptiumModel=o,o.serializers=Object.assign({},i.DOMWidgetModel.serializers),o.model_name="EptiumModel",o.model_module=r.MODULE_NAME,o.model_module_version=r.MODULE_VERSION,o.view_name="EptiumView",o.view_module=r.MODULE_NAME,o.view_module_version=r.MODULE_VERSION;class s extends i.DOMWidgetView{render(){this._iframe=document.createElement("iframe"),this._iframe.width="100%",this._iframe.height="400",this._iframe.style.boxSizing="border-box",this.el.appendChild(this._iframe),this._onSrcChanged(),this.model.on("change:src",this._onSrcChanged,this)}_onSrcChanged(){const e=this.model.get("src");this.model.widget_manager.resolveUrl(e).then((e=>{this._iframe.src=e}))}}t.EptiumView=s},930:(e,t,n)=>{n.d(t,{A:()=>a});var i=n(601),r=n.n(i),o=n(314),s=n.n(o)()(r());s.push([e.id,".custom-widget {\n background-color: lightseagreen;\n padding: 0px 2px;\n}\n",""]);const a=s},314:e=>{e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",i=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),i&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),i&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,i,r,o){"string"==typeof e&&(e=[[null,e,void 0]]);var s={};if(i)for(var a=0;a<this.length;a++){var l=this[a][0];null!=l&&(s[l]=!0)}for(var u=0;u<e.length;u++){var c=[].concat(e[u]);i&&s[c[0]]||(void 0!==o&&(void 0===c[5]||(c[1]="@layer".concat(c[5].length>0?" ".concat(c[5]):""," {").concat(c[1],"}")),c[5]=o),n&&(c[2]?(c[1]="@media ".concat(c[2]," {").concat(c[1],"}"),c[2]=n):c[2]=n),r&&(c[4]?(c[1]="@supports (".concat(c[4],") {").concat(c[1],"}"),c[4]=r):c[4]="".concat(r)),t.push(c))}},t}},601:e=>{e.exports=function(e){return e[1]}},463:(e,t,n)=>{n.r(t),n.d(t,{default:()=>v});var i=n(72),r=n.n(i),o=n(825),s=n.n(o),a=n(659),l=n.n(a),u=n(56),c=n.n(u),d=n(540),p=n.n(d),m=n(113),b=n.n(m),f=n(930),h={};h.styleTagTransform=b(),h.setAttributes=c(),h.insert=l().bind(null,"head"),h.domAPI=s(),h.insertStyleElement=p(),r()(f.A,h);const v=f.A&&f.A.locals?f.A.locals:void 0},72:e=>{var t=[];function n(e){for(var n=-1,i=0;i<t.length;i++)if(t[i].identifier===e){n=i;break}return n}function i(e,i){for(var o={},s=[],a=0;a<e.length;a++){var l=e[a],u=i.base?l[0]+i.base:l[0],c=o[u]||0,d="".concat(u," ").concat(c);o[u]=c+1;var p=n(d),m={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==p)t[p].references++,t[p].updater(m);else{var b=r(m,i);i.byIndex=a,t.splice(a,0,{identifier:d,updater:b,references:1})}s.push(d)}return s}function r(e,t){var n=t.domAPI(t);return n.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,r){var o=i(e=e||[],r=r||{});return function(e){e=e||[];for(var s=0;s<o.length;s++){var a=n(o[s]);t[a].references--}for(var l=i(e,r),u=0;u<o.length;u++){var c=n(o[u]);0===t[c].references&&(t[c].updater(),t.splice(c,1))}o=l}}},659:e=>{var t={};e.exports=function(e,n){var i=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(n)}},540:e=>{e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},56:(e,t,n)=>{e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},825:e=>{e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var i="";n.supports&&(i+="@supports (".concat(n.supports,") {")),n.media&&(i+="@media ".concat(n.media," {"));var r=void 0!==n.layer;r&&(i+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),i+=n.css,r&&(i+="}"),n.media&&(i+="}"),n.supports&&(i+="}");var o=n.sourceMap;o&&"undefined"!=typeof btoa&&(i+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),t.styleTagTransform(i,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},113:e=>{e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},330:e=>{e.exports=JSON.parse('{"name":"eptium","version":"0.1.0","description":"A jupyter widget to display COPC and COGS data from Eptium.","keywords":["jupyter","jupyterlab","jupyterlab-extension","widgets"],"files":["lib/**/*.js","dist/*.js","css/*.css"],"homepage":"https://github.com/hobuinc/eptium-python","bugs":{"url":"https://github.com/hobuinc/eptium-python/issues"},"license":"BSD-3-Clause","author":{"name":"Ognyan Moore","email":"ogi@hobu.co"},"main":"lib/index.js","types":"./lib/index.d.ts","repository":{"type":"git","url":"https://github.com/hobuinc/eptium-python"},"scripts":{"build":"jlpm run build:lib && jlpm run build:nbextension && jlpm run build:labextension:dev","build:prod":"jlpm run build:lib && jlpm run build:nbextension && jlpm run build:labextension","build:labextension":"jupyter labextension build .","build:labextension:dev":"jupyter labextension build --development True .","build:lib":"tsc","build:nbextension":"webpack","clean":"jlpm run clean:lib && jlpm run clean:nbextension && jlpm run clean:labextension","clean:lib":"rimraf lib","clean:labextension":"rimraf eptium/labextension","clean:nbextension":"rimraf eptium/nbextension/static/index.js","lint":"eslint . --ext .ts,.tsx --fix","lint:check":"eslint . --ext .ts,.tsx","prepack":"jlpm run build:lib","test":"jest","watch":"npm-run-all -p watch:*","watch:lib":"tsc -w","watch:nbextension":"webpack --watch --mode=development","watch:labextension":"jupyter labextension watch ."},"dependencies":{"@jupyter-widgets/base":"^1.1.10 || ^2 || ^3 || ^4 || ^5 || ^6"},"devDependencies":{"@babel/core":"^7.23.7","@babel/preset-env":"^7.23.8","@jupyter-widgets/base-manager":"^1.0.7","@jupyterlab/builder":"^4.0.11","@lumino/application":"^2.3.0","@lumino/widgets":"^2.3.1","@types/jest":"^29.5.11","@types/webpack-env":"^1.18.4","@typescript-eslint/eslint-plugin":"^6.19.1","@typescript-eslint/parser":"^6.19.1","acorn":"^8.11.3","css-loader":"^6.9.1","eslint":"^8.56.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.1.3","fs-extra":"^11.2.0","identity-obj-proxy":"^3.0.0","jest":"^29.7.0","mkdirp":"^3.0.1","npm-run-all":"^4.1.5","prettier":"^3.2.4","rimraf":"^5.0.5","source-map-loader":"^5.0.0","style-loader":"^3.3.4","ts-jest":"^29.1.2","ts-loader":"^9.5.1","typescript":"~5.3.3","webpack":"^5.90.0","webpack-cli":"^5.1.4"},"devDependenciesComments":{"@jupyterlab/builder":"pinned to the latest JupyterLab 3.x release","@lumino/application":"pinned to the latest Lumino 1.x release","@lumino/widgets":"pinned to the latest Lumino 1.x release"},"jupyterlab":{"extension":"lib/plugin","outputDir":"eptium/labextension/","sharedPackages":{"@jupyter-widgets/base":{"bundled":false,"singleton":true}}},"packageManager":"yarn@4.5.3"}')}}]); |
| var _JUPYTERLAB;(()=>{"use strict";var e,r,t,n,o,i,a,u,l,s,f,p,d,c,h,v,m,g,b,y={885:(e,r,t)=>{var n={"./index":()=>Promise.all([t.e(983),t.e(509)]).then((()=>()=>t(509))),"./extension":()=>Promise.all([t.e(983),t.e(122)]).then((()=>()=>t(122)))},o=(e,r)=>(t.R=r,r=t.o(n,e)?n[e]():Promise.resolve().then((()=>{throw new Error('Module "'+e+'" does not exist in container.')})),t.R=void 0,r),i=(e,r)=>{if(t.S){var n="default",o=t.S[n];if(o&&o!==e)throw new Error("Container initialization failed as it has already been initialized with a different share scope");return t.S[n]=e,t.I(n,r)}};t.d(r,{get:()=>o,init:()=>i})}},w={};function S(e){var r=w[e];if(void 0!==r)return r.exports;var t=w[e]={id:e,exports:{}};return y[e].call(t.exports,t,t.exports,S),t.exports}S.m=y,S.c=w,S.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return S.d(r,{a:r}),r},S.d=(e,r)=>{for(var t in r)S.o(r,t)&&!S.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},S.f={},S.e=e=>Promise.all(Object.keys(S.f).reduce(((r,t)=>(S.f[t](e,r),r)),[])),S.u=e=>e+"."+{122:"ec9c20012ecc03a0e408",509:"322e9f5860af219b301b"}[e]+".js?v="+{122:"ec9c20012ecc03a0e408",509:"322e9f5860af219b301b"}[e],S.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),S.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),e={},r="eptium:",S.l=(t,n,o,i)=>{if(e[t])e[t].push(n);else{var a,u;if(void 0!==o)for(var l=document.getElementsByTagName("script"),s=0;s<l.length;s++){var f=l[s];if(f.getAttribute("src")==t||f.getAttribute("data-webpack")==r+o){a=f;break}}a||(u=!0,(a=document.createElement("script")).charset="utf-8",a.timeout=120,S.nc&&a.setAttribute("nonce",S.nc),a.setAttribute("data-webpack",r+o),a.src=t),e[t]=[n];var p=(r,n)=>{a.onerror=a.onload=null,clearTimeout(d);var o=e[t];if(delete e[t],a.parentNode&&a.parentNode.removeChild(a),o&&o.forEach((e=>e(n))),r)return r(n)},d=setTimeout(p.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=p.bind(null,a.onerror),a.onload=p.bind(null,a.onload),u&&document.head.appendChild(a)}},S.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{S.S={};var e={},r={};S.I=(t,n)=>{n||(n=[]);var o=r[t];if(o||(o=r[t]={}),!(n.indexOf(o)>=0)){if(n.push(o),e[t])return e[t];S.o(S.S,t)||(S.S[t]={});var i=S.S[t],a="eptium",u=[];return"default"===t&&((e,r,t,n)=>{var o=i[e]=i[e]||{},u=o[r];(!u||!u.loaded&&(1!=!u.eager?n:a>u.from))&&(o[r]={get:()=>Promise.all([S.e(983),S.e(509)]).then((()=>()=>S(509))),from:a,eager:!1})})("eptium","0.1.0"),e[t]=u.length?Promise.all(u).then((()=>e[t]=1)):1}}})(),(()=>{var e;S.g.importScripts&&(e=S.g.location+"");var r=S.g.document;if(!e&&r&&(r.currentScript&&"SCRIPT"===r.currentScript.tagName.toUpperCase()&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName("script");if(t.length)for(var n=t.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=t[n--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),S.p=e})(),t=e=>{var r=e=>e.split(".").map((e=>+e==e?+e:e)),t=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),n=t[1]?r(t[1]):[];return t[2]&&(n.length++,n.push.apply(n,r(t[2]))),t[3]&&(n.push([]),n.push.apply(n,r(t[3]))),n},n=(e,r)=>{e=t(e),r=t(r);for(var n=0;;){if(n>=e.length)return n<r.length&&"u"!=(typeof r[n])[0];var o=e[n],i=(typeof o)[0];if(n>=r.length)return"u"==i;var a=r[n],u=(typeof a)[0];if(i!=u)return"o"==i&&"n"==u||"s"==u||"u"==i;if("o"!=i&&"u"!=i&&o!=a)return o<a;n++}},o=e=>{var r=e[0],t="";if(1===e.length)return"*";if(r+.5){t+=0==r?">=":-1==r?"<":1==r?"^":2==r?"~":r>0?"=":"!=";for(var n=1,i=1;i<e.length;i++)n--,t+="u"==(typeof(u=e[i]))[0]?"-":(n>0?".":"")+(n=2,u);return t}var a=[];for(i=1;i<e.length;i++){var u=e[i];a.push(0===u?"not("+l()+")":1===u?"("+l()+" || "+l()+")":2===u?a.pop()+" "+a.pop():o(u))}return l();function l(){return a.pop().replace(/^\((.+)\)$/,"$1")}},i=(e,r)=>{if(0 in e){r=t(r);var n=e[0],o=n<0;o&&(n=-n-1);for(var a=0,u=1,l=!0;;u++,a++){var s,f,p=u<e.length?(typeof e[u])[0]:"";if(a>=r.length||"o"==(f=(typeof(s=r[a]))[0]))return!l||("u"==p?u>n&&!o:""==p!=o);if("u"==f){if(!l||"u"!=p)return!1}else if(l)if(p==f)if(u<=n){if(s!=e[u])return!1}else{if(o?s>e[u]:s<e[u])return!1;s!=e[u]&&(l=!1)}else if("s"!=p&&"n"!=p){if(o||u<=n)return!1;l=!1,u--}else{if(u<=n||f<p!=o)return!1;l=!1}else"s"!=p&&"n"!=p&&(l=!1,u--)}}var d=[],c=d.pop.bind(d);for(a=1;a<e.length;a++){var h=e[a];d.push(1==h?c()|c():2==h?c()&c():h?i(h,r):!c())}return!!c()},a=(e,r)=>e&&S.o(e,r),u=e=>(e.loaded=1,e.get()),l=e=>Object.keys(e).reduce(((r,t)=>(e[t].eager&&(r[t]=e[t]),r)),{}),s=(e,r,t)=>{var o=t?l(e[r]):e[r];return Object.keys(o).reduce(((e,r)=>!e||!o[e].loaded&&n(e,r)?r:e),0)},f=(e,r,t,n)=>"Unsatisfied version "+t+" from "+(t&&e[r][t].from)+" of shared singleton module "+r+" (required "+o(n)+")",p=e=>{throw new Error(e)},d=e=>{"undefined"!=typeof console&&console.warn&&console.warn(e)},c=(e,r,t)=>t?t():((e,r)=>p("Shared module "+r+" doesn't exist in shared scope "+e))(e,r),h=(e=>function(r,t,n,o,i){var a=S.I(r);return a&&a.then&&!n?a.then(e.bind(e,r,S.S[r],t,!1,o,i)):e(r,S.S[r],t,n,o,i)})(((e,r,t,n,o,l)=>{if(!a(r,t))return c(e,t,l);var p=s(r,t,n);return i(o,p)||d(f(r,t,p,o)),u(r[t][p])})),v={},m={983:()=>h("default","@jupyter-widgets/base",!1,[,[1,6],[1,5],[1,4],[1,3],[1,2],[1,1,1,10],1,1,1,1,1])},g={983:[983]},b={},S.f.consumes=(e,r)=>{S.o(g,e)&&g[e].forEach((e=>{if(S.o(v,e))return r.push(v[e]);if(!b[e]){var t=r=>{v[e]=0,S.m[e]=t=>{delete S.c[e],t.exports=r()}};b[e]=!0;var n=r=>{delete v[e],S.m[e]=t=>{throw delete S.c[e],r}};try{var o=m[e]();o.then?r.push(v[e]=o.then(t).catch(n)):t(o)}catch(e){n(e)}}}))},(()=>{var e={403:0};S.f.j=(r,t)=>{var n=S.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else if(983!=r){var o=new Promise(((t,o)=>n=e[r]=[t,o]));t.push(n[2]=o);var i=S.p+S.u(r),a=new Error;S.l(i,(t=>{if(S.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var o=t&&("load"===t.type?"missing":t.type),i=t&&t.target&&t.target.src;a.message="Loading chunk "+r+" failed.\n("+o+": "+i+")",a.name="ChunkLoadError",a.type=o,a.request=i,n[1](a)}}),"chunk-"+r,r)}else e[r]=0};var r=(r,t)=>{var n,o,[i,a,u]=t,l=0;if(i.some((r=>0!==e[r]))){for(n in a)S.o(a,n)&&(S.m[n]=a[n]);u&&u(S)}for(r&&r(t);l<i.length;l++)o=i[l],S.o(e,o)&&e[o]&&e[o][0](),e[o]=0},t=self.webpackChunkeptium=self.webpackChunkeptium||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})(),S.nc=void 0;var P=S(885);(_JUPYTERLAB=void 0===_JUPYTERLAB?{}:_JUPYTERLAB).eptium=P})(); |
| /* This is a generated file of CSS imports */ | ||
| /* It was generated by @jupyterlab/builder in Build.ensureAssets() */ | ||
| { | ||
| "packages": [ | ||
| { | ||
| "name": "css-loader", | ||
| "versionInfo": "6.11.0", | ||
| "licenseId": "MIT", | ||
| "extractedText": "Copyright JS Foundation and other contributors\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n" | ||
| }, | ||
| { | ||
| "name": "style-loader", | ||
| "versionInfo": "3.3.4", | ||
| "licenseId": "MIT", | ||
| "extractedText": "Copyright JS Foundation and other contributors\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n" | ||
| } | ||
| ] | ||
| } |
| // Entry point for the notebook bundle containing custom model definitions. | ||
| // | ||
| define(function() { | ||
| "use strict"; | ||
| window['requirejs'].config({ | ||
| map: { | ||
| '*': { | ||
| 'eptium': 'nbextensions/eptium/index', | ||
| }, | ||
| } | ||
| }); | ||
| // Export the required load_ipython_extension function | ||
| return { | ||
| load_ipython_extension : function() {} | ||
| }; | ||
| }); |
| define(["@jupyter-widgets/base"],(e=>(()=>{"use strict";var t={930:(e,t,n)=>{n.d(t,{A:()=>s});var i=n(516),r=n.n(i),o=n(364),a=n.n(o)()(r());a.push([e.id,".custom-widget {\n background-color: lightseagreen;\n padding: 0px 2px;\n}\n","",{version:3,sources:["webpack://./css/widget.css"],names:[],mappings:"AAAA;EACE,+BAA+B;EAC/B,gBAAgB;AAClB",sourcesContent:[".custom-widget {\n background-color: lightseagreen;\n padding: 0px 2px;\n}\n"],sourceRoot:""}]);const s=a},364:e=>{e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",i=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),i&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),i&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,i,r,o){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(i)for(var s=0;s<this.length;s++){var l=this[s][0];null!=l&&(a[l]=!0)}for(var u=0;u<e.length;u++){var c=[].concat(e[u]);i&&a[c[0]]||(void 0!==o&&(void 0===c[5]||(c[1]="@layer".concat(c[5].length>0?" ".concat(c[5]):""," {").concat(c[1],"}")),c[5]=o),n&&(c[2]?(c[1]="@media ".concat(c[2]," {").concat(c[1],"}"),c[2]=n):c[2]=n),r&&(c[4]?(c[1]="@supports (".concat(c[4],") {").concat(c[1],"}"),c[4]=r):c[4]="".concat(r)),t.push(c))}},t}},516:e=>{e.exports=function(e){var t=e[1],n=e[3];if(!n)return t;if("function"==typeof btoa){var i=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),r="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(i),o="/*# ".concat(r," */");return[t].concat([o]).join("\n")}return[t].join("\n")}},463:(e,t,n)=>{n.r(t),n.d(t,{default:()=>h});var i=n(72),r=n.n(i),o=n(825),a=n.n(o),s=n(659),l=n.n(s),u=n(56),c=n.n(u),d=n(540),p=n.n(d),m=n(113),b=n.n(m),f=n(930),v={};v.styleTagTransform=b(),v.setAttributes=c(),v.insert=l().bind(null,"head"),v.domAPI=a(),v.insertStyleElement=p(),r()(f.A,v);const h=f.A&&f.A.locals?f.A.locals:void 0},72:e=>{var t=[];function n(e){for(var n=-1,i=0;i<t.length;i++)if(t[i].identifier===e){n=i;break}return n}function i(e,i){for(var o={},a=[],s=0;s<e.length;s++){var l=e[s],u=i.base?l[0]+i.base:l[0],c=o[u]||0,d="".concat(u," ").concat(c);o[u]=c+1;var p=n(d),m={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==p)t[p].references++,t[p].updater(m);else{var b=r(m,i);i.byIndex=s,t.splice(s,0,{identifier:d,updater:b,references:1})}a.push(d)}return a}function r(e,t){var n=t.domAPI(t);return n.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,r){var o=i(e=e||[],r=r||{});return function(e){e=e||[];for(var a=0;a<o.length;a++){var s=n(o[a]);t[s].references--}for(var l=i(e,r),u=0;u<o.length;u++){var c=n(o[u]);0===t[c].references&&(t[c].updater(),t.splice(c,1))}o=l}}},659:e=>{var t={};e.exports=function(e,n){var i=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(n)}},540:e=>{e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},56:(e,t,n)=>{e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},825:e=>{e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var i="";n.supports&&(i+="@supports (".concat(n.supports,") {")),n.media&&(i+="@media ".concat(n.media," {"));var r=void 0!==n.layer;r&&(i+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),i+=n.css,r&&(i+="}"),n.media&&(i+="}"),n.supports&&(i+="}");var o=n.sourceMap;o&&"undefined"!=typeof btoa&&(i+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),t.styleTagTransform(i,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},113:e=>{e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},265:function(e,t,n){var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,i,r)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),window.__webpack_public_path__=document.querySelector("body").getAttribute("data-base-url")+"nbextensions/eptium",r(n(156),t)},156:function(e,t,n){var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,i,r)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(672),t),r(n(110),t)},672:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.MODULE_NAME=t.MODULE_VERSION=void 0;const i=n(330);t.MODULE_VERSION=i.version,t.MODULE_NAME=i.name},110:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.EptiumView=t.EptiumModel=void 0;const i=n(55),r=n(672);n(463);class o extends i.DOMWidgetModel{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:o.model_name,_model_module:o.model_module,_model_module_version:o.model_module_version,_view_name:o.view_name,_view_module:o.view_module,_view_module_version:o.view_module_version,src:"https://viewer.copc.io"})}}t.EptiumModel=o,o.serializers=Object.assign({},i.DOMWidgetModel.serializers),o.model_name="EptiumModel",o.model_module=r.MODULE_NAME,o.model_module_version=r.MODULE_VERSION,o.view_name="EptiumView",o.view_module=r.MODULE_NAME,o.view_module_version=r.MODULE_VERSION;class a extends i.DOMWidgetView{render(){this._iframe=document.createElement("iframe"),this._iframe.width="100%",this._iframe.height="400",this._iframe.style.boxSizing="border-box",this.el.appendChild(this._iframe),this._onSrcChanged(),this.model.on("change:src",this._onSrcChanged,this)}_onSrcChanged(){const e=this.model.get("src");this.model.widget_manager.resolveUrl(e).then((e=>{this._iframe.src=e}))}}t.EptiumView=a},55:t=>{t.exports=e},330:e=>{e.exports=JSON.parse('{"name":"eptium","version":"0.1.0","description":"A jupyter widget to display COPC and COGS data from Eptium.","keywords":["jupyter","jupyterlab","jupyterlab-extension","widgets"],"files":["lib/**/*.js","dist/*.js","css/*.css"],"homepage":"https://github.com/hobuinc/eptium-python","bugs":{"url":"https://github.com/hobuinc/eptium-python/issues"},"license":"BSD-3-Clause","author":{"name":"Ognyan Moore","email":"ogi@hobu.co"},"main":"lib/index.js","types":"./lib/index.d.ts","repository":{"type":"git","url":"https://github.com/hobuinc/eptium-python"},"scripts":{"build":"jlpm run build:lib && jlpm run build:nbextension && jlpm run build:labextension:dev","build:prod":"jlpm run build:lib && jlpm run build:nbextension && jlpm run build:labextension","build:labextension":"jupyter labextension build .","build:labextension:dev":"jupyter labextension build --development True .","build:lib":"tsc","build:nbextension":"webpack","clean":"jlpm run clean:lib && jlpm run clean:nbextension && jlpm run clean:labextension","clean:lib":"rimraf lib","clean:labextension":"rimraf eptium/labextension","clean:nbextension":"rimraf eptium/nbextension/static/index.js","lint":"eslint . --ext .ts,.tsx --fix","lint:check":"eslint . --ext .ts,.tsx","prepack":"jlpm run build:lib","test":"jest","watch":"npm-run-all -p watch:*","watch:lib":"tsc -w","watch:nbextension":"webpack --watch --mode=development","watch:labextension":"jupyter labextension watch ."},"dependencies":{"@jupyter-widgets/base":"^1.1.10 || ^2 || ^3 || ^4 || ^5 || ^6"},"devDependencies":{"@babel/core":"^7.23.7","@babel/preset-env":"^7.23.8","@jupyter-widgets/base-manager":"^1.0.7","@jupyterlab/builder":"^4.0.11","@lumino/application":"^2.3.0","@lumino/widgets":"^2.3.1","@types/jest":"^29.5.11","@types/webpack-env":"^1.18.4","@typescript-eslint/eslint-plugin":"^6.19.1","@typescript-eslint/parser":"^6.19.1","acorn":"^8.11.3","css-loader":"^6.9.1","eslint":"^8.56.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.1.3","fs-extra":"^11.2.0","identity-obj-proxy":"^3.0.0","jest":"^29.7.0","mkdirp":"^3.0.1","npm-run-all":"^4.1.5","prettier":"^3.2.4","rimraf":"^5.0.5","source-map-loader":"^5.0.0","style-loader":"^3.3.4","ts-jest":"^29.1.2","ts-loader":"^9.5.1","typescript":"~5.3.3","webpack":"^5.90.0","webpack-cli":"^5.1.4"},"devDependenciesComments":{"@jupyterlab/builder":"pinned to the latest JupyterLab 3.x release","@lumino/application":"pinned to the latest Lumino 1.x release","@lumino/widgets":"pinned to the latest Lumino 1.x release"},"jupyterlab":{"extension":"lib/plugin","outputDir":"eptium/labextension/","sharedPackages":{"@jupyter-widgets/base":{"bundled":false,"singleton":true}}},"packageManager":"yarn@4.5.3"}')}},n={};function i(e){var r=n[e];if(void 0!==r)return r.exports;var o=n[e]={id:e,exports:{}};return t[e].call(o.exports,o,o.exports,i),o.exports}return i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.nc=void 0,i(265)})())); | ||
| //# sourceMappingURL=index.js.map |
| {"version":3,"file":"index.js","mappings":"6HAGIA,E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2I,EAAoBQ,EAAEF,EAAQ,CAAEG,EAAGH,IAC5BA,CAAM,ECLdN,EAAoBQ,EAAI,CAACjJ,EAASmJ,KACjC,IAAI,IAAIC,KAAOD,EACXV,EAAoBY,EAAEF,EAAYC,KAASX,EAAoBY,EAAErJ,EAASoJ,IAC5EE,OAAOC,eAAevJ,EAASoJ,EAAK,CAAEI,YAAY,EAAMtB,IAAKiB,EAAWC,IAE1E,ECNDX,EAAoBY,EAAI,CAACrG,EAAKyG,IAAUH,OAAOI,UAAUC,eAAed,KAAK7F,EAAKyG,GCClFhB,EAAoBmB,EAAK5J,IACH,oBAAX6J,QAA0BA,OAAOC,aAC1CR,OAAOC,eAAevJ,EAAS6J,OAAOC,YAAa,CAAEC,MAAO,WAE7DT,OAAOC,eAAevJ,EAAS,aAAc,CAAE+J,OAAO,GAAO,ECL9DtB,EAAoBuB,QAAK9I,ECGCuH,EAAoB,I","sources":["webpack://eptium/./css/widget.css","webpack://eptium/./node_modules/css-loader/dist/runtime/api.js","webpack://eptium/./node_modules/css-loader/dist/runtime/sourceMaps.js","webpack://eptium/./css/widget.css?2598","webpack://eptium/./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js","webpack://eptium/./node_modules/style-loader/dist/runtime/insertBySelector.js","webpack://eptium/./node_modules/style-loader/dist/runtime/insertStyleElement.js","webpack://eptium/./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js","webpack://eptium/./node_modules/style-loader/dist/runtime/styleDomAPI.js","webpack://eptium/./node_modules/style-loader/dist/runtime/styleTagTransform.js","webpack://eptium/./src/extension.ts","webpack://eptium/./src/index.ts","webpack://eptium/./src/version.ts","webpack://eptium/./src/widget.ts","webpack://eptium/external amd \"@jupyter-widgets/base\"","webpack://eptium/webpack/bootstrap","webpack://eptium/webpack/runtime/compat get default export","webpack://eptium/webpack/runtime/define property getters","webpack://eptium/webpack/runtime/hasOwnProperty shorthand","webpack://eptium/webpack/runtime/make namespace object","webpack://eptium/webpack/runtime/nonce","webpack://eptium/webpack/startup"],"sourcesContent":["// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.custom-widget {\n background-color: lightseagreen;\n padding: 0px 2px;\n}\n`, \"\",{\"version\":3,\"sources\":[\"webpack://./css/widget.css\"],\"names\":[],\"mappings\":\"AAAA;EACE,+BAA+B;EAC/B,gBAAgB;AAClB\",\"sourcesContent\":[\".custom-widget {\\n background-color: lightseagreen;\\n padding: 0px 2px;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","\"use strict\";\n\n/*\n MIT License http://www.opensource.org/licenses/mit-license.php\n Author Tobias Koppers @sokra\n*/\nmodule.exports = function (cssWithMappingToString) {\n var list = [];\n\n // return the list of modules as css string\n list.toString = function toString() {\n return this.map(function (item) {\n var content = \"\";\n var needLayer = typeof item[5] !== \"undefined\";\n if (item[4]) {\n content += \"@supports (\".concat(item[4], \") {\");\n }\n if (item[2]) {\n content += \"@media \".concat(item[2], \" {\");\n }\n if (needLayer) {\n content += \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\");\n }\n content += cssWithMappingToString(item);\n if (needLayer) {\n content += \"}\";\n }\n if (item[2]) {\n content += \"}\";\n }\n if (item[4]) {\n content += \"}\";\n }\n return content;\n }).join(\"\");\n };\n\n // import a list of modules into the list\n list.i = function i(modules, media, dedupe, supports, layer) {\n if (typeof modules === \"string\") {\n modules = [[null, modules, undefined]];\n }\n var alreadyImportedModules = {};\n if (dedupe) {\n for (var k = 0; k < this.length; k++) {\n var id = this[k][0];\n if (id != null) {\n alreadyImportedModules[id] = true;\n }\n }\n }\n for (var _k = 0; _k < modules.length; _k++) {\n var item = [].concat(modules[_k]);\n if (dedupe && alreadyImportedModules[item[0]]) {\n continue;\n }\n if (typeof layer !== \"undefined\") {\n if (typeof item[5] === \"undefined\") {\n item[5] = layer;\n } else {\n item[1] = \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\").concat(item[1], \"}\");\n item[5] = layer;\n }\n }\n if (media) {\n if (!item[2]) {\n item[2] = media;\n } else {\n item[1] = \"@media \".concat(item[2], \" {\").concat(item[1], \"}\");\n item[2] = media;\n }\n }\n if (supports) {\n if (!item[4]) {\n item[4] = \"\".concat(supports);\n } else {\n item[1] = \"@supports (\".concat(item[4], \") {\").concat(item[1], \"}\");\n item[4] = supports;\n }\n }\n list.push(item);\n }\n };\n return list;\n};","\"use strict\";\n\nmodule.exports = function (item) {\n var content = item[1];\n var cssMapping = item[3];\n if (!cssMapping) {\n return content;\n }\n if (typeof btoa === \"function\") {\n var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(cssMapping))));\n var data = \"sourceMappingURL=data:application/json;charset=utf-8;base64,\".concat(base64);\n var sourceMapping = \"/*# \".concat(data, \" */\");\n return [content].concat([sourceMapping]).join(\"\\n\");\n }\n return [content].join(\"\\n\");\n};","\n import API from \"!../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../node_modules/css-loader/dist/cjs.js!./widget.css\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\n\n options.insert = insertFn.bind(null, \"head\");\n \noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../node_modules/css-loader/dist/cjs.js!./widget.css\";\n export default content && content.locals ? content.locals : undefined;\n","\"use strict\";\n\nvar stylesInDOM = [];\nfunction getIndexByIdentifier(identifier) {\n var result = -1;\n for (var i = 0; i < stylesInDOM.length; i++) {\n if (stylesInDOM[i].identifier === identifier) {\n result = i;\n break;\n }\n }\n return result;\n}\nfunction modulesToDom(list, options) {\n var idCountMap = {};\n var identifiers = [];\n for (var i = 0; i < list.length; i++) {\n var item = list[i];\n var id = options.base ? item[0] + options.base : item[0];\n var count = idCountMap[id] || 0;\n var identifier = \"\".concat(id, \" \").concat(count);\n idCountMap[id] = count + 1;\n var indexByIdentifier = getIndexByIdentifier(identifier);\n var obj = {\n css: item[1],\n media: item[2],\n sourceMap: item[3],\n supports: item[4],\n layer: item[5]\n };\n if (indexByIdentifier !== -1) {\n stylesInDOM[indexByIdentifier].references++;\n stylesInDOM[indexByIdentifier].updater(obj);\n } else {\n var updater = addElementStyle(obj, options);\n options.byIndex = i;\n stylesInDOM.splice(i, 0, {\n identifier: identifier,\n updater: updater,\n references: 1\n });\n }\n identifiers.push(identifier);\n }\n return identifiers;\n}\nfunction addElementStyle(obj, options) {\n var api = options.domAPI(options);\n api.update(obj);\n var updater = function updater(newObj) {\n if (newObj) {\n if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap && newObj.supports === obj.supports && newObj.layer === obj.layer) {\n return;\n }\n api.update(obj = newObj);\n } else {\n api.remove();\n }\n };\n return updater;\n}\nmodule.exports = function (list, options) {\n options = options || {};\n list = list || [];\n var lastIdentifiers = modulesToDom(list, options);\n return function update(newList) {\n newList = newList || [];\n for (var i = 0; i < lastIdentifiers.length; i++) {\n var identifier = lastIdentifiers[i];\n var index = getIndexByIdentifier(identifier);\n stylesInDOM[index].references--;\n }\n var newLastIdentifiers = modulesToDom(newList, options);\n for (var _i = 0; _i < lastIdentifiers.length; _i++) {\n var _identifier = lastIdentifiers[_i];\n var _index = getIndexByIdentifier(_identifier);\n if (stylesInDOM[_index].references === 0) {\n stylesInDOM[_index].updater();\n stylesInDOM.splice(_index, 1);\n }\n }\n lastIdentifiers = newLastIdentifiers;\n };\n};","\"use strict\";\n\nvar memo = {};\n\n/* istanbul ignore next */\nfunction getTarget(target) {\n if (typeof memo[target] === \"undefined\") {\n var styleTarget = document.querySelector(target);\n\n // Special case to return head of iframe instead of iframe itself\n if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {\n try {\n // This will throw an exception if access to iframe is blocked\n // due to cross-origin restrictions\n styleTarget = styleTarget.contentDocument.head;\n } catch (e) {\n // istanbul ignore next\n styleTarget = null;\n }\n }\n memo[target] = styleTarget;\n }\n return memo[target];\n}\n\n/* istanbul ignore next */\nfunction insertBySelector(insert, style) {\n var target = getTarget(insert);\n if (!target) {\n throw new Error(\"Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.\");\n }\n target.appendChild(style);\n}\nmodule.exports = insertBySelector;","\"use strict\";\n\n/* istanbul ignore next */\nfunction insertStyleElement(options) {\n var element = document.createElement(\"style\");\n options.setAttributes(element, options.attributes);\n options.insert(element, options.options);\n return element;\n}\nmodule.exports = insertStyleElement;","\"use strict\";\n\n/* istanbul ignore next */\nfunction setAttributesWithoutAttributes(styleElement) {\n var nonce = typeof __webpack_nonce__ !== \"undefined\" ? __webpack_nonce__ : null;\n if (nonce) {\n styleElement.setAttribute(\"nonce\", nonce);\n }\n}\nmodule.exports = setAttributesWithoutAttributes;","\"use strict\";\n\n/* istanbul ignore next */\nfunction apply(styleElement, options, obj) {\n var css = \"\";\n if (obj.supports) {\n css += \"@supports (\".concat(obj.supports, \") {\");\n }\n if (obj.media) {\n css += \"@media \".concat(obj.media, \" {\");\n }\n var needLayer = typeof obj.layer !== \"undefined\";\n if (needLayer) {\n css += \"@layer\".concat(obj.layer.length > 0 ? \" \".concat(obj.layer) : \"\", \" {\");\n }\n css += obj.css;\n if (needLayer) {\n css += \"}\";\n }\n if (obj.media) {\n css += \"}\";\n }\n if (obj.supports) {\n css += \"}\";\n }\n var sourceMap = obj.sourceMap;\n if (sourceMap && typeof btoa !== \"undefined\") {\n css += \"\\n/*# sourceMappingURL=data:application/json;base64,\".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))), \" */\");\n }\n\n // For old IE\n /* istanbul ignore if */\n options.styleTagTransform(css, styleElement, options.options);\n}\nfunction removeStyleElement(styleElement) {\n // istanbul ignore if\n if (styleElement.parentNode === null) {\n return false;\n }\n styleElement.parentNode.removeChild(styleElement);\n}\n\n/* istanbul ignore next */\nfunction domAPI(options) {\n if (typeof document === \"undefined\") {\n return {\n update: function update() {},\n remove: function remove() {}\n };\n }\n var styleElement = options.insertStyleElement(options);\n return {\n update: function update(obj) {\n apply(styleElement, options, obj);\n },\n remove: function remove() {\n removeStyleElement(styleElement);\n }\n };\n}\nmodule.exports = domAPI;","\"use strict\";\n\n/* istanbul ignore next */\nfunction styleTagTransform(css, styleElement) {\n if (styleElement.styleSheet) {\n styleElement.styleSheet.cssText = css;\n } else {\n while (styleElement.firstChild) {\n styleElement.removeChild(styleElement.firstChild);\n }\n styleElement.appendChild(document.createTextNode(css));\n }\n}\nmodule.exports = styleTagTransform;","// Copyright (c) Jupyter Development Team.\n// Distributed under the terms of the Modified BSD License.\n\n// Entry point for the notebook bundle containing custom model definitions.\n//\n// Setup notebook base URL\n//\n// Some static assets may be required by the custom widget javascript. The base\n// url for the notebook is not known at build time and is therefore computed\n// dynamically.\n// eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n(window as any).__webpack_public_path__ =\n document.querySelector('body')!.getAttribute('data-base-url') +\n 'nbextensions/eptium';\n\nexport * from './index';\n","// Copyright (c) Ognyan Moore\n// Distributed under the terms of the Modified BSD License.\n\nexport * from './version';\nexport * from './widget';\n","// Copyright (c) Ognyan Moore\n// Distributed under the terms of the Modified BSD License.\n\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\n// eslint-disable-next-line @typescript-eslint/no-var-requires\nconst data = require('../package.json');\n\n/**\n * The _model_module_version/_view_module_version this package implements.\n *\n * The html widget manager assumes that this is the same as the npm package\n * version number.\n */\nexport const MODULE_VERSION = data.version;\n\n/*\n * The current package name.\n */\nexport const MODULE_NAME = data.name;\n","// Copyright (c) Ognyan Moore\n// Distributed under the terms of the Modified BSD License.\n\nimport {\n DOMWidgetModel,\n DOMWidgetView,\n ISerializers,\n} from '@jupyter-widgets/base';\n\nimport { MODULE_NAME, MODULE_VERSION } from './version';\n\n// Import the CSS\nimport '../css/widget.css';\n\nexport class EptiumModel extends DOMWidgetModel {\n defaults() {\n return {\n ...super.defaults(),\n _model_name: EptiumModel.model_name,\n _model_module: EptiumModel.model_module,\n _model_module_version: EptiumModel.model_module_version,\n _view_name: EptiumModel.view_name,\n _view_module: EptiumModel.view_module,\n _view_module_version: EptiumModel.view_module_version,\n src: 'https://viewer.copc.io',\n };\n }\n\n static serializers: ISerializers = {\n ...DOMWidgetModel.serializers,\n // Add any extra serializers here\n };\n\n static model_name = 'EptiumModel';\n static model_module = MODULE_NAME;\n static model_module_version = MODULE_VERSION;\n static view_name = 'EptiumView'; // Set to null if no view\n static view_module = MODULE_NAME; // Set to null if no view\n static view_module_version = MODULE_VERSION;\n}\n\nexport class EptiumView extends DOMWidgetView {\n private _iframe: HTMLIFrameElement;\n\n render() {\n this._iframe = document.createElement('iframe');\n this._iframe.width = '100%';\n this._iframe.height = '400';\n this._iframe.style.boxSizing = 'border-box';\n\n // this.el is the DOM element associated with the view\n this.el.appendChild(this._iframe);\n this._onSrcChanged();\n\n // Python -> TypeScript update\n this.model.on('change:src', this._onSrcChanged, this);\n }\n\n private _onSrcChanged() {\n const url = this.model.get('src');\n this.model.widget_manager.resolveUrl(url).then((resolvedUrl) => {\n this._iframe.src = resolvedUrl;\n });\n }\n}\n","module.exports = __WEBPACK_EXTERNAL_MODULE__55__;","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nc = undefined;","// startup\n// Load entry module and return exports\n// This entry module is referenced by other modules so it can't be inlined\nvar __webpack_exports__ = __webpack_require__(265);\n"],"names":["___CSS_LOADER_EXPORT___","push","module","id","exports","cssWithMappingToString","list","toString","this","map","item","content","needLayer","concat","length","join","i","modules","media","dedupe","supports","layer","undefined","alreadyImportedModules","k","_k","cssMapping","btoa","base64","unescape","encodeURIComponent","JSON","stringify","data","sourceMapping","options","styleTagTransform","setAttributes","insert","domAPI","insertStyleElement","locals","stylesInDOM","getIndexByIdentifier","identifier","result","modulesToDom","idCountMap","identifiers","base","count","indexByIdentifier","obj","css","sourceMap","references","updater","addElementStyle","byIndex","splice","api","update","newObj","remove","lastIdentifiers","newList","index","newLastIdentifiers","_i","_index","memo","style","target","styleTarget","document","querySelector","window","HTMLIFrameElement","contentDocument","head","e","getTarget","Error","appendChild","element","createElement","attributes","styleElement","nonce","setAttribute","apply","parentNode","removeChild","removeStyleElement","styleSheet","cssText","firstChild","createTextNode","__webpack_public_path__","getAttribute","MODULE_VERSION","version","MODULE_NAME","name","EptiumModel","DOMWidgetModel","defaults","super","_model_name","model_name","_model_module","model_module","_model_module_version","model_module_version","_view_name","view_name","_view_module","view_module","_view_module_version","view_module_version","src","serializers","EptiumView","DOMWidgetView","render","_iframe","width","height","boxSizing","el","_onSrcChanged","model","on","url","get","widget_manager","resolveUrl","then","resolvedUrl","__WEBPACK_EXTERNAL_MODULE__55__","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","__webpack_modules__","call","n","getter","__esModule","d","a","definition","key","o","Object","defineProperty","enumerable","prop","prototype","hasOwnProperty","r","Symbol","toStringTag","value","nc"],"sourceRoot":""} |
| Apache License | ||
| Version 2.0, January 2004 | ||
| http://www.apache.org/licenses/ | ||
| TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION | ||
| 1. Definitions. | ||
| "License" shall mean the terms and conditions for use, reproduction, | ||
| and distribution as defined by Sections 1 through 9 of this document. | ||
| "Licensor" shall mean the copyright owner or entity authorized by | ||
| the copyright owner that is granting the License. | ||
| "Legal Entity" shall mean the union of the acting entity and all | ||
| other entities that control, are controlled by, or are under common | ||
| control with that entity. For the purposes of this definition, | ||
| "control" means (i) the power, direct or indirect, to cause the | ||
| direction or management of such entity, whether by contract or | ||
| otherwise, or (ii) ownership of fifty percent (50%) or more of the | ||
| outstanding shares, or (iii) beneficial ownership of such entity. | ||
| "You" (or "Your") shall mean an individual or Legal Entity | ||
| exercising permissions granted by this License. | ||
| "Source" form shall mean the preferred form for making modifications, | ||
| including but not limited to software source code, documentation | ||
| source, and configuration files. | ||
| "Object" form shall mean any form resulting from mechanical | ||
| transformation or translation of a Source form, including but | ||
| not limited to compiled object code, generated documentation, | ||
| and conversions to other media types. | ||
| "Work" shall mean the work of authorship, whether in Source or | ||
| Object form, made available under the License, as indicated by a | ||
| copyright notice that is included in or attached to the work | ||
| (an example is provided in the Appendix below). | ||
| "Derivative Works" shall mean any work, whether in Source or Object | ||
| form, that is based on (or derived from) the Work and for which the | ||
| editorial revisions, annotations, elaborations, or other modifications | ||
| represent, as a whole, an original work of authorship. For the purposes | ||
| of this License, Derivative Works shall not include works that remain | ||
| separable from, or merely link (or bind by name) to the interfaces of, | ||
| the Work and Derivative Works thereof. | ||
| "Contribution" shall mean any work of authorship, including | ||
| the original version of the Work and any modifications or additions | ||
| to that Work or Derivative Works thereof, that is intentionally | ||
| submitted to Licensor for inclusion in the Work by the copyright owner | ||
| or by an individual or Legal Entity authorized to submit on behalf of | ||
| the copyright owner. For the purposes of this definition, "submitted" | ||
| means any form of electronic, verbal, or written communication sent | ||
| to the Licensor or its representatives, including but not limited to | ||
| communication on electronic mailing lists, source code control systems, | ||
| and issue tracking systems that are managed by, or on behalf of, the | ||
| Licensor for the purpose of discussing and improving the Work, but | ||
| excluding communication that is conspicuously marked or otherwise | ||
| designated in writing by the copyright owner as "Not a Contribution." | ||
| "Contributor" shall mean Licensor and any individual or Legal Entity | ||
| on behalf of whom a Contribution has been received by Licensor and | ||
| subsequently incorporated within the Work. | ||
| 2. Grant of Copyright License. Subject to the terms and conditions of | ||
| this License, each Contributor hereby grants to You a perpetual, | ||
| worldwide, non-exclusive, no-charge, royalty-free, irrevocable | ||
| copyright license to reproduce, prepare Derivative Works of, | ||
| publicly display, publicly perform, sublicense, and distribute the | ||
| Work and such Derivative Works in Source or Object form. | ||
| 3. Grant of Patent License. Subject to the terms and conditions of | ||
| this License, each Contributor hereby grants to You a perpetual, | ||
| worldwide, non-exclusive, no-charge, royalty-free, irrevocable | ||
| (except as stated in this section) patent license to make, have made, | ||
| use, offer to sell, sell, import, and otherwise transfer the Work, | ||
| where such license applies only to those patent claims licensable | ||
| by such Contributor that are necessarily infringed by their | ||
| Contribution(s) alone or by combination of their Contribution(s) | ||
| with the Work to which such Contribution(s) was submitted. If You | ||
| institute patent litigation against any entity (including a | ||
| cross-claim or counterclaim in a lawsuit) alleging that the Work | ||
| or a Contribution incorporated within the Work constitutes direct | ||
| or contributory patent infringement, then any patent licenses | ||
| granted to You under this License for that Work shall terminate | ||
| as of the date such litigation is filed. | ||
| 4. Redistribution. You may reproduce and distribute copies of the | ||
| Work or Derivative Works thereof in any medium, with or without | ||
| modifications, and in Source or Object form, provided that You | ||
| meet the following conditions: | ||
| (a) You must give any other recipients of the Work or | ||
| Derivative Works a copy of this License; and | ||
| (b) You must cause any modified files to carry prominent notices | ||
| stating that You changed the files; and | ||
| (c) You must retain, in the Source form of any Derivative Works | ||
| that You distribute, all copyright, patent, trademark, and | ||
| attribution notices from the Source form of the Work, | ||
| excluding those notices that do not pertain to any part of | ||
| the Derivative Works; and | ||
| (d) If the Work includes a "NOTICE" text file as part of its | ||
| distribution, then any Derivative Works that You distribute must | ||
| include a readable copy of the attribution notices contained | ||
| within such NOTICE file, excluding those notices that do not | ||
| pertain to any part of the Derivative Works, in at least one | ||
| of the following places: within a NOTICE text file distributed | ||
| as part of the Derivative Works; within the Source form or | ||
| documentation, if provided along with the Derivative Works; or, | ||
| within a display generated by the Derivative Works, if and | ||
| wherever such third-party notices normally appear. The contents | ||
| of the NOTICE file are for informational purposes only and | ||
| do not modify the License. You may add Your own attribution | ||
| notices within Derivative Works that You distribute, alongside | ||
| or as an addendum to the NOTICE text from the Work, provided | ||
| that such additional attribution notices cannot be construed | ||
| as modifying the License. | ||
| You may add Your own copyright statement to Your modifications and | ||
| may provide additional or different license terms and conditions | ||
| for use, reproduction, or distribution of Your modifications, or | ||
| for any such Derivative Works as a whole, provided Your use, | ||
| reproduction, and distribution of the Work otherwise complies with | ||
| the conditions stated in this License. | ||
| 5. Submission of Contributions. Unless You explicitly state otherwise, | ||
| any Contribution intentionally submitted for inclusion in the Work | ||
| by You to the Licensor shall be under the terms and conditions of | ||
| this License, without any additional terms or conditions. | ||
| Notwithstanding the above, nothing herein shall supersede or modify | ||
| the terms of any separate license agreement you may have executed | ||
| with Licensor regarding such Contributions. | ||
| 6. Trademarks. This License does not grant permission to use the trade | ||
| names, trademarks, service marks, or product names of the Licensor, | ||
| except as required for reasonable and customary use in describing the | ||
| origin of the Work and reproducing the content of the NOTICE file. | ||
| 7. Disclaimer of Warranty. Unless required by applicable law or | ||
| agreed to in writing, Licensor provides the Work (and each | ||
| Contributor provides its Contributions) on an "AS IS" BASIS, | ||
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or | ||
| implied, including, without limitation, any warranties or conditions | ||
| of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A | ||
| PARTICULAR PURPOSE. You are solely responsible for determining the | ||
| appropriateness of using or redistributing the Work and assume any | ||
| risks associated with Your exercise of permissions under this License. | ||
| 8. Limitation of Liability. In no event and under no legal theory, | ||
| whether in tort (including negligence), contract, or otherwise, | ||
| unless required by applicable law (such as deliberate and grossly | ||
| negligent acts) or agreed to in writing, shall any Contributor be | ||
| liable to You for damages, including any direct, indirect, special, | ||
| incidental, or consequential damages of any character arising as a | ||
| result of this License or out of the use or inability to use the | ||
| Work (including but not limited to damages for loss of goodwill, | ||
| work stoppage, computer failure or malfunction, or any and all | ||
| other commercial damages or losses), even if such Contributor | ||
| has been advised of the possibility of such damages. | ||
| 9. Accepting Warranty or Additional Liability. While redistributing | ||
| the Work or Derivative Works thereof, You may choose to offer, | ||
| and charge a fee for, acceptance of support, warranty, indemnity, | ||
| or other liability obligations and/or rights consistent with this | ||
| License. However, in accepting such obligations, You may act only | ||
| on Your own behalf and on Your sole responsibility, not on behalf | ||
| of any other Contributor, and only if You agree to indemnify, | ||
| defend, and hold each Contributor harmless for any liability | ||
| incurred by, or claims asserted against, such Contributor by reason | ||
| of your accepting any such warranty or additional liability. | ||
| END OF TERMS AND CONDITIONS | ||
| APPENDIX: How to apply the Apache License to your work. | ||
| To apply the Apache License to your work, attach the following | ||
| boilerplate notice, with the fields enclosed by brackets "[]" | ||
| replaced with your own identifying information. (Don't include | ||
| the brackets!) The text should be enclosed in the appropriate | ||
| comment syntax for the file format. We also recommend that a | ||
| file or class name and description of purpose be included on the | ||
| same "printed page" as the copyright notice for easier | ||
| identification within third-party archives. | ||
| Copyright [yyyy] [name of copyright owner] | ||
| Licensed under the Apache License, Version 2.0 (the "License"); | ||
| you may not use this file except in compliance with the License. | ||
| You may obtain a copy of the License at | ||
| http://www.apache.org/licenses/LICENSE-2.0 | ||
| Unless required by applicable law or agreed to in writing, software | ||
| distributed under the License is distributed on an "AS IS" BASIS, | ||
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| See the License for the specific language governing permissions and | ||
| limitations under the License. |
| Copyright (c) 2024 Ognyan Moore | ||
| All rights reserved. | ||
| Redistribution and use in source and binary forms, with or without | ||
| modification, are permitted provided that the following conditions are met: | ||
| 1. Redistributions of source code must retain the above copyright notice, this | ||
| list of conditions and the following disclaimer. | ||
| 2. Redistributions in binary form must reproduce the above copyright notice, | ||
| this list of conditions and the following disclaimer in the documentation | ||
| and/or other materials provided with the distribution. | ||
| 3. Neither the name of the copyright holder nor the names of its | ||
| contributors may be used to endorse or promote products derived from | ||
| this software without specific prior written permission. | ||
| THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" | ||
| AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||
| IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
| DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE | ||
| FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||
| DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR | ||
| SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER | ||
| CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, | ||
| OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
| OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| Metadata-Version: 2.4 | ||
| Name: eptium | ||
| Version: 0.1.0 | ||
| Summary: A jupyter widget to display COPC and COGS data from Eptium. | ||
| Project-URL: Homepage, https://github.com/hobuinc/eptium-python | ||
| Author-email: Ognyan Moore <ogi@hobu.co> | ||
| License: Copyright (c) 2024 Ognyan Moore | ||
| All rights reserved. | ||
| Redistribution and use in source and binary forms, with or without | ||
| modification, are permitted provided that the following conditions are met: | ||
| 1. Redistributions of source code must retain the above copyright notice, this | ||
| list of conditions and the following disclaimer. | ||
| 2. Redistributions in binary form must reproduce the above copyright notice, | ||
| this list of conditions and the following disclaimer in the documentation | ||
| and/or other materials provided with the distribution. | ||
| 3. Neither the name of the copyright holder nor the names of its | ||
| contributors may be used to endorse or promote products derived from | ||
| this software without specific prior written permission. | ||
| THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" | ||
| AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||
| IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
| DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE | ||
| FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||
| DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR | ||
| SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER | ||
| CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, | ||
| OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
| OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
| License-File: LICENSE | ||
| License-File: LICENSE.txt | ||
| Keywords: IPython,Jupyter,Widgets | ||
| Classifier: Framework :: Jupyter | ||
| Classifier: Intended Audience :: Developers | ||
| Classifier: Intended Audience :: Science/Research | ||
| Classifier: License :: OSI Approved :: BSD License | ||
| Classifier: Programming Language :: Python | ||
| Classifier: Programming Language :: Python :: 3 | ||
| Classifier: Programming Language :: Python :: 3.9 | ||
| Classifier: Programming Language :: Python :: 3.10 | ||
| Classifier: Programming Language :: Python :: 3.11 | ||
| Classifier: Programming Language :: Python :: 3.12 | ||
| Requires-Python: >=3.9 | ||
| Requires-Dist: ipywidgets>=8.0.0 | ||
| Requires-Dist: jupyter | ||
| Provides-Extra: docs | ||
| Requires-Dist: jupyter-sphinx; extra == 'docs' | ||
| Requires-Dist: nbsphinx; extra == 'docs' | ||
| Requires-Dist: nbsphinx-link; extra == 'docs' | ||
| Requires-Dist: pypandoc; extra == 'docs' | ||
| Requires-Dist: pytest-check-links; extra == 'docs' | ||
| Requires-Dist: recommonmark; extra == 'docs' | ||
| Requires-Dist: sphinx-rtd-theme; extra == 'docs' | ||
| Requires-Dist: sphinx>=1.5; extra == 'docs' | ||
| Provides-Extra: examples | ||
| Provides-Extra: test | ||
| Requires-Dist: nbval; extra == 'test' | ||
| Requires-Dist: pytest-cov; extra == 'test' | ||
| Requires-Dist: pytest>=6.0; extra == 'test' | ||
| Description-Content-Type: text/markdown | ||
| # Eptium for Jupyter | ||
| A jupyter widget to display COPC and COGS data from Eptium. | ||
| ## Installation | ||
| You can install using `pip`: | ||
| ```bash | ||
| pip install eptium | ||
| ``` | ||
| ## Usage | ||
| The following is an example on how to render data within the jupyter notebook environment | ||
| ```python | ||
| import eptium | ||
| w = eptium.Eptium() | ||
| w.render("https://s3.amazonaws.com/hobu-lidar/autzen-classified.copc.laz") | ||
| w | ||
| ``` | ||
| The example above shows a remote URL to a COPC file. Inside jupyter, this extension can also render local files relative to the notebook. | ||
| ```python | ||
| import eptium | ||
| w.eptium.Eptium() | ||
| w.render("./path/to/file.copc.laz") | ||
| w | ||
| ``` | ||
| Note: the local file functionality is not present in google colab. | ||
| ## Development Installation | ||
| Create a dev environment: | ||
| ```bash | ||
| conda create -n eptium-dev -c conda-forge nodejs python jupyterlab | ||
| conda activate eptium-dev | ||
| ``` | ||
| Install the python. This will also build the TS package. | ||
| ```bash | ||
| pip install -e ".[test, examples]" | ||
| ``` | ||
| When developing your extensions, you need to manually enable your extensions with the | ||
| notebook / lab frontend. For lab, this is done by the command: | ||
| ```bash | ||
| jupyter labextension develop --overwrite . | ||
| jlpm run build | ||
| ``` | ||
| For classic notebook, you need to run: | ||
| ```bash | ||
| jupyter nbextension install --sys-prefix --symlink --overwrite --py eptium | ||
| jupyter nbextension enable --sys-prefix --py eptium | ||
| ``` | ||
| Note that the `--symlink` flag doesn't work on Windows, so you will here have to run | ||
| the `install` command every time that you rebuild your extension. For certain installations | ||
| you might also need another flag instead of `--sys-prefix`, but we won't cover the meaning | ||
| of those flags here. | ||
| ### How to see your changes | ||
| #### Typescript | ||
| If you use JupyterLab to develop then you can watch the source directory and run JupyterLab at the same time in different | ||
| terminals to watch for changes in the extension's source and automatically rebuild the widget. | ||
| ```bash | ||
| # Watch the source directory in one terminal, automatically rebuilding when needed | ||
| jlpm run watch | ||
| # Run JupyterLab in another terminal | ||
| jupyter lab | ||
| ``` | ||
| After a change wait for the build to finish and then refresh your browser and the changes should take effect. | ||
| #### Python | ||
| If you make a change to the python code then you will need to restart the notebook kernel to have it take effect. | ||
| ## Updating the version | ||
| To update the version, install tbump and use it to bump the version. | ||
| By default it will also create a tag. | ||
| ```bash | ||
| pip install tbump | ||
| tbump <new-version> | ||
| ``` |
| eptium/__init__.py,sha256=jbvxpmNg4e010h5mh6rCbegGWbbOUSPThTUy_9W_HvI,1799 | ||
| eptium/_frontend.py,sha256=HVQd_FWecEJ4xPFSjMTHsjOpD__QRScbAtrJ9O6VXgM,242 | ||
| eptium/_version.py,sha256=1Xouw1YwX6GAyyj-YK71xPDCz4mWRy_MWQJMOXOZhrU,151 | ||
| eptium/example.py,sha256=1CJ8BPUtYo_mJ6GCtiFDQX8ZCdK_G3LUtVf6qyGDNZ4,1301 | ||
| eptium/widget.py,sha256=HvDj1KEG-_R0OIU4hPFYusXPvDD5CHKSyL892bPqivU,2514 | ||
| eptium/labextension/package.json,sha256=GYxd_zMk4CQv0v32s65difOlkF85HlLUsS2GZiqS0mg,3354 | ||
| eptium/labextension/static/122.ec9c20012ecc03a0e408.js,sha256=7JwgAS7MA6DkCBRjJDyHOZv95phWhqQtdYBkrk5xhB8,8943 | ||
| eptium/labextension/static/509.322e9f5860af219b301b.js,sha256=Mi6fWGCvIZswG6aNbr_dV95Gyr9gUSOxKXzPoQ_8wkk,8537 | ||
| eptium/labextension/static/remoteEntry.1ea837417202a59c855e.js,sha256=Hqg3QXICpZyFXqitC1en4wMMGSndjWowqa4HVzq6WwU,6649 | ||
| eptium/labextension/static/style.js,sha256=-CQt0ZTPaCTvrRiLcznxflAbfvIKlOVzjOos-muaXQ8,118 | ||
| eptium/labextension/static/third-party-licenses.json,sha256=W6N2sSD7tQihMqQk64F9xMd1Flfr2KO97esAiHUOYdM,2453 | ||
| eptium/nbextension/extension.js,sha256=VzUx-sVbUWTauNDlxzkdMw4gWaZLgaZYXmq2HmQLYks,402 | ||
| eptium/nbextension/index.js,sha256=5cZ5LBpuTpH6DJmIESzhHB9ljv--hPIaK39n7Tj_9G0,10253 | ||
| eptium/nbextension/index.js.map,sha256=ZtffboNidZ5w4rGw6FKBh-f0cAB6VPKsHaV0CE_-YgQ,26609 | ||
| eptium/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 | ||
| eptium/tests/conftest.py,sha256=XhilbdLgLSSpK44DEPKosXNwvaRUnADNUzi2rieN_No,1410 | ||
| eptium/tests/test_example.py,sha256=-RuG1M15gR9YBGDY1kb67re92OPNPHK42LNVla2YHSk,265 | ||
| eptium/tests/test_nbextension_path.py,sha256=CmMCRRVYH5TskFJcmfE99g680X-aUhDvaAarmEmudiA,458 | ||
| eptium-0.1.0.data/data/share/jupyter/labextensions/eptium/package.json,sha256=GYxd_zMk4CQv0v32s65difOlkF85HlLUsS2GZiqS0mg,3354 | ||
| eptium-0.1.0.data/data/share/jupyter/labextensions/eptium/static/122.ec9c20012ecc03a0e408.js,sha256=7JwgAS7MA6DkCBRjJDyHOZv95phWhqQtdYBkrk5xhB8,8943 | ||
| eptium-0.1.0.data/data/share/jupyter/labextensions/eptium/static/509.322e9f5860af219b301b.js,sha256=Mi6fWGCvIZswG6aNbr_dV95Gyr9gUSOxKXzPoQ_8wkk,8537 | ||
| eptium-0.1.0.data/data/share/jupyter/labextensions/eptium/static/remoteEntry.1ea837417202a59c855e.js,sha256=Hqg3QXICpZyFXqitC1en4wMMGSndjWowqa4HVzq6WwU,6649 | ||
| eptium-0.1.0.data/data/share/jupyter/labextensions/eptium/static/style.js,sha256=-CQt0ZTPaCTvrRiLcznxflAbfvIKlOVzjOos-muaXQ8,118 | ||
| eptium-0.1.0.data/data/share/jupyter/labextensions/eptium/static/third-party-licenses.json,sha256=W6N2sSD7tQihMqQk64F9xMd1Flfr2KO97esAiHUOYdM,2453 | ||
| eptium-0.1.0.data/data/share/jupyter/nbextensions/eptium/extension.js,sha256=VzUx-sVbUWTauNDlxzkdMw4gWaZLgaZYXmq2HmQLYks,402 | ||
| eptium-0.1.0.data/data/share/jupyter/nbextensions/eptium/index.js,sha256=5cZ5LBpuTpH6DJmIESzhHB9ljv--hPIaK39n7Tj_9G0,10253 | ||
| eptium-0.1.0.data/data/share/jupyter/nbextensions/eptium/index.js.map,sha256=ZtffboNidZ5w4rGw6FKBh-f0cAB6VPKsHaV0CE_-YgQ,26609 | ||
| eptium-0.1.0.data/data/etc/jupyter/nbconfig/notebook.d/eptium.json,sha256=ULHhWE9VCsTm7cS2Lj7PFQ-72hxdhGtRZ6WRcqaa6Mg,60 | ||
| eptium-0.1.0.data/data/share/jupyter/labextensions/eptium/install.json,sha256=pyQxX7aNnJADlprd8JY4kD1x3weE0XuANozn4LDDHOA,173 | ||
| eptium-0.1.0.dist-info/METADATA,sha256=nm_wQi734nNe-fvw-D5ie3T1kRmkf-3kSrf84Tkf9UI,5660 | ||
| eptium-0.1.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87 | ||
| eptium-0.1.0.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357 | ||
| eptium-0.1.0.dist-info/licenses/LICENSE.txt,sha256=XPM7SkPLnSg3b-Y3RjOFyHuQcwu_h43atP1iABttCak,1497 | ||
| eptium-0.1.0.dist-info/RECORD,, |
| Wheel-Version: 1.0 | ||
| Generator: hatchling 1.27.0 | ||
| Root-Is-Purelib: true | ||
| Tag: py3-none-any |
| #!/usr/bin/env python | ||
| # coding: utf-8 | ||
| # Copyright (c) Ognyan Moore. | ||
| # Distributed under the terms of the Modified BSD License. | ||
| from .widget import Eptium | ||
| from ._version import __version__, version_info | ||
| def _jupyter_labextension_paths(): | ||
| """Called by Jupyter Lab Server to detect if it is a valid labextension and | ||
| to install the widget | ||
| Returns | ||
| ======= | ||
| src: Source directory name to copy files from. Webpack outputs generated files | ||
| into this directory and Jupyter Lab copies from this directory during | ||
| widget installation | ||
| dest: Destination directory name to install widget files to. Jupyter Lab copies | ||
| from `src` directory into <jupyter path>/labextensions/<dest> directory | ||
| during widget installation | ||
| """ | ||
| return [{ | ||
| 'src': 'labextension', | ||
| 'dest': 'eptium', | ||
| }] | ||
| def _jupyter_nbextension_paths(): | ||
| """Called by Jupyter Notebook Server to detect if it is a valid nbextension and | ||
| to install the widget | ||
| Returns | ||
| ======= | ||
| section: The section of the Jupyter Notebook Server to change. | ||
| Must be 'notebook' for widget extensions | ||
| src: Source directory name to copy files from. Webpack outputs generated files | ||
| into this directory and Jupyter Notebook copies from this directory during | ||
| widget installation | ||
| dest: Destination directory name to install widget files to. Jupyter Notebook copies | ||
| from `src` directory into <jupyter path>/nbextensions/<dest> directory | ||
| during widget installation | ||
| require: Path to importable AMD Javascript module inside the | ||
| <jupyter path>/nbextensions/<dest> directory | ||
| """ | ||
| return [{ | ||
| 'section': 'notebook', | ||
| 'src': 'nbextension', | ||
| 'dest': 'eptium', | ||
| 'require': 'eptium/extension' | ||
| }] |
| #!/usr/bin/env python | ||
| # coding: utf-8 | ||
| # Copyright (c) Ognyan Moore. | ||
| # Distributed under the terms of the Modified BSD License. | ||
| """ | ||
| Information about the frontend package of the widgets. | ||
| """ | ||
| module_name = "eptium" | ||
| module_version = "^0.1.0" |
| #!/usr/bin/env python | ||
| # coding: utf-8 | ||
| # Copyright (c) Ognyan Moore. | ||
| # Distributed under the terms of the Modified BSD License. | ||
| __version__ = "0.1.0" |
| #!/usr/bin/env python | ||
| # coding: utf-8 | ||
| # Copyright (c) Ognyan Moore. | ||
| # Distributed under the terms of the Modified BSD License. | ||
| """ | ||
| TODO: Add module docstring | ||
| """ | ||
| from ipywidgets import DOMWidget, ValueWidget, register | ||
| from traitlets import Unicode, Bool, validate, TraitError | ||
| from ._frontend import module_name, module_version | ||
| # class ExampleWidget(DOMWidget): | ||
| # """TODO: Add docstring here | ||
| # """ | ||
| # _model_name = Unicode('ExampleModel').tag(sync=True) | ||
| # _model_module = Unicode(module_name).tag(sync=True) | ||
| # _model_module_version = Unicode(module_version).tag(sync=True) | ||
| # _view_name = Unicode('ExampleView').tag(sync=True) | ||
| # _view_module = Unicode(module_name).tag(sync=True) | ||
| # _view_module_version = Unicode(module_version).tag(sync=True) | ||
| # value = Unicode('Hello World').tag(sync=True) | ||
| @register | ||
| class PointCloud(DOMWidget, ValueWidget): | ||
| _model_name = Unicode('EptiumModel').tag(sync=True) | ||
| _model_module = Unicode(module_name).tag(sync=True) | ||
| _model_module_version = Unicode(module_version).tag(sync=True) | ||
| _view_name = Unicode('EptiumView').tag(sync=True) | ||
| _view_module = Unicode(module_name).tag(sync=True) | ||
| _view_module_version = Unicode(module_version).tag(sync=True) | ||
| # value = Unicode('example.laz.copc').tag(sync=True) | ||
| { | ||
| "name": "eptium", | ||
| "version": "0.1.0", | ||
| "description": "A jupyter widget to display COPC and COGS data from Eptium.", | ||
| "keywords": [ | ||
| "jupyter", | ||
| "jupyterlab", | ||
| "jupyterlab-extension", | ||
| "widgets" | ||
| ], | ||
| "files": [ | ||
| "lib/**/*.js", | ||
| "dist/*.js", | ||
| "css/*.css" | ||
| ], | ||
| "homepage": "https://github.com/hobuinc/eptium-python", | ||
| "bugs": { | ||
| "url": "https://github.com/hobuinc/eptium-python/issues" | ||
| }, | ||
| "license": "BSD-3-Clause", | ||
| "author": { | ||
| "name": "Ognyan Moore", | ||
| "email": "ogi@hobu.co" | ||
| }, | ||
| "main": "lib/index.js", | ||
| "types": "./lib/index.d.ts", | ||
| "repository": { | ||
| "type": "git", | ||
| "url": "https://github.com/hobuinc/eptium-python" | ||
| }, | ||
| "scripts": { | ||
| "build": "jlpm run build:lib && jlpm run build:nbextension && jlpm run build:labextension:dev", | ||
| "build:prod": "jlpm run build:lib && jlpm run build:nbextension && jlpm run build:labextension", | ||
| "build:labextension": "jupyter labextension build .", | ||
| "build:labextension:dev": "jupyter labextension build --development True .", | ||
| "build:lib": "tsc", | ||
| "build:nbextension": "webpack", | ||
| "clean": "jlpm run clean:lib && jlpm run clean:nbextension && jlpm run clean:labextension", | ||
| "clean:lib": "rimraf lib", | ||
| "clean:labextension": "rimraf eptium/labextension", | ||
| "clean:nbextension": "rimraf eptium/nbextension/static/index.js", | ||
| "lint": "eslint . --ext .ts,.tsx --fix", | ||
| "lint:check": "eslint . --ext .ts,.tsx", | ||
| "prepack": "jlpm run build:lib", | ||
| "test": "jest", | ||
| "watch": "npm-run-all -p watch:*", | ||
| "watch:lib": "tsc -w", | ||
| "watch:nbextension": "webpack --watch --mode=development", | ||
| "watch:labextension": "jupyter labextension watch ." | ||
| }, | ||
| "dependencies": { | ||
| "@jupyter-widgets/base": "^1.1.10 || ^2 || ^3 || ^4 || ^5 || ^6" | ||
| }, | ||
| "devDependencies": { | ||
| "@babel/core": "^7.23.7", | ||
| "@babel/preset-env": "^7.23.8", | ||
| "@jupyter-widgets/base-manager": "^1.0.7", | ||
| "@jupyterlab/builder": "^4.0.11", | ||
| "@lumino/application": "^2.3.0", | ||
| "@lumino/widgets": "^2.3.1", | ||
| "@types/jest": "^29.5.11", | ||
| "@types/webpack-env": "^1.18.4", | ||
| "@typescript-eslint/eslint-plugin": "^6.19.1", | ||
| "@typescript-eslint/parser": "^6.19.1", | ||
| "acorn": "^8.11.3", | ||
| "css-loader": "^6.9.1", | ||
| "eslint": "^8.56.0", | ||
| "eslint-config-prettier": "^9.1.0", | ||
| "eslint-plugin-prettier": "^5.1.3", | ||
| "fs-extra": "^11.2.0", | ||
| "identity-obj-proxy": "^3.0.0", | ||
| "jest": "^29.7.0", | ||
| "mkdirp": "^3.0.1", | ||
| "npm-run-all": "^4.1.5", | ||
| "prettier": "^3.2.4", | ||
| "rimraf": "^5.0.5", | ||
| "source-map-loader": "^5.0.0", | ||
| "style-loader": "^3.3.4", | ||
| "ts-jest": "^29.1.2", | ||
| "ts-loader": "^9.5.1", | ||
| "typescript": "~5.3.3", | ||
| "webpack": "^5.90.0", | ||
| "webpack-cli": "^5.1.4" | ||
| }, | ||
| "devDependenciesComments": { | ||
| "@jupyterlab/builder": "pinned to the latest JupyterLab 3.x release", | ||
| "@lumino/application": "pinned to the latest Lumino 1.x release", | ||
| "@lumino/widgets": "pinned to the latest Lumino 1.x release" | ||
| }, | ||
| "jupyterlab": { | ||
| "extension": "lib/plugin", | ||
| "outputDir": "eptium/labextension/", | ||
| "sharedPackages": { | ||
| "@jupyter-widgets/base": { | ||
| "bundled": false, | ||
| "singleton": true | ||
| } | ||
| }, | ||
| "_build": { | ||
| "load": "static/remoteEntry.1ea837417202a59c855e.js", | ||
| "extension": "./extension" | ||
| } | ||
| }, | ||
| "packageManager": "yarn@4.5.3" | ||
| } |
| "use strict";(self.webpackChunkeptium=self.webpackChunkeptium||[]).push([[122],{122:function(e,t,n){var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,i,r)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&i(t,e,n);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0});const s=n(983),a=o(n(266)),l=n(797),u={id:"eptium:plugin",requires:[s.IJupyterWidgetRegistry],activate:function(e,t){t.registerWidget({name:l.MODULE_NAME,version:l.MODULE_VERSION,exports:a})},autoStart:!0};t.default=u},797:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.MODULE_NAME=t.MODULE_VERSION=void 0;const i=n(330);t.MODULE_VERSION=i.version,t.MODULE_NAME=i.name},266:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.EptiumView=t.EptiumModel=void 0;const i=n(983),r=n(797);n(463);class o extends i.DOMWidgetModel{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:o.model_name,_model_module:o.model_module,_model_module_version:o.model_module_version,_view_name:o.view_name,_view_module:o.view_module,_view_module_version:o.view_module_version,src:"https://viewer.copc.io"})}}t.EptiumModel=o,o.serializers=Object.assign({},i.DOMWidgetModel.serializers),o.model_name="EptiumModel",o.model_module=r.MODULE_NAME,o.model_module_version=r.MODULE_VERSION,o.view_name="EptiumView",o.view_module=r.MODULE_NAME,o.view_module_version=r.MODULE_VERSION;class s extends i.DOMWidgetView{render(){this._iframe=document.createElement("iframe"),this._iframe.width="100%",this._iframe.height="400",this._iframe.style.boxSizing="border-box",this.el.appendChild(this._iframe),this._onSrcChanged(),this.model.on("change:src",this._onSrcChanged,this)}_onSrcChanged(){const e=this.model.get("src");this.model.widget_manager.resolveUrl(e).then((e=>{this._iframe.src=e}))}}t.EptiumView=s},930:(e,t,n)=>{n.d(t,{A:()=>a});var i=n(601),r=n.n(i),o=n(314),s=n.n(o)()(r());s.push([e.id,".custom-widget {\n background-color: lightseagreen;\n padding: 0px 2px;\n}\n",""]);const a=s},314:e=>{e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",i=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),i&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),i&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,i,r,o){"string"==typeof e&&(e=[[null,e,void 0]]);var s={};if(i)for(var a=0;a<this.length;a++){var l=this[a][0];null!=l&&(s[l]=!0)}for(var u=0;u<e.length;u++){var c=[].concat(e[u]);i&&s[c[0]]||(void 0!==o&&(void 0===c[5]||(c[1]="@layer".concat(c[5].length>0?" ".concat(c[5]):""," {").concat(c[1],"}")),c[5]=o),n&&(c[2]?(c[1]="@media ".concat(c[2]," {").concat(c[1],"}"),c[2]=n):c[2]=n),r&&(c[4]?(c[1]="@supports (".concat(c[4],") {").concat(c[1],"}"),c[4]=r):c[4]="".concat(r)),t.push(c))}},t}},601:e=>{e.exports=function(e){return e[1]}},463:(e,t,n)=>{n.r(t),n.d(t,{default:()=>v});var i=n(72),r=n.n(i),o=n(825),s=n.n(o),a=n(659),l=n.n(a),u=n(56),c=n.n(u),d=n(540),p=n.n(d),m=n(113),b=n.n(m),f=n(930),h={};h.styleTagTransform=b(),h.setAttributes=c(),h.insert=l().bind(null,"head"),h.domAPI=s(),h.insertStyleElement=p(),r()(f.A,h);const v=f.A&&f.A.locals?f.A.locals:void 0},72:e=>{var t=[];function n(e){for(var n=-1,i=0;i<t.length;i++)if(t[i].identifier===e){n=i;break}return n}function i(e,i){for(var o={},s=[],a=0;a<e.length;a++){var l=e[a],u=i.base?l[0]+i.base:l[0],c=o[u]||0,d="".concat(u," ").concat(c);o[u]=c+1;var p=n(d),m={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==p)t[p].references++,t[p].updater(m);else{var b=r(m,i);i.byIndex=a,t.splice(a,0,{identifier:d,updater:b,references:1})}s.push(d)}return s}function r(e,t){var n=t.domAPI(t);return n.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,r){var o=i(e=e||[],r=r||{});return function(e){e=e||[];for(var s=0;s<o.length;s++){var a=n(o[s]);t[a].references--}for(var l=i(e,r),u=0;u<o.length;u++){var c=n(o[u]);0===t[c].references&&(t[c].updater(),t.splice(c,1))}o=l}}},659:e=>{var t={};e.exports=function(e,n){var i=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(n)}},540:e=>{e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},56:(e,t,n)=>{e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},825:e=>{e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var i="";n.supports&&(i+="@supports (".concat(n.supports,") {")),n.media&&(i+="@media ".concat(n.media," {"));var r=void 0!==n.layer;r&&(i+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),i+=n.css,r&&(i+="}"),n.media&&(i+="}"),n.supports&&(i+="}");var o=n.sourceMap;o&&"undefined"!=typeof btoa&&(i+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),t.styleTagTransform(i,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},113:e=>{e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},330:e=>{e.exports=JSON.parse('{"name":"eptium","version":"0.1.0","description":"A jupyter widget to display COPC and COGS data from Eptium.","keywords":["jupyter","jupyterlab","jupyterlab-extension","widgets"],"files":["lib/**/*.js","dist/*.js","css/*.css"],"homepage":"https://github.com/hobuinc/eptium-python","bugs":{"url":"https://github.com/hobuinc/eptium-python/issues"},"license":"BSD-3-Clause","author":{"name":"Ognyan Moore","email":"ogi@hobu.co"},"main":"lib/index.js","types":"./lib/index.d.ts","repository":{"type":"git","url":"https://github.com/hobuinc/eptium-python"},"scripts":{"build":"jlpm run build:lib && jlpm run build:nbextension && jlpm run build:labextension:dev","build:prod":"jlpm run build:lib && jlpm run build:nbextension && jlpm run build:labextension","build:labextension":"jupyter labextension build .","build:labextension:dev":"jupyter labextension build --development True .","build:lib":"tsc","build:nbextension":"webpack","clean":"jlpm run clean:lib && jlpm run clean:nbextension && jlpm run clean:labextension","clean:lib":"rimraf lib","clean:labextension":"rimraf eptium/labextension","clean:nbextension":"rimraf eptium/nbextension/static/index.js","lint":"eslint . --ext .ts,.tsx --fix","lint:check":"eslint . --ext .ts,.tsx","prepack":"jlpm run build:lib","test":"jest","watch":"npm-run-all -p watch:*","watch:lib":"tsc -w","watch:nbextension":"webpack --watch --mode=development","watch:labextension":"jupyter labextension watch ."},"dependencies":{"@jupyter-widgets/base":"^1.1.10 || ^2 || ^3 || ^4 || ^5 || ^6"},"devDependencies":{"@babel/core":"^7.23.7","@babel/preset-env":"^7.23.8","@jupyter-widgets/base-manager":"^1.0.7","@jupyterlab/builder":"^4.0.11","@lumino/application":"^2.3.0","@lumino/widgets":"^2.3.1","@types/jest":"^29.5.11","@types/webpack-env":"^1.18.4","@typescript-eslint/eslint-plugin":"^6.19.1","@typescript-eslint/parser":"^6.19.1","acorn":"^8.11.3","css-loader":"^6.9.1","eslint":"^8.56.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.1.3","fs-extra":"^11.2.0","identity-obj-proxy":"^3.0.0","jest":"^29.7.0","mkdirp":"^3.0.1","npm-run-all":"^4.1.5","prettier":"^3.2.4","rimraf":"^5.0.5","source-map-loader":"^5.0.0","style-loader":"^3.3.4","ts-jest":"^29.1.2","ts-loader":"^9.5.1","typescript":"~5.3.3","webpack":"^5.90.0","webpack-cli":"^5.1.4"},"devDependenciesComments":{"@jupyterlab/builder":"pinned to the latest JupyterLab 3.x release","@lumino/application":"pinned to the latest Lumino 1.x release","@lumino/widgets":"pinned to the latest Lumino 1.x release"},"jupyterlab":{"extension":"lib/plugin","outputDir":"eptium/labextension/","sharedPackages":{"@jupyter-widgets/base":{"bundled":false,"singleton":true}}},"packageManager":"yarn@4.5.3"}')}}]); |
| "use strict";(self.webpackChunkeptium=self.webpackChunkeptium||[]).push([[509],{509:function(e,t,n){var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,i,r)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(797),t),r(n(266),t)},797:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.MODULE_NAME=t.MODULE_VERSION=void 0;const i=n(330);t.MODULE_VERSION=i.version,t.MODULE_NAME=i.name},266:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.EptiumView=t.EptiumModel=void 0;const i=n(983),r=n(797);n(463);class o extends i.DOMWidgetModel{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:o.model_name,_model_module:o.model_module,_model_module_version:o.model_module_version,_view_name:o.view_name,_view_module:o.view_module,_view_module_version:o.view_module_version,src:"https://viewer.copc.io"})}}t.EptiumModel=o,o.serializers=Object.assign({},i.DOMWidgetModel.serializers),o.model_name="EptiumModel",o.model_module=r.MODULE_NAME,o.model_module_version=r.MODULE_VERSION,o.view_name="EptiumView",o.view_module=r.MODULE_NAME,o.view_module_version=r.MODULE_VERSION;class s extends i.DOMWidgetView{render(){this._iframe=document.createElement("iframe"),this._iframe.width="100%",this._iframe.height="400",this._iframe.style.boxSizing="border-box",this.el.appendChild(this._iframe),this._onSrcChanged(),this.model.on("change:src",this._onSrcChanged,this)}_onSrcChanged(){const e=this.model.get("src");this.model.widget_manager.resolveUrl(e).then((e=>{this._iframe.src=e}))}}t.EptiumView=s},930:(e,t,n)=>{n.d(t,{A:()=>a});var i=n(601),r=n.n(i),o=n(314),s=n.n(o)()(r());s.push([e.id,".custom-widget {\n background-color: lightseagreen;\n padding: 0px 2px;\n}\n",""]);const a=s},314:e=>{e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",i=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),i&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),i&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,i,r,o){"string"==typeof e&&(e=[[null,e,void 0]]);var s={};if(i)for(var a=0;a<this.length;a++){var l=this[a][0];null!=l&&(s[l]=!0)}for(var u=0;u<e.length;u++){var c=[].concat(e[u]);i&&s[c[0]]||(void 0!==o&&(void 0===c[5]||(c[1]="@layer".concat(c[5].length>0?" ".concat(c[5]):""," {").concat(c[1],"}")),c[5]=o),n&&(c[2]?(c[1]="@media ".concat(c[2]," {").concat(c[1],"}"),c[2]=n):c[2]=n),r&&(c[4]?(c[1]="@supports (".concat(c[4],") {").concat(c[1],"}"),c[4]=r):c[4]="".concat(r)),t.push(c))}},t}},601:e=>{e.exports=function(e){return e[1]}},463:(e,t,n)=>{n.r(t),n.d(t,{default:()=>v});var i=n(72),r=n.n(i),o=n(825),s=n.n(o),a=n(659),l=n.n(a),u=n(56),c=n.n(u),d=n(540),p=n.n(d),m=n(113),b=n.n(m),f=n(930),h={};h.styleTagTransform=b(),h.setAttributes=c(),h.insert=l().bind(null,"head"),h.domAPI=s(),h.insertStyleElement=p(),r()(f.A,h);const v=f.A&&f.A.locals?f.A.locals:void 0},72:e=>{var t=[];function n(e){for(var n=-1,i=0;i<t.length;i++)if(t[i].identifier===e){n=i;break}return n}function i(e,i){for(var o={},s=[],a=0;a<e.length;a++){var l=e[a],u=i.base?l[0]+i.base:l[0],c=o[u]||0,d="".concat(u," ").concat(c);o[u]=c+1;var p=n(d),m={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==p)t[p].references++,t[p].updater(m);else{var b=r(m,i);i.byIndex=a,t.splice(a,0,{identifier:d,updater:b,references:1})}s.push(d)}return s}function r(e,t){var n=t.domAPI(t);return n.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,r){var o=i(e=e||[],r=r||{});return function(e){e=e||[];for(var s=0;s<o.length;s++){var a=n(o[s]);t[a].references--}for(var l=i(e,r),u=0;u<o.length;u++){var c=n(o[u]);0===t[c].references&&(t[c].updater(),t.splice(c,1))}o=l}}},659:e=>{var t={};e.exports=function(e,n){var i=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(n)}},540:e=>{e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},56:(e,t,n)=>{e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},825:e=>{e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var i="";n.supports&&(i+="@supports (".concat(n.supports,") {")),n.media&&(i+="@media ".concat(n.media," {"));var r=void 0!==n.layer;r&&(i+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),i+=n.css,r&&(i+="}"),n.media&&(i+="}"),n.supports&&(i+="}");var o=n.sourceMap;o&&"undefined"!=typeof btoa&&(i+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),t.styleTagTransform(i,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},113:e=>{e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},330:e=>{e.exports=JSON.parse('{"name":"eptium","version":"0.1.0","description":"A jupyter widget to display COPC and COGS data from Eptium.","keywords":["jupyter","jupyterlab","jupyterlab-extension","widgets"],"files":["lib/**/*.js","dist/*.js","css/*.css"],"homepage":"https://github.com/hobuinc/eptium-python","bugs":{"url":"https://github.com/hobuinc/eptium-python/issues"},"license":"BSD-3-Clause","author":{"name":"Ognyan Moore","email":"ogi@hobu.co"},"main":"lib/index.js","types":"./lib/index.d.ts","repository":{"type":"git","url":"https://github.com/hobuinc/eptium-python"},"scripts":{"build":"jlpm run build:lib && jlpm run build:nbextension && jlpm run build:labextension:dev","build:prod":"jlpm run build:lib && jlpm run build:nbextension && jlpm run build:labextension","build:labextension":"jupyter labextension build .","build:labextension:dev":"jupyter labextension build --development True .","build:lib":"tsc","build:nbextension":"webpack","clean":"jlpm run clean:lib && jlpm run clean:nbextension && jlpm run clean:labextension","clean:lib":"rimraf lib","clean:labextension":"rimraf eptium/labextension","clean:nbextension":"rimraf eptium/nbextension/static/index.js","lint":"eslint . --ext .ts,.tsx --fix","lint:check":"eslint . --ext .ts,.tsx","prepack":"jlpm run build:lib","test":"jest","watch":"npm-run-all -p watch:*","watch:lib":"tsc -w","watch:nbextension":"webpack --watch --mode=development","watch:labextension":"jupyter labextension watch ."},"dependencies":{"@jupyter-widgets/base":"^1.1.10 || ^2 || ^3 || ^4 || ^5 || ^6"},"devDependencies":{"@babel/core":"^7.23.7","@babel/preset-env":"^7.23.8","@jupyter-widgets/base-manager":"^1.0.7","@jupyterlab/builder":"^4.0.11","@lumino/application":"^2.3.0","@lumino/widgets":"^2.3.1","@types/jest":"^29.5.11","@types/webpack-env":"^1.18.4","@typescript-eslint/eslint-plugin":"^6.19.1","@typescript-eslint/parser":"^6.19.1","acorn":"^8.11.3","css-loader":"^6.9.1","eslint":"^8.56.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.1.3","fs-extra":"^11.2.0","identity-obj-proxy":"^3.0.0","jest":"^29.7.0","mkdirp":"^3.0.1","npm-run-all":"^4.1.5","prettier":"^3.2.4","rimraf":"^5.0.5","source-map-loader":"^5.0.0","style-loader":"^3.3.4","ts-jest":"^29.1.2","ts-loader":"^9.5.1","typescript":"~5.3.3","webpack":"^5.90.0","webpack-cli":"^5.1.4"},"devDependenciesComments":{"@jupyterlab/builder":"pinned to the latest JupyterLab 3.x release","@lumino/application":"pinned to the latest Lumino 1.x release","@lumino/widgets":"pinned to the latest Lumino 1.x release"},"jupyterlab":{"extension":"lib/plugin","outputDir":"eptium/labextension/","sharedPackages":{"@jupyter-widgets/base":{"bundled":false,"singleton":true}}},"packageManager":"yarn@4.5.3"}')}}]); |
| var _JUPYTERLAB;(()=>{"use strict";var e,r,t,n,o,i,a,u,l,s,f,p,d,c,h,v,m,g,b,y={885:(e,r,t)=>{var n={"./index":()=>Promise.all([t.e(983),t.e(509)]).then((()=>()=>t(509))),"./extension":()=>Promise.all([t.e(983),t.e(122)]).then((()=>()=>t(122)))},o=(e,r)=>(t.R=r,r=t.o(n,e)?n[e]():Promise.resolve().then((()=>{throw new Error('Module "'+e+'" does not exist in container.')})),t.R=void 0,r),i=(e,r)=>{if(t.S){var n="default",o=t.S[n];if(o&&o!==e)throw new Error("Container initialization failed as it has already been initialized with a different share scope");return t.S[n]=e,t.I(n,r)}};t.d(r,{get:()=>o,init:()=>i})}},w={};function S(e){var r=w[e];if(void 0!==r)return r.exports;var t=w[e]={id:e,exports:{}};return y[e].call(t.exports,t,t.exports,S),t.exports}S.m=y,S.c=w,S.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return S.d(r,{a:r}),r},S.d=(e,r)=>{for(var t in r)S.o(r,t)&&!S.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},S.f={},S.e=e=>Promise.all(Object.keys(S.f).reduce(((r,t)=>(S.f[t](e,r),r)),[])),S.u=e=>e+"."+{122:"ec9c20012ecc03a0e408",509:"322e9f5860af219b301b"}[e]+".js?v="+{122:"ec9c20012ecc03a0e408",509:"322e9f5860af219b301b"}[e],S.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),S.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),e={},r="eptium:",S.l=(t,n,o,i)=>{if(e[t])e[t].push(n);else{var a,u;if(void 0!==o)for(var l=document.getElementsByTagName("script"),s=0;s<l.length;s++){var f=l[s];if(f.getAttribute("src")==t||f.getAttribute("data-webpack")==r+o){a=f;break}}a||(u=!0,(a=document.createElement("script")).charset="utf-8",a.timeout=120,S.nc&&a.setAttribute("nonce",S.nc),a.setAttribute("data-webpack",r+o),a.src=t),e[t]=[n];var p=(r,n)=>{a.onerror=a.onload=null,clearTimeout(d);var o=e[t];if(delete e[t],a.parentNode&&a.parentNode.removeChild(a),o&&o.forEach((e=>e(n))),r)return r(n)},d=setTimeout(p.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=p.bind(null,a.onerror),a.onload=p.bind(null,a.onload),u&&document.head.appendChild(a)}},S.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{S.S={};var e={},r={};S.I=(t,n)=>{n||(n=[]);var o=r[t];if(o||(o=r[t]={}),!(n.indexOf(o)>=0)){if(n.push(o),e[t])return e[t];S.o(S.S,t)||(S.S[t]={});var i=S.S[t],a="eptium",u=[];return"default"===t&&((e,r,t,n)=>{var o=i[e]=i[e]||{},u=o[r];(!u||!u.loaded&&(1!=!u.eager?n:a>u.from))&&(o[r]={get:()=>Promise.all([S.e(983),S.e(509)]).then((()=>()=>S(509))),from:a,eager:!1})})("eptium","0.1.0"),e[t]=u.length?Promise.all(u).then((()=>e[t]=1)):1}}})(),(()=>{var e;S.g.importScripts&&(e=S.g.location+"");var r=S.g.document;if(!e&&r&&(r.currentScript&&"SCRIPT"===r.currentScript.tagName.toUpperCase()&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName("script");if(t.length)for(var n=t.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=t[n--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),S.p=e})(),t=e=>{var r=e=>e.split(".").map((e=>+e==e?+e:e)),t=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),n=t[1]?r(t[1]):[];return t[2]&&(n.length++,n.push.apply(n,r(t[2]))),t[3]&&(n.push([]),n.push.apply(n,r(t[3]))),n},n=(e,r)=>{e=t(e),r=t(r);for(var n=0;;){if(n>=e.length)return n<r.length&&"u"!=(typeof r[n])[0];var o=e[n],i=(typeof o)[0];if(n>=r.length)return"u"==i;var a=r[n],u=(typeof a)[0];if(i!=u)return"o"==i&&"n"==u||"s"==u||"u"==i;if("o"!=i&&"u"!=i&&o!=a)return o<a;n++}},o=e=>{var r=e[0],t="";if(1===e.length)return"*";if(r+.5){t+=0==r?">=":-1==r?"<":1==r?"^":2==r?"~":r>0?"=":"!=";for(var n=1,i=1;i<e.length;i++)n--,t+="u"==(typeof(u=e[i]))[0]?"-":(n>0?".":"")+(n=2,u);return t}var a=[];for(i=1;i<e.length;i++){var u=e[i];a.push(0===u?"not("+l()+")":1===u?"("+l()+" || "+l()+")":2===u?a.pop()+" "+a.pop():o(u))}return l();function l(){return a.pop().replace(/^\((.+)\)$/,"$1")}},i=(e,r)=>{if(0 in e){r=t(r);var n=e[0],o=n<0;o&&(n=-n-1);for(var a=0,u=1,l=!0;;u++,a++){var s,f,p=u<e.length?(typeof e[u])[0]:"";if(a>=r.length||"o"==(f=(typeof(s=r[a]))[0]))return!l||("u"==p?u>n&&!o:""==p!=o);if("u"==f){if(!l||"u"!=p)return!1}else if(l)if(p==f)if(u<=n){if(s!=e[u])return!1}else{if(o?s>e[u]:s<e[u])return!1;s!=e[u]&&(l=!1)}else if("s"!=p&&"n"!=p){if(o||u<=n)return!1;l=!1,u--}else{if(u<=n||f<p!=o)return!1;l=!1}else"s"!=p&&"n"!=p&&(l=!1,u--)}}var d=[],c=d.pop.bind(d);for(a=1;a<e.length;a++){var h=e[a];d.push(1==h?c()|c():2==h?c()&c():h?i(h,r):!c())}return!!c()},a=(e,r)=>e&&S.o(e,r),u=e=>(e.loaded=1,e.get()),l=e=>Object.keys(e).reduce(((r,t)=>(e[t].eager&&(r[t]=e[t]),r)),{}),s=(e,r,t)=>{var o=t?l(e[r]):e[r];return Object.keys(o).reduce(((e,r)=>!e||!o[e].loaded&&n(e,r)?r:e),0)},f=(e,r,t,n)=>"Unsatisfied version "+t+" from "+(t&&e[r][t].from)+" of shared singleton module "+r+" (required "+o(n)+")",p=e=>{throw new Error(e)},d=e=>{"undefined"!=typeof console&&console.warn&&console.warn(e)},c=(e,r,t)=>t?t():((e,r)=>p("Shared module "+r+" doesn't exist in shared scope "+e))(e,r),h=(e=>function(r,t,n,o,i){var a=S.I(r);return a&&a.then&&!n?a.then(e.bind(e,r,S.S[r],t,!1,o,i)):e(r,S.S[r],t,n,o,i)})(((e,r,t,n,o,l)=>{if(!a(r,t))return c(e,t,l);var p=s(r,t,n);return i(o,p)||d(f(r,t,p,o)),u(r[t][p])})),v={},m={983:()=>h("default","@jupyter-widgets/base",!1,[,[1,6],[1,5],[1,4],[1,3],[1,2],[1,1,1,10],1,1,1,1,1])},g={983:[983]},b={},S.f.consumes=(e,r)=>{S.o(g,e)&&g[e].forEach((e=>{if(S.o(v,e))return r.push(v[e]);if(!b[e]){var t=r=>{v[e]=0,S.m[e]=t=>{delete S.c[e],t.exports=r()}};b[e]=!0;var n=r=>{delete v[e],S.m[e]=t=>{throw delete S.c[e],r}};try{var o=m[e]();o.then?r.push(v[e]=o.then(t).catch(n)):t(o)}catch(e){n(e)}}}))},(()=>{var e={403:0};S.f.j=(r,t)=>{var n=S.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else if(983!=r){var o=new Promise(((t,o)=>n=e[r]=[t,o]));t.push(n[2]=o);var i=S.p+S.u(r),a=new Error;S.l(i,(t=>{if(S.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var o=t&&("load"===t.type?"missing":t.type),i=t&&t.target&&t.target.src;a.message="Loading chunk "+r+" failed.\n("+o+": "+i+")",a.name="ChunkLoadError",a.type=o,a.request=i,n[1](a)}}),"chunk-"+r,r)}else e[r]=0};var r=(r,t)=>{var n,o,[i,a,u]=t,l=0;if(i.some((r=>0!==e[r]))){for(n in a)S.o(a,n)&&(S.m[n]=a[n]);u&&u(S)}for(r&&r(t);l<i.length;l++)o=i[l],S.o(e,o)&&e[o]&&e[o][0](),e[o]=0},t=self.webpackChunkeptium=self.webpackChunkeptium||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})(),S.nc=void 0;var P=S(885);(_JUPYTERLAB=void 0===_JUPYTERLAB?{}:_JUPYTERLAB).eptium=P})(); |
| /* This is a generated file of CSS imports */ | ||
| /* It was generated by @jupyterlab/builder in Build.ensureAssets() */ | ||
| { | ||
| "packages": [ | ||
| { | ||
| "name": "css-loader", | ||
| "versionInfo": "6.11.0", | ||
| "licenseId": "MIT", | ||
| "extractedText": "Copyright JS Foundation and other contributors\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n" | ||
| }, | ||
| { | ||
| "name": "style-loader", | ||
| "versionInfo": "3.3.4", | ||
| "licenseId": "MIT", | ||
| "extractedText": "Copyright JS Foundation and other contributors\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n" | ||
| } | ||
| ] | ||
| } |
| // Entry point for the notebook bundle containing custom model definitions. | ||
| // | ||
| define(function() { | ||
| "use strict"; | ||
| window['requirejs'].config({ | ||
| map: { | ||
| '*': { | ||
| 'eptium': 'nbextensions/eptium/index', | ||
| }, | ||
| } | ||
| }); | ||
| // Export the required load_ipython_extension function | ||
| return { | ||
| load_ipython_extension : function() {} | ||
| }; | ||
| }); |
| define(["@jupyter-widgets/base"],(e=>(()=>{"use strict";var t={930:(e,t,n)=>{n.d(t,{A:()=>s});var i=n(516),r=n.n(i),o=n(364),a=n.n(o)()(r());a.push([e.id,".custom-widget {\n background-color: lightseagreen;\n padding: 0px 2px;\n}\n","",{version:3,sources:["webpack://./css/widget.css"],names:[],mappings:"AAAA;EACE,+BAA+B;EAC/B,gBAAgB;AAClB",sourcesContent:[".custom-widget {\n background-color: lightseagreen;\n padding: 0px 2px;\n}\n"],sourceRoot:""}]);const s=a},364:e=>{e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",i=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),i&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),i&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,i,r,o){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(i)for(var s=0;s<this.length;s++){var l=this[s][0];null!=l&&(a[l]=!0)}for(var u=0;u<e.length;u++){var c=[].concat(e[u]);i&&a[c[0]]||(void 0!==o&&(void 0===c[5]||(c[1]="@layer".concat(c[5].length>0?" ".concat(c[5]):""," {").concat(c[1],"}")),c[5]=o),n&&(c[2]?(c[1]="@media ".concat(c[2]," {").concat(c[1],"}"),c[2]=n):c[2]=n),r&&(c[4]?(c[1]="@supports (".concat(c[4],") {").concat(c[1],"}"),c[4]=r):c[4]="".concat(r)),t.push(c))}},t}},516:e=>{e.exports=function(e){var t=e[1],n=e[3];if(!n)return t;if("function"==typeof btoa){var i=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),r="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(i),o="/*# ".concat(r," */");return[t].concat([o]).join("\n")}return[t].join("\n")}},463:(e,t,n)=>{n.r(t),n.d(t,{default:()=>h});var i=n(72),r=n.n(i),o=n(825),a=n.n(o),s=n(659),l=n.n(s),u=n(56),c=n.n(u),d=n(540),p=n.n(d),m=n(113),b=n.n(m),f=n(930),v={};v.styleTagTransform=b(),v.setAttributes=c(),v.insert=l().bind(null,"head"),v.domAPI=a(),v.insertStyleElement=p(),r()(f.A,v);const h=f.A&&f.A.locals?f.A.locals:void 0},72:e=>{var t=[];function n(e){for(var n=-1,i=0;i<t.length;i++)if(t[i].identifier===e){n=i;break}return n}function i(e,i){for(var o={},a=[],s=0;s<e.length;s++){var l=e[s],u=i.base?l[0]+i.base:l[0],c=o[u]||0,d="".concat(u," ").concat(c);o[u]=c+1;var p=n(d),m={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==p)t[p].references++,t[p].updater(m);else{var b=r(m,i);i.byIndex=s,t.splice(s,0,{identifier:d,updater:b,references:1})}a.push(d)}return a}function r(e,t){var n=t.domAPI(t);return n.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,r){var o=i(e=e||[],r=r||{});return function(e){e=e||[];for(var a=0;a<o.length;a++){var s=n(o[a]);t[s].references--}for(var l=i(e,r),u=0;u<o.length;u++){var c=n(o[u]);0===t[c].references&&(t[c].updater(),t.splice(c,1))}o=l}}},659:e=>{var t={};e.exports=function(e,n){var i=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(n)}},540:e=>{e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},56:(e,t,n)=>{e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},825:e=>{e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var i="";n.supports&&(i+="@supports (".concat(n.supports,") {")),n.media&&(i+="@media ".concat(n.media," {"));var r=void 0!==n.layer;r&&(i+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),i+=n.css,r&&(i+="}"),n.media&&(i+="}"),n.supports&&(i+="}");var o=n.sourceMap;o&&"undefined"!=typeof btoa&&(i+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),t.styleTagTransform(i,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},113:e=>{e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},265:function(e,t,n){var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,i,r)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),window.__webpack_public_path__=document.querySelector("body").getAttribute("data-base-url")+"nbextensions/eptium",r(n(156),t)},156:function(e,t,n){var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,i,r)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(672),t),r(n(110),t)},672:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.MODULE_NAME=t.MODULE_VERSION=void 0;const i=n(330);t.MODULE_VERSION=i.version,t.MODULE_NAME=i.name},110:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.EptiumView=t.EptiumModel=void 0;const i=n(55),r=n(672);n(463);class o extends i.DOMWidgetModel{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:o.model_name,_model_module:o.model_module,_model_module_version:o.model_module_version,_view_name:o.view_name,_view_module:o.view_module,_view_module_version:o.view_module_version,src:"https://viewer.copc.io"})}}t.EptiumModel=o,o.serializers=Object.assign({},i.DOMWidgetModel.serializers),o.model_name="EptiumModel",o.model_module=r.MODULE_NAME,o.model_module_version=r.MODULE_VERSION,o.view_name="EptiumView",o.view_module=r.MODULE_NAME,o.view_module_version=r.MODULE_VERSION;class a extends i.DOMWidgetView{render(){this._iframe=document.createElement("iframe"),this._iframe.width="100%",this._iframe.height="400",this._iframe.style.boxSizing="border-box",this.el.appendChild(this._iframe),this._onSrcChanged(),this.model.on("change:src",this._onSrcChanged,this)}_onSrcChanged(){const e=this.model.get("src");this.model.widget_manager.resolveUrl(e).then((e=>{this._iframe.src=e}))}}t.EptiumView=a},55:t=>{t.exports=e},330:e=>{e.exports=JSON.parse('{"name":"eptium","version":"0.1.0","description":"A jupyter widget to display COPC and COGS data from Eptium.","keywords":["jupyter","jupyterlab","jupyterlab-extension","widgets"],"files":["lib/**/*.js","dist/*.js","css/*.css"],"homepage":"https://github.com/hobuinc/eptium-python","bugs":{"url":"https://github.com/hobuinc/eptium-python/issues"},"license":"BSD-3-Clause","author":{"name":"Ognyan Moore","email":"ogi@hobu.co"},"main":"lib/index.js","types":"./lib/index.d.ts","repository":{"type":"git","url":"https://github.com/hobuinc/eptium-python"},"scripts":{"build":"jlpm run build:lib && jlpm run build:nbextension && jlpm run build:labextension:dev","build:prod":"jlpm run build:lib && jlpm run build:nbextension && jlpm run build:labextension","build:labextension":"jupyter labextension build .","build:labextension:dev":"jupyter labextension build --development True .","build:lib":"tsc","build:nbextension":"webpack","clean":"jlpm run clean:lib && jlpm run clean:nbextension && jlpm run clean:labextension","clean:lib":"rimraf lib","clean:labextension":"rimraf eptium/labextension","clean:nbextension":"rimraf eptium/nbextension/static/index.js","lint":"eslint . --ext .ts,.tsx --fix","lint:check":"eslint . --ext .ts,.tsx","prepack":"jlpm run build:lib","test":"jest","watch":"npm-run-all -p watch:*","watch:lib":"tsc -w","watch:nbextension":"webpack --watch --mode=development","watch:labextension":"jupyter labextension watch ."},"dependencies":{"@jupyter-widgets/base":"^1.1.10 || ^2 || ^3 || ^4 || ^5 || ^6"},"devDependencies":{"@babel/core":"^7.23.7","@babel/preset-env":"^7.23.8","@jupyter-widgets/base-manager":"^1.0.7","@jupyterlab/builder":"^4.0.11","@lumino/application":"^2.3.0","@lumino/widgets":"^2.3.1","@types/jest":"^29.5.11","@types/webpack-env":"^1.18.4","@typescript-eslint/eslint-plugin":"^6.19.1","@typescript-eslint/parser":"^6.19.1","acorn":"^8.11.3","css-loader":"^6.9.1","eslint":"^8.56.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.1.3","fs-extra":"^11.2.0","identity-obj-proxy":"^3.0.0","jest":"^29.7.0","mkdirp":"^3.0.1","npm-run-all":"^4.1.5","prettier":"^3.2.4","rimraf":"^5.0.5","source-map-loader":"^5.0.0","style-loader":"^3.3.4","ts-jest":"^29.1.2","ts-loader":"^9.5.1","typescript":"~5.3.3","webpack":"^5.90.0","webpack-cli":"^5.1.4"},"devDependenciesComments":{"@jupyterlab/builder":"pinned to the latest JupyterLab 3.x release","@lumino/application":"pinned to the latest Lumino 1.x release","@lumino/widgets":"pinned to the latest Lumino 1.x release"},"jupyterlab":{"extension":"lib/plugin","outputDir":"eptium/labextension/","sharedPackages":{"@jupyter-widgets/base":{"bundled":false,"singleton":true}}},"packageManager":"yarn@4.5.3"}')}},n={};function i(e){var r=n[e];if(void 0!==r)return r.exports;var o=n[e]={id:e,exports:{}};return t[e].call(o.exports,o,o.exports,i),o.exports}return i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.nc=void 0,i(265)})())); | ||
| //# sourceMappingURL=index.js.map |
| {"version":3,"file":"index.js","mappings":"6HAGIA,E,MAA0B,GAA4B,KAE1DA,EAAwBC,KAAK,CAACC,EAAOC,GAAI,iFAItC,GAAG,CAAC,QAAU,EAAE,QAAU,CAAC,8BAA8B,MAAQ,GAAG,SAAW,sCAAsC,eAAiB,CAAC,kFAAkF,WAAa,MAEzO,S,UCLAD,EAAOE,QAAU,SAAUC,GACzB,IAAIC,EAAO,GA4EX,OAzEAA,EAAKC,SAAW,WACd,OAAOC,KAAKC,KAAI,SAAUC,GACxB,IAAIC,EAAU,GACVC,OAA+B,IAAZF,EAAK,GAoB5B,OAnBIA,EAAK,KACPC,GAAW,cAAcE,OAAOH,EAAK,GAAI,QAEvCA,EAAK,KACPC,GAAW,UAAUE,OAAOH,EAAK,GAAI,OAEnCE,IACFD,GAAW,SAASE,OAAOH,EAAK,GAAGI,OAAS,EAAI,IAAID,OAAOH,EAAK,IAAM,GAAI,OAE5EC,GAAWN,EAAuBK,GAC9BE,IACFD,GAAW,KAETD,EAAK,KACPC,GAAW,KAETD,EAAK,KACPC,GAAW,KAENA,CACT,IAAGI,KAAK,GACV,EAGAT,EAAKU,EAAI,SAAWC,EAASC,EAAOC,EAAQC,EAAUC,GAC7B,iBAAZJ,IACTA,EAAU,CAAC,CAAC,KAAMA,OAASK,KAE7B,IAAIC,EAAyB,CAAC,EAC9B,GAAIJ,EACF,IAAK,IAAIK,EAAI,EAAGA,EAAIhB,KAAKM,OAAQU,IAAK,CACpC,IAAIrB,EAAKK,KAAKgB,GAAG,GACP,MAANrB,IACFoB,EAAuBpB,IAAM,EA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3I,QAGrB,IAAIF,EAAS0I,EAAyBE,GAAY,CACjD3I,GAAI2I,EAEJ1I,QAAS,CAAC,GAOX,OAHA4I,EAAoBF,GAAUG,KAAK/I,EAAOE,QAASF,EAAQA,EAAOE,QAASyI,GAGpE3I,EAAOE,OACf,C,OCrBAyI,EAAoBK,EAAKhJ,IACxB,IAAIiJ,EAASjJ,GAAUA,EAAOkJ,WAC7B,IAAOlJ,EAAiB,QACxB,IAAM,EAEP,OADA2I,EAAoBQ,EAAEF,EAAQ,CAAEG,EAAGH,IAC5BA,CAAM,ECLdN,EAAoBQ,EAAI,CAACjJ,EAASmJ,KACjC,IAAI,IAAIC,KAAOD,EACXV,EAAoBY,EAAEF,EAAYC,KAASX,EAAoBY,EAAErJ,EAASoJ,IAC5EE,OAAOC,eAAevJ,EAASoJ,EAAK,CAAEI,YAAY,EAAMtB,IAAKiB,EAAWC,IAE1E,ECNDX,EAAoBY,EAAI,CAACrG,EAAKyG,IAAUH,OAAOI,UAAUC,eAAed,KAAK7F,EAAKyG,GCClFhB,EAAoBmB,EAAK5J,IACH,oBAAX6J,QAA0BA,OAAOC,aAC1CR,OAAOC,eAAevJ,EAAS6J,OAAOC,YAAa,CAAEC,MAAO,WAE7DT,OAAOC,eAAevJ,EAAS,aAAc,CAAE+J,OAAO,GAAO,ECL9DtB,EAAoBuB,QAAK9I,ECGCuH,EAAoB,I","sources":["webpack://eptium/./css/widget.css","webpack://eptium/./node_modules/css-loader/dist/runtime/api.js","webpack://eptium/./node_modules/css-loader/dist/runtime/sourceMaps.js","webpack://eptium/./css/widget.css?2598","webpack://eptium/./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js","webpack://eptium/./node_modules/style-loader/dist/runtime/insertBySelector.js","webpack://eptium/./node_modules/style-loader/dist/runtime/insertStyleElement.js","webpack://eptium/./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js","webpack://eptium/./node_modules/style-loader/dist/runtime/styleDomAPI.js","webpack://eptium/./node_modules/style-loader/dist/runtime/styleTagTransform.js","webpack://eptium/./src/extension.ts","webpack://eptium/./src/index.ts","webpack://eptium/./src/version.ts","webpack://eptium/./src/widget.ts","webpack://eptium/external amd \"@jupyter-widgets/base\"","webpack://eptium/webpack/bootstrap","webpack://eptium/webpack/runtime/compat get default export","webpack://eptium/webpack/runtime/define property getters","webpack://eptium/webpack/runtime/hasOwnProperty shorthand","webpack://eptium/webpack/runtime/make namespace object","webpack://eptium/webpack/runtime/nonce","webpack://eptium/webpack/startup"],"sourcesContent":["// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.custom-widget {\n background-color: lightseagreen;\n padding: 0px 2px;\n}\n`, \"\",{\"version\":3,\"sources\":[\"webpack://./css/widget.css\"],\"names\":[],\"mappings\":\"AAAA;EACE,+BAA+B;EAC/B,gBAAgB;AAClB\",\"sourcesContent\":[\".custom-widget {\\n background-color: lightseagreen;\\n padding: 0px 2px;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","\"use strict\";\n\n/*\n MIT License http://www.opensource.org/licenses/mit-license.php\n Author Tobias Koppers @sokra\n*/\nmodule.exports = function (cssWithMappingToString) {\n var list = [];\n\n // return the list of modules as css string\n list.toString = function toString() {\n return this.map(function (item) {\n var content = \"\";\n var needLayer = typeof item[5] !== \"undefined\";\n if (item[4]) {\n content += \"@supports (\".concat(item[4], \") {\");\n }\n if (item[2]) {\n content += \"@media \".concat(item[2], \" {\");\n }\n if (needLayer) {\n content += \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\");\n }\n content += cssWithMappingToString(item);\n if (needLayer) {\n content += \"}\";\n }\n if (item[2]) {\n content += \"}\";\n }\n if (item[4]) {\n content += \"}\";\n }\n return content;\n }).join(\"\");\n };\n\n // import a list of modules into the list\n list.i = function i(modules, media, dedupe, supports, layer) {\n if (typeof modules === \"string\") {\n modules = [[null, modules, undefined]];\n }\n var alreadyImportedModules = {};\n if (dedupe) {\n for (var k = 0; k < this.length; k++) {\n var id = this[k][0];\n if (id != null) {\n alreadyImportedModules[id] = true;\n }\n }\n }\n for (var _k = 0; _k < modules.length; _k++) {\n var item = [].concat(modules[_k]);\n if (dedupe && alreadyImportedModules[item[0]]) {\n continue;\n }\n if (typeof layer !== \"undefined\") {\n if (typeof item[5] === \"undefined\") {\n item[5] = layer;\n } else {\n item[1] = \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\").concat(item[1], \"}\");\n item[5] = layer;\n }\n }\n if (media) {\n if (!item[2]) {\n item[2] = media;\n } else {\n item[1] = \"@media \".concat(item[2], \" {\").concat(item[1], \"}\");\n item[2] = media;\n }\n }\n if (supports) {\n if (!item[4]) {\n item[4] = \"\".concat(supports);\n } else {\n item[1] = \"@supports (\".concat(item[4], \") {\").concat(item[1], \"}\");\n item[4] = supports;\n }\n }\n list.push(item);\n }\n };\n return list;\n};","\"use strict\";\n\nmodule.exports = function (item) {\n var content = item[1];\n var cssMapping = item[3];\n if (!cssMapping) {\n return content;\n }\n if (typeof btoa === \"function\") {\n var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(cssMapping))));\n var data = \"sourceMappingURL=data:application/json;charset=utf-8;base64,\".concat(base64);\n var sourceMapping = \"/*# \".concat(data, \" */\");\n return [content].concat([sourceMapping]).join(\"\\n\");\n }\n return [content].join(\"\\n\");\n};","\n import API from \"!../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../node_modules/css-loader/dist/cjs.js!./widget.css\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\n\n options.insert = insertFn.bind(null, \"head\");\n \noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../node_modules/css-loader/dist/cjs.js!./widget.css\";\n export default content && content.locals ? content.locals : undefined;\n","\"use strict\";\n\nvar stylesInDOM = [];\nfunction getIndexByIdentifier(identifier) {\n var result = -1;\n for (var i = 0; i < stylesInDOM.length; i++) {\n if (stylesInDOM[i].identifier === identifier) {\n result = i;\n break;\n }\n }\n return result;\n}\nfunction modulesToDom(list, options) {\n var idCountMap = {};\n var identifiers = [];\n for (var i = 0; i < list.length; i++) {\n var item = list[i];\n var id = options.base ? item[0] + options.base : item[0];\n var count = idCountMap[id] || 0;\n var identifier = \"\".concat(id, \" \").concat(count);\n idCountMap[id] = count + 1;\n var indexByIdentifier = getIndexByIdentifier(identifier);\n var obj = {\n css: item[1],\n media: item[2],\n sourceMap: item[3],\n supports: item[4],\n layer: item[5]\n };\n if (indexByIdentifier !== -1) {\n stylesInDOM[indexByIdentifier].references++;\n stylesInDOM[indexByIdentifier].updater(obj);\n } else {\n var updater = addElementStyle(obj, options);\n options.byIndex = i;\n stylesInDOM.splice(i, 0, {\n identifier: identifier,\n updater: updater,\n references: 1\n });\n }\n identifiers.push(identifier);\n }\n return identifiers;\n}\nfunction addElementStyle(obj, options) {\n var api = options.domAPI(options);\n api.update(obj);\n var updater = function updater(newObj) {\n if (newObj) {\n if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap && newObj.supports === obj.supports && newObj.layer === obj.layer) {\n return;\n }\n api.update(obj = newObj);\n } else {\n api.remove();\n }\n };\n return updater;\n}\nmodule.exports = function (list, options) {\n options = options || {};\n list = list || [];\n var lastIdentifiers = modulesToDom(list, options);\n return function update(newList) {\n newList = newList || [];\n for (var i = 0; i < lastIdentifiers.length; i++) {\n var identifier = lastIdentifiers[i];\n var index = getIndexByIdentifier(identifier);\n stylesInDOM[index].references--;\n }\n var newLastIdentifiers = modulesToDom(newList, options);\n for (var _i = 0; _i < lastIdentifiers.length; _i++) {\n var _identifier = lastIdentifiers[_i];\n var _index = getIndexByIdentifier(_identifier);\n if (stylesInDOM[_index].references === 0) {\n stylesInDOM[_index].updater();\n stylesInDOM.splice(_index, 1);\n }\n }\n lastIdentifiers = newLastIdentifiers;\n };\n};","\"use strict\";\n\nvar memo = {};\n\n/* istanbul ignore next */\nfunction getTarget(target) {\n if (typeof memo[target] === \"undefined\") {\n var styleTarget = document.querySelector(target);\n\n // Special case to return head of iframe instead of iframe itself\n if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {\n try {\n // This will throw an exception if access to iframe is blocked\n // due to cross-origin restrictions\n styleTarget = styleTarget.contentDocument.head;\n } catch (e) {\n // istanbul ignore next\n styleTarget = null;\n }\n }\n memo[target] = styleTarget;\n }\n return memo[target];\n}\n\n/* istanbul ignore next */\nfunction insertBySelector(insert, style) {\n var target = getTarget(insert);\n if (!target) {\n throw new Error(\"Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.\");\n }\n target.appendChild(style);\n}\nmodule.exports = insertBySelector;","\"use strict\";\n\n/* istanbul ignore next */\nfunction insertStyleElement(options) {\n var element = document.createElement(\"style\");\n options.setAttributes(element, options.attributes);\n options.insert(element, options.options);\n return element;\n}\nmodule.exports = insertStyleElement;","\"use strict\";\n\n/* istanbul ignore next */\nfunction setAttributesWithoutAttributes(styleElement) {\n var nonce = typeof __webpack_nonce__ !== \"undefined\" ? __webpack_nonce__ : null;\n if (nonce) {\n styleElement.setAttribute(\"nonce\", nonce);\n }\n}\nmodule.exports = setAttributesWithoutAttributes;","\"use strict\";\n\n/* istanbul ignore next */\nfunction apply(styleElement, options, obj) {\n var css = \"\";\n if (obj.supports) {\n css += \"@supports (\".concat(obj.supports, \") {\");\n }\n if (obj.media) {\n css += \"@media \".concat(obj.media, \" {\");\n }\n var needLayer = typeof obj.layer !== \"undefined\";\n if (needLayer) {\n css += \"@layer\".concat(obj.layer.length > 0 ? \" \".concat(obj.layer) : \"\", \" {\");\n }\n css += obj.css;\n if (needLayer) {\n css += \"}\";\n }\n if (obj.media) {\n css += \"}\";\n }\n if (obj.supports) {\n css += \"}\";\n }\n var sourceMap = obj.sourceMap;\n if (sourceMap && typeof btoa !== \"undefined\") {\n css += \"\\n/*# sourceMappingURL=data:application/json;base64,\".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))), \" */\");\n }\n\n // For old IE\n /* istanbul ignore if */\n options.styleTagTransform(css, styleElement, options.options);\n}\nfunction removeStyleElement(styleElement) {\n // istanbul ignore if\n if (styleElement.parentNode === null) {\n return false;\n }\n styleElement.parentNode.removeChild(styleElement);\n}\n\n/* istanbul ignore next */\nfunction domAPI(options) {\n if (typeof document === \"undefined\") {\n return {\n update: function update() {},\n remove: function remove() {}\n };\n }\n var styleElement = options.insertStyleElement(options);\n return {\n update: function update(obj) {\n apply(styleElement, options, obj);\n },\n remove: function remove() {\n removeStyleElement(styleElement);\n }\n };\n}\nmodule.exports = domAPI;","\"use strict\";\n\n/* istanbul ignore next */\nfunction styleTagTransform(css, styleElement) {\n if (styleElement.styleSheet) {\n styleElement.styleSheet.cssText = css;\n } else {\n while (styleElement.firstChild) {\n styleElement.removeChild(styleElement.firstChild);\n }\n styleElement.appendChild(document.createTextNode(css));\n }\n}\nmodule.exports = styleTagTransform;","// Copyright (c) Jupyter Development Team.\n// Distributed under the terms of the Modified BSD License.\n\n// Entry point for the notebook bundle containing custom model definitions.\n//\n// Setup notebook base URL\n//\n// Some static assets may be required by the custom widget javascript. The base\n// url for the notebook is not known at build time and is therefore computed\n// dynamically.\n// eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n(window as any).__webpack_public_path__ =\n document.querySelector('body')!.getAttribute('data-base-url') +\n 'nbextensions/eptium';\n\nexport * from './index';\n","// Copyright (c) Ognyan Moore\n// Distributed under the terms of the Modified BSD License.\n\nexport * from './version';\nexport * from './widget';\n","// Copyright (c) Ognyan Moore\n// Distributed under the terms of the Modified BSD License.\n\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\n// eslint-disable-next-line @typescript-eslint/no-var-requires\nconst data = require('../package.json');\n\n/**\n * The _model_module_version/_view_module_version this package implements.\n *\n * The html widget manager assumes that this is the same as the npm package\n * version number.\n */\nexport const MODULE_VERSION = data.version;\n\n/*\n * The current package name.\n */\nexport const MODULE_NAME = data.name;\n","// Copyright (c) Ognyan Moore\n// Distributed under the terms of the Modified BSD License.\n\nimport {\n DOMWidgetModel,\n DOMWidgetView,\n ISerializers,\n} from '@jupyter-widgets/base';\n\nimport { MODULE_NAME, MODULE_VERSION } from './version';\n\n// Import the CSS\nimport '../css/widget.css';\n\nexport class EptiumModel extends DOMWidgetModel {\n defaults() {\n return {\n ...super.defaults(),\n _model_name: EptiumModel.model_name,\n _model_module: EptiumModel.model_module,\n _model_module_version: EptiumModel.model_module_version,\n _view_name: EptiumModel.view_name,\n _view_module: EptiumModel.view_module,\n _view_module_version: EptiumModel.view_module_version,\n src: 'https://viewer.copc.io',\n };\n }\n\n static serializers: ISerializers = {\n ...DOMWidgetModel.serializers,\n // Add any extra serializers here\n };\n\n static model_name = 'EptiumModel';\n static model_module = MODULE_NAME;\n static model_module_version = MODULE_VERSION;\n static view_name = 'EptiumView'; // Set to null if no view\n static view_module = MODULE_NAME; // Set to null if no view\n static view_module_version = MODULE_VERSION;\n}\n\nexport class EptiumView extends DOMWidgetView {\n private _iframe: HTMLIFrameElement;\n\n render() {\n this._iframe = document.createElement('iframe');\n this._iframe.width = '100%';\n this._iframe.height = '400';\n this._iframe.style.boxSizing = 'border-box';\n\n // this.el is the DOM element associated with the view\n this.el.appendChild(this._iframe);\n this._onSrcChanged();\n\n // Python -> TypeScript update\n this.model.on('change:src', this._onSrcChanged, this);\n }\n\n private _onSrcChanged() {\n const url = this.model.get('src');\n this.model.widget_manager.resolveUrl(url).then((resolvedUrl) => {\n this._iframe.src = resolvedUrl;\n });\n }\n}\n","module.exports = __WEBPACK_EXTERNAL_MODULE__55__;","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nc = undefined;","// startup\n// Load entry module and return exports\n// This entry module is referenced by other modules so it can't be inlined\nvar __webpack_exports__ = __webpack_require__(265);\n"],"names":["___CSS_LOADER_EXPORT___","push","module","id","exports","cssWithMappingToString","list","toString","this","map","item","content","needLayer","concat","length","join","i","modules","media","dedupe","supports","layer","undefined","alreadyImportedModules","k","_k","cssMapping","btoa","base64","unescape","encodeURIComponent","JSON","stringify","data","sourceMapping","options","styleTagTransform","setAttributes","insert","domAPI","insertStyleElement","locals","stylesInDOM","getIndexByIdentifier","identifier","result","modulesToDom","idCountMap","identifiers","base","count","indexByIdentifier","obj","css","sourceMap","references","updater","addElementStyle","byIndex","splice","api","update","newObj","remove","lastIdentifiers","newList","index","newLastIdentifiers","_i","_index","memo","style","target","styleTarget","document","querySelector","window","HTMLIFrameElement","contentDocument","head","e","getTarget","Error","appendChild","element","createElement","attributes","styleElement","nonce","setAttribute","apply","parentNode","removeChild","removeStyleElement","styleSheet","cssText","firstChild","createTextNode","__webpack_public_path__","getAttribute","MODULE_VERSION","version","MODULE_NAME","name","EptiumModel","DOMWidgetModel","defaults","super","_model_name","model_name","_model_module","model_module","_model_module_version","model_module_version","_view_name","view_name","_view_module","view_module","_view_module_version","view_module_version","src","serializers","EptiumView","DOMWidgetView","render","_iframe","width","height","boxSizing","el","_onSrcChanged","model","on","url","get","widget_manager","resolveUrl","then","resolvedUrl","__WEBPACK_EXTERNAL_MODULE__55__","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","__webpack_modules__","call","n","getter","__esModule","d","a","definition","key","o","Object","defineProperty","enumerable","prop","prototype","hasOwnProperty","r","Symbol","toStringTag","value","nc"],"sourceRoot":""} |
| #!/usr/bin/env python | ||
| # coding: utf-8 | ||
| # Copyright (c) Ognyan Moore. | ||
| # Distributed under the terms of the Modified BSD License. | ||
| import pytest | ||
| from ipykernel.comm import Comm | ||
| from ipywidgets import Widget | ||
| class MockComm(Comm): | ||
| """A mock Comm object. | ||
| Can be used to inspect calls to Comm's open/send/close methods. | ||
| """ | ||
| comm_id = 'a-b-c-d' | ||
| kernel = 'Truthy' | ||
| def __init__(self, *args, **kwargs): | ||
| self.log_open = [] | ||
| self.log_send = [] | ||
| self.log_close = [] | ||
| super(MockComm, self).__init__(*args, **kwargs) | ||
| def open(self, *args, **kwargs): | ||
| self.log_open.append((args, kwargs)) | ||
| def send(self, *args, **kwargs): | ||
| self.log_send.append((args, kwargs)) | ||
| def close(self, *args, **kwargs): | ||
| self.log_close.append((args, kwargs)) | ||
| _widget_attrs = {} | ||
| undefined = object() | ||
| @pytest.fixture | ||
| def mock_comm(): | ||
| _widget_attrs['_comm_default'] = getattr(Widget, '_comm_default', undefined) | ||
| Widget._comm_default = lambda self: MockComm() | ||
| _widget_attrs['_ipython_display_'] = Widget._ipython_display_ | ||
| def raise_not_implemented(*args, **kwargs): | ||
| raise NotImplementedError() | ||
| Widget._ipython_display_ = raise_not_implemented | ||
| yield MockComm() | ||
| for attr, value in _widget_attrs.items(): | ||
| if value is undefined: | ||
| delattr(Widget, attr) | ||
| else: | ||
| setattr(Widget, attr, value) |
| #!/usr/bin/env python | ||
| # coding: utf-8 | ||
| # Copyright (c) Ognyan Moore. | ||
| # Distributed under the terms of the Modified BSD License. | ||
| import pytest | ||
| from .. import Eptium | ||
| def test_example_creation_blank(): | ||
| w = Eptium() | ||
| assert w.src == "https://viewer.copc.io" |
| #!/usr/bin/env python | ||
| # coding: utf-8 | ||
| # Copyright (c) Ognyan Moore. | ||
| # Distributed under the terms of the Modified BSD License. | ||
| def test_nbextension_path(): | ||
| # Check that magic function can be imported from package root: | ||
| from eptium import _jupyter_nbextension_paths | ||
| # Ensure that it can be called without incident: | ||
| path = _jupyter_nbextension_paths() | ||
| # Some sanity checks: | ||
| assert len(path) == 1 | ||
| assert isinstance(path[0], dict) |
| #!/usr/bin/env python | ||
| # coding: utf-8 | ||
| # Copyright (c) Ognyan Moore. | ||
| # Distributed under the terms of the Modified BSD License. | ||
| """ | ||
| TODO: Add module docstring | ||
| """ | ||
| __all__ = ["Eptium"] | ||
| import os | ||
| import pathlib | ||
| from urllib.parse import urlparse, urlencode | ||
| from ipywidgets import DOMWidget, ValueWidget, register | ||
| from traitlets import Unicode, validate, TraitError | ||
| import requests | ||
| from jupyter_server import serverapp | ||
| from ._frontend import module_name, module_version | ||
| @register | ||
| class Eptium(DOMWidget, ValueWidget): | ||
| _model_name = Unicode('EptiumModel').tag(sync=True) | ||
| _model_module = Unicode(module_name).tag(sync=True) | ||
| _model_module_version = Unicode(module_version).tag(sync=True) | ||
| _view_name = Unicode('EptiumView').tag(sync=True) | ||
| _view_module = Unicode(module_name).tag(sync=True) | ||
| _view_module_version = Unicode(module_version).tag(sync=True) | ||
| # read-write attributes | ||
| src = Unicode('https://viewer.copc.io').tag(sync=True) | ||
| def __init__( | ||
| self, | ||
| src="https://viewer.copc.io", | ||
| ): | ||
| super().__init__() | ||
| self.src = src | ||
| def render(self, path: str | pathlib.Path): | ||
| if isinstance(path, pathlib.Path): | ||
| # not using os.fsdecode since we want forward-slashes | ||
| # even on windows | ||
| path = path.as_posix() | ||
| parsed_url = urlparse(path) | ||
| if parsed_url.scheme in ("https", "http"): | ||
| path = f"https://viewer.copc.io/?q={path}" | ||
| else: | ||
| # we're dealing with a local file and need to | ||
| # construct a remote accessible URL | ||
| # TODO: maybe the first server isn't the one we want? | ||
| # should check for a valid URL for all running servers | ||
| server = next(serverapp.list_running_servers()) | ||
| cookies = {} | ||
| # ensure token is good | ||
| r = requests.post( | ||
| url=f"{server['url']}api/contents", | ||
| headers={'Authorization': f"token {server['token']}"}, | ||
| cookies=cookies | ||
| ) | ||
| r.raise_for_status() | ||
| # get the _xsrf cookie | ||
| r = requests.get( | ||
| url=f"{server['url']}lab/tree", | ||
| cookies=r.cookies | ||
| ) | ||
| # order matters! | ||
| params = urlencode({ | ||
| 'token': server['token'], | ||
| '_xsrf': r.cookies['_xsrf'] | ||
| }) | ||
| path = f"https://viewer.copc.io/?q={server['url']}files/{path}?{params}" | ||
| self.src = path |
-201
| Apache License | ||
| Version 2.0, January 2004 | ||
| http://www.apache.org/licenses/ | ||
| TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION | ||
| 1. Definitions. | ||
| "License" shall mean the terms and conditions for use, reproduction, | ||
| and distribution as defined by Sections 1 through 9 of this document. | ||
| "Licensor" shall mean the copyright owner or entity authorized by | ||
| the copyright owner that is granting the License. | ||
| "Legal Entity" shall mean the union of the acting entity and all | ||
| other entities that control, are controlled by, or are under common | ||
| control with that entity. For the purposes of this definition, | ||
| "control" means (i) the power, direct or indirect, to cause the | ||
| direction or management of such entity, whether by contract or | ||
| otherwise, or (ii) ownership of fifty percent (50%) or more of the | ||
| outstanding shares, or (iii) beneficial ownership of such entity. | ||
| "You" (or "Your") shall mean an individual or Legal Entity | ||
| exercising permissions granted by this License. | ||
| "Source" form shall mean the preferred form for making modifications, | ||
| including but not limited to software source code, documentation | ||
| source, and configuration files. | ||
| "Object" form shall mean any form resulting from mechanical | ||
| transformation or translation of a Source form, including but | ||
| not limited to compiled object code, generated documentation, | ||
| and conversions to other media types. | ||
| "Work" shall mean the work of authorship, whether in Source or | ||
| Object form, made available under the License, as indicated by a | ||
| copyright notice that is included in or attached to the work | ||
| (an example is provided in the Appendix below). | ||
| "Derivative Works" shall mean any work, whether in Source or Object | ||
| form, that is based on (or derived from) the Work and for which the | ||
| editorial revisions, annotations, elaborations, or other modifications | ||
| represent, as a whole, an original work of authorship. For the purposes | ||
| of this License, Derivative Works shall not include works that remain | ||
| separable from, or merely link (or bind by name) to the interfaces of, | ||
| the Work and Derivative Works thereof. | ||
| "Contribution" shall mean any work of authorship, including | ||
| the original version of the Work and any modifications or additions | ||
| to that Work or Derivative Works thereof, that is intentionally | ||
| submitted to Licensor for inclusion in the Work by the copyright owner | ||
| or by an individual or Legal Entity authorized to submit on behalf of | ||
| the copyright owner. For the purposes of this definition, "submitted" | ||
| means any form of electronic, verbal, or written communication sent | ||
| to the Licensor or its representatives, including but not limited to | ||
| communication on electronic mailing lists, source code control systems, | ||
| and issue tracking systems that are managed by, or on behalf of, the | ||
| Licensor for the purpose of discussing and improving the Work, but | ||
| excluding communication that is conspicuously marked or otherwise | ||
| designated in writing by the copyright owner as "Not a Contribution." | ||
| "Contributor" shall mean Licensor and any individual or Legal Entity | ||
| on behalf of whom a Contribution has been received by Licensor and | ||
| subsequently incorporated within the Work. | ||
| 2. Grant of Copyright License. Subject to the terms and conditions of | ||
| this License, each Contributor hereby grants to You a perpetual, | ||
| worldwide, non-exclusive, no-charge, royalty-free, irrevocable | ||
| copyright license to reproduce, prepare Derivative Works of, | ||
| publicly display, publicly perform, sublicense, and distribute the | ||
| Work and such Derivative Works in Source or Object form. | ||
| 3. Grant of Patent License. Subject to the terms and conditions of | ||
| this License, each Contributor hereby grants to You a perpetual, | ||
| worldwide, non-exclusive, no-charge, royalty-free, irrevocable | ||
| (except as stated in this section) patent license to make, have made, | ||
| use, offer to sell, sell, import, and otherwise transfer the Work, | ||
| where such license applies only to those patent claims licensable | ||
| by such Contributor that are necessarily infringed by their | ||
| Contribution(s) alone or by combination of their Contribution(s) | ||
| with the Work to which such Contribution(s) was submitted. If You | ||
| institute patent litigation against any entity (including a | ||
| cross-claim or counterclaim in a lawsuit) alleging that the Work | ||
| or a Contribution incorporated within the Work constitutes direct | ||
| or contributory patent infringement, then any patent licenses | ||
| granted to You under this License for that Work shall terminate | ||
| as of the date such litigation is filed. | ||
| 4. Redistribution. You may reproduce and distribute copies of the | ||
| Work or Derivative Works thereof in any medium, with or without | ||
| modifications, and in Source or Object form, provided that You | ||
| meet the following conditions: | ||
| (a) You must give any other recipients of the Work or | ||
| Derivative Works a copy of this License; and | ||
| (b) You must cause any modified files to carry prominent notices | ||
| stating that You changed the files; and | ||
| (c) You must retain, in the Source form of any Derivative Works | ||
| that You distribute, all copyright, patent, trademark, and | ||
| attribution notices from the Source form of the Work, | ||
| excluding those notices that do not pertain to any part of | ||
| the Derivative Works; and | ||
| (d) If the Work includes a "NOTICE" text file as part of its | ||
| distribution, then any Derivative Works that You distribute must | ||
| include a readable copy of the attribution notices contained | ||
| within such NOTICE file, excluding those notices that do not | ||
| pertain to any part of the Derivative Works, in at least one | ||
| of the following places: within a NOTICE text file distributed | ||
| as part of the Derivative Works; within the Source form or | ||
| documentation, if provided along with the Derivative Works; or, | ||
| within a display generated by the Derivative Works, if and | ||
| wherever such third-party notices normally appear. The contents | ||
| of the NOTICE file are for informational purposes only and | ||
| do not modify the License. You may add Your own attribution | ||
| notices within Derivative Works that You distribute, alongside | ||
| or as an addendum to the NOTICE text from the Work, provided | ||
| that such additional attribution notices cannot be construed | ||
| as modifying the License. | ||
| You may add Your own copyright statement to Your modifications and | ||
| may provide additional or different license terms and conditions | ||
| for use, reproduction, or distribution of Your modifications, or | ||
| for any such Derivative Works as a whole, provided Your use, | ||
| reproduction, and distribution of the Work otherwise complies with | ||
| the conditions stated in this License. | ||
| 5. Submission of Contributions. Unless You explicitly state otherwise, | ||
| any Contribution intentionally submitted for inclusion in the Work | ||
| by You to the Licensor shall be under the terms and conditions of | ||
| this License, without any additional terms or conditions. | ||
| Notwithstanding the above, nothing herein shall supersede or modify | ||
| the terms of any separate license agreement you may have executed | ||
| with Licensor regarding such Contributions. | ||
| 6. Trademarks. This License does not grant permission to use the trade | ||
| names, trademarks, service marks, or product names of the Licensor, | ||
| except as required for reasonable and customary use in describing the | ||
| origin of the Work and reproducing the content of the NOTICE file. | ||
| 7. Disclaimer of Warranty. Unless required by applicable law or | ||
| agreed to in writing, Licensor provides the Work (and each | ||
| Contributor provides its Contributions) on an "AS IS" BASIS, | ||
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or | ||
| implied, including, without limitation, any warranties or conditions | ||
| of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A | ||
| PARTICULAR PURPOSE. You are solely responsible for determining the | ||
| appropriateness of using or redistributing the Work and assume any | ||
| risks associated with Your exercise of permissions under this License. | ||
| 8. Limitation of Liability. In no event and under no legal theory, | ||
| whether in tort (including negligence), contract, or otherwise, | ||
| unless required by applicable law (such as deliberate and grossly | ||
| negligent acts) or agreed to in writing, shall any Contributor be | ||
| liable to You for damages, including any direct, indirect, special, | ||
| incidental, or consequential damages of any character arising as a | ||
| result of this License or out of the use or inability to use the | ||
| Work (including but not limited to damages for loss of goodwill, | ||
| work stoppage, computer failure or malfunction, or any and all | ||
| other commercial damages or losses), even if such Contributor | ||
| has been advised of the possibility of such damages. | ||
| 9. Accepting Warranty or Additional Liability. While redistributing | ||
| the Work or Derivative Works thereof, You may choose to offer, | ||
| and charge a fee for, acceptance of support, warranty, indemnity, | ||
| or other liability obligations and/or rights consistent with this | ||
| License. However, in accepting such obligations, You may act only | ||
| on Your own behalf and on Your sole responsibility, not on behalf | ||
| of any other Contributor, and only if You agree to indemnify, | ||
| defend, and hold each Contributor harmless for any liability | ||
| incurred by, or claims asserted against, such Contributor by reason | ||
| of your accepting any such warranty or additional liability. | ||
| END OF TERMS AND CONDITIONS | ||
| APPENDIX: How to apply the Apache License to your work. | ||
| To apply the Apache License to your work, attach the following | ||
| boilerplate notice, with the fields enclosed by brackets "[]" | ||
| replaced with your own identifying information. (Don't include | ||
| the brackets!) The text should be enclosed in the appropriate | ||
| comment syntax for the file format. We also recommend that a | ||
| file or class name and description of purpose be included on the | ||
| same "printed page" as the copyright notice for easier | ||
| identification within third-party archives. | ||
| Copyright [yyyy] [name of copyright owner] | ||
| Licensed under the Apache License, Version 2.0 (the "License"); | ||
| you may not use this file except in compliance with the License. | ||
| You may obtain a copy of the License at | ||
| http://www.apache.org/licenses/LICENSE-2.0 | ||
| Unless required by applicable law or agreed to in writing, software | ||
| distributed under the License is distributed on an "AS IS" BASIS, | ||
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| See the License for the specific language governing permissions and | ||
| limitations under the License. |
-15
| Metadata-Version: 2.1 | ||
| Name: eptium | ||
| Version: 0.0.1 | ||
| Summary: Eptium tools for Pythonn | ||
| Author-email: Ognyan Moore <ogi@hobu.co> | ||
| Project-URL: Homepage, https://github.com/hobuinc/eptium-python | ||
| Project-URL: Issues, https://github.com/hobuinc/eptium-python/issues | ||
| Classifier: Programming Language :: Python :: 3 | ||
| Classifier: License :: OSI Approved :: MIT License | ||
| Classifier: Operating System :: OS Independent | ||
| Requires-Python: >=3.8 | ||
| Description-Content-Type: text/markdown | ||
| License-File: LICENSE | ||
| # eptium-python |
| [build-system] | ||
| requires = ["setuptools>=61.0"] | ||
| build-backend = "setuptools.build_meta" | ||
| [project] | ||
| name = "eptium" | ||
| version = "0.0.1" | ||
| authors = [ | ||
| { name="Ognyan Moore", email="ogi@hobu.co" }, | ||
| ] | ||
| description = "Eptium tools for Pythonn" | ||
| readme = "README.md" | ||
| requires-python = ">=3.8" | ||
| classifiers = [ | ||
| "Programming Language :: Python :: 3", | ||
| "License :: OSI Approved :: MIT License", | ||
| "Operating System :: OS Independent", | ||
| ] | ||
| [project.urls] | ||
| Homepage = "https://github.com/hobuinc/eptium-python" | ||
| Issues = "https://github.com/hobuinc/eptium-python/issues" |
| # eptium-python |
| [egg_info] | ||
| tag_build = | ||
| tag_date = 0 | ||
| Metadata-Version: 2.1 | ||
| Name: eptium | ||
| Version: 0.0.1 | ||
| Summary: Eptium tools for Pythonn | ||
| Author-email: Ognyan Moore <ogi@hobu.co> | ||
| Project-URL: Homepage, https://github.com/hobuinc/eptium-python | ||
| Project-URL: Issues, https://github.com/hobuinc/eptium-python/issues | ||
| Classifier: Programming Language :: Python :: 3 | ||
| Classifier: License :: OSI Approved :: MIT License | ||
| Classifier: Operating System :: OS Independent | ||
| Requires-Python: >=3.8 | ||
| Description-Content-Type: text/markdown | ||
| License-File: LICENSE | ||
| # eptium-python |
| LICENSE | ||
| README.md | ||
| pyproject.toml | ||
| src/eptium/__init__.py | ||
| src/eptium/main.py | ||
| src/eptium.egg-info/PKG-INFO | ||
| src/eptium.egg-info/SOURCES.txt | ||
| src/eptium.egg-info/dependency_links.txt | ||
| src/eptium.egg-info/top_level.txt |
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
0
-100%0
-100%