experience-builder/1.12/widgets/search-widget/dist/runtime/widget.js

1 line
14 KiB
JavaScript
Raw Normal View History

2023-09-21 10:00:37 +02:00
System.register(["jimu-core","jimu-arcgis","jimu-ui","calcite-components","esri/widgets/Search","esri/layers/FeatureLayer","esri/Graphic","esri/core/promiseUtils.js","esri/widgets/Search/SearchSource","esri/geometry/Point","esri/geometry/Polyline","esri/geometry/Polygon","esri/geometry/geometryEngine"],(function(e,t){var r={},n={},i={},a={},o={},c={},s={},l={},u={},d={},p={},f={},m={};return{setters:[function(e){r.React=e.React,r.ReactDOM=e.ReactDOM},function(e){n.JimuMapViewComponent=e.JimuMapViewComponent},function(e){i.WidgetPlaceholder=e.WidgetPlaceholder},function(e){a.CalciteAccordion=e.CalciteAccordion,a.CalciteAccordionItem=e.CalciteAccordionItem,a.CalciteAction=e.CalciteAction,a.CalciteLink=e.CalciteLink,a.CalciteList=e.CalciteList,a.CalciteListItem=e.CalciteListItem},function(e){o.default=e.default},function(e){c.default=e.default},function(e){s.default=e.default},function(e){l.default=e.default},function(e){u.default=e.default},function(e){d.default=e.default},function(e){p.default=e.default},function(e){f.default=e.default},function(e){m.default=e.default}],execute:function(){e((()=>{var e={158:(e,t,r)=>{"use strict";r.d(t,{Z:()=>c});var n=r(81),i=r.n(n),a=r(645),o=r.n(a)()(i());o.push([e.id,".esri-icon-visible::before{cursor:pointer;padding:0 8px 0 3px}.container{background-color:transparent}\n",""]);const c=o},645:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r="",n=void 0!==t[5];return t[4]&&(r+="@supports (".concat(t[4],") {")),t[2]&&(r+="@media ".concat(t[2]," {")),n&&(r+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),r+=e(t),n&&(r+="}"),t[2]&&(r+="}"),t[4]&&(r+="}"),r})).join("")},t.i=function(e,r,n,i,a){"string"==typeof e&&(e=[[null,e,void 0]]);var o={};if(n)for(var c=0;c<this.length;c++){var s=this[c][0];null!=s&&(o[s]=!0)}for(var l=0;l<e.length;l++){var u=[].concat(e[l]);n&&o[u[0]]||(void 0!==a&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=a),r&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=r):u[2]=r),i&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=i):u[4]="".concat(i)),t.push(u))}},t}},81:e=>{"use strict";e.exports=function(e){return e[1]}},379:e=>{"use strict";var t=[];function r(e){for(var r=-1,n=0;n<t.length;n++)if(t[n].identifier===e){r=n;break}return r}function n(e,n){for(var a={},o=[],c=0;c<e.length;c++){var s=e[c],l=n.base?s[0]+n.base:s[0],u=a[l]||0,d="".concat(l," ").concat(u);a[l]=u+1;var p=r(d),f={css:s[1],media:s[2],sourceMap:s[3],supports:s[4],layer:s[5]};if(-1!==p)t[p].references++,t[p].updater(f);else{var m=i(f,n);n.byIndex=c,t.splice(c,0,{identifier:d,updater:m,references:1})}o.push(d)}return o}function i(e,t){var r=t.domAPI(t);return r.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;r.update(e=t)}else r.remove()}}e.exports=function(e,i){var a=n(e=e||[],i=i||{});return function(e){e=e||[];for(var o=0;o<a.length;o++){var c=r(a[o]);t[c].references--}for(var s=n(e,i),l=0;l<a.length;l++){var u=r(a[l]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}a=s}}},569:e=>{"use strict";var t={};e.exports=function(e,r){var n=function(e){if(void 0===t[e]){var r=document.querySelector(e);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(e){r=null}t[e]=r}return t[e]}(e);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(r)}},216:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},565:(e,t,r)=>{"use strict";e.exports=function(e){var t=r.nc;t&&e.setAttribute("nonce",t)}},795:e=>{"use strict";e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(r){!function(e,t,r){var n="";r.supports&&(n+="@supports (".concat(r.su