diff --git a/404.html b/404.html index 058a58c..faeadc7 100644 --- a/404.html +++ b/404.html @@ -12,4 +12,4 @@ } } }) -
Skip to main contentMAF Configuration Practices

Something’s gone wrong...

Sorry, we can’t find the page you are looking for. Maybe some of these most visited links will help you?

404
\ No newline at end of file +
Skip to main contentMAF Configuration Practices

Something’s gone wrong...

Sorry, we can’t find the page you are looking for. Maybe some of these most visited links will help you?

404
\ No newline at end of file diff --git a/404/index.html b/404/index.html index d884599..2985332 100644 --- a/404/index.html +++ b/404/index.html @@ -12,4 +12,4 @@ } } }) -
Skip to main contentMAF Configuration Practices

Something’s gone wrong...

Sorry, we can’t find the page you are looking for. Maybe some of these most visited links will help you?

404
\ No newline at end of file +
Skip to main contentMAF Configuration Practices

Something’s gone wrong...

Sorry, we can’t find the page you are looking for. Maybe some of these most visited links will help you?

404
\ No newline at end of file diff --git a/app-86f9c9574dea50d10e97.js b/app-86f9c9574dea50d10e97.js new file mode 100644 index 0000000..5115589 --- /dev/null +++ b/app-86f9c9574dea50d10e97.js @@ -0,0 +1,3 @@ +/*! For license information please see app-86f9c9574dea50d10e97.js.LICENSE.txt */ +(self.webpackChunkmas_playbook=self.webpackChunkmas_playbook||[]).push([[143],{5579:function(e,t,n){"use strict";n.d(t,{$ZC:function(){return b},AF9:function(){return L},Ac_:function(){return m},GBf:function(){return s},HQL:function(){return d},KHy:function(){return v},NAI:function(){return P},P6m:function(){return D},Ply:function(){return h},Sns:function(){return C},Snx:function(){return r},TLo:function(){return M},Tqj:function(){return i},TwG:function(){return N},U8I:function(){return g},UGi:function(){return f},WVG:function(){return y},_rq:function(){return x},bdd:function(){return w},d1r:function(){return T},dRF:function(){return I},er$:function(){return c},fkr:function(){return a},fwM:function(){return A},ixZ:function(){return o},j8V:function(){return k},kAy:function(){return O},m4f:function(){return R},nh1:function(){return j},ret:function(){return l},tGJ:function(){return _},tLI:function(){return S},v5R:function(){return u},vSE:function(){return E},wai:function(){return p}});var r="#000000",o="#ffffff",a=o,i="#f1c21b",c=i,s="#ffb3b8",l="#ff8389",u="#fa4d56",d="#da1e28",f="#750e13",p="#ff7eb6",h="#be95ff",m="#8a3ffc",g="#d0e2ff",v="#a6c8ff",b="#78a9ff",y="#4589ff",w="#0f62fe",E="#0043ce",O="#002d9c",x="#9ef0f0",S="#42be65",k="#24a148",I="#198038",A="#f4f4f4",_="#e0e0e0",C="#c6c6c6",N="#a8a8a8",T="#8d8d8d",P="#6f6f6f",j="#525252",D="#393939",M="#262626",L="#161616";function R(e,t){var n=[e.substring(1,3),e.substring(3,5),e.substring(5,7)].map((function(e){return parseInt(e,16)}));return"rgba(".concat(n[0],", ").concat(n[1],", ").concat(n[2],", ").concat(t,")")}},289:function(e,t,n){"use strict";n.d(t,{$ZC:function(){return r.$ZC},AVK:function(){return a.AV},AF9:function(){return r.AF9},TLo:function(){return r.TLo},bKf:function(){return a.cr},wai:function(){return r.wai},Ply:function(){return r.Ply},W0D:function(){return a.W0},W2L:function(){return o.W2},_rq:function(){return r._rq},ixZ:function(){return i.ixZ},fkr:function(){return r.fkr}});var r=n(5579),o=n(5576),a=n(2496),i=n(4376)},7798:function(e,t,n){"use strict";n.d(t,{TP:function(){return d},am:function(){return h}});var r={};try{r.enableCssCustomProperties=!!{}.CARBON_ENABLE_CSS_CUSTOM_PROPERTIES&&"true"==={}.CARBON_ENABLE_CSS_CUSTOM_PROPERTIES,r.enableUseControlledStateWithValue=!!{}.CARBON_ENABLE_USE_CONTROLLED_STATE_WITH_VALUE&&"true"==={}.CARBON_ENABLE_USE_CONTROLLED_STATE_WITH_VALUE,r.enableCssGrid=!!{}.CARBON_ENABLE_CSS_GRID&&"true"==={}.CARBON_ENABLE_CSS_GRID,r.enableV11Release=!!{}.CARBON_ENABLE_V11_RELEASE&&"true"==={}.CARBON_ENABLE_V11_RELEASE}catch(m){r.enableCssCustomProperties=!1,r.enableUseControlledStateWithValue=!1,r.enableCssGrid=!1,r.enableV11Release=!1}var o=[{name:"enable-css-custom-properties",description:"Describe what the flag does",enabled:r.enableCssCustomProperties},{name:"enable-use-controlled-state-with-value",description:"Enable components to be created in either a controlled or uncontrolled mode\n",enabled:r.enableUseControlledStateWithValue},{name:"enable-css-grid",description:"Enable CSS Grid Layout in the Grid and Column React components\n",enabled:r.enableCssGrid},{name:"enable-v11-release",description:"Enable the features and functionality for the v11 Release\n",enabled:r.enableV11Release}];function a(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){s=!0,a=e},f:function(){try{i||null==n.return||n.return()}finally{if(s)throw a}}}}(e.flags);try{for(n.s();!(t=n.n()).done;){var r=i(t.value,2),o=r[0],a=r[1];this.flags.has(o)||this.flags.set(o,a)}}catch(s){n.e(s)}finally{n.f()}}},{key:"enabled",value:function(e){return this.checkForFlag(e),this.flags.get(e)}}],n&&a(t.prototype,n),r&&a(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}(),d=new u(l),f=0;f=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}n.d(t,{I:function(){return y},_:function(){return g},a:function(){return m}});var c=["width","height","viewBox"],s=["tabindex"],l={focusable:"false",preserveAspectRatio:"xMidYMid meet"};function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.width,n=e.height,r=e.viewBox,a=void 0===r?"0 0 ".concat(t," ").concat(n):r,u=i(e,c),d=u.tabindex,f=i(u,s),p=o(o(o({},l),f),{},{width:t,height:n,viewBox:a});return p["aria-label"]||p["aria-labelledby"]||p.title?(p.role="img",null!=d&&(p.focusable="true",p.tabindex=d)):p["aria-hidden"]=!0,p}var d=n(7294);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var v=["className","children","tabIndex"],b=["tabindex"],y=d.forwardRef((function(e,t){var n=e.className,r=e.children,o=e.tabIndex,a=u(p(p({},g(e,v)),{},{tabindex:o})),i=a.tabindex,c=g(a,b);return n&&(c.className=n),null!=i&&(c.tabIndex=i),t&&(c.ref=t),d.createElement("svg",c,r)}));y.displayName="Icon",y.defaultProps={xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid meet"}},2496:function(e,t,n){"use strict";n.d(t,{AV:function(){return a},Dj:function(){return s},EF:function(){return f},F4:function(){return d},FN:function(){return O},GE:function(){return B},KH:function(){return M},N$:function(){return j},OJ:function(){return z},R4:function(){return D},Rf:function(){return E},TX:function(){return S},U0:function(){return y},UT:function(){return C},UV:function(){return F},VO:function(){return A},W0:function(){return w},ZX:function(){return g},a0:function(){return r},aJ:function(){return T},bP:function(){return k},br:function(){return c},cb:function(){return b},cr:function(){return P},f:function(){return Z},f6:function(){return I},fY:function(){return m},iq:function(){return Q},jr:function(){return p},k3:function(){return u},mj:function(){return _},nf:function(){return G},o_:function(){return U},q7:function(){return L},s2:function(){return h},u9:function(){return l},ur:function(){return x},ww:function(){return v},x:function(){return H},xB:function(){return N},xY:function(){return R}});var r=["spacing01","spacing02","spacing03","spacing04","spacing05","spacing06","spacing07","spacing08","spacing09","spacing10","spacing11","spacing12","spacing13","fluidSpacing01","fluidSpacing02","fluidSpacing03","fluidSpacing04","layout01","layout02","layout03","layout04","layout05","layout06","layout07","container01","container02","container03","container04","container05","sizeXSmall","sizeSmall","sizeMedium","sizeLarge","sizeXLarge","size2XLarge","iconSize01","iconSize02"];function o(e){return"".concat(e/16,"rem")}var a={sm:{width:o(320),columns:4,margin:"0"},md:{width:o(672),columns:8,margin:o(16)},lg:{width:o(1056),columns:16,margin:o(16)},xlg:{width:o(1312),columns:16,margin:o(16)},max:{width:o(1584),columns:16,margin:o(24)}};function i(e){return o(8*e)}var c=i(.25),s=i(.5),l=i(1),u=i(1.5),d=i(2),f=i(3),p=i(4),h=i(5),m=i(6),g=i(8),v=i(10),b=i(12),y=i(20),w=[c,s,l,u,d,f,p,h,m,g,v,b,y],E=0,O="2vw",x="5vw",S="10vw",k=i(2),I=i(3),A=i(4),_=i(6),C=i(8),N=i(12),T=i(20),P=[k,I,A,_,C,N,T],j=i(3),D=i(4),M=i(5),L=i(6),R=i(8),H=o(24),F=o(32),B=o(40),z=o(48),U=o(64),Z=o(80),G="1rem",Q="1.25rem"},4376:function(e,t,n){"use strict";n.d(t,{RUb:function(){return Hi},ixZ:function(){return Rt},pCD:function(){return uo}});var r=n(5517),o=n.n(r),a=n(5579),i=n(5576),c=n(2496);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{},l=s.state,u=s.replace,d=void 0!==u&&u;if("number"==typeof t)e.history.go(t);else{l=n({},l,{key:Date.now()+""});try{i||d?e.history.replaceState(l,null,t):e.history.pushState(l,null,t)}catch(p){e.location[d?"replace":"assign"](t)}}a=r(e),i=!0;var f=new Promise((function(e){return c=e}));return o.forEach((function(e){return e({location:a,action:"PUSH"})})),f}}},a=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",t=e.indexOf("?"),n={pathname:t>-1?e.substr(0,t):e,search:t>-1?e.substr(t):""},r=0,o=[n],a=[null];return{get location(){return o[r]},addEventListener:function(e,t){},removeEventListener:function(e,t){},history:{get entries(){return o},get index(){return r},get state(){return a[r]},pushState:function(e,t,n){var i=n.split("?"),c=i[0],s=i[1],l=void 0===s?"":s;r++,o.push({pathname:c,search:l.length?"?"+l:l}),a.push(e)},replaceState:function(e,t,n){var i=n.split("?"),c=i[0],s=i[1],l=void 0===s?"":s;o[r]={pathname:c,search:l},a[r]=e},go:function(e){var t=r+e;t<0||t>a.length-1||(r=t)}}}},i=!("undefined"==typeof window||!window.document||!window.document.createElement),c=o(i?window:a()),s=c.navigate;t.V5=c},2098:function(e,t,n){"use strict";t.ei=void 0;var r,o=n(1143),a=(r=o)&&r.__esModule?r:{default:r};var i=function(e,t){return e.substr(0,t.length)===t},c=function(e,t){for(var n=void 0,r=void 0,o=t.split("?")[0],i=p(o),c=""===i[0],l=f(e),d=0,h=l.length;dt.score?-1:e.index-t.index}))},p=function(e){return e.replace(/(^\/+|\/+$)/g,"").split("/")},h=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r0})))&&n.length>0?"?"+n.join("&"):"")},m=["uri","path"];t.ei=c},4983:function(e,t,n){"use strict";n.d(t,{NF:function(){return u},Zo:function(){return f},kt:function(){return m}});var r=n(7294);function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(){return a=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var l=r.createContext({}),u=function(e){return function(t){var n=d(t.components);return r.createElement(e,a({},t,{components:n}))}},d=function(e){var t=r.useContext(l),n=t;return e&&(n="function"==typeof e?e(t):c(c({},t),e)),n},f=function(e){var t=d(e.components);return r.createElement(l.Provider,{value:t},e.children)},p={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},h=r.forwardRef((function(e,t){var n=e.components,o=e.mdxType,a=e.originalType,i=e.parentName,l=s(e,["components","mdxType","originalType","parentName"]),u=d(n),f=o,h=u["".concat(i,".").concat(f)]||u[f]||p[f]||a;return n?r.createElement(h,c(c({ref:t},l),{},{components:n})):r.createElement(h,c({ref:t},l))}));function m(e,t){var n=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=n.length,i=new Array(a);i[0]=h;var c={};for(var s in t)hasOwnProperty.call(t,s)&&(c[s]=t[s]);c.originalType=e,c.mdxType="string"==typeof e?e:o,i[1]=c;for(var l=2;l3&&void 0!==arguments[3]?arguments[3]:u,c=s({},u,{},r||{}),l=(0,o.useRef)(),d=(0,o.useRef)(e),f=(0,o.useState)(!1),p=i(f,2),h=p[0],m=p[1],g=(0,a.default)(n),v=(0,o.useCallback)((function(){l.current&&(clearTimeout(l.current),m(!0))}),[]);return(0,o.useEffect)((function(){"function"==typeof e&&(d.current=e)}),[e]),(0,o.useEffect)((function(){n&&"number"==typeof t&&(l.current=setTimeout((function(){d.current()}),t))}),[n,t]),(0,o.useEffect)((function(){g&&n!==g&&c.cancelOnConditionChange&&v()}),[n,r]),(0,o.useEffect)((function(){return function(){c.cancelOnUnmount&&v()}}),[]),[h,v]};t.default=d},3963:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=n(7294),a=(r=n(935))&&r.__esModule?r:{default:r};var i={leading:!1,trailing:!0},c=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i,r=arguments.length>3?arguments[3]:void 0,c=(0,a.default)(e,t,n);return(0,o.useCallback)(c,r)};t.default=c},8277:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=n(7294),a=(r=n(4262))&&r.__esModule?r:{default:r};function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e))&&"[object Arguments]"!==Object.prototype.toString.call(e))return;var n=[],r=!0,o=!1,a=void 0;try{for(var i,c=e[Symbol.iterator]();!(r=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(s){o=!0,a=s}finally{try{r||null==c.return||c.return()}finally{if(o)throw a}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var c=function(e){var t=i((0,a.default)(e),2),n=t[0],r=t[1];return(0,o.useEffect)((function(){n.current&&n.current()}),[]),r};t.default=c},5513:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=n(7294),a=(r=n(3754))&&r.__esModule?r:{default:r};function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:d,n=(0,a.default)(e,!0),r=n.onDragStart,c=n.onDragEnd,l=(0,o.useState)(!1),f=u(l,2),p=f[0],h=f[1],m=s({},d,{},t||{});return r((function(e){if(h(!0),m.dragImage){var t=new Image;t.src=m.dragImage,e.dataTransfer.setDragImage(t,m.dragImageXOffset,m.dragImageYOffset)}if(m.transfer){var n="object"===i(m.transfer)?JSON.stringify(m.transfer):"".concat(m.transfer);e.dataTransfer.setData(m.transferFormat,n)}})),c((function(){return h(!1)})),p};t.default=f},3754:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(7294),o=c(n(642)),a=c(n(9910)),i=c(n(4262));function c(e){return e&&e.__esModule?e:{default:e}}function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e))&&"[object Arguments]"!==Object.prototype.toString.call(e))return;var n=[],r=!0,o=!1,a=void 0;try{for(var i,c=e[Symbol.iterator]();!(r=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(s){o=!0,a=s}finally{try{r||null==c.return||c.return()}finally{if(o)throw a}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var l=function(e,t,n){(0,r.useEffect)((function(){var r=function(e){t.current&&t.current(e)};return e.current&&e.current.addEventListener(n,r),function(){e.current&&e.current.removeEventListener(n,r)}}),[])},u=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=(0,i.default)(),c=s(n,2),u=c[0],d=c[1],f=(0,i.default)(),p=s(f,2),h=p[0],m=p[1],g=(0,i.default)(),v=s(g,2),b=v[0],y=v[1],w=(0,i.default)(),E=s(w,2),O=E[0],x=E[1],S=(0,i.default)(),k=s(S,2),I=k[0],A=k[1],_=(0,i.default)(),C=s(_,2),N=C[0],T=C[1],P=(0,i.default)(),j=s(P,2),D=j[0],M=j[1],L=(0,i.default)(),R=s(L,2),H=R[0],F=R[1];return null===e||(0,o.default)(e,"current")?((0,r.useEffect)((function(){t&&e.current&&!e.current.hasAttribute("draggable")&&e.current.setAttribute("draggable",!0)}),[]),l(e,u,"drag"),l(e,h,"drop"),l(e,b,"dragenter"),l(e,O,"dragend"),l(e,I,"dragexit"),l(e,N,"dragleave"),l(e,D,"dragover"),l(e,H,"dragstart"),Object.freeze({onDrag:d,onDrop:m,onDragEnter:y,onDragEnd:x,onDragExit:A,onDragLeave:T,onDragOver:M,onDragStart:F})):(0,a.default)("Unable to assign any drag event to the given ref")};t.default=u},2716:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=n(7294),a=(r=n(3754))&&r.__esModule?r:{default:r};function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e))&&"[object Arguments]"!==Object.prototype.toString.call(e))return;var n=[],r=!0,o=!1,a=void 0;try{for(var i,c=e[Symbol.iterator]();!(r=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(s){o=!0,a=s}finally{try{r||null==c.return||c.return()}finally{if(o)throw a}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var c=function(e){var t=(0,a.default)(e,!1),n=t.onDrop,r=t.onDragOver,c=t.onDragLeave,s=i((0,o.useState)(!1),2),l=s[0],u=s[1];return r((function(e){e.preventDefault(),u(!0)})),c((function(){u(!1)})),{isOver:l,onDrop:n}};t.default=c},8745:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(4180)),o=i(n(3280)),a=i(n(5530));function i(e){return e&&e.__esModule?e:{default:e}}var c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a.default,t=(0,r.default)(e),n=(0,o.default)(e);return[t,n]};t.default=c},3280:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(7294),o=c(n(4262)),a=c(n(9910)),i=c(n(5530));function c(e){return e&&e.__esModule?e:{default:e}}function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e))&&"[object Arguments]"!==Object.prototype.toString.call(e))return;var n=[],r=!0,o=!1,a=void 0;try{for(var i,c=e[Symbol.iterator]();!(r=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(s){o=!0,a=s}finally{try{r||null==c.return||c.return()}finally{if(o)throw a}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var l=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i.default,t=(0,r.useRef)(),n=(0,o.default)(),c=s(n,2),l=c[0],u=c[1],d=(0,o.default)(),f=s(d,2),p=f[0],h=f[1],m="undefined"!=typeof window&&"geolocation"in window.navigator;return(0,r.useEffect)((function(){return m&&(t.current=window.navigator.geolocation.watchPosition((function(e){l.current&&l.current(e)}),(function(e){p.current&&p.current(e)}),e)),function(){m&&window.navigator.geolocation.clearWatch(t.current)}}),[]),m?Object.freeze({isSupported:m,onChange:u,onError:h}):(0,a.default)("The Geolocation API is not supported")};t.default=l},4180:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(7294),o=s(n(3280)),a=s(n(5530)),i=s(n(7239)),c=s(n(1460));function s(e){return e&&e.__esModule?e:{default:e}}function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e))&&"[object Arguments]"!==Object.prototype.toString.call(e))return;var n=[],r=!0,o=!1,a=void 0;try{for(var i,c=e[Symbol.iterator]();!(r=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(s){o=!0,a=s}finally{try{r||null==c.return||c.return()}finally{if(o)throw a}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var u=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a.default,t=(0,r.useState)(null),n=l(t,2),s=n[0],u=n[1],d=(0,r.useState)(!1),f=l(d,2),p=f[0],h=f[1],m=(0,o.default)(e),g=m.isSupported,v=m.onChange,b=(0,r.useCallback)((function(){null===s&&(h(!0),navigator.geolocation.getCurrentPosition((function(e){(0,c.default)(s,e)||(u((0,i.default)(e)),h(!1))})))}),[s]);return(0,r.useEffect)(b,[s]),v(b),Object.freeze({isSupported:g,isRetrieving:p,position:s})};t.default=u},1547:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=n(7294),a=(r=n(4262))&&r.__esModule?r:{default:r};function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:u,n=arguments.length>2?arguments[2]:void 0,r=(0,a.default)(n),i=l(r,2),s=i[0],d=i[1],f=c({},u,{},t||{});return(0,o.useEffect)((function(){var t=function(e){s.current&&s.current(e)};return s.current&&e&&window.addEventListener(e,t,f),function(){e&&window.removeEventListener(e,t,f)}}),[e,t]),d};t.default=d},7683:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(7294);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e))&&"[object Arguments]"!==Object.prototype.toString.call(e))return;var n=[],r=!0,o=!1,a=void 0;try{for(var i,c=e[Symbol.iterator]();!(r=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(s){o=!0,a=s}finally{try{r||null==c.return||c.return()}finally{if(o)throw a}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:s,a=i({},s,{},n||{}),c=(0,r.useRef)(),l=(0,r.useRef)(e),u=(0,r.useState)(!1),d=o(u,2),f=d[0],p=d[1],h=(0,r.useCallback)((function(){c.current&&(clearInterval(c.current),p(!0))}),[]);return(0,r.useEffect)((function(){"function"==typeof e&&(l.current=e)}),[e]),(0,r.useEffect)((function(){"number"==typeof t&&(c.current=setInterval((function(){l.current()}),t))}),[t]),(0,r.useEffect)((function(){return function(){a.cancelOnUnmount&&h()}}),[]),[f,h]};t.default=l},729:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(8277)),o=a(n(8363));function a(e){return e&&e.__esModule?e:{default:e}}var i=function(e,t){return{onDidMount:(0,r.default)(e),onWillUnmount:(0,o.default)(t)}};t.default=i},3074:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=n(7294),a=(r=n(6034))&&r.__esModule?r:{default:r};function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e))&&"[object Arguments]"!==Object.prototype.toString.call(e))return;var n=[],r=!0,o=!1,a=void 0;try{for(var i,c=e[Symbol.iterator]();!(r=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(s){o=!0,a=s}finally{try{r||null==c.return||c.return()}finally{if(o)throw a}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var c=function(e,t){var n=i((0,o.useState)((0,a.default)(window.localStorage.getItem(e)||JSON.stringify(t))),2),r=n[0],c=n[1];return(0,o.useEffect)((function(){window.localStorage.setItem(e,JSON.stringify(r))}),[e,r]),[r,c]};t.default=c},2555:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(7294),o=i(n(3232)),a=i(n(421));function i(e){return e&&e.__esModule?e:{default:e}}function c(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e))&&"[object Arguments]"!==Object.prototype.toString.call(e))return;var n=[],r=!0,o=!1,a=void 0;try{for(var i,c=e[Symbol.iterator]();!(r=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(s){o=!0,a=s}finally{try{r||null==c.return||c.return()}finally{if(o)throw a}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var s=function(e){if(!o.default||!(0,a.default)("matchMedia"))return console.warn("matchMedia is not supported, this could happen both because window.matchMedia is not supported by your current browser or you're using the useMediaQuery hook whilst server side rendering."),null;var t=c((0,r.useState)(!!window.matchMedia(e).matches),2),n=t[0],i=t[1];return(0,r.useEffect)((function(){var t=window.matchMedia(e),n=function(){return i(!!t.matches)};return t.addListener(n),n(),function(){t.removeListener(n)}}),[e]),n};t.default=s},4901:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(753)),o=a(n(9821));function a(e){return e&&e.__esModule?e:{default:e}}var i=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=(0,o.default)(e),n=(0,r.default)(e);return[t,n]};t.default=i},753:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(7294),o=c(n(4262)),a=c(n(9910)),i=c(n(642));function c(e){return e&&e.__esModule?e:{default:e}}function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e))&&"[object Arguments]"!==Object.prototype.toString.call(e))return;var n=[],r=!0,o=!1,a=void 0;try{for(var i,c=e[Symbol.iterator]();!(r=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(s){o=!0,a=s}finally{try{r||null==c.return||c.return()}finally{if(o)throw a}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var l=function(e,t,n){(0,r.useEffect)((function(){var r,o=function(e){t.current&&t.current(e)};return null!==e&&e.current&&(r=e.current),null===e&&(r=document),r&&r.addEventListener&&r.addEventListener(n,o),function(){r&&r.removeEventListener&&r.removeEventListener(n,o)}}),[])},u=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=(0,o.default)(),n=s(t,2),r=n[0],c=n[1],u=(0,o.default)(),d=s(u,2),f=d[0],p=d[1],h=(0,o.default)(),m=s(h,2),g=m[0],v=m[1],b=(0,o.default)(),y=s(b,2),w=y[0],E=y[1],O=(0,o.default)(),x=s(O,2),S=x[0],k=x[1],I=(0,o.default)(),A=s(I,2),_=A[0],C=A[1],N=(0,o.default)(),T=s(N,2),P=T[0],j=T[1];return null===e||(0,i.default)(e,"current")?(l(e,r,"mousedown"),l(e,f,"mouseenter"),l(e,g,"mouseleave"),l(e,w,"mousemove"),l(e,S,"mouseout"),l(e,_,"mouseover"),l(e,P,"mouseup"),Object.freeze({onMouseDown:c,onMouseEnter:p,onMouseLeave:v,onMouseMove:E,onMouseOut:k,onMouseOver:C,onMouseUp:j})):(0,a.default)("Unable to assign any mouse event to the given ref")};t.default=u},9821:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=n(7294),a=(r=n(753))&&r.__esModule?r:{default:r};function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e))&&"[object Arguments]"!==Object.prototype.toString.call(e))return;var n=[],r=!0,o=!1,a=void 0;try{for(var i,c=e[Symbol.iterator]();!(r=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(s){o=!0,a=s}finally{try{r||null==c.return||c.return()}finally{if(o)throw a}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var c=function(e){return{clientX:e.clientX,clientY:e.clientY,screenX:e.screenX,screenY:e.screenY}},s=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=(0,o.useState)({clientX:0,clientY:0,screenX:0,screenY:0}),n=i(t,2),r=n[0],s=n[1],l=(0,a.default)(e),u=l.onMouseMove;return u((function(e){var t=c(e);s(t)})),r};t.default=s},3146:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=n(7294),a=(r=n(1547))&&r.__esModule?r:{default:r};function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e))&&"[object Arguments]"!==Object.prototype.toString.call(e))return;var n=[],r=!0,o=!1,a=void 0;try{for(var i,c=e[Symbol.iterator]();!(r=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(s){o=!0,a=s}finally{try{r||null==c.return||c.return()}finally{if(o)throw a}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var c=function(){var e="undefined"!=typeof window&&"ononline"in window,t=i((0,o.useState)(!e||navigator.onLine),2),n=t[0],r=t[1],c=(0,a.default)("online",{capture:!0}),s=(0,a.default)("offline",{capture:!0});return e?(c((function(){r(!0)})),s((function(){r(!1)})),n):(console.warn("The current device does not support the 'online/offline' events, you should avoid using useOnlineState"),n)};t.default=c},4927:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(7294),o=function(e){var t=(0,r.useRef)();return(0,r.useEffect)((function(){return t.current=e,function(){t.current=void 0}})),t.current};t.default=o},5234:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(7294),o=s(n(4262)),a=s(n(3232)),i=s(n(421)),c=s(n(9910));function s(e){return e&&e.__esModule?e:{default:e}}function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e))&&"[object Arguments]"!==Object.prototype.toString.call(e))return;var n=[],r=!0,o=!1,a=void 0;try{for(var i,c=e[Symbol.iterator]();!(r=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(s){o=!0,a=s}finally{try{r||null==c.return||c.return()}finally{if(o)throw a}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:p;if(!a.default||!(0,i.default)("requestAnimationFrame"))return console.warn(h),(0,c.default)(h);var n=d({},p,{},t),s=(0,r.useRef)(n.startAt),u=(0,o.default)(),f=l(u,2),m=f[0],g=f[1],v=function(){return window.requestAnimationFrame(b)},b=(0,r.useCallback)((function(){s.current<=n.finishAt||-1===n.finishAt?(e(s.current,v),s.current+=n.increment):m.current&&m.current()}),[e,n.finishAt,n.increment,s.current,m.current]);return s.current<=n.startAt&&v(),g};t.default=m},9847:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=n(7294),a=(r=n(8385))&&r.__esModule?r:{default:r};var i={leading:!1,trailing:!0},c=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i,r=arguments.length>3?arguments[3]:void 0,c=(0,a.default)(e,t,n);return(0,o.useCallback)(c,r)};t.default=c},6667:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(7294);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e))&&"[object Arguments]"!==Object.prototype.toString.call(e))return;var n=[],r=!0,o=!1,a=void 0;try{for(var i,c=e[Symbol.iterator]();!(r=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(s){o=!0,a=s}finally{try{r||null==c.return||c.return()}finally{if(o)throw a}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:s,a=i({},s,{},n||{}),c=(0,r.useRef)(),l=(0,r.useRef)(e),u=(0,r.useState)(!1),d=o(u,2),f=d[0],p=d[1],h=(0,r.useCallback)((function(){c.current&&(clearTimeout(c.current),p(!0))}),[]);return(0,r.useEffect)((function(){"function"==typeof e&&(l.current=e)}),[e]),(0,r.useEffect)((function(){"number"==typeof t&&(c.current=setTimeout((function(){l.current()}),t))}),[t]),(0,r.useEffect)((function(){return function(){a.cancelOnUnmount&&h()}}),[]),[f,h]};t.default=l},5704:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(7294);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e))&&"[object Arguments]"!==Object.prototype.toString.call(e))return;var n=[],r=!0,o=!1,a=void 0;try{for(var i,c=e[Symbol.iterator]();!(r=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(s){o=!0,a=s}finally{try{r||null==c.return||c.return()}finally{if(o)throw a}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var a=function(e,t){var n=o((0,r.useState)(t),2),a=n[0],i=n[1],c=(0,r.useRef)({changed:!1});return[a,(0,r.useCallback)((function(t){i(t),c.current={changed:!0,valid:e(t)}}),[e]),c.current]};t.default=a},6100:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(7294),o=function(e){var t=(0,r.useRef)([]);return(0,r.useEffect)((function(){t.current.push(e)}),[e]),t.current};t.default=o},4890:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(7294);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e))&&"[object Arguments]"!==Object.prototype.toString.call(e))return;var n=[],r=!0,o=!1,a=void 0;try{for(var i,c=e[Symbol.iterator]();!(r=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(s){o=!0,a=s}finally{try{r||null==c.return||c.return()}finally{if(o)throw a}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var a={root:void 0,rootMargin:"0px",threshold:0},i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a,n=(0,r.useState)(),i=o(n,2),c=i[0],s=i[1];return(0,r.useLayoutEffect)((function(){var n=new IntersectionObserver((function(e){return e.forEach((function(e){var t=e.isIntersecting;s(t)}))}),t);return n.observe(e.current),function(){n.disconnect(e.current)}}),[e]),c};t.default=i},8363:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=n(7294),a=(r=n(4262))&&r.__esModule?r:{default:r};function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e))&&"[object Arguments]"!==Object.prototype.toString.call(e))return;var n=[],r=!0,o=!1,a=void 0;try{for(var i,c=e[Symbol.iterator]();!(r=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(s){o=!0,a=s}finally{try{r||null==c.return||c.return()}finally{if(o)throw a}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var c=function(e){var t=i((0,a.default)(e),2),n=t[0],r=t[1];return(0,o.useEffect)((function(){return function(){n.current&&n.current()}}),[]),r};t.default=c},484:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(1547))&&r.__esModule?r:{default:r};var a=function(e){return(0,o.default)("resize",null,e)};t.default=a},6956:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(1547))&&r.__esModule?r:{default:r};var a=function(e){return(0,o.default)("scroll",null,e)};t.default=a},9910:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(e){return new Proxy(Object.create(null),{get:function(t,n){return n&&"string"==typeof n&&"on"===n.slice(0,2)?function(){throw new Error(e)}:{error:e}}})};t.default=n},4262:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(7294),o=function(e){var t=(0,r.useRef)(e);t.current=e;var n=(0,r.useCallback)((function(e){if("function"!=typeof e)throw new Error("the argument supplied to the 'setHandler' function should be of type function");t.current=e}));return[t,n]};t.default=o},5530:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=Object.create(null);n.enableHighAccuracy=!1,n.timeout=4294967295,n.maximumAge=0;var r=Object.freeze(n);t.default=r},642:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(e,t){return!!e&&Object.prototype.hasOwnProperty.call(e,t)};t.default=n},421:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=function(e){return e in window}},3232:function(e,t){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r="object"===("undefined"==typeof window?"undefined":n(window));t.default=r},1460:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(e,t){return!!(e&&t&&t.coords)&&((!e.timestamp||!t.timestamp||e.timestamp===t.timestamp)&&(e.coords.latitude===t.coords.latitude&&e.coords.longitude===t.coords.longitude&&e.coords.altitude===t.coords.altitude&&e.coords.accuracy===t.coords.accuracy&&e.coords.altitudeAccuracy===t.coords.altitudeAccuracy&&e.coords.heading===t.coords.heading&&e.coords.speed===t.coords.speed))};t.default=n},7239:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(e){return e?{timestamp:e.timestamp,coords:{latitude:e.coords.latitude,longitude:e.coords.longitude,altitude:e.coords.altitude,accuracy:e.coords.accuracy,altitudeAccuracy:e.coords.altitudeAccuracy,heading:e.coords.heading,speed:e.coords.speed}}:null};t.default=n},6034:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(e){try{return JSON.parse(e)}catch(t){return null}};t.default=n},9647:function(e,t,n){"use strict";n.d(t,{Z:function(){return k}});var r=n(8416),o=n.n(r),a=n(861),i=n.n(a),c=n(7424),s=n.n(c),l=n(215),u=n.n(l),d=n(7294),f=n(5900),p=n.n(f),h=n(6696),m=n(6252),g=n(7968),v=n(3442),b=n(1695);var y=n(5622),w=n(7798),E=["as","children","className","dangerDescription","disabled","hasIconOnly","href","iconDescription","isExpressive","isSelected","kind","onBlur","onClick","onFocus","onMouseEnter","onMouseLeave","renderIcon","size","small","tabIndex","tooltipAlignment","tooltipPosition","type"];function O(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function x(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{},n=t.key,r=t.which,o=t.keyCode;return"string"==typeof e?e===n:"number"==typeof e?e===r||e===o:e.key&&Array.isArray(n)?-1!==n.indexOf(e.key):e.key===n||e.which===r||e.keyCode===o}n.d(t,{EQ:function(){return o},wB:function(){return r}})},1695:function(e,t,n){"use strict";n.d(t,{M:function(){return d}});var r=n(7424),o=n.n(r),a=n(7294),i=n(4292),c=n(1543),s=(0,i.Z)(),l=c.N?a.useLayoutEffect:a.useEffect,u=!1;function d(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"id",t=(0,a.useState)((function(){return u?"".concat(e,"-").concat(s()):null})),n=o()(t,2),r=n[0],i=n[1];return l((function(){null===r&&i("".concat(e,"-").concat(s()))}),[s]),(0,a.useEffect)((function(){!1===u&&(u=!0)}),[]),r}},3442:function(e,t,n){"use strict";n.d(t,{A:function(){return i},T:function(){return a}});var r=n(8537),o=n(7294),a=o.createContext(r.Z.prefix);function i(){return o.useContext(a)}},8077:function(e,t,n){"use strict";n.d(t,{b:function(){return u}});var r=n(5697),o=n.n(r),a=n(8416),i=n.n(a);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t3?o-3:0),i=3;i1?n-1:0),o=1;o1&&(o-=1)),[360*o,100*a,100*l]},i.rgb.hwb=function(e){var t=e[0],n=e[1],r=e[2];return[i.rgb.hsl(e)[0],100*(1/255*Math.min(t,Math.min(n,r))),100*(r=1-1/255*Math.max(t,Math.max(n,r)))]},i.rgb.cmyk=function(e){var t,n=e[0]/255,r=e[1]/255,o=e[2]/255;return[100*((1-n-(t=Math.min(1-n,1-r,1-o)))/(1-t)||0),100*((1-r-t)/(1-t)||0),100*((1-o-t)/(1-t)||0),100*t]},i.rgb.keyword=function(e){var t=o[e];if(t)return t;var n,a,i,c=1/0;for(var s in r)if(r.hasOwnProperty(s)){var l=r[s],u=(a=e,i=l,Math.pow(a[0]-i[0],2)+Math.pow(a[1]-i[1],2)+Math.pow(a[2]-i[2],2));u.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]},i.rgb.lab=function(e){var t=i.rgb.xyz(e),n=t[0],r=t[1],o=t[2];return r/=100,o/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116)-16,500*(n-r),200*(r-(o=o>.008856?Math.pow(o,1/3):7.787*o+16/116))]},i.hsl.rgb=function(e){var t,n,r,o,a,i=e[0]/360,c=e[1]/100,s=e[2]/100;if(0===c)return[a=255*s,a,a];t=2*s-(n=s<.5?s*(1+c):s+c-s*c),o=[0,0,0];for(var l=0;l<3;l++)(r=i+1/3*-(l-1))<0&&r++,r>1&&r--,a=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t,o[l]=255*a;return o},i.hsl.hsv=function(e){var t=e[0],n=e[1]/100,r=e[2]/100,o=n,a=Math.max(r,.01);return n*=(r*=2)<=1?r:2-r,o*=a<=1?a:2-a,[t,100*(0===r?2*o/(a+o):2*n/(r+n)),100*((r+n)/2)]},i.hsv.rgb=function(e){var t=e[0]/60,n=e[1]/100,r=e[2]/100,o=Math.floor(t)%6,a=t-Math.floor(t),i=255*r*(1-n),c=255*r*(1-n*a),s=255*r*(1-n*(1-a));switch(r*=255,o){case 0:return[r,s,i];case 1:return[c,r,i];case 2:return[i,r,s];case 3:return[i,c,r];case 4:return[s,i,r];case 5:return[r,i,c]}},i.hsv.hsl=function(e){var t,n,r,o=e[0],a=e[1]/100,i=e[2]/100,c=Math.max(i,.01);return r=(2-a)*i,n=a*c,[o,100*(n=(n/=(t=(2-a)*c)<=1?t:2-t)||0),100*(r/=2)]},i.hwb.rgb=function(e){var t,n,r,o,a,i,c,s=e[0]/360,l=e[1]/100,u=e[2]/100,d=l+u;switch(d>1&&(l/=d,u/=d),r=6*s-(t=Math.floor(6*s)),0!=(1&t)&&(r=1-r),o=l+r*((n=1-u)-l),t){default:case 6:case 0:a=n,i=o,c=l;break;case 1:a=o,i=n,c=l;break;case 2:a=l,i=n,c=o;break;case 3:a=l,i=o,c=n;break;case 4:a=o,i=l,c=n;break;case 5:a=n,i=l,c=o}return[255*a,255*i,255*c]},i.cmyk.rgb=function(e){var t=e[0]/100,n=e[1]/100,r=e[2]/100,o=e[3]/100;return[255*(1-Math.min(1,t*(1-o)+o)),255*(1-Math.min(1,n*(1-o)+o)),255*(1-Math.min(1,r*(1-o)+o))]},i.xyz.rgb=function(e){var t,n,r,o=e[0]/100,a=e[1]/100,i=e[2]/100;return n=-.9689*o+1.8758*a+.0415*i,r=.0557*o+-.204*a+1.057*i,t=(t=3.2406*o+-1.5372*a+-.4986*i)>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,[255*(t=Math.min(Math.max(0,t),1)),255*(n=Math.min(Math.max(0,n),1)),255*(r=Math.min(Math.max(0,r),1))]},i.xyz.lab=function(e){var t=e[0],n=e[1],r=e[2];return n/=100,r/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]},i.lab.xyz=function(e){var t,n,r,o=e[0];t=e[1]/500+(n=(o+16)/116),r=n-e[2]/200;var a=Math.pow(n,3),i=Math.pow(t,3),c=Math.pow(r,3);return n=a>.008856?a:(n-16/116)/7.787,t=i>.008856?i:(t-16/116)/7.787,r=c>.008856?c:(r-16/116)/7.787,[t*=95.047,n*=100,r*=108.883]},i.lab.lch=function(e){var t,n=e[0],r=e[1],o=e[2];return(t=360*Math.atan2(o,r)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(r*r+o*o),t]},i.lch.lab=function(e){var t,n=e[0],r=e[1];return t=e[2]/360*2*Math.PI,[n,r*Math.cos(t),r*Math.sin(t)]},i.rgb.ansi16=function(e){var t=e[0],n=e[1],r=e[2],o=1 in arguments?arguments[1]:i.rgb.hsv(e)[2];if(0===(o=Math.round(o/50)))return 30;var a=30+(Math.round(r/255)<<2|Math.round(n/255)<<1|Math.round(t/255));return 2===o&&(a+=60),a},i.hsv.ansi16=function(e){return i.rgb.ansi16(i.hsv.rgb(e),e[2])},i.rgb.ansi256=function(e){var t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},i.ansi16.rgb=function(e){var t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),[t=t/10.5*255,t,t];var n=.5*(1+~~(e>50));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},i.ansi256.rgb=function(e){if(e>=232){var t=10*(e-232)+8;return[t,t,t]}var n;return e-=16,[Math.floor(e/36)/5*255,Math.floor((n=e%36)/6)/5*255,n%6/5*255]},i.rgb.hex=function(e){var t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},i.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var n=t[0];3===t[0].length&&(n=n.split("").map((function(e){return e+e})).join(""));var r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},i.rgb.hcg=function(e){var t,n=e[0]/255,r=e[1]/255,o=e[2]/255,a=Math.max(Math.max(n,r),o),i=Math.min(Math.min(n,r),o),c=a-i;return t=c<=0?0:a===n?(r-o)/c%6:a===r?2+(o-n)/c:4+(n-r)/c+4,t/=6,[360*(t%=1),100*c,100*(c<1?i/(1-c):0)]},i.hsl.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=1,o=0;return(r=n<.5?2*t*n:2*t*(1-n))<1&&(o=(n-.5*r)/(1-r)),[e[0],100*r,100*o]},i.hsv.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=t*n,o=0;return r<1&&(o=(n-r)/(1-r)),[e[0],100*r,100*o]},i.hcg.rgb=function(e){var t=e[0]/360,n=e[1]/100,r=e[2]/100;if(0===n)return[255*r,255*r,255*r];var o,a=[0,0,0],i=t%1*6,c=i%1,s=1-c;switch(Math.floor(i)){case 0:a[0]=1,a[1]=c,a[2]=0;break;case 1:a[0]=s,a[1]=1,a[2]=0;break;case 2:a[0]=0,a[1]=1,a[2]=c;break;case 3:a[0]=0,a[1]=s,a[2]=1;break;case 4:a[0]=c,a[1]=0,a[2]=1;break;default:a[0]=1,a[1]=0,a[2]=s}return o=(1-n)*r,[255*(n*a[0]+o),255*(n*a[1]+o),255*(n*a[2]+o)]},i.hcg.hsv=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t),r=0;return n>0&&(r=t/n),[e[0],100*r,100*n]},i.hcg.hsl=function(e){var t=e[1]/100,n=e[2]/100*(1-t)+.5*t,r=0;return n>0&&n<.5?r=t/(2*n):n>=.5&&n<1&&(r=t/(2*(1-n))),[e[0],100*r,100*n]},i.hcg.hwb=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},i.hwb.hcg=function(e){var t=e[1]/100,n=1-e[2]/100,r=n-t,o=0;return r<1&&(o=(n-r)/(1-r)),[e[0],100*r,100*o]},i.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},i.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},i.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},i.gray.hsl=i.gray.hsv=function(e){return[0,0,e[0]]},i.gray.hwb=function(e){return[0,100,e[0]]},i.gray.cmyk=function(e){return[0,0,0,e[0]]},i.gray.lab=function(e){return[e[0],0,0]},i.gray.hex=function(e){var t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},i.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}},8720:function(e,t,n){var r=n(1065),o=n(2827),a={};Object.keys(r).forEach((function(e){a[e]={},Object.defineProperty(a[e],"channels",{value:r[e].channels}),Object.defineProperty(a[e],"labels",{value:r[e].labels});var t=o(e);Object.keys(t).forEach((function(n){var r=t[n];a[e][n]=function(e){var t=function(t){if(null==t)return t;arguments.length>1&&(t=Array.prototype.slice.call(arguments));var n=e(t);if("object"==typeof n)for(var r=n.length,o=0;o1&&(t=Array.prototype.slice.call(arguments)),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(r)}))})),e.exports=a},2480:function(e){"use strict";e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},2827:function(e,t,n){var r=n(1065);function o(e){var t=function(){for(var e={},t=Object.keys(r),n=t.length,o=0;o=4&&1!==e[3]&&(t=", "+e[3]),"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+t+")"},s.to.keyword=function(e){return i[e.slice(0,3)]}},5517:function(e,t,n){"use strict";var r=n(961),o=n(8720),a=[].slice,i=["keyword","gray","hex"],c={};Object.keys(o).forEach((function(e){c[a.call(o[e].labels).sort().join("")]=e}));var s={};function l(e,t){if(!(this instanceof l))return new l(e,t);if(t&&t in i&&(t=null),t&&!(t in o))throw new Error("Unknown model: "+t);var n,u;if(null==e)this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(e instanceof l)this.model=e.model,this.color=e.color.slice(),this.valpha=e.valpha;else if("string"==typeof e){var d=r.get(e);if(null===d)throw new Error("Unable to parse color from string: "+e);this.model=d.model,u=o[this.model].channels,this.color=d.value.slice(0,u),this.valpha="number"==typeof d.value[u]?d.value[u]:1}else if(e.length){this.model=t||"rgb",u=o[this.model].channels;var f=a.call(e,0,u);this.color=p(f,u),this.valpha="number"==typeof e[u]?e[u]:1}else if("number"==typeof e)e&=16777215,this.model="rgb",this.color=[e>>16&255,e>>8&255,255&e],this.valpha=1;else{this.valpha=1;var h=Object.keys(e);"alpha"in e&&(h.splice(h.indexOf("alpha"),1),this.valpha="number"==typeof e.alpha?e.alpha:0);var m=h.sort().join("");if(!(m in c))throw new Error("Unable to parse color from object: "+JSON.stringify(e));this.model=c[m];var g=o[this.model].labels,v=[];for(n=0;nn?(t+.05)/(n+.05):(n+.05)/(t+.05)},level:function(e){var t=this.contrast(e);return t>=7.1?"AAA":t>=4.5?"AA":""},isDark:function(){var e=this.rgb().color;return(299*e[0]+587*e[1]+114*e[2])/1e3<128},isLight:function(){return!this.isDark()},negate:function(){for(var e=this.rgb(),t=0;t<3;t++)e.color[t]=255-e.color[t];return e},lighten:function(e){var t=this.hsl();return t.color[2]+=t.color[2]*e,t},darken:function(e){var t=this.hsl();return t.color[2]-=t.color[2]*e,t},saturate:function(e){var t=this.hsl();return t.color[1]+=t.color[1]*e,t},desaturate:function(e){var t=this.hsl();return t.color[1]-=t.color[1]*e,t},whiten:function(e){var t=this.hwb();return t.color[1]+=t.color[1]*e,t},blacken:function(e){var t=this.hwb();return t.color[2]+=t.color[2]*e,t},grayscale:function(){var e=this.rgb().color,t=.3*e[0]+.59*e[1]+.11*e[2];return l.rgb(t,t,t)},fade:function(e){return this.alpha(this.valpha-this.valpha*e)},opaquer:function(e){return this.alpha(this.valpha+this.valpha*e)},rotate:function(e){var t=this.hsl(),n=t.color[0];return n=(n=(n+e)%360)<0?360+n:n,t.color[0]=n,t},mix:function(e,t){if(!e||!e.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof e);var n=e.rgb(),r=this.rgb(),o=void 0===t?.5:t,a=2*o-1,i=n.alpha()-r.alpha(),c=((a*i==-1?a:(a+i)/(1+a*i))+1)/2,s=1-c;return l.rgb(c*n.red()+s*r.red(),c*n.green()+s*r.green(),c*n.blue()+s*r.blue(),n.alpha()*o+r.alpha()*(1-o))}},Object.keys(o).forEach((function(e){if(-1===i.indexOf(e)){var t=o[e].channels;l.prototype[e]=function(){if(this.model===e)return new l(this);if(arguments.length)return new l(arguments,e);var n="number"==typeof arguments[t]?t:this.valpha;return new l(f(o[this.model][e].raw(this.color)).concat(n),e)},l[e]=function(n){return"number"==typeof n&&(n=p(a.call(arguments),t)),new l(n,e)}}})),e.exports=l},1455:function(e,t,n){"use strict";var r=n(8072),o={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,t){var n,a,i,c,s,l,u=!1;t||(t={}),n=t.debug||!1;try{if(i=r(),c=document.createRange(),s=document.getSelection(),(l=document.createElement("span")).textContent=e,l.ariaHidden="true",l.style.all="unset",l.style.position="fixed",l.style.top=0,l.style.clip="rect(0, 0, 0, 0)",l.style.whiteSpace="pre",l.style.webkitUserSelect="text",l.style.MozUserSelect="text",l.style.msUserSelect="text",l.style.userSelect="text",l.addEventListener("copy",(function(r){if(r.stopPropagation(),t.format)if(r.preventDefault(),void 0===r.clipboardData){n&&console.warn("unable to use e.clipboardData"),n&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var a=o[t.format]||o.default;window.clipboardData.setData(a,e)}else r.clipboardData.clearData(),r.clipboardData.setData(t.format,e);t.onCopy&&(r.preventDefault(),t.onCopy(r.clipboardData))})),document.body.appendChild(l),c.selectNodeContents(l),s.addRange(c),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");u=!0}catch(d){n&&console.error("unable to copy using execCommand: ",d),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),u=!0}catch(d){n&&console.error("unable to copy using clipboardData: ",d),n&&console.error("falling back to prompt"),a=function(e){var t=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}("message"in t?t.message:"Copy to clipboard: #{key}, Enter"),window.prompt(a,e)}}finally{s&&("function"==typeof s.removeRange?s.removeRange(c):s.removeAllRanges()),l&&document.body.removeChild(l),i()}return u}},4564:function(e){"use strict";var t=/[|\\{}()[\]^$+*?.]/g;e.exports=function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(t,"\\$&")}},810:function(e){"use strict";e.exports=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;var r,o,a;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(o=r;0!=o--;)if(!e(t[o],n[o]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(a=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(o=r;0!=o--;)if(!Object.prototype.hasOwnProperty.call(n,a[o]))return!1;for(o=r;0!=o--;){var i=a[o];if(("_owner"!==i||!t.$$typeof)&&!e(t[i],n[i]))return!1}return!0}return t!=t&&n!=n}},7468:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e,t){for(var n=0;n1?r-1:0),a=1;a element.");return u.cloneElement(t,{ref:function(n){var r=e.props.containerElements;t&&("function"==typeof t.ref?t.ref(n):t.ref&&(t.ref.current=n)),e.focusTrapElements=r||[n]}})}return null}}])&&o(t.prototype,n),r&&o(t,r),Object.defineProperty(t,"prototype",{writable:!1}),l}(u.Component),g="undefined"==typeof Element?Function:Element;m.propTypes={active:f.bool,paused:f.bool,focusTrapOptions:f.shape({document:f.object,onActivate:f.func,onPostActivate:f.func,checkCanFocusTrap:f.func,onDeactivate:f.func,onPostDeactivate:f.func,checkCanReturnFocus:f.func,initialFocus:f.oneOfType([f.instanceOf(g),f.string,f.bool,f.func]),fallbackFocus:f.oneOfType([f.instanceOf(g),f.string,f.func]),escapeDeactivates:f.oneOfType([f.bool,f.func]),clickOutsideDeactivates:f.oneOfType([f.bool,f.func]),returnFocusOnDeactivate:f.bool,setReturnFocus:f.oneOfType([f.instanceOf(g),f.string,f.bool,f.func]),allowOutsideClick:f.oneOfType([f.bool,f.func]),preventScroll:f.bool,tabbableOptions:f.shape({displayCheck:f.oneOf(["full","non-zero-area","none"]),getShadowRoot:f.oneOfType([f.bool,f.func])})}),containerElements:f.arrayOf(f.instanceOf(g)),children:f.oneOfType([f.element,f.instanceOf(g)])},m.defaultProps={active:!0,paused:!1,focusTrapOptions:{},_createFocusTrap:p},e.exports=m},5155:function(e,t,n){"use strict";n.r(t),n.d(t,{createFocusTrap:function(){return p}});var r=n(7901);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t0){var t=c[c.length-1];t!==e&&t.pause()}var n=c.indexOf(e);-1===n||c.splice(n,1),c.push(e)},deactivateTrap:function(e){var t=c.indexOf(e);-1!==t&&c.splice(t,1),c.length>0&&c[c.length-1].unpause()}}),l=function(e){return setTimeout(e,0)},u=function(e,t){var n=-1;return e.every((function(e,r){return!t(e)||(n=r,!1)})),n},d=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r1?n-1:0),a=1;a=0)e=o.activeElement;else{var t=c.tabbableGroups[0];e=t&&t.firstTabbableNode||m("fallbackFocus")}if(!e)throw new Error("Your focus-trap needs to have at least one focusable element");return e},v=function(){if(c.containerGroups=c.containers.map((function(e){var t=(0,r.tabbable)(e,i.tabbableOptions),n=(0,r.focusable)(e,i.tabbableOptions);return{container:e,tabbableNodes:t,focusableNodes:n,firstTabbableNode:t.length>0?t[0]:null,lastTabbableNode:t.length>0?t[t.length-1]:null,nextTabbableNode:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],o=n.findIndex((function(t){return t===e}));if(!(o<0))return t?n.slice(o+1).find((function(e){return(0,r.isTabbable)(e,i.tabbableOptions)})):n.slice(0,o).reverse().find((function(e){return(0,r.isTabbable)(e,i.tabbableOptions)}))}}})),c.tabbableGroups=c.containerGroups.filter((function(e){return e.tabbableNodes.length>0})),c.tabbableGroups.length<=0&&!m("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times")},b=function e(t){!1!==t&&t!==o.activeElement&&(t&&t.focus?(t.focus({preventScroll:!!i.preventScroll}),c.mostRecentlyFocusedNode=t,function(e){return e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select}(t)&&t.select()):e(g()))},y=function(e){var t=m("setReturnFocus",e);return t||!1!==t&&e},w=function(e){var t=f(e);h(t)>=0||(d(i.clickOutsideDeactivates,e)?n.deactivate({returnFocus:i.returnFocusOnDeactivate&&!(0,r.isFocusable)(t,i.tabbableOptions)}):d(i.allowOutsideClick,e)||e.preventDefault())},E=function(e){var t=f(e),n=h(t)>=0;n||t instanceof Document?n&&(c.mostRecentlyFocusedNode=t):(e.stopImmediatePropagation(),b(c.mostRecentlyFocusedNode||g()))},O=function(e){if(function(e){return"Escape"===e.key||"Esc"===e.key||27===e.keyCode}(e)&&!1!==d(i.escapeDeactivates,e))return e.preventDefault(),void n.deactivate();(function(e){return"Tab"===e.key||9===e.keyCode})(e)&&function(e){var t=f(e);v();var n=null;if(c.tabbableGroups.length>0){var o=h(t),a=o>=0?c.containerGroups[o]:void 0;if(o<0)n=e.shiftKey?c.tabbableGroups[c.tabbableGroups.length-1].lastTabbableNode:c.tabbableGroups[0].firstTabbableNode;else if(e.shiftKey){var s=u(c.tabbableGroups,(function(e){var n=e.firstTabbableNode;return t===n}));if(s<0&&(a.container===t||(0,r.isFocusable)(t,i.tabbableOptions)&&!(0,r.isTabbable)(t,i.tabbableOptions)&&!a.nextTabbableNode(t,!1))&&(s=o),s>=0){var l=0===s?c.tabbableGroups.length-1:s-1;n=c.tabbableGroups[l].lastTabbableNode}}else{var d=u(c.tabbableGroups,(function(e){var n=e.lastTabbableNode;return t===n}));if(d<0&&(a.container===t||(0,r.isFocusable)(t,i.tabbableOptions)&&!(0,r.isTabbable)(t,i.tabbableOptions)&&!a.nextTabbableNode(t))&&(d=o),d>=0){var p=d===c.tabbableGroups.length-1?0:d+1;n=c.tabbableGroups[p].firstTabbableNode}}}else n=m("fallbackFocus");n&&(e.preventDefault(),b(n))}(e)},x=function(e){var t=f(e);h(t)>=0||d(i.clickOutsideDeactivates,e)||d(i.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},S=function(){if(c.active)return s.activateTrap(n),c.delayInitialFocusTimer=i.delayInitialFocus?l((function(){b(g())})):b(g()),o.addEventListener("focusin",E,!0),o.addEventListener("mousedown",w,{capture:!0,passive:!1}),o.addEventListener("touchstart",w,{capture:!0,passive:!1}),o.addEventListener("click",x,{capture:!0,passive:!1}),o.addEventListener("keydown",O,{capture:!0,passive:!1}),n},k=function(){if(c.active)return o.removeEventListener("focusin",E,!0),o.removeEventListener("mousedown",w,!0),o.removeEventListener("touchstart",w,!0),o.removeEventListener("click",x,!0),o.removeEventListener("keydown",O,!0),n};return(n={get active(){return c.active},get paused(){return c.paused},activate:function(e){if(c.active)return this;var t=p(e,"onActivate"),n=p(e,"onPostActivate"),r=p(e,"checkCanFocusTrap");r||v(),c.active=!0,c.paused=!1,c.nodeFocusedBeforeActivation=o.activeElement,t&&t();var a=function(){r&&v(),S(),n&&n()};return r?(r(c.containers.concat()).then(a,a),this):(a(),this)},deactivate:function(e){if(!c.active)return this;var t=a({onDeactivate:i.onDeactivate,onPostDeactivate:i.onPostDeactivate,checkCanReturnFocus:i.checkCanReturnFocus},e);clearTimeout(c.delayInitialFocusTimer),c.delayInitialFocusTimer=void 0,k(),c.active=!1,c.paused=!1,s.deactivateTrap(n);var r=p(t,"onDeactivate"),o=p(t,"onPostDeactivate"),u=p(t,"checkCanReturnFocus"),d=p(t,"returnFocus","returnFocusOnDeactivate");r&&r();var f=function(){l((function(){d&&b(y(c.nodeFocusedBeforeActivation)),o&&o()}))};return d&&u?(u(y(c.nodeFocusedBeforeActivation)).then(f,f),this):(f(),this)},pause:function(){return c.paused||!c.active||(c.paused=!0,k()),this},unpause:function(){return c.paused&&c.active?(c.paused=!1,v(),S(),this):this},updateContainerElements:function(e){var t=[].concat(e).filter(Boolean);return c.containers=t.map((function(e){return"string"==typeof e?o.querySelector(e):e})),c.active&&v(),this}}).updateContainerElements(e),n}},8440:function(e,t){"use strict";t.H=void 0;t.H=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"legacy",n=e.endsWith(".html"),r=e.endsWith(".xml"),o=e.endsWith(".pdf");return"/"===e?e:((n||r||o)&&(t="never"),"always"===t?e.endsWith("/")?e:"".concat(e,"/"):"never"===t&&e.endsWith("/")?e.slice(0,-1):e)}},6494:function(e){"use strict";e.exports=Object.assign},540:function(e,t,n){"use strict";var r=n(7424);function o(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,c=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return c=e.done,e},e:function(e){s=!0,i=e},f:function(){try{c||null==n.return||n.return()}finally{if(s)throw i}}}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=t||n<0||d&&e-l>=a}function E(){var e=h();if(w(e))return O(e);c=setTimeout(E,function(e){var n=t-(e-s);return d?p(n,a-(e-l)):n}(e))}function O(e){return c=void 0,v&&r?b(e):(r=o=void 0,i)}function x(){var e=h(),n=w(e);if(r=arguments,o=this,s=e,n){if(void 0===c)return y(s);if(d)return c=setTimeout(E,t),b(s)}return void 0===c&&(c=setTimeout(E,t)),i}return t=g(t)||0,m(n)&&(u=!!n.leading,a=(d="maxWait"in n)?f(g(n.maxWait)||0,t):a,v="trailing"in n?!!n.trailing:v),x.cancel=function(){void 0!==c&&clearTimeout(c),l=0,r=s=o=c=void 0},x.flush=function(){return void 0===c?i:O(h())},x}},8385:function(e,t,n){var r="Expected a function",o=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,i=/^0b[01]+$/i,c=/^0o[0-7]+$/i,s=parseInt,l="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,u="object"==typeof self&&self&&self.Object===Object&&self,d=l||u||Function("return this")(),f=Object.prototype.toString,p=Math.max,h=Math.min,m=function(){return d.Date.now()};function g(e,t,n){var o,a,i,c,s,l,u=0,d=!1,f=!1,g=!0;if("function"!=typeof e)throw new TypeError(r);function y(t){var n=o,r=a;return o=a=void 0,u=t,c=e.apply(r,n)}function w(e){return u=e,s=setTimeout(O,t),d?y(e):c}function E(e){var n=e-l;return void 0===l||n>=t||n<0||f&&e-u>=i}function O(){var e=m();if(E(e))return x(e);s=setTimeout(O,function(e){var n=t-(e-l);return f?h(n,i-(e-u)):n}(e))}function x(e){return s=void 0,g&&o?y(e):(o=a=void 0,c)}function S(){var e=m(),n=E(e);if(o=arguments,a=this,l=e,n){if(void 0===s)return w(l);if(f)return s=setTimeout(O,t),y(l)}return void 0===s&&(s=setTimeout(O,t)),c}return t=b(t)||0,v(n)&&(d=!!n.leading,i=(f="maxWait"in n)?p(b(n.maxWait)||0,t):i,g="trailing"in n?!!n.trailing:g),S.cancel=function(){void 0!==s&&clearTimeout(s),u=0,o=l=a=s=void 0},S.flush=function(){return void 0===s?c:x(m())},S}function v(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function b(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==f.call(e)}(e))return NaN;if(v(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=v(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(o,"");var n=i.test(e);return n||c.test(e)?s(e.slice(2),n?2:8):a.test(e)?NaN:+e}e.exports=function(e,t,n){var o=!0,a=!0;if("function"!=typeof e)throw new TypeError(r);return v(n)&&(o="leading"in n?!!n.leading:o,a="trailing"in n?!!n.trailing:a),g(e,t,{leading:o,maxWait:t,trailing:a})}},3411:function(e,t,n){var r,o;void 0===(o="function"==typeof(r=function(){return function(e){e.stemmerSupport={Among:function(e,t,n,r){if(this.toCharArray=function(e){for(var t=e.length,n=new Array(t),r=0;r=n&&t[(o-=n)>>3]&1<<(7&o))return this.cursor++,!0}return!1},in_grouping_b:function(t,n,r){if(this.cursor>this.limit_backward){var o=e.charCodeAt(this.cursor-1);if(o<=r&&o>=n&&t[(o-=n)>>3]&1<<(7&o))return this.cursor--,!0}return!1},out_grouping:function(t,n,r){if(this.cursorr||o>3]&1<<(7&o)))return this.cursor++,!0}return!1},out_grouping_b:function(t,n,r){if(this.cursor>this.limit_backward){var o=e.charCodeAt(this.cursor-1);if(o>r||o>3]&1<<(7&o)))return this.cursor--,!0}return!1},eq_s:function(t,n){if(this.limit-this.cursor>1),d=0,f=c0||o==r||l)break;l=!0}}for(;;){if(c>=(p=t[r]).s_size){if(this.cursor=a+p.s_size,!p.method)return p.result;var m=p.method();if(this.cursor=a+p.s_size,m)return p.result}if((r=p.substring_i)<0)return 0}},find_among_b:function(t,n){for(var r=0,o=n,a=this.cursor,i=this.limit_backward,c=0,s=0,l=!1;;){for(var u=r+(o-r>>1),d=0,f=c=0;p--){if(a-f==i){d=-1;break}if(d=e.charCodeAt(a-1-f)-h.s[p])break;f++}if(d<0?(o=u,s=f):(r=u,c=f),o-r<=1){if(r>0||o==r||l)break;l=!0}}for(;;){var h;if(c>=(h=t[r]).s_size){if(this.cursor=a-h.s_size,!h.method)return h.result;var m=h.method();if(this.cursor=a-h.s_size,m)return h.result}if((r=h.substring_i)<0)return 0}},replace_s:function(t,n,r){var o=r.length-(n-t),a=e.substring(0,t),i=e.substring(n);return e=a+r+i,this.limit+=o,this.cursor>=n?this.cursor+=o:this.cursor>t&&(this.cursor=t),o},slice_check:function(){if(this.bra<0||this.bra>this.ket||this.ket>this.limit||this.limit>e.length)throw"faulty slice operation"},slice_from:function(e){this.slice_check(),this.replace_s(this.bra,this.ket,e)},slice_del:function(){this.slice_from("")},insert:function(e,t,n){var r=this.replace_s(e,t,n);e<=this.bra&&(this.bra+=r),e<=this.ket&&(this.ket+=r)},slice_to:function(){return this.slice_check(),e.substring(this.bra,this.ket)},eq_v_b:function(e){return this.eq_s_b(e.length,e)}}}},e.trimmerSupport={generateTrimmer:function(e){var t=new RegExp("^[^"+e+"]+"),n=new RegExp("[^"+e+"]+$");return function(e){return"function"==typeof e.update?e.update((function(e){return e.replace(t,"").replace(n,"")})):e.replace(t,"").replace(n,"")}}}}})?r.call(t,n,t,e):r)||(e.exports=o)},584:function(e,t,n){var r,o;void 0===(o="function"==typeof(r=function(){return function(e){function t(){var e={"[一二三四五六七八九十百千万億兆]":"M","[一-龠々〆ヵヶ]":"H","[ぁ-ん]":"I","[ァ-ヴーア-ン゙ー]":"K","[a-zA-Za-zA-Z]":"A","[0-90-9]":"N"};for(var t in this.chartype_=[],e){var n=new RegExp(t);this.chartype_.push([n,e[t]])}return this.BIAS__=-332,this.BC1__={HH:6,II:2461,KH:406,OH:-1378},this.BC2__={AA:-3267,AI:2744,AN:-878,HH:-4070,HM:-1711,HN:4012,HO:3761,IA:1327,IH:-1184,II:-1332,IK:1721,IO:5492,KI:3831,KK:-8741,MH:-3132,MK:3334,OO:-2920},this.BC3__={HH:996,HI:626,HK:-721,HN:-1307,HO:-836,IH:-301,KK:2762,MK:1079,MM:4034,OA:-1652,OH:266},this.BP1__={BB:295,OB:304,OO:-125,UB:352},this.BP2__={BO:60,OO:-1762},this.BQ1__={BHH:1150,BHM:1521,BII:-1158,BIM:886,BMH:1208,BNH:449,BOH:-91,BOO:-2597,OHI:451,OIH:-296,OKA:1851,OKH:-1020,OKK:904,OOO:2965},this.BQ2__={BHH:118,BHI:-1159,BHM:466,BIH:-919,BKK:-1720,BKO:864,OHH:-1139,OHM:-181,OIH:153,UHI:-1146},this.BQ3__={BHH:-792,BHI:2664,BII:-299,BKI:419,BMH:937,BMM:8335,BNN:998,BOH:775,OHH:2174,OHM:439,OII:280,OKH:1798,OKI:-793,OKO:-2242,OMH:-2402,OOO:11699},this.BQ4__={BHH:-3895,BIH:3761,BII:-4654,BIK:1348,BKK:-1806,BMI:-3385,BOO:-12396,OAH:926,OHH:266,OHK:-2036,ONN:-973},this.BW1__={",と":660,",同":727,"B1あ":1404,"B1同":542,"、と":660,"、同":727,"」と":1682,"あっ":1505,"いう":1743,"いっ":-2055,"いる":672,"うし":-4817,"うん":665,"から":3472,"がら":600,"こう":-790,"こと":2083,"こん":-1262,"さら":-4143,"さん":4573,"した":2641,"して":1104,"すで":-3399,"そこ":1977,"それ":-871,"たち":1122,"ため":601,"った":3463,"つい":-802,"てい":805,"てき":1249,"でき":1127,"です":3445,"では":844,"とい":-4915,"とみ":1922,"どこ":3887,"ない":5713,"なっ":3015,"など":7379,"なん":-1113,"にし":2468,"には":1498,"にも":1671,"に対":-912,"の一":-501,"の中":741,"ませ":2448,"まで":1711,"まま":2600,"まる":-2155,"やむ":-1947,"よっ":-2565,"れた":2369,"れで":-913,"をし":1860,"を見":731,"亡く":-1886,"京都":2558,"取り":-2784,"大き":-2604,"大阪":1497,"平方":-2314,"引き":-1336,"日本":-195,"本当":-2423,"毎日":-2113,"目指":-724,"B1あ":1404,"B1同":542,"」と":1682},this.BW2__={"..":-11822,11:-669,"――":-5730,"−−":-13175,"いう":-1609,"うか":2490,"かし":-1350,"かも":-602,"から":-7194,"かれ":4612,"がい":853,"がら":-3198,"きた":1941,"くな":-1597,"こと":-8392,"この":-4193,"させ":4533,"され":13168,"さん":-3977,"しい":-1819,"しか":-545,"した":5078,"して":972,"しな":939,"その":-3744,"たい":-1253,"たた":-662,"ただ":-3857,"たち":-786,"たと":1224,"たは":-939,"った":4589,"って":1647,"っと":-2094,"てい":6144,"てき":3640,"てく":2551,"ては":-3110,"ても":-3065,"でい":2666,"でき":-1528,"でし":-3828,"です":-4761,"でも":-4203,"とい":1890,"とこ":-1746,"とと":-2279,"との":720,"とみ":5168,"とも":-3941,"ない":-2488,"なが":-1313,"など":-6509,"なの":2614,"なん":3099,"にお":-1615,"にし":2748,"にな":2454,"によ":-7236,"に対":-14943,"に従":-4688,"に関":-11388,"のか":2093,"ので":-7059,"のに":-6041,"のの":-6125,"はい":1073,"はが":-1033,"はず":-2532,"ばれ":1813,"まし":-1316,"まで":-6621,"まれ":5409,"めて":-3153,"もい":2230,"もの":-10713,"らか":-944,"らし":-1611,"らに":-1897,"りし":651,"りま":1620,"れた":4270,"れて":849,"れば":4114,"ろう":6067,"われ":7901,"を通":-11877,"んだ":728,"んな":-4115,"一人":602,"一方":-1375,"一日":970,"一部":-1051,"上が":-4479,"会社":-1116,"出て":2163,"分の":-7758,"同党":970,"同日":-913,"大阪":-2471,"委員":-1250,"少な":-1050,"年度":-8669,"年間":-1626,"府県":-2363,"手権":-1982,"新聞":-4066,"日新":-722,"日本":-7068,"日米":3372,"曜日":-601,"朝鮮":-2355,"本人":-2697,"東京":-1543,"然と":-1384,"社会":-1276,"立て":-990,"第に":-1612,"米国":-4268,"11":-669},this.BW3__={"あた":-2194,"あり":719,"ある":3846,"い.":-1185,"い。":-1185,"いい":5308,"いえ":2079,"いく":3029,"いた":2056,"いっ":1883,"いる":5600,"いわ":1527,"うち":1117,"うと":4798,"えと":1454,"か.":2857,"か。":2857,"かけ":-743,"かっ":-4098,"かに":-669,"から":6520,"かり":-2670,"が,":1816,"が、":1816,"がき":-4855,"がけ":-1127,"がっ":-913,"がら":-4977,"がり":-2064,"きた":1645,"けど":1374,"こと":7397,"この":1542,"ころ":-2757,"さい":-714,"さを":976,"し,":1557,"し、":1557,"しい":-3714,"した":3562,"して":1449,"しな":2608,"しま":1200,"す.":-1310,"す。":-1310,"する":6521,"ず,":3426,"ず、":3426,"ずに":841,"そう":428,"た.":8875,"た。":8875,"たい":-594,"たの":812,"たり":-1183,"たる":-853,"だ.":4098,"だ。":4098,"だっ":1004,"った":-4748,"って":300,"てい":6240,"てお":855,"ても":302,"です":1437,"でに":-1482,"では":2295,"とう":-1387,"とし":2266,"との":541,"とも":-3543,"どう":4664,"ない":1796,"なく":-903,"など":2135,"に,":-1021,"に、":-1021,"にし":1771,"にな":1906,"には":2644,"の,":-724,"の、":-724,"の子":-1e3,"は,":1337,"は、":1337,"べき":2181,"まし":1113,"ます":6943,"まっ":-1549,"まで":6154,"まれ":-793,"らし":1479,"られ":6820,"るる":3818,"れ,":854,"れ、":854,"れた":1850,"れて":1375,"れば":-3246,"れる":1091,"われ":-605,"んだ":606,"んで":798,"カ月":990,"会議":860,"入り":1232,"大会":2217,"始め":1681,"市":965,"新聞":-5055,"日,":974,"日、":974,"社会":2024,"カ月":990},this.TC1__={AAA:1093,HHH:1029,HHM:580,HII:998,HOH:-390,HOM:-331,IHI:1169,IOH:-142,IOI:-1015,IOM:467,MMH:187,OOI:-1832},this.TC2__={HHO:2088,HII:-1023,HMM:-1154,IHI:-1965,KKH:703,OII:-2649},this.TC3__={AAA:-294,HHH:346,HHI:-341,HII:-1088,HIK:731,HOH:-1486,IHH:128,IHI:-3041,IHO:-1935,IIH:-825,IIM:-1035,IOI:-542,KHH:-1216,KKA:491,KKH:-1217,KOK:-1009,MHH:-2694,MHM:-457,MHO:123,MMH:-471,NNH:-1689,NNO:662,OHO:-3393},this.TC4__={HHH:-203,HHI:1344,HHK:365,HHM:-122,HHN:182,HHO:669,HIH:804,HII:679,HOH:446,IHH:695,IHO:-2324,IIH:321,III:1497,IIO:656,IOO:54,KAK:4845,KKA:3386,KKK:3065,MHH:-405,MHI:201,MMH:-241,MMM:661,MOM:841},this.TQ1__={BHHH:-227,BHHI:316,BHIH:-132,BIHH:60,BIII:1595,BNHH:-744,BOHH:225,BOOO:-908,OAKK:482,OHHH:281,OHIH:249,OIHI:200,OIIH:-68},this.TQ2__={BIHH:-1401,BIII:-1033,BKAK:-543,BOOO:-5591},this.TQ3__={BHHH:478,BHHM:-1073,BHIH:222,BHII:-504,BIIH:-116,BIII:-105,BMHI:-863,BMHM:-464,BOMH:620,OHHH:346,OHHI:1729,OHII:997,OHMH:481,OIHH:623,OIIH:1344,OKAK:2792,OKHH:587,OKKA:679,OOHH:110,OOII:-685},this.TQ4__={BHHH:-721,BHHM:-3604,BHII:-966,BIIH:-607,BIII:-2181,OAAA:-2763,OAKK:180,OHHH:-294,OHHI:2446,OHHO:480,OHIH:-1573,OIHH:1935,OIHI:-493,OIIH:626,OIII:-4007,OKAK:-8156},this.TW1__={"につい":-4681,"東京都":2026},this.TW2__={"ある程":-2049,"いった":-1256,"ころが":-2434,"しょう":3873,"その後":-4430,"だって":-1049,"ていた":1833,"として":-4657,"ともに":-4517,"もので":1882,"一気に":-792,"初めて":-1512,"同時に":-8097,"大きな":-1255,"対して":-2721,"社会党":-3216},this.TW3__={"いただ":-1734,"してい":1314,"として":-4314,"につい":-5483,"にとっ":-5989,"に当た":-6247,"ので,":-727,"ので、":-727,"のもの":-600,"れから":-3752,"十二月":-2287},this.TW4__={"いう.":8576,"いう。":8576,"からな":-2348,"してい":2958,"たが,":1516,"たが、":1516,"ている":1538,"という":1349,"ました":5543,"ません":1097,"ようと":-4258,"よると":5865},this.UC1__={A:484,K:93,M:645,O:-505},this.UC2__={A:819,H:1059,I:409,M:3987,N:5775,O:646},this.UC3__={A:-1370,I:2311},this.UC4__={A:-2643,H:1809,I:-1032,K:-3450,M:3565,N:3876,O:6646},this.UC5__={H:313,I:-1238,K:-799,M:539,O:-831},this.UC6__={H:-506,I:-253,K:87,M:247,O:-387},this.UP1__={O:-214},this.UP2__={B:69,O:935},this.UP3__={B:189},this.UQ1__={BH:21,BI:-12,BK:-99,BN:142,BO:-56,OH:-95,OI:477,OK:410,OO:-2422},this.UQ2__={BH:216,BI:113,OK:1759},this.UQ3__={BA:-479,BH:42,BI:1913,BK:-7198,BM:3160,BN:6427,BO:14761,OI:-827,ON:-3212},this.UW1__={",":156,"、":156,"「":-463,"あ":-941,"う":-127,"が":-553,"き":121,"こ":505,"で":-201,"と":-547,"ど":-123,"に":-789,"の":-185,"は":-847,"も":-466,"や":-470,"よ":182,"ら":-292,"り":208,"れ":169,"を":-446,"ん":-137,"・":-135,"主":-402,"京":-268,"区":-912,"午":871,"国":-460,"大":561,"委":729,"市":-411,"日":-141,"理":361,"生":-408,"県":-386,"都":-718,"「":-463,"・":-135},this.UW2__={",":-829,"、":-829,"〇":892,"「":-645,"」":3145,"あ":-538,"い":505,"う":134,"お":-502,"か":1454,"が":-856,"く":-412,"こ":1141,"さ":878,"ざ":540,"し":1529,"す":-675,"せ":300,"そ":-1011,"た":188,"だ":1837,"つ":-949,"て":-291,"で":-268,"と":-981,"ど":1273,"な":1063,"に":-1764,"の":130,"は":-409,"ひ":-1273,"べ":1261,"ま":600,"も":-1263,"や":-402,"よ":1639,"り":-579,"る":-694,"れ":571,"を":-2516,"ん":2095,"ア":-587,"カ":306,"キ":568,"ッ":831,"三":-758,"不":-2150,"世":-302,"中":-968,"主":-861,"事":492,"人":-123,"会":978,"保":362,"入":548,"初":-3025,"副":-1566,"北":-3414,"区":-422,"大":-1769,"天":-865,"太":-483,"子":-1519,"学":760,"実":1023,"小":-2009,"市":-813,"年":-1060,"強":1067,"手":-1519,"揺":-1033,"政":1522,"文":-1355,"新":-1682,"日":-1815,"明":-1462,"最":-630,"朝":-1843,"本":-1650,"東":-931,"果":-665,"次":-2378,"民":-180,"気":-1740,"理":752,"発":529,"目":-1584,"相":-242,"県":-1165,"立":-763,"第":810,"米":509,"自":-1353,"行":838,"西":-744,"見":-3874,"調":1010,"議":1198,"込":3041,"開":1758,"間":-1257,"「":-645,"」":3145,"ッ":831,"ア":-587,"カ":306,"キ":568},this.UW3__={",":4889,1:-800,"−":-1723,"、":4889,"々":-2311,"〇":5827,"」":2670,"〓":-3573,"あ":-2696,"い":1006,"う":2342,"え":1983,"お":-4864,"か":-1163,"が":3271,"く":1004,"け":388,"げ":401,"こ":-3552,"ご":-3116,"さ":-1058,"し":-395,"す":584,"せ":3685,"そ":-5228,"た":842,"ち":-521,"っ":-1444,"つ":-1081,"て":6167,"で":2318,"と":1691,"ど":-899,"な":-2788,"に":2745,"の":4056,"は":4555,"ひ":-2171,"ふ":-1798,"へ":1199,"ほ":-5516,"ま":-4384,"み":-120,"め":1205,"も":2323,"や":-788,"よ":-202,"ら":727,"り":649,"る":5905,"れ":2773,"わ":-1207,"を":6620,"ん":-518,"ア":551,"グ":1319,"ス":874,"ッ":-1350,"ト":521,"ム":1109,"ル":1591,"ロ":2201,"ン":278,"・":-3794,"一":-1619,"下":-1759,"世":-2087,"両":3815,"中":653,"主":-758,"予":-1193,"二":974,"人":2742,"今":792,"他":1889,"以":-1368,"低":811,"何":4265,"作":-361,"保":-2439,"元":4858,"党":3593,"全":1574,"公":-3030,"六":755,"共":-1880,"円":5807,"再":3095,"分":457,"初":2475,"別":1129,"前":2286,"副":4437,"力":365,"動":-949,"務":-1872,"化":1327,"北":-1038,"区":4646,"千":-2309,"午":-783,"協":-1006,"口":483,"右":1233,"各":3588,"合":-241,"同":3906,"和":-837,"員":4513,"国":642,"型":1389,"場":1219,"外":-241,"妻":2016,"学":-1356,"安":-423,"実":-1008,"家":1078,"小":-513,"少":-3102,"州":1155,"市":3197,"平":-1804,"年":2416,"広":-1030,"府":1605,"度":1452,"建":-2352,"当":-3885,"得":1905,"思":-1291,"性":1822,"戸":-488,"指":-3973,"政":-2013,"教":-1479,"数":3222,"文":-1489,"新":1764,"日":2099,"旧":5792,"昨":-661,"時":-1248,"曜":-951,"最":-937,"月":4125,"期":360,"李":3094,"村":364,"東":-805,"核":5156,"森":2438,"業":484,"氏":2613,"民":-1694,"決":-1073,"法":1868,"海":-495,"無":979,"物":461,"特":-3850,"生":-273,"用":914,"町":1215,"的":7313,"直":-1835,"省":792,"県":6293,"知":-1528,"私":4231,"税":401,"立":-960,"第":1201,"米":7767,"系":3066,"約":3663,"級":1384,"統":-4229,"総":1163,"線":1255,"者":6457,"能":725,"自":-2869,"英":785,"見":1044,"調":-562,"財":-733,"費":1777,"車":1835,"軍":1375,"込":-1504,"通":-1136,"選":-681,"郎":1026,"郡":4404,"部":1200,"金":2163,"長":421,"開":-1432,"間":1302,"関":-1282,"雨":2009,"電":-1045,"非":2066,"駅":1620,"1":-800,"」":2670,"・":-3794,"ッ":-1350,"ア":551,"グ":1319,"ス":874,"ト":521,"ム":1109,"ル":1591,"ロ":2201,"ン":278},this.UW4__={",":3930,".":3508,"―":-4841,"、":3930,"。":3508,"〇":4999,"「":1895,"」":3798,"〓":-5156,"あ":4752,"い":-3435,"う":-640,"え":-2514,"お":2405,"か":530,"が":6006,"き":-4482,"ぎ":-3821,"く":-3788,"け":-4376,"げ":-4734,"こ":2255,"ご":1979,"さ":2864,"し":-843,"じ":-2506,"す":-731,"ず":1251,"せ":181,"そ":4091,"た":5034,"だ":5408,"ち":-3654,"っ":-5882,"つ":-1659,"て":3994,"で":7410,"と":4547,"な":5433,"に":6499,"ぬ":1853,"ね":1413,"の":7396,"は":8578,"ば":1940,"ひ":4249,"び":-4134,"ふ":1345,"へ":6665,"べ":-744,"ほ":1464,"ま":1051,"み":-2082,"む":-882,"め":-5046,"も":4169,"ゃ":-2666,"や":2795,"ょ":-1544,"よ":3351,"ら":-2922,"り":-9726,"る":-14896,"れ":-2613,"ろ":-4570,"わ":-1783,"を":13150,"ん":-2352,"カ":2145,"コ":1789,"セ":1287,"ッ":-724,"ト":-403,"メ":-1635,"ラ":-881,"リ":-541,"ル":-856,"ン":-3637,"・":-4371,"ー":-11870,"一":-2069,"中":2210,"予":782,"事":-190,"井":-1768,"人":1036,"以":544,"会":950,"体":-1286,"作":530,"側":4292,"先":601,"党":-2006,"共":-1212,"内":584,"円":788,"初":1347,"前":1623,"副":3879,"力":-302,"動":-740,"務":-2715,"化":776,"区":4517,"協":1013,"参":1555,"合":-1834,"和":-681,"員":-910,"器":-851,"回":1500,"国":-619,"園":-1200,"地":866,"場":-1410,"塁":-2094,"士":-1413,"多":1067,"大":571,"子":-4802,"学":-1397,"定":-1057,"寺":-809,"小":1910,"屋":-1328,"山":-1500,"島":-2056,"川":-2667,"市":2771,"年":374,"庁":-4556,"後":456,"性":553,"感":916,"所":-1566,"支":856,"改":787,"政":2182,"教":704,"文":522,"方":-856,"日":1798,"時":1829,"最":845,"月":-9066,"木":-485,"来":-442,"校":-360,"業":-1043,"氏":5388,"民":-2716,"気":-910,"沢":-939,"済":-543,"物":-735,"率":672,"球":-1267,"生":-1286,"産":-1101,"田":-2900,"町":1826,"的":2586,"目":922,"省":-3485,"県":2997,"空":-867,"立":-2112,"第":788,"米":2937,"系":786,"約":2171,"経":1146,"統":-1169,"総":940,"線":-994,"署":749,"者":2145,"能":-730,"般":-852,"行":-792,"規":792,"警":-1184,"議":-244,"谷":-1e3,"賞":730,"車":-1481,"軍":1158,"輪":-1433,"込":-3370,"近":929,"道":-1291,"選":2596,"郎":-4866,"都":1192,"野":-1100,"銀":-2213,"長":357,"間":-2344,"院":-2297,"際":-2604,"電":-878,"領":-1659,"題":-792,"館":-1984,"首":1749,"高":2120,"「":1895,"」":3798,"・":-4371,"ッ":-724,"ー":-11870,"カ":2145,"コ":1789,"セ":1287,"ト":-403,"メ":-1635,"ラ":-881,"リ":-541,"ル":-856,"ン":-3637},this.UW5__={",":465,".":-299,1:-514,E2:-32768,"]":-2762,"、":465,"。":-299,"「":363,"あ":1655,"い":331,"う":-503,"え":1199,"お":527,"か":647,"が":-421,"き":1624,"ぎ":1971,"く":312,"げ":-983,"さ":-1537,"し":-1371,"す":-852,"だ":-1186,"ち":1093,"っ":52,"つ":921,"て":-18,"で":-850,"と":-127,"ど":1682,"な":-787,"に":-1224,"の":-635,"は":-578,"べ":1001,"み":502,"め":865,"ゃ":3350,"ょ":854,"り":-208,"る":429,"れ":504,"わ":419,"を":-1264,"ん":327,"イ":241,"ル":451,"ン":-343,"中":-871,"京":722,"会":-1153,"党":-654,"務":3519,"区":-901,"告":848,"員":2104,"大":-1296,"学":-548,"定":1785,"嵐":-1304,"市":-2991,"席":921,"年":1763,"思":872,"所":-814,"挙":1618,"新":-1682,"日":218,"月":-4353,"査":932,"格":1356,"機":-1508,"氏":-1347,"田":240,"町":-3912,"的":-3149,"相":1319,"省":-1052,"県":-4003,"研":-997,"社":-278,"空":-813,"統":1955,"者":-2233,"表":663,"語":-1073,"議":1219,"選":-1018,"郎":-368,"長":786,"間":1191,"題":2368,"館":-689,"1":-514,"E2":-32768,"「":363,"イ":241,"ル":451,"ン":-343},this.UW6__={",":227,".":808,1:-270,E1:306,"、":227,"。":808,"あ":-307,"う":189,"か":241,"が":-73,"く":-121,"こ":-200,"じ":1782,"す":383,"た":-428,"っ":573,"て":-1014,"で":101,"と":-105,"な":-253,"に":-149,"の":-417,"は":-236,"も":-206,"り":187,"る":-135,"を":195,"ル":-673,"ン":-496,"一":-277,"中":201,"件":-800,"会":624,"前":302,"区":1792,"員":-1212,"委":798,"学":-960,"市":887,"広":-695,"後":535,"業":-697,"相":753,"社":-507,"福":974,"空":-822,"者":1811,"連":463,"郎":1082,"1":-270,"E1":306,"ル":-673,"ン":-496},this}t.prototype.ctype_=function(e){for(var t in this.chartype_)if(e.match(this.chartype_[t][0]))return this.chartype_[t][1];return"O"},t.prototype.ts_=function(e){return e||0},t.prototype.segment=function(e){if(null==e||null==e||""==e)return[];var t=[],n=["B3","B2","B1"],r=["O","O","O"],o=e.split("");for(l=0;l0&&(t.push(a),a="",x="B"),i=c,c=s,s=x,a+=n[l]}return t.push(a),t},e.TinySegmenter=t}})?r.call(t,n,t,e):r)||(e.exports=o)},6047:function(e,t,n){var r,o;!function(){var a,i,c,s,l,u,d,f,p,h,m,g,v,b,y,w,E,O,x,S,k,I,A,_,C,N,T=function e(t){var n=new e.Builder;return n.pipeline.add(e.trimmer,e.stopWordFilter,e.stemmer),n.searchPipeline.add(e.stemmer),t.call(n,n),n.build()};T.version="2.3.9",(T.utils={}).warn=(a=this,function(e){a.console&&console.warn&&console.warn(e)}),T.utils.asString=function(e){return null==e?"":e.toString()},T.utils.clone=function(e){if(null==e)return e;for(var t=Object.create(null),n=Object.keys(e),r=0;r0){var s=T.utils.clone(t)||{};s.position=[i,c],s.index=o.length,o.push(new T.Token(n.slice(i,a),s))}i=a+1}}return o}).separator=/[\s\-]+/,(T.Pipeline=function(){this._stack=[]}).registeredFunctions=Object.create(null),T.Pipeline.registerFunction=function(e,t){t in this.registeredFunctions&&T.utils.warn("Overwriting existing registered function: "+t),e.label=t,T.Pipeline.registeredFunctions[e.label]=e},T.Pipeline.warnIfFunctionNotRegistered=function(e){e.label&&e.label in this.registeredFunctions||T.utils.warn("Function is not registered with pipeline. This may cause problems when serialising the index.\n",e)},T.Pipeline.load=function(e){var t=new T.Pipeline;return e.forEach((function(e){var n=T.Pipeline.registeredFunctions[e];if(!n)throw new Error("Cannot load unregistered function: "+e);t.add(n)})),t},T.Pipeline.prototype.add=function(){var e=Array.prototype.slice.call(arguments);e.forEach((function(e){T.Pipeline.warnIfFunctionNotRegistered(e),this._stack.push(e)}),this)},T.Pipeline.prototype.after=function(e,t){T.Pipeline.warnIfFunctionNotRegistered(t);var n=this._stack.indexOf(e);if(-1==n)throw new Error("Cannot find existingFn");n+=1,this._stack.splice(n,0,t)},T.Pipeline.prototype.before=function(e,t){T.Pipeline.warnIfFunctionNotRegistered(t);var n=this._stack.indexOf(e);if(-1==n)throw new Error("Cannot find existingFn");this._stack.splice(n,0,t)},T.Pipeline.prototype.remove=function(e){var t=this._stack.indexOf(e);-1!=t&&this._stack.splice(t,1)},T.Pipeline.prototype.run=function(e){for(var t=this._stack.length,n=0;n1&&(ae&&(n=o),a!=e);)r=n-t,o=t+Math.floor(r/2),a=this.elements[2*o];return a==e||a>e?2*o:ac?l+=2:i==c&&(t+=n[s+1]*r[l+1],s+=2,l+=2);return t},T.Vector.prototype.similarity=function(e){return this.dot(e)/this.magnitude()||0},T.Vector.prototype.toArray=function(){for(var e=new Array(this.elements.length/2),t=1,n=0;t0){var a,i=o.str.charAt(0);i in o.node.edges?a=o.node.edges[i]:(a=new T.TokenSet,o.node.edges[i]=a),1==o.str.length&&(a.final=!0),r.push({node:a,editsRemaining:o.editsRemaining,str:o.str.slice(1)})}if(0!=o.editsRemaining){if("*"in o.node.edges)var c=o.node.edges["*"];else{c=new T.TokenSet;o.node.edges["*"]=c}if(0==o.str.length&&(c.final=!0),r.push({node:c,editsRemaining:o.editsRemaining-1,str:o.str}),o.str.length>1&&r.push({node:o.node,editsRemaining:o.editsRemaining-1,str:o.str.slice(1)}),1==o.str.length&&(o.node.final=!0),o.str.length>=1){if("*"in o.node.edges)var s=o.node.edges["*"];else{s=new T.TokenSet;o.node.edges["*"]=s}1==o.str.length&&(s.final=!0),r.push({node:s,editsRemaining:o.editsRemaining-1,str:o.str.slice(1)})}if(o.str.length>1){var l,u=o.str.charAt(0),d=o.str.charAt(1);d in o.node.edges?l=o.node.edges[d]:(l=new T.TokenSet,o.node.edges[d]=l),1==o.str.length&&(l.final=!0),r.push({node:l,editsRemaining:o.editsRemaining-1,str:u+o.str.slice(2)})}}}return n},T.TokenSet.fromString=function(e){for(var t=new T.TokenSet,n=t,r=0,o=e.length;r=e;t--){var n=this.uncheckedNodes[t],r=n.child.toString();r in this.minimizedNodes?n.parent.edges[n.char]=this.minimizedNodes[r]:(n.child._str=r,this.minimizedNodes[r]=n.child),this.uncheckedNodes.pop()}},(T.Index=function(e){this.invertedIndex=e.invertedIndex,this.fieldVectors=e.fieldVectors,this.tokenSet=e.tokenSet,this.fields=e.fields,this.pipeline=e.pipeline}).prototype.search=function(e){return this.query((function(t){new T.QueryParser(e,t).parse()}))},T.Index.prototype.query=function(e){for(var t=new T.Query(this.fields),n=Object.create(null),r=Object.create(null),o=Object.create(null),a=Object.create(null),i=Object.create(null),c=0;c1?1:e},T.Builder.prototype.k1=function(e){this._k1=e},T.Builder.prototype.add=function(e,t){var n=e[this._ref],r=Object.keys(this._fields);this._documents[n]=t||{},this.documentCount+=1;for(var o=0;o=this.length)return T.QueryLexer.EOS;var e=this.str.charAt(this.pos);return this.pos+=1,e},T.QueryLexer.prototype.width=function(){return this.pos-this.start},T.QueryLexer.prototype.ignore=function(){this.start==this.pos&&(this.pos+=1),this.start=this.pos},T.QueryLexer.prototype.backup=function(){this.pos-=1},T.QueryLexer.prototype.acceptDigitRun=function(){var e,t;do{t=(e=this.next()).charCodeAt(0)}while(t>47&&t<58);e!=T.QueryLexer.EOS&&this.backup()},T.QueryLexer.prototype.more=function(){return this.pos1&&(e.backup(),e.emit(T.QueryLexer.TERM)),e.ignore(),e.more())return T.QueryLexer.lexText},T.QueryLexer.lexEditDistance=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(T.QueryLexer.EDIT_DISTANCE),T.QueryLexer.lexText},T.QueryLexer.lexBoost=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(T.QueryLexer.BOOST),T.QueryLexer.lexText},T.QueryLexer.lexEOS=function(e){e.width()>0&&e.emit(T.QueryLexer.TERM)},T.QueryLexer.termSeparator=T.tokenizer.separator,T.QueryLexer.lexText=function(e){for(;;){var t=e.next();if(t==T.QueryLexer.EOS)return T.QueryLexer.lexEOS;if(92!=t.charCodeAt(0)){if(":"==t)return T.QueryLexer.lexField;if("~"==t)return e.backup(),e.width()>0&&e.emit(T.QueryLexer.TERM),T.QueryLexer.lexEditDistance;if("^"==t)return e.backup(),e.width()>0&&e.emit(T.QueryLexer.TERM),T.QueryLexer.lexBoost;if("+"==t&&1===e.width())return e.emit(T.QueryLexer.PRESENCE),T.QueryLexer.lexText;if("-"==t&&1===e.width())return e.emit(T.QueryLexer.PRESENCE),T.QueryLexer.lexText;if(t.match(T.QueryLexer.termSeparator))return T.QueryLexer.lexTerm}else e.escapeCharacter()}},(T.QueryParser=function(e,t){this.lexer=new T.QueryLexer(e),this.query=t,this.currentClause={},this.lexemeIdx=0}).prototype.parse=function(){this.lexer.run(),this.lexemes=this.lexer.lexemes;for(var e=T.QueryParser.parseClause;e;)e=e(this);return this.query},T.QueryParser.prototype.peekLexeme=function(){return this.lexemes[this.lexemeIdx]},T.QueryParser.prototype.consumeLexeme=function(){var e=this.peekLexeme();return this.lexemeIdx+=1,e},T.QueryParser.prototype.nextClause=function(){var e=this.currentClause;this.query.clause(e),this.currentClause={}},T.QueryParser.parseClause=function(e){var t=e.peekLexeme();if(null!=t)switch(t.type){case T.QueryLexer.PRESENCE:return T.QueryParser.parsePresence;case T.QueryLexer.FIELD:return T.QueryParser.parseField;case T.QueryLexer.TERM:return T.QueryParser.parseTerm;default:var n="expected either a field or a term, found "+t.type;throw t.str.length>=1&&(n+=" with value '"+t.str+"'"),new T.QueryParseError(n,t.start,t.end)}},T.QueryParser.parsePresence=function(e){var t=e.consumeLexeme();if(null!=t){switch(t.str){case"-":e.currentClause.presence=T.Query.presence.PROHIBITED;break;case"+":e.currentClause.presence=T.Query.presence.REQUIRED;break;default:var n="unrecognised presence operator'"+t.str+"'";throw new T.QueryParseError(n,t.start,t.end)}var r=e.peekLexeme();if(null==r)throw new T.QueryParseError(n="expecting term or field, found nothing",t.start,t.end);switch(r.type){case T.QueryLexer.FIELD:return T.QueryParser.parseField;case T.QueryLexer.TERM:return T.QueryParser.parseTerm;default:n="expecting term or field, found '"+r.type+"'";throw new T.QueryParseError(n,r.start,r.end)}}},T.QueryParser.parseField=function(e){var t=e.consumeLexeme();if(null!=t){if(-1==e.query.allFields.indexOf(t.str)){var n=e.query.allFields.map((function(e){return"'"+e+"'"})).join(", "),r="unrecognised field '"+t.str+"', possible fields: "+n;throw new T.QueryParseError(r,t.start,t.end)}e.currentClause.fields=[t.str];var o=e.peekLexeme();if(null==o)throw new T.QueryParseError(r="expecting term, found nothing",t.start,t.end);if(o.type===T.QueryLexer.TERM)return T.QueryParser.parseTerm;r="expecting term, found '"+o.type+"'";throw new T.QueryParseError(r,o.start,o.end)}},T.QueryParser.parseTerm=function(e){var t=e.consumeLexeme();if(null!=t){e.currentClause.term=t.str.toLowerCase(),-1!=t.str.indexOf("*")&&(e.currentClause.usePipeline=!1);var n=e.peekLexeme();if(null!=n)switch(n.type){case T.QueryLexer.TERM:return e.nextClause(),T.QueryParser.parseTerm;case T.QueryLexer.FIELD:return e.nextClause(),T.QueryParser.parseField;case T.QueryLexer.EDIT_DISTANCE:return T.QueryParser.parseEditDistance;case T.QueryLexer.BOOST:return T.QueryParser.parseBoost;case T.QueryLexer.PRESENCE:return e.nextClause(),T.QueryParser.parsePresence;default:var r="Unexpected lexeme type '"+n.type+"'";throw new T.QueryParseError(r,n.start,n.end)}else e.nextClause()}},T.QueryParser.parseEditDistance=function(e){var t=e.consumeLexeme();if(null!=t){var n=parseInt(t.str,10);if(isNaN(n))throw new T.QueryParseError(o="edit distance must be numeric",t.start,t.end);e.currentClause.editDistance=n;var r=e.peekLexeme();if(null!=r)switch(r.type){case T.QueryLexer.TERM:return e.nextClause(),T.QueryParser.parseTerm;case T.QueryLexer.FIELD:return e.nextClause(),T.QueryParser.parseField;case T.QueryLexer.EDIT_DISTANCE:return T.QueryParser.parseEditDistance;case T.QueryLexer.BOOST:return T.QueryParser.parseBoost;case T.QueryLexer.PRESENCE:return e.nextClause(),T.QueryParser.parsePresence;default:var o="Unexpected lexeme type '"+r.type+"'";throw new T.QueryParseError(o,r.start,r.end)}else e.nextClause()}},T.QueryParser.parseBoost=function(e){var t=e.consumeLexeme();if(null!=t){var n=parseInt(t.str,10);if(isNaN(n))throw new T.QueryParseError(o="boost must be numeric",t.start,t.end);e.currentClause.boost=n;var r=e.peekLexeme();if(null!=r)switch(r.type){case T.QueryLexer.TERM:return e.nextClause(),T.QueryParser.parseTerm;case T.QueryLexer.FIELD:return e.nextClause(),T.QueryParser.parseField;case T.QueryLexer.EDIT_DISTANCE:return T.QueryParser.parseEditDistance;case T.QueryLexer.BOOST:return T.QueryParser.parseBoost;case T.QueryLexer.PRESENCE:return e.nextClause(),T.QueryParser.parsePresence;default:var o="Unexpected lexeme type '"+r.type+"'";throw new T.QueryParseError(o,r.start,r.end)}else e.nextClause()}},void 0===(o="function"==typeof(r=function(){return T})?r.call(t,n,t,e):r)||(e.exports=o)}()},2993:function(e){var t="undefined"!=typeof Element,n="function"==typeof Map,r="function"==typeof Set,o="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function a(e,i){if(e===i)return!0;if(e&&i&&"object"==typeof e&&"object"==typeof i){if(e.constructor!==i.constructor)return!1;var c,s,l,u;if(Array.isArray(e)){if((c=e.length)!=i.length)return!1;for(s=c;0!=s--;)if(!a(e[s],i[s]))return!1;return!0}if(n&&e instanceof Map&&i instanceof Map){if(e.size!==i.size)return!1;for(u=e.entries();!(s=u.next()).done;)if(!i.has(s.value[0]))return!1;for(u=e.entries();!(s=u.next()).done;)if(!a(s.value[1],i.get(s.value[0])))return!1;return!0}if(r&&e instanceof Set&&i instanceof Set){if(e.size!==i.size)return!1;for(u=e.entries();!(s=u.next()).done;)if(!i.has(s.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(i)){if((c=e.length)!=i.length)return!1;for(s=c;0!=s--;)if(e[s]!==i[s])return!1;return!0}if(e.constructor===RegExp)return e.source===i.source&&e.flags===i.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===i.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===i.toString();if((c=(l=Object.keys(e)).length)!==Object.keys(i).length)return!1;for(s=c;0!=s--;)if(!Object.prototype.hasOwnProperty.call(i,l[s]))return!1;if(t&&e instanceof Element)return!1;for(s=c;0!=s--;)if(("_owner"!==l[s]&&"__v"!==l[s]&&"__o"!==l[s]||!e.$$typeof)&&!a(e[l[s]],i[l[s]]))return!1;return!0}return e!=e&&i!=i}e.exports=function(e,t){try{return a(e,t)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}}},165:function(e,t){"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,a=n?Symbol.for("react.fragment"):60107,i=n?Symbol.for("react.strict_mode"):60108,c=n?Symbol.for("react.profiler"):60114,s=n?Symbol.for("react.provider"):60109,l=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.block"):60121,b=n?Symbol.for("react.fundamental"):60117,y=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function E(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case u:case d:case a:case c:case i:case p:return e;default:switch(e=e&&e.$$typeof){case l:case f:case g:case m:case s:return e;default:return t}}case o:return t}}}function O(e){return E(e)===d}},8812:function(e,t,n){"use strict";n(165)},4839:function(e,t,n){"use strict";var r,o=n(7294),a=(r=o)&&"object"==typeof r&&"default"in r?r.default:r;function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c=!("undefined"==typeof window||!window.document||!window.document.createElement);e.exports=function(e,t,n){if("function"!=typeof e)throw new Error("Expected reducePropsToState to be a function.");if("function"!=typeof t)throw new Error("Expected handleStateChangeOnClient to be a function.");if(void 0!==n&&"function"!=typeof n)throw new Error("Expected mapStateOnServer to either be undefined or a function.");return function(r){if("function"!=typeof r)throw new Error("Expected WrappedComponent to be a React component.");var s,l=[];function u(){s=e(l.map((function(e){return e.props}))),d.canUseDOM?t(s):n&&(s=n(s))}var d=function(e){var t,n;function o(){return e.apply(this,arguments)||this}n=e,(t=o).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,o.peek=function(){return s},o.rewind=function(){if(o.canUseDOM)throw new Error("You may only call rewind() on the server. Call peek() to read the current state.");var e=s;return s=void 0,l=[],e};var i=o.prototype;return i.UNSAFE_componentWillMount=function(){l.push(this),u()},i.componentDidUpdate=function(){u()},i.componentWillUnmount=function(){var e=l.indexOf(this);l.splice(e,1),u()},i.render=function(){return a.createElement(r,this.props)},o}(o.PureComponent);return i(d,"displayName","SideEffect("+function(e){return e.displayName||e.name||"Component"}(r)+")"),i(d,"canUseDOM",c),d}}},5279:function(e,t,n){"use strict";var r=n(9900),o=n(7294),a=n(3655),i=function(){if("object"!=typeof navigator)return null;var e=navigator;return e.connection||e.mozConnection||e.webkitConnection},c=function(){var e=i();return e?{downlink:e.downlink,downlinkMax:e.downlinkMax,effectiveType:e.effectiveType,type:e.type,rtt:e.rtt}:{}};t.Z=function(e){void 0===e&&(e={});var t=o.useState(e),n=t[0],s=t[1];return o.useEffect((function(){var e=n,t=function(t){e=r.__assign(r.__assign({},e),t),s(e)},o=i(),l=function(){t({online:!0,since:new Date})},u=function(){t({online:!1,since:new Date})},d=function(){t(c())};return a.on(window,"online",l),a.on(window,"offline",u),o&&(a.on(o,"change",d),t(r.__assign(r.__assign(r.__assign({},n),{online:navigator.onLine,since:void 0}),c()))),function(){a.off(window,"online",l),a.off(window,"offline",u),o&&a.off(o,"change",d)}}),[]),n}},3655:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isDeepEqual=t.off=t.on=t.isClient=void 0;var r=n(9900).__importDefault(n(810));t.isClient="object"==typeof window,t.on=function(e){for(var t=[],n=1;n=0&&(e.splice instanceof Function||Object.getOwnPropertyDescriptor(e,e.length-1)&&"String"!==e.constructor.name))}},8650:function(e){var t;t=function(){var e=JSON.parse('{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","¢":"cent","£":"pound","¤":"currency","¥":"yen","©":"(c)","ª":"a","®":"(r)","º":"o","À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Æ":"AE","Ç":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ý":"Y","Þ":"TH","ß":"ss","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","æ":"ae","ç":"c","è":"e","é":"e","ê":"e","ë":"e","ì":"i","í":"i","î":"i","ï":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ù":"u","ú":"u","û":"u","ü":"u","ý":"y","þ":"th","ÿ":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Č":"C","č":"c","Ď":"D","ď":"d","Đ":"DJ","đ":"dj","Ē":"E","ē":"e","Ė":"E","ė":"e","Ę":"e","ę":"e","Ě":"E","ě":"e","Ğ":"G","ğ":"g","Ģ":"G","ģ":"g","Ĩ":"I","ĩ":"i","Ī":"i","ī":"i","Į":"I","į":"i","İ":"I","ı":"i","Ķ":"k","ķ":"k","Ļ":"L","ļ":"l","Ľ":"L","ľ":"l","Ł":"L","ł":"l","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","Ō":"O","ō":"o","Ő":"O","ő":"o","Œ":"OE","œ":"oe","Ŕ":"R","ŕ":"r","Ř":"R","ř":"r","Ś":"S","ś":"s","Ş":"S","ş":"s","Š":"S","š":"s","Ţ":"T","ţ":"t","Ť":"T","ť":"t","Ũ":"U","ũ":"u","Ū":"u","ū":"u","Ů":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","ź":"z","Ż":"Z","ż":"z","Ž":"Z","ž":"z","Ə":"E","ƒ":"f","Ơ":"O","ơ":"o","Ư":"U","ư":"u","Lj":"LJ","lj":"lj","Nj":"NJ","nj":"nj","Ș":"S","ș":"s","Ț":"T","ț":"t","ə":"e","˚":"o","Ά":"A","Έ":"E","Ή":"H","Ί":"I","Ό":"O","Ύ":"Y","Ώ":"W","ΐ":"i","Α":"A","Β":"B","Γ":"G","Δ":"D","Ε":"E","Ζ":"Z","Η":"H","Θ":"8","Ι":"I","Κ":"K","Λ":"L","Μ":"M","Ν":"N","Ξ":"3","Ο":"O","Π":"P","Ρ":"R","Σ":"S","Τ":"T","Υ":"Y","Φ":"F","Χ":"X","Ψ":"PS","Ω":"W","Ϊ":"I","Ϋ":"Y","ά":"a","έ":"e","ή":"h","ί":"i","ΰ":"y","α":"a","β":"b","γ":"g","δ":"d","ε":"e","ζ":"z","η":"h","θ":"8","ι":"i","κ":"k","λ":"l","μ":"m","ν":"n","ξ":"3","ο":"o","π":"p","ρ":"r","ς":"s","σ":"s","τ":"t","υ":"y","φ":"f","χ":"x","ψ":"ps","ω":"w","ϊ":"i","ϋ":"y","ό":"o","ύ":"y","ώ":"w","Ё":"Yo","Ђ":"DJ","Є":"Ye","І":"I","Ї":"Yi","Ј":"J","Љ":"LJ","Њ":"NJ","Ћ":"C","Џ":"DZ","А":"A","Б":"B","В":"V","Г":"G","Д":"D","Е":"E","Ж":"Zh","З":"Z","И":"I","Й":"J","К":"K","Л":"L","М":"M","Н":"N","О":"O","П":"P","Р":"R","С":"S","Т":"T","У":"U","Ф":"F","Х":"H","Ц":"C","Ч":"Ch","Ш":"Sh","Щ":"Sh","Ъ":"U","Ы":"Y","Ь":"","Э":"E","Ю":"Yu","Я":"Ya","а":"a","б":"b","в":"v","г":"g","д":"d","е":"e","ж":"zh","з":"z","и":"i","й":"j","к":"k","л":"l","м":"m","н":"n","о":"o","п":"p","р":"r","с":"s","т":"t","у":"u","ф":"f","х":"h","ц":"c","ч":"ch","ш":"sh","щ":"sh","ъ":"u","ы":"y","ь":"","э":"e","ю":"yu","я":"ya","ё":"yo","ђ":"dj","є":"ye","і":"i","ї":"yi","ј":"j","љ":"lj","њ":"nj","ћ":"c","ѝ":"u","џ":"dz","Ґ":"G","ґ":"g","Ғ":"GH","ғ":"gh","Қ":"KH","қ":"kh","Ң":"NG","ң":"ng","Ү":"UE","ү":"ue","Ұ":"U","ұ":"u","Һ":"H","һ":"h","Ә":"AE","ә":"ae","Ө":"OE","ө":"oe","Ա":"A","Բ":"B","Գ":"G","Դ":"D","Ե":"E","Զ":"Z","Է":"E\'","Ը":"Y\'","Թ":"T\'","Ժ":"JH","Ի":"I","Լ":"L","Խ":"X","Ծ":"C\'","Կ":"K","Հ":"H","Ձ":"D\'","Ղ":"GH","Ճ":"TW","Մ":"M","Յ":"Y","Ն":"N","Շ":"SH","Չ":"CH","Պ":"P","Ջ":"J","Ռ":"R\'","Ս":"S","Վ":"V","Տ":"T","Ր":"R","Ց":"C","Փ":"P\'","Ք":"Q\'","Օ":"O\'\'","Ֆ":"F","և":"EV","ء":"a","آ":"aa","أ":"a","ؤ":"u","إ":"i","ئ":"e","ا":"a","ب":"b","ة":"h","ت":"t","ث":"th","ج":"j","ح":"h","خ":"kh","د":"d","ذ":"th","ر":"r","ز":"z","س":"s","ش":"sh","ص":"s","ض":"dh","ط":"t","ظ":"z","ع":"a","غ":"gh","ف":"f","ق":"q","ك":"k","ل":"l","م":"m","ن":"n","ه":"h","و":"w","ى":"a","ي":"y","ً":"an","ٌ":"on","ٍ":"en","َ":"a","ُ":"u","ِ":"e","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","پ":"p","چ":"ch","ژ":"zh","ک":"k","گ":"g","ی":"y","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","฿":"baht","ა":"a","ბ":"b","გ":"g","დ":"d","ე":"e","ვ":"v","ზ":"z","თ":"t","ი":"i","კ":"k","ლ":"l","მ":"m","ნ":"n","ო":"o","პ":"p","ჟ":"zh","რ":"r","ს":"s","ტ":"t","უ":"u","ფ":"f","ქ":"k","ღ":"gh","ყ":"q","შ":"sh","ჩ":"ch","ც":"ts","ძ":"dz","წ":"ts","ჭ":"ch","ხ":"kh","ჯ":"j","ჰ":"h","Ṣ":"S","ṣ":"s","Ẁ":"W","ẁ":"w","Ẃ":"W","ẃ":"w","Ẅ":"W","ẅ":"w","ẞ":"SS","Ạ":"A","ạ":"a","Ả":"A","ả":"a","Ấ":"A","ấ":"a","Ầ":"A","ầ":"a","Ẩ":"A","ẩ":"a","Ẫ":"A","ẫ":"a","Ậ":"A","ậ":"a","Ắ":"A","ắ":"a","Ằ":"A","ằ":"a","Ẳ":"A","ẳ":"a","Ẵ":"A","ẵ":"a","Ặ":"A","ặ":"a","Ẹ":"E","ẹ":"e","Ẻ":"E","ẻ":"e","Ẽ":"E","ẽ":"e","Ế":"E","ế":"e","Ề":"E","ề":"e","Ể":"E","ể":"e","Ễ":"E","ễ":"e","Ệ":"E","ệ":"e","Ỉ":"I","ỉ":"i","Ị":"I","ị":"i","Ọ":"O","ọ":"o","Ỏ":"O","ỏ":"o","Ố":"O","ố":"o","Ồ":"O","ồ":"o","Ổ":"O","ổ":"o","Ỗ":"O","ỗ":"o","Ộ":"O","ộ":"o","Ớ":"O","ớ":"o","Ờ":"O","ờ":"o","Ở":"O","ở":"o","Ỡ":"O","ỡ":"o","Ợ":"O","ợ":"o","Ụ":"U","ụ":"u","Ủ":"U","ủ":"u","Ứ":"U","ứ":"u","Ừ":"U","ừ":"u","Ử":"U","ử":"u","Ữ":"U","ữ":"u","Ự":"U","ự":"u","Ỳ":"Y","ỳ":"y","Ỵ":"Y","ỵ":"y","Ỷ":"Y","ỷ":"y","Ỹ":"Y","ỹ":"y","–":"-","‘":"\'","’":"\'","“":"\\"","”":"\\"","„":"\\"","†":"+","•":"*","…":"...","₠":"ecu","₢":"cruzeiro","₣":"french franc","₤":"lira","₥":"mill","₦":"naira","₧":"peseta","₨":"rupee","₩":"won","₪":"new shequel","₫":"dong","€":"euro","₭":"kip","₮":"tugrik","₯":"drachma","₰":"penny","₱":"peso","₲":"guarani","₳":"austral","₴":"hryvnia","₵":"cedi","₸":"kazakhstani tenge","₹":"indian rupee","₺":"turkish lira","₽":"russian ruble","₿":"bitcoin","℠":"sm","™":"tm","∂":"d","∆":"delta","∑":"sum","∞":"infinity","♥":"love","元":"yuan","円":"yen","﷼":"rial","ﻵ":"laa","ﻷ":"laa","ﻹ":"lai","ﻻ":"la"}'),t=JSON.parse('{"bg":{"Й":"Y","Ц":"Ts","Щ":"Sht","Ъ":"A","Ь":"Y","й":"y","ц":"ts","щ":"sht","ъ":"a","ь":"y"},"de":{"Ä":"AE","ä":"ae","Ö":"OE","ö":"oe","Ü":"UE","ü":"ue","ß":"ss","%":"prozent","&":"und","|":"oder","∑":"summe","∞":"unendlich","♥":"liebe"},"es":{"%":"por ciento","&":"y","<":"menor que",">":"mayor que","|":"o","¢":"centavos","£":"libras","¤":"moneda","₣":"francos","∑":"suma","∞":"infinito","♥":"amor"},"fr":{"%":"pourcent","&":"et","<":"plus petit",">":"plus grand","|":"ou","¢":"centime","£":"livre","¤":"devise","₣":"franc","∑":"somme","∞":"infini","♥":"amour"},"pt":{"%":"porcento","&":"e","<":"menor",">":"maior","|":"ou","¢":"centavo","∑":"soma","£":"libra","∞":"infinito","♥":"amor"},"uk":{"И":"Y","и":"y","Й":"Y","й":"y","Ц":"Ts","ц":"ts","Х":"Kh","х":"kh","Щ":"Shch","щ":"shch","Г":"H","г":"h"},"vi":{"Đ":"D","đ":"d"},"da":{"Ø":"OE","ø":"oe","Å":"AA","å":"aa","%":"procent","&":"og","|":"eller","$":"dollar","<":"mindre end",">":"større end"},"nb":{"&":"og","Å":"AA","Æ":"AE","Ø":"OE","å":"aa","æ":"ae","ø":"oe"},"it":{"&":"e"},"nl":{"&":"en"},"sv":{"&":"och","Å":"AA","Ä":"AE","Ö":"OE","å":"aa","ä":"ae","ö":"oe"}}');function n(n,r){if("string"!=typeof n)throw new Error("slugify: string argument expected");var o=t[(r="string"==typeof r?{replacement:r}:r||{}).locale]||{},a=void 0===r.replacement?"-":r.replacement,i=void 0===r.trim||r.trim,c=n.normalize().split("").reduce((function(t,n){var i=o[n]||e[n]||n;return i===a&&(i=" "),t+i.replace(r.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"")}),"");return r.strict&&(c=c.replace(/[^A-Za-z0-9\s]/g,"")),i&&(c=c.trim()),c=c.replace(/\s+/g,a),r.lower&&(c=c.toLowerCase()),c}return n.extend=function(t){Object.assign(e,t)},n},e.exports=t(),e.exports.default=t()},1900:function(e,t,n){var r,o;window.Element&&!Element.prototype.closest&&(Element.prototype.closest=function(e){var t,n=(this.document||this.ownerDocument).querySelectorAll(e),r=this;do{for(t=n.length;0<=--t&&n.item(t)!==r;);}while(t<0&&(r=r.parentElement));return r}),function(){function e(e,t){t=t||{bubbles:!1,cancelable:!1,detail:void 0};var n=document.createEvent("CustomEvent");return n.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),n}"function"!=typeof window.CustomEvent&&(e.prototype=window.Event.prototype,window.CustomEvent=e)}(),function(){for(var e=0,t=["ms","moz","webkit","o"],n=0;ny.durationMax?y.durationMax:y.durationMin&&w=C)return h.cancelScroll(!0),i(r,n,m),c("scrollStop",d,r,s),!(p=E=null)}(x,A)||(p=e.requestAnimationFrame(t),E=n)};0===e.pageYOffset&&e.scrollTo(0,0),S=r,k=d,m||history.pushState&&k.updateURL&&history.pushState({smoothScroll:JSON.stringify(k),anchor:S.id},document.title,S===document.documentElement?"#top":"#"+S.id),"matchMedia"in e&&e.matchMedia("(prefers-reduced-motion)").matches?i(r,Math.floor(A),!1):(c("scrollStart",d,r,s),h.cancelScroll(!0),e.requestAnimationFrame(P))}}},m=function(t){if(!t.defaultPrevented&&!(0!==t.button||t.metaKey||t.ctrlKey||t.shiftKey)&&"closest"in t.target&&(d=t.target.closest(s))&&"a"===d.tagName.toLowerCase()&&!t.target.closest(u.ignore)&&d.hostname===e.location.hostname&&d.pathname===e.location.pathname&&/#/.test(d.href)){var n,o;try{n=r(decodeURIComponent(d.hash))}catch(t){n=r(d.hash)}if("#"===n){if(!u.topOnEmptyHash)return;o=document.documentElement}else o=document.querySelector(n);(o=o||"#top"!==n?o:document.documentElement)&&(t.preventDefault(),function(t){if(history.replaceState&&t.updateURL&&!history.state){var n=e.location.hash;n=n||"",history.replaceState({smoothScroll:JSON.stringify(t),anchor:n||e.pageYOffset},document.title,n||e.location.href)}}(u),h.animateScroll(o,d))}},g=function(e){if(null!==history.state&&history.state.smoothScroll&&history.state.smoothScroll===JSON.stringify(u)){var t=history.state.anchor;"string"==typeof t&&t&&!(t=document.querySelector(r(history.state.anchor)))||h.animateScroll(t,null,{updateURL:!1})}};return h.destroy=function(){u&&(document.removeEventListener("click",m,!1),e.removeEventListener("popstate",g,!1),h.cancelScroll(),p=f=d=u=null)},function(){if(!("querySelector"in document&&"addEventListener"in e&&"requestAnimationFrame"in e&&"closest"in e.Element.prototype))throw"Smooth Scroll: This browser does not support the required JavaScript methods and browser APIs.";h.destroy(),u=n(t,l||{}),f=u.header?document.querySelector(u.header):null,document.addEventListener("click",m,!1),u.updateURL&&u.popstate&&e.addEventListener("popstate",g,!1)}(),h}}(o)}.apply(t,[]),void 0===r||(e.exports=r)},7901:function(e,t,n){"use strict";n.r(t),n.d(t,{focusable:function(){return w},isFocusable:function(){return x},isTabbable:function(){return E},tabbable:function(){return y}});var r=["input","select","textarea","a[href]","button","[tabindex]:not(slot)","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"details>summary:first-of-type","details"],o=r.join(","),a="undefined"==typeof Element,i=a?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,c=!a&&Element.prototype.getRootNode?function(e){return e.getRootNode()}:function(e){return e.ownerDocument},s=function(e,t,n){var r=Array.prototype.slice.apply(e.querySelectorAll(o));return t&&i.call(e,o)&&r.unshift(e),r=r.filter(n)},l=function e(t,n,r){for(var a=[],c=Array.from(t);c.length;){var s=c.shift();if("SLOT"===s.tagName){var l=s.assignedElements(),u=e(l.length?l:s.children,!0,r);r.flatten?a.push.apply(a,u):a.push({scope:s,candidates:u})}else{i.call(s,o)&&r.filter(s)&&(n||!t.includes(s))&&a.push(s);var d=s.shadowRoot||"function"==typeof r.getShadowRoot&&r.getShadowRoot(s),f=!r.shadowRootFilter||r.shadowRootFilter(s);if(d&&f){var p=e(!0===d?s.children:d.children,!0,r);r.flatten?a.push.apply(a,p):a.push({scope:s,candidates:p})}else c.unshift.apply(c,s.children)}}return a},u=function(e,t){return e.tabIndex<0&&(t||/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||e.isContentEditable)&&isNaN(parseInt(e.getAttribute("tabindex"),10))?0:e.tabIndex},d=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},f=function(e){return"INPUT"===e.tagName},p=function(e){return function(e){return f(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t,n=e.form||c(e),r=function(e){return n.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=r(window.CSS.escape(e.name));else try{t=r(e.name)}catch(a){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",a.message),!1}var o=function(e,t){for(var n=0;nsummary:first-of-type")?e.parentElement:e;if(i.call(o,"details:not([open]) *"))return!0;var a=c(e).host,s=(null==a?void 0:a.ownerDocument.contains(a))||e.ownerDocument.contains(e);if(n&&"full"!==n){if("non-zero-area"===n)return h(e)}else{if("function"==typeof r){for(var l=e;e;){var u=e.parentElement,d=c(e);if(u&&!u.shadowRoot&&!0===r(u))return h(e);e=e.assignedSlot?e.assignedSlot:u||d===e.ownerDocument?u:d.host}e=l}if(s)return!e.getClientRects().length}return!1}(t,e)||function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some((function(e){return"SUMMARY"===e.tagName}))}(t)||function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var n=0;n=0)},b=function e(t){var n=[],r=[];return t.forEach((function(t,o){var a=!!t.scope,i=a?t.scope:t,c=u(i,a),s=a?e(t.candidates):i;0===c?a?n.push.apply(n,s):n.push(i):r.push({documentOrder:o,tabIndex:c,item:t,isScope:a,content:s})})),r.sort(d).reduce((function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e}),[]).concat(n)},y=function(e,t){var n;return n=(t=t||{}).getShadowRoot?l([e],t.includeContainer,{filter:g.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:v}):s(e,t.includeContainer,g.bind(null,t)),b(n)},w=function(e,t){return(t=t||{}).getShadowRoot?l([e],t.includeContainer,{filter:m.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):s(e,t.includeContainer,m.bind(null,t))},E=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==i.call(e,o)&&g(t,e)},O=r.concat("iframe").join(","),x=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==i.call(e,O)&&m(t,e)}},8072:function(e){e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r=0;c--)(o=e[c])&&(i=(a<3?o(i):a>3?o(t,n,i):o(t,n))||i);return a>3&&i&&Object.defineProperty(t,n,i),i}function s(e,t){return function(n,r){t(n,r,e)}}function l(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function u(e,t,n,r){return new(n||(n=Promise))((function(o,a){function i(e){try{s(r.next(e))}catch(t){a(t)}}function c(e){try{s(r.throw(e))}catch(t){a(t)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,c)}s((r=r.apply(e,t||[])).next())}))}function d(e,t){var n,r,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function c(a){return function(c){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;i;)try{if(n=1,r&&(o=2&a[0]?r.return:a[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,r=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!(o=i.trys,(o=o.length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function m(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,a=n.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(r=a.next()).done;)i.push(r.value)}catch(c){o={error:c}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(o)throw o.error}}return i}function g(){for(var e=[],t=0;t1||c(e,t)}))})}function c(e,t){try{(n=o[e](t)).value instanceof y?Promise.resolve(n.value.v).then(s,l):u(a[0][2],n)}catch(r){u(a[0][3],r)}var n}function s(e){c("next",e)}function l(e){c("throw",e)}function u(e,t){e(t),a.shift(),a.length&&c(a[0][0],a[0][1])}}function E(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,o){t[r]=e[r]?function(t){return(n=!n)?{value:y(e[r](t)),done:"return"===r}:o?o(t):t}:o}}function O(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=h(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,o){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,o,(t=e[n](t)).done,t.value)}))}}}function x(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var S=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};function k(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)&&f(t,e,n);return S(t,e),t}function I(e){return e&&e.__esModule?e:{default:e}}function A(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)}function _(e,t,n,r,o){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?o.call(e,n):o?o.value=n:t.set(e,n),n}function C(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}},7945:function(e,t,n){"use strict";var r=n(9804);t.ZP=r.default,t.GS=r.useMedia,r.useMediaLayout},9804:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(7294),o=n(131);t.mockMediaQueryList={media:"",matches:!1,onchange:o.noop,addListener:o.noop,removeListener:o.noop,addEventListener:o.noop,removeEventListener:o.noop,dispatchEvent:function(e){return!0}};var a=function(e){return function(n,a){void 0===a&&(a=!1);var i=r.useState(a),c=i[0],s=i[1],l=o.queryObjectToString(n);return e((function(){var e=!0,n="undefined"==typeof window?t.mockMediaQueryList:window.matchMedia(l),r=function(){e&&s(Boolean(n.matches))};return n.addListener(r),s(n.matches),function(){e=!1,n.removeListener(r)}}),[l]),c}};t.useMedia=a(r.useEffect),t.useMediaLayout=a(r.useLayoutEffect),t.default=t.useMedia},3132:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.replace(/[A-Z]/g,(function(e){return"-"+e.toLowerCase()})).toLowerCase()}},131:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3132);t.camelToHyphen=r.default;var o=n(2213);t.queryObjectToString=o.default;var a=n(8327);t.noop=a.default},8327:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){}},2213:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3132);t.default=function(e){return"string"==typeof e?e:Object.entries(e).map((function(e){var t=e[0],n=e[1],o=r.default(t),a=n;return"boolean"==typeof a?a?o:"not "+o:("number"==typeof a&&/[height|width]$/.test(o)&&(a+="px"),"("+o+": "+a+")")})).join(" and ")}},9662:function(e,t,n){var r=n(614),o=n(6330),a=TypeError;e.exports=function(e){if(r(e))return e;throw a(o(e)+" is not a function")}},1223:function(e,t,n){var r=n(5112),o=n(30),a=n(3070).f,i=r("unscopables"),c=Array.prototype;null==c[i]&&a(c,i,{configurable:!0,value:o(null)}),e.exports=function(e){c[i][e]=!0}},9670:function(e,t,n){var r=n(111),o=String,a=TypeError;e.exports=function(e){if(r(e))return e;throw a(o(e)+" is not an object")}},1318:function(e,t,n){var r=n(5656),o=n(1400),a=n(6244),i=function(e){return function(t,n,i){var c,s=r(t),l=a(s),u=o(i,l);if(e&&n!=n){for(;l>u;)if((c=s[u++])!=c)return!0}else for(;l>u;u++)if((e||u in s)&&s[u]===n)return e||u||0;return!e&&-1}};e.exports={includes:i(!0),indexOf:i(!1)}},7475:function(e,t,n){var r=n(3157),o=n(4411),a=n(111),i=n(5112)("species"),c=Array;e.exports=function(e){var t;return r(e)&&(t=e.constructor,(o(t)&&(t===c||r(t.prototype))||a(t)&&null===(t=t[i]))&&(t=void 0)),void 0===t?c:t}},5417:function(e,t,n){var r=n(7475);e.exports=function(e,t){return new(r(e))(0===t?0:t)}},4326:function(e,t,n){var r=n(1702),o=r({}.toString),a=r("".slice);e.exports=function(e){return a(o(e),8,-1)}},648:function(e,t,n){var r=n(1694),o=n(614),a=n(4326),i=n(5112)("toStringTag"),c=Object,s="Arguments"==a(function(){return arguments}());e.exports=r?a:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(n){}}(t=c(e),i))?n:s?a(t):"Object"==(r=a(t))&&o(t.callee)?"Arguments":r}},9920:function(e,t,n){var r=n(2597),o=n(3887),a=n(1236),i=n(3070);e.exports=function(e,t,n){for(var c=o(t),s=i.f,l=a.f,u=0;u9007199254740991)throw t("Maximum allowed index exceeded");return e}},8113:function(e,t,n){var r=n(5005);e.exports=r("navigator","userAgent")||""},7392:function(e,t,n){var r,o,a=n(7854),i=n(8113),c=a.process,s=a.Deno,l=c&&c.versions||s&&s.version,u=l&&l.v8;u&&(o=(r=u.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&i&&(!(r=i.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=i.match(/Chrome\/(\d+)/))&&(o=+r[1]),e.exports=o},748:function(e){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:function(e,t,n){var r=n(7854),o=n(1236).f,a=n(8880),i=n(8052),c=n(3072),s=n(9920),l=n(4705);e.exports=function(e,t){var n,u,d,f,p,h=e.target,m=e.global,g=e.stat;if(n=m?r:g?r[h]||c(h,{}):(r[h]||{}).prototype)for(u in t){if(f=t[u],d=e.dontCallGetSet?(p=o(n,u))&&p.value:n[u],!l(m?u:h+(g?".":"#")+u,e.forced)&&void 0!==d){if(typeof f==typeof d)continue;s(f,d)}(e.sham||d&&d.sham)&&a(f,"sham",!0),i(n,u,f,e)}}},7293:function(e){e.exports=function(e){try{return!!e()}catch(t){return!0}}},6790:function(e,t,n){"use strict";var r=n(3157),o=n(6244),a=n(7207),i=n(9974),c=function(e,t,n,s,l,u,d,f){for(var p,h,m=l,g=0,v=!!d&&i(d,f);g0&&r(p)?(h=o(p),m=c(e,t,p,h,m,u-1)-1):(a(m+1),e[m]=p),m++),g++;return m};e.exports=c},9974:function(e,t,n){var r=n(1702),o=n(9662),a=n(4374),i=r(r.bind);e.exports=function(e,t){return o(e),void 0===t?e:a?i(e,t):function(){return e.apply(t,arguments)}}},4374:function(e,t,n){var r=n(7293);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},6916:function(e,t,n){var r=n(4374),o=Function.prototype.call;e.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},6530:function(e,t,n){var r=n(9781),o=n(2597),a=Function.prototype,i=r&&Object.getOwnPropertyDescriptor,c=o(a,"name"),s=c&&"something"===function(){}.name,l=c&&(!r||r&&i(a,"name").configurable);e.exports={EXISTS:c,PROPER:s,CONFIGURABLE:l}},1702:function(e,t,n){var r=n(4374),o=Function.prototype,a=o.bind,i=o.call,c=r&&a.bind(i,i);e.exports=r?function(e){return e&&c(e)}:function(e){return e&&function(){return i.apply(e,arguments)}}},5005:function(e,t,n){var r=n(7854),o=n(614),a=function(e){return o(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?a(r[e]):r[e]&&r[e][t]}},8173:function(e,t,n){var r=n(9662);e.exports=function(e,t){var n=e[t];return null==n?void 0:r(n)}},7854:function(e,t,n){var r=function(e){return e&&e.Math==Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||function(){return this}()||Function("return this")()},2597:function(e,t,n){var r=n(1702),o=n(7908),a=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return a(o(e),t)}},3501:function(e){e.exports={}},490:function(e,t,n){var r=n(5005);e.exports=r("document","documentElement")},4664:function(e,t,n){var r=n(9781),o=n(7293),a=n(317);e.exports=!r&&!o((function(){return 7!=Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a}))},8361:function(e,t,n){var r=n(1702),o=n(7293),a=n(4326),i=Object,c=r("".split);e.exports=o((function(){return!i("z").propertyIsEnumerable(0)}))?function(e){return"String"==a(e)?c(e,""):i(e)}:i},2788:function(e,t,n){var r=n(1702),o=n(614),a=n(5465),i=r(Function.toString);o(a.inspectSource)||(a.inspectSource=function(e){return i(e)}),e.exports=a.inspectSource},9909:function(e,t,n){var r,o,a,i=n(8536),c=n(7854),s=n(1702),l=n(111),u=n(8880),d=n(2597),f=n(5465),p=n(6200),h=n(3501),m="Object already initialized",g=c.TypeError,v=c.WeakMap;if(i||f.state){var b=f.state||(f.state=new v),y=s(b.get),w=s(b.has),E=s(b.set);r=function(e,t){if(w(b,e))throw new g(m);return t.facade=e,E(b,e,t),t},o=function(e){return y(b,e)||{}},a=function(e){return w(b,e)}}else{var O=p("state");h[O]=!0,r=function(e,t){if(d(e,O))throw new g(m);return t.facade=e,u(e,O,t),t},o=function(e){return d(e,O)?e[O]:{}},a=function(e){return d(e,O)}}e.exports={set:r,get:o,has:a,enforce:function(e){return a(e)?o(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!l(t)||(n=o(t)).type!==e)throw g("Incompatible receiver, "+e+" required");return n}}}},3157:function(e,t,n){var r=n(4326);e.exports=Array.isArray||function(e){return"Array"==r(e)}},614:function(e){e.exports=function(e){return"function"==typeof e}},4411:function(e,t,n){var r=n(1702),o=n(7293),a=n(614),i=n(648),c=n(5005),s=n(2788),l=function(){},u=[],d=c("Reflect","construct"),f=/^\s*(?:class|function)\b/,p=r(f.exec),h=!f.exec(l),m=function(e){if(!a(e))return!1;try{return d(l,u,e),!0}catch(t){return!1}},g=function(e){if(!a(e))return!1;switch(i(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return h||!!p(f,s(e))}catch(t){return!0}};g.sham=!0,e.exports=!d||o((function(){var e;return m(m.call)||!m(Object)||!m((function(){e=!0}))||e}))?g:m},4705:function(e,t,n){var r=n(7293),o=n(614),a=/#|\.prototype\./,i=function(e,t){var n=s[c(e)];return n==u||n!=l&&(o(t)?r(t):!!t)},c=i.normalize=function(e){return String(e).replace(a,".").toLowerCase()},s=i.data={},l=i.NATIVE="N",u=i.POLYFILL="P";e.exports=i},111:function(e,t,n){var r=n(614);e.exports=function(e){return"object"==typeof e?null!==e:r(e)}},1913:function(e){e.exports=!1},2190:function(e,t,n){var r=n(5005),o=n(614),a=n(7976),i=n(3307),c=Object;e.exports=i?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return o(t)&&a(t.prototype,c(e))}},6244:function(e,t,n){var r=n(7466);e.exports=function(e){return r(e.length)}},6339:function(e,t,n){var r=n(7293),o=n(614),a=n(2597),i=n(9781),c=n(6530).CONFIGURABLE,s=n(2788),l=n(9909),u=l.enforce,d=l.get,f=Object.defineProperty,p=i&&!r((function(){return 8!==f((function(){}),"length",{value:8}).length})),h=String(String).split("String"),m=e.exports=function(e,t,n){"Symbol("===String(t).slice(0,7)&&(t="["+String(t).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!a(e,"name")||c&&e.name!==t)&&(i?f(e,"name",{value:t,configurable:!0}):e.name=t),p&&n&&a(n,"arity")&&e.length!==n.arity&&f(e,"length",{value:n.arity});try{n&&a(n,"constructor")&&n.constructor?i&&f(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(o){}var r=u(e);return a(r,"source")||(r.source=h.join("string"==typeof t?t:"")),e};Function.prototype.toString=m((function(){return o(this)&&d(this).source||s(this)}),"toString")},4758:function(e){var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?n:t)(r)}},133:function(e,t,n){var r=n(7392),o=n(7293);e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},8536:function(e,t,n){var r=n(7854),o=n(614),a=n(2788),i=r.WeakMap;e.exports=o(i)&&/native code/.test(a(i))},30:function(e,t,n){var r,o=n(9670),a=n(6048),i=n(748),c=n(3501),s=n(490),l=n(317),u=n(6200),d=u("IE_PROTO"),f=function(){},p=function(e){return"
Skip to main contentMAF Configuration Practices

Disable delete button for errored transaction

About this task

This guide details a step-by-step approach to controlling the ability of the delete button action for errored transactions in IBM Maximo Mobile by configuring specific files and setting up a signature option (sigoption). +

Skip to main contentMAF Configuration Practices

Disable delete button for errored transaction

About this task

This guide details a step-by-step approach to controlling the ability of the delete button action for errored transactions in IBM Maximo Mobile by configuring specific files and setting up a signature option (sigoption). This configuration takes place at Navigator app

Procedure

Step 1: Define the Signature Option (Sigoption) to control the delete button, start by creating a new sigoption named WO_DELETEERROR_TRX for the mxapiwodetail object structure.

Follow these steps in the Object Structures application under Configure Object Structure Security:

  • Open the Object Structures application from the IBM Maximo main menu.
  • Search for and select the mxapiwodetail object structure.
  • In the toolbar, click on the Action menu and select Configure Object Structure Security.
  • In the Configure Object Structure Security dialog, click New Row to add a new signature option.
  • In the Option Name field, enter WO_DELETEERROR_TRX.
  • Provide a description, such as “Control of delete button for errored transactions.”
configure object structure security dialog @@ -20,4 +20,4 @@ security group sigoption for mxapiwodetail

Step 3: Modify the App.xml File from the Navigator application. Locate the delete button (id=“a38re”) in the App.xml file. Add a disabled attribute to the button, linked to a custom property that will control its state based on the sigoption.

<button id="a38re" disabled="{item.disabled}">Delete</button>

Step 4: Configure the AppCustomizations.js. Use the applicationInitialized(app) event to capture the value of sigoption WO_DELETEERROR_TRX for the current application instance and store it in a class variable for later use. This will determine if the delete option is permitted.

applicationInitialized(app) {
// Store the delete permission for error transactions
this.canDeleteError = this.app.checkSigOption(`${this.app.state.woOSName}.WO_DELETEERROR_TRX`);
}

Step 5: Use the onAfterLoadData event to iterate over each item in the syncTranscationDS datasource. This allows you to set the disabled attribute based on the sigoption value and transaction properties.

onAfterLoadData(datasource, items, query) {
// Check if the data source is 'syncTranscationDS'
if (datasource.name === 'syncTranscationDS') {
items.forEach(item => {
// Disable delete if the transaction is from WORKORDER and deletion is not allowed
item.disabled = item.collectionid === 'WORKORDER' && !this.canDeleteError;
});
}
}

The code above will disable the delete button for errored transactions from the WORKORDER collection if deletion is not allowed based on the sigoption. -The visibility of the delete button can be adjusted at any time by an administrator through the Security Groups application. By changing the WO_DELETEERROR_TRX sigoption setting for the relevant security group, administrators can dynamically control whether users can delete errored transactions.

\ No newline at end of file +The visibility of the delete button can be adjusted at any time by an administrator through the Security Groups application. By changing the WO_DELETEERROR_TRX sigoption setting for the relevant security group, administrators can dynamically control whether users can delete errored transactions.

\ No newline at end of file diff --git a/complex/enable-wo-classification/index.html b/complex/enable-wo-classification/index.html index a534d9d..41bbbb5 100644 --- a/complex/enable-wo-classification/index.html +++ b/complex/enable-wo-classification/index.html @@ -12,10 +12,10 @@ } } }) -
Skip to main contentMAF Configuration Practices

Enable the use of work order classifications in Technician app

About this task

This guide walks through how to include the use of Classifications when creating a new work order record in Technician application.

Procedure

Step 1: Add a new datasource referencing the mxapiclassstructure object structure. This should be defined along with the other search datasources at the top level of the application (pages). This ensures that this datasource can be used on other pages, such as the edit page. Below is a saved query called “emxwoclass” but this can be changed to anything you add to the object structure to show the appropriate classifications.

<maximo-datasource id="classificationLookupDS" lookup-data="true" object-structure="mxapiclassstructure" offline-immediate-download="true" saved-query="emxwoclass" selection-mode="single" order-by="classificationid">
<schema>
<attribute name="classstructureid"/>
<attribute name="classificationid" searchable="true"/>
<attribute name="classificationdesc"/>
<attribute name="hierarchypath"/>
<attribute name="description" searchable="true"/>
</schema>
</maximo-datasource>
<dialogs id="demolookups">
<lookup-with-filter lookup-heading="Classification" datasource="classificationLookupDS" id="classificationLookup" lookup-attributes="{['hierarchypath','classificationid','description']}"/>
</dialogs>

Step 3: In the “datasource” dsCreateWo, search for id=“dsCreateWo” and add the following attributes.

<attribute name="classstructureid" />
<attribute name="hierarchypath" local="true"/>

Step 4: Add UI elements to display the hierarchy path and open the search page, locate the id “q55zy” and add the code below.

<box children-sizes="100" background-color="field-01" direction="row" fill-child="true" fill-parent="true" padding-bottom=".5" padding-top=".5" id="a1_z2883">
<border-layout fill-parent="true" width="100%" padding="true" id="a1_b4_p6">
<start direction="row" horizontal-overflow="hidden" vertical-align="center" width="60" shrink="0" id="a1_qx8e2">
<field empty-field-placeholder="Select a classification" label="Hierarchy" value="{dsCreateWo.item.hierarchypath}" id="a1_r_xgy"/>
</start>
<end horizontal-align="end" vertical-align="center" direction="column" id="a1_wpewd">
<button icon="Carbon:chevron--right" kind="ghost" on-click="openClassificationLookup" on-click-arg="{{'page':page,'app':app, 'item':dsCreateWo.item}}" padding="false" id="a1_w6n9m"/>
</end>
</border-layout>

Step 5: In AppCustomizations.js, we need to add an openClassificationLookup event to handle the chevron (arrow). Note that in the previous statement, in step 4, we provided the current page and the current record. This is important so that our openClassificationLookup event has the necessary arguments.

openClassificationLookup(event) {
event.page.showLookup("classificationLookup", { targetItem: event.item, targetField: 'classstructureid', selectLookupAttribute: 'classstructureid' });
}

Step 6: Since the framework currently only allows us to set 1 attribute of a lookup, we need to use the onValueChanged event to set the hierarchy path when classstructureid is set.

async onValueChanged(event) {
let dataSource=event.datasource;
if(event.field=="classstructureid") {
let lookupDs=this.app.findDatasource("classificationLookupDS");
await lookupDs.initializeQbe();
lookupDs.setQBE("classstructureid","=",event.newValue);
let records=await lookupDs.searchQBE();
if(records.length==1) {
event.item["hierarchypath"]=records[0].hierarchypath;

Step 7: Go to the application object structure in Maximo and locate the “mxapiclassstructure” object, create a new query using the name defined in step 1 “emxwoclass”, with “Query Type” = “osclause” and enable the Public flag. Classifications can be defined at the site level and not all classifications are valid for WORKORDER, so I used the following query clause as a starting point.

(siteid is null or siteid=(select defsite from maxuser where userid=:user)) and exists(select 1 from classusewith where classstructureid=classstructure.classstructureid and objectname='WORKORDER')
+
Skip to main contentMAF Configuration Practices

Enable the use of work order classifications in Technician app

About this task

This guide walks through how to include the use of Classifications when creating a new work order record in Technician application.

Procedure

Step 1: Add a new datasource referencing the mxapiclassstructure object structure. This should be defined along with the other search datasources at the top level of the application (pages). This ensures that this datasource can be used on other pages, such as the edit page. Below is a saved query called “emxwoclass” but this can be changed to anything you add to the object structure to show the appropriate classifications.

<maximo-datasource id="classificationLookupDS" lookup-data="true" object-structure="mxapiclassstructure" offline-immediate-download="true" saved-query="emxwoclass" selection-mode="single" order-by="classificationid">
<schema>
<attribute name="classstructureid"/>
<attribute name="classificationid" searchable="true"/>
<attribute name="classificationdesc"/>
<attribute name="hierarchypath"/>
<attribute name="description" searchable="true"/>
</schema>
</maximo-datasource>
<dialogs id="demolookups">
<lookup-with-filter lookup-heading="Classification" datasource="classificationLookupDS" id="classificationLookup" lookup-attributes="{['hierarchypath','classificationid','description']}"/>
</dialogs>

Step 3: In the “datasource” dsCreateWo, search for id=“dsCreateWo” and add the following attributes.

<attribute name="classstructureid" />
<attribute name="hierarchypath" local="true"/>

Step 4: Add UI elements to display the hierarchy path and open the search page, locate the id “q55zy” and add the code below.

<box children-sizes="100" background-color="field-01" direction="row" fill-child="true" fill-parent="true" padding-bottom=".5" padding-top=".5" id="a1_z2883">
<border-layout fill-parent="true" width="100%" padding="true" id="a1_b4_p6">
<start direction="row" horizontal-overflow="hidden" vertical-align="center" width="60" shrink="0" id="a1_qx8e2">
<field empty-field-placeholder="Select a classification" label="Hierarchy" value="{dsCreateWo.item.hierarchypath}" id="a1_r_xgy"/>
</start>
<end horizontal-align="end" vertical-align="center" direction="column" id="a1_wpewd">
<button icon="Carbon:chevron--right" kind="ghost" on-click="openClassificationLookup" on-click-arg="{{'page':page,'app':app, 'item':dsCreateWo.item}}" padding="false" id="a1_w6n9m"/>
</end>
</border-layout>

Step 5: In AppCustomizations.js, we need to add an openClassificationLookup event to handle the chevron (arrow). Note that in the previous statement, in step 4, we provided the current page and the current record. This is important so that our openClassificationLookup event has the necessary arguments.

openClassificationLookup(event) {
event.page.showLookup("classificationLookup", { targetItem: event.item, targetField: 'classstructureid', selectLookupAttribute: 'classstructureid' });
}

Step 6: Since the framework currently only allows us to set 1 attribute of a lookup, we need to use the onValueChanged event to set the hierarchy path when classstructureid is set.

async onValueChanged(event) {
let dataSource=event.datasource;
if(event.field=="classstructureid") {
let lookupDs=this.app.findDatasource("classificationLookupDS");
await lookupDs.initializeQbe();
lookupDs.setQBE("classstructureid","=",event.newValue);
let records=await lookupDs.searchQBE();
if(records.length==1) {
event.item["hierarchypath"]=records[0].hierarchypath;

Step 7: Go to the application object structure in Maximo and locate the “mxapiclassstructure” object, create a new query using the name defined in step 1 “emxwoclass”, with “Query Type” = “osclause” and enable the Public flag. Classifications can be defined at the site level and not all classifications are valid for WORKORDER, so I used the following query clause as a starting point.

(siteid is null or siteid=(select defsite from maxuser where userid=:user)) and exists(select 1 from classusewith where classstructureid=classstructure.classstructureid and objectname='WORKORDER')
emxwoclass query definition

Step 8: In the Security application, confirm that your group has read access to the “MXAPICLASSSTRUCTURE” object.

object structure security -
\ No newline at end of file +
\ No newline at end of file diff --git a/complex/external-links/index.html b/complex/external-links/index.html new file mode 100644 index 0000000..a6cc43d --- /dev/null +++ b/complex/external-links/index.html @@ -0,0 +1,16 @@ +MAF Configuration Practices – Create external links
Skip to main contentMAF Configuration Practices

Create external links

About this task

By default, any hyperlink will open in the in-app browser of the application in Maximo Mobile. So this instructs how to open the link in the user’s default browser application.

Procedure

<link on-click="openIBM" label="IBM hyperlink"/>

Step 2: Import the Browser module in AppCustomizations.js file.

import {Browser} from '@maximo/maximo-js-api';
openIBM(){
+
let url="https://www.ibm.com/"
if(this.app.device.isMaximoMobile) {
try{
window.cordova.InAppBrowser.open(url, "_system", 'location=yes');
} catch(error) {
Browser.get().openURL(url);
}
\ No newline at end of file diff --git a/complex/restrict-complete-status/index.html b/complex/restrict-complete-status/index.html index c965414..19e1e33 100644 --- a/complex/restrict-complete-status/index.html +++ b/complex/restrict-complete-status/index.html @@ -12,9 +12,9 @@ } } }) -
Skip to main contentMAF Configuration Practices

Restrict COMPLETE Status from options

About this task

This guide instructs you to disable the COMPLETE option until the following conditions are met:

  1. The work order must contain at least one work log entry;
  2. Must contain an actual labor entry (for current labor);
  3. If work type is different from PM, check for presence of asset and the existence of complete PCR (Problem, Cause, +
    Skip to main contentMAF Configuration Practices

    Restrict COMPLETE Status from options

    About this task

    This guide instructs you to disable the COMPLETE option until the following conditions are met:

    1. The work order must contain at least one work log entry;
    2. Must contain an actual labor entry (for current labor);
    3. If work type is different from PM, check for presence of asset and the existence of complete PCR (Problem, Cause, Remedy) entry;
    4. If work type is PM, no need to have an asset or PCR entry. In this customization, the COMPLETE option is removed from the status change lookups. The Work Order completion must be completed through the report page, if the conditions are met.

    Procedure

    Step 1: Add a boolean page state to the report_work page

    <states id="jy5r4">
    [...]
    <state name="disableCompleted" value="false" type="boolean" id="trg_g8n3b"/>
    </states>

    Step 2: In the app.xml file, include the hidecompleted state to the disable condition on the button (p6aav)

    <button slot="buttons" label="Complete work" kind="primary" id="p6aav" […]
    disabled="{page.state.disableCompleted || woDetailsReportWork.item.flowcontrolled || !app.checkSigOption(`$
    {app.state.woOSName}.COMPWOBUTTON`)}"/>

    Step 3: In the AppCustomization.js file, declare the dialogOpened method to handle the window opening event. The code inside

    the method should contain the verification of the name of the dialog that was opened, the existence of the datasource and the confirmation of the current page before executing the filter, “item.maxvalue !== ‘COMP’”, insert the following logic in the method:

    /**
    * dialogOpened handler filter out complete status when opened
    * @param {Object} obj
    * @param {Dialog} obj.dialog
    */
    dialogOpened({dialog}) {
    -
    // page name when dialog is open
    this.app.log.d(TAG,`dialog ${dialog?.name} opened at ${this.app.currentPage.name} page`);

    Step 4: Create a method to check if a given list contains full failure report (Problem, Cause and Remedy)

    /**
    * Validates Problem, Cause and Remedy inside failure report list
    * @private
    * @param {Array} failureReport - failure report list.
    * @returns {boolean} Promise of an array of items.
    */
    hasPCR(failureReport = []) {
    let hasProblem = false;
    let hasCause = false;

    Step 5: Create the main method responsible to output if the a work order item can be completed based on the criteria discussed.

    /**
    * Validation to allow completion. Validation is:
    * a. should have work Log comments
    * b. should have labor actuals
    * c. should have Problem Cause and Remedy codes IF Work Type is not in [PM] and there is an Asset on the record
    * This should only be called from report_work page
    * @param {Application} app
    * @returns {boolean}
    */

    Step 6: Apply validation using the previous method to update the state created.

    /**
    * Enables/disables complete button from report work page based on complete validation
    * @param {Page} page
    * @param {App} app
    */
    async addCompleteButtonValidation(page, app) {
    // Set disable before starting processing condition
    page.state.disableCompleted=true;
    // Get validation result

    Step 7: Bind buttonValidation method to pageResumed lifecycle hook when it is the correct page.

    pageResumed(page, app) {
    // Run validation for complete button
    if (app.currentPage.name === 'report_work' && page.name==='report_work') {
    this.app.log.d(TAG,'entering add completebuttonvalidation logic');
    this.addCompleteButtonValidation(page, app);
    }
    }
    \ No newline at end of file +
// page name when dialog is open
this.app.log.d(TAG,`dialog ${dialog?.name} opened at ${this.app.currentPage.name} page`);

Step 4: Create a method to check if a given list contains full failure report (Problem, Cause and Remedy)

/**
* Validates Problem, Cause and Remedy inside failure report list
* @private
* @param {Array} failureReport - failure report list.
* @returns {boolean} Promise of an array of items.
*/
hasPCR(failureReport = []) {
let hasProblem = false;
let hasCause = false;

Step 5: Create the main method responsible to output if the a work order item can be completed based on the criteria discussed.

/**
* Validation to allow completion. Validation is:
* a. should have work Log comments
* b. should have labor actuals
* c. should have Problem Cause and Remedy codes IF Work Type is not in [PM] and there is an Asset on the record
* This should only be called from report_work page
* @param {Application} app
* @returns {boolean}
*/

Step 6: Apply validation using the previous method to update the state created.

/**
* Enables/disables complete button from report work page based on complete validation
* @param {Page} page
* @param {App} app
*/
async addCompleteButtonValidation(page, app) {
// Set disable before starting processing condition
page.state.disableCompleted=true;
// Get validation result

Step 7: Bind buttonValidation method to pageResumed lifecycle hook when it is the correct page.

pageResumed(page, app) {
// Run validation for complete button
if (app.currentPage.name === 'report_work' && page.name==='report_work') {
this.app.log.d(TAG,'entering add completebuttonvalidation logic');
this.addCompleteButtonValidation(page, app);
}
}
\ No newline at end of file diff --git a/complex/restrict-wo-priority-based-on-work-type/index.html b/complex/restrict-wo-priority-based-on-work-type/index.html index 081e655..7cf637a 100644 --- a/complex/restrict-wo-priority-based-on-work-type/index.html +++ b/complex/restrict-wo-priority-based-on-work-type/index.html @@ -12,8 +12,8 @@ } } }) -
Skip to main contentMAF Configuration Practices

Restrict Work Order Priority Based On Work Type

About this task

This guide instructs on how to add new priority domain to the system and use it to prioritize work orders. It also describes how to +

Skip to main contentMAF Configuration Practices

Restrict Work Order Priority Based On Work Type

About this task

This guide instructs on how to add new priority domain to the system and use it to prioritize work orders. It also describes how to implement a condition to remove the Priority 5 option from the lookup when creating and editing work orders if their work types are other than preventive maintenance (PM)

Procedure

Step 1: Follow the practice below to create a query, create a datasource to load the data and declare a new lookup.

Step 2: Declare the dialogOpened method to handle the window opening event. The code inside the method should contain the verification of the name of the dialog that was opened, the existence of the datasource and the confirmation of the current page before executing the filter. Insert the following logic in the method:

dialogOpened({dialog}) {
// page name when dialog is open
this.app.log.d(TAG,`dialog ${dialog?.name} opened at ${this.app.currentPage.name} page`);
if (dialog?.name === 'trg_woPriorityLookup' && ['woedit'].some(page => page === this.app.currentPage.name)) {
-
// Check status domain datasource existence
const priorityLookupDS = this.app.findDatasource('trg_WoPrioritylookupDS');
if (!priorityLookupDS) {
\ No newline at end of file +
// Check status domain datasource existence
const priorityLookupDS = this.app.findDatasource('trg_WoPrioritylookupDS');
if (!priorityLookupDS) {
\ No newline at end of file diff --git a/complex/reuse-page-datasource/index.html b/complex/reuse-page-datasource/index.html new file mode 100644 index 0000000..996bc89 --- /dev/null +++ b/complex/reuse-page-datasource/index.html @@ -0,0 +1,18 @@ +MAF Configuration Practices – Reuse page datasource controller from another page
Skip to main contentMAF Configuration Practices

Reuse page datasource controller from another page

About this task

This is an sample to show how to use an existing datasource’s controller from a page and reuse in another page. In thise case there is a existing WorkOrderCreateController to be reused on a new Quick Reporting Page for Techmobile. +It is tempting to think on moving out the dsCreateWO datasource of the page and up to the application. The problem with moving the datasource and re-using the WorkOrderCreateController is that the controller code has references to dsCreateWO that require it to be in the page. +Instead, the developers should have used this.app.findDatasource(‘dsCreateWo’); to find the datasource. +To get around this problem without requiring a change to the Techmobile application, the AppCustomizations.js can trap the pageInitialized call for the new Quick Reporting page, and set the existing datasource as part of the new page.

Procedure

Step 1: In pageInitialized event, check for the right page, ensure the datasource does not exist in the page, fetch its reference using this.app.findDatasource and set it to the new page.

pageInitialized(page) {
if (page.name === 'quickReporting') {
if (page.datsources['dsCreateWO'] === undefined) {
page.datasource['dsCreateWO'] = this.app.findDatasource('dsCreateWO');
}
}
}
\ No newline at end of file diff --git a/complex/set-default-values-new-wo/index.html b/complex/set-default-values-new-wo/index.html index 82d47e7..08bd655 100644 --- a/complex/set-default-values-new-wo/index.html +++ b/complex/set-default-values-new-wo/index.html @@ -12,6 +12,6 @@ } } }) -
Skip to main contentMAF Configuration Practices

Set default values to fields when creating new and follow-up work orders

About this task

Set default values for fields on new work orders and follow-up work orders. This exercise guides you through defining priority = 1 +

Skip to main contentMAF Configuration Practices

Set default values to fields when creating new and follow-up work orders

About this task

Set default values for fields on new work orders and follow-up work orders. This exercise guides you through defining priority = 1 and work type = CM (Correction Maintenance) when creating new and follow-up work orders. -All steps are done within the AppCustomizations.js file.

Procedure

Step 1: Create constants that indicate the default values for priority and work type. Avoid inserting static values directly into the code to facilitate changes, readability, and tracking.

const DEFAULT_WORKTYPE = 'CM';
const DEFAULT_WORKPRIORITY = 1;

Step 2: Create conditions inside the page summary handler method (pageResumed) to set the default values.

pageResumed(page, app) {
// Check creation of Follow-up Work
if (app.currentPage.name === 'woedit' && page.name=== 'woedit' && page?.params?.followup) {
if (page?.params?.workorder) {
// Replace workorder attribute from URL params
page.params.workorder.worktype = DEFAULT_WORKTYPE;
page.params.workorder.wopriority = DEFAULT_WORKPRIORITY;
}
}

Step 3: nclude the new record creation event handler to datasource. Include conditions to identify the correct datasource - in this case “dsCreateWo”. To create new records, use properties from the DS schema, this avoids conflicts with other code that is

defining the same property.

/**
* Add new record handler
* @param {Object} object
* @param {Datasource} obj.datasource
*/
onAddNewRecord({datasource, item}) {
// Set default values for schema dsCreateWo when creating Work Order
if (datasource?.name === 'dsCreateWo' && datasource?.schema) {
datasource.schema.properties.worktype.defaultValue = DEFAULT_WORKTYPE;
\ No newline at end of file +All steps are done within the AppCustomizations.js file.

Procedure

Step 1: Create constants that indicate the default values for priority and work type. Avoid inserting static values directly into the code to facilitate changes, readability, and tracking.

const DEFAULT_WORKTYPE = 'CM';
const DEFAULT_WORKPRIORITY = 1;

Step 2: Create conditions inside the page summary handler method (pageResumed) to set the default values.

pageResumed(page, app) {
// Check creation of Follow-up Work
if (app.currentPage.name === 'woedit' && page.name=== 'woedit' && page?.params?.followup) {
if (page?.params?.workorder) {
// Replace workorder attribute from URL params
page.params.workorder.worktype = DEFAULT_WORKTYPE;
page.params.workorder.wopriority = DEFAULT_WORKPRIORITY;
}
}

Step 3: nclude the new record creation event handler to datasource. Include conditions to identify the correct datasource - in this case “dsCreateWo”. To create new records, use properties from the DS schema, this avoids conflicts with other code that is

defining the same property.

/**
* Add new record handler
* @param {Object} object
* @param {Datasource} obj.datasource
*/
onAddNewRecord({datasource, item}) {
// Set default values for schema dsCreateWo when creating Work Order
if (datasource?.name === 'dsCreateWo' && datasource?.schema) {
datasource.schema.properties.worktype.defaultValue = DEFAULT_WORKTYPE;
\ No newline at end of file diff --git a/component---src-pages-complex-external-links-mdx-ffcfae4df64cb87be5bf.js b/component---src-pages-complex-external-links-mdx-ffcfae4df64cb87be5bf.js new file mode 100644 index 0000000..0e3be3c --- /dev/null +++ b/component---src-pages-complex-external-links-mdx-ffcfae4df64cb87be5bf.js @@ -0,0 +1,2 @@ +"use strict";(self.webpackChunkmas_playbook=self.webpackChunkmas_playbook||[]).push([[843],{3624:function(e,t,a){a.d(t,{Z:function(){return w}});var l=a(7294),n=a(8650),r=a.n(n),o=a(1597),i=a(811),s=a(87),c=a(5900),m=a.n(c),u=function(e){var t,a=e.title,n=e.theme,r=e.tabs,o=void 0===r?[]:r;return l.createElement("div",{className:m()("PageHeader-module--page-header--NqfPe",(t={},t["PageHeader-module--with-tabs--vbQ-W"]=o.length,t["PageHeader-module--dark-mode--WCeH8"]="dark"===n,t))},l.createElement("div",{className:"bx--grid"},l.createElement("div",{className:"bx--row"},l.createElement("div",{className:"bx--col-lg-12"},l.createElement("h1",{id:"page-title",className:"PageHeader-module--text--Er2EO"},a)))))},p=function(e){var t=e.relativePagePath,a=e.repository,n=(0,o.useStaticQuery)("1364590287").site.siteMetadata.repository,r=a||n,i=r.baseUrl,s=r.subDirectory,c=i+"/edit/"+r.branch+s+"/src/pages"+t;return i?l.createElement("div",{className:"bx--row EditLink-module--row--BEmSX"},l.createElement("div",{className:"bx--col"},l.createElement("a",{className:"EditLink-module--link--IDrl1",href:c},"Edit this page on GitHub"))):null},d=a(4703),h=a(1721),g=function(e){function t(){return e.apply(this,arguments)||this}return(0,h.Z)(t,e),t.prototype.render=function(){var e=this.props,t=e.title,a=e.tabs,n=e.slug,i=n.split("/").filter(Boolean).slice(-1)[0],s=a.map((function(e){var t,a=r()(e,{lower:!0,strict:!0}),s=a===i,c=new RegExp(i+"/?(#.*)?$"),u=n.replace(c,a);return l.createElement("li",{key:e,className:m()((t={},t["PageTabs-module--selected-item--aBB0K"]=s,t),"PageTabs-module--list-item--024o6")},l.createElement(o.Link,{className:"PageTabs-module--link--Kz-7R",to:""+u},e))}));return l.createElement("div",{className:"PageTabs-module--tabs-container--Cdfzw"},l.createElement("div",{className:"bx--grid"},l.createElement("div",{className:"bx--row"},l.createElement("div",{className:"bx--col-lg-12 bx--col-no-gutter"},l.createElement("nav",{"aria-label":t},l.createElement("ul",{className:"PageTabs-module--list--xLqxG"},s))))))},t}(l.Component),b=g,k=a(7296),f=a(5387),E=a(3732),v=function(e){var t=e.date,a=new Date(t);return t?l.createElement(E.X2,{className:"last-modified-date-module--row--XJoYQ"},l.createElement(E.sg,null,l.createElement("div",{className:"last-modified-date-module--text--ogPQF"},"Page last updated: ",a.toLocaleDateString("en-GB",{day:"2-digit",year:"numeric",month:"long"})))):null},w=function(e){var t=e.pageContext,a=e.children,n=e.location,c=e.Title,m=t.frontmatter,h=void 0===m?{}:m,g=t.relativePagePath,E=t.titleType,w=h.tabs,y=h.title,x=h.theme,N=h.description,P=h.keywords,B=h.date,T=(0,f.Z)().interiorTheme,C=(0,o.useStaticQuery)("2456312558").site.pathPrefix,M=C?n.pathname.replace(C,""):n.pathname,Z=w?M.split("/").filter(Boolean).slice(-1)[0]||r()(w[0],{lower:!0}):"",L=x||T;return l.createElement(s.Z,{tabs:w,homepage:!1,theme:L,pageTitle:y,pageDescription:N,pageKeywords:P,titleType:E},l.createElement(u,{title:c?l.createElement(c,null):y,label:"label",tabs:w,theme:L}),w&&l.createElement(b,{title:y,slug:M,tabs:w,currentTab:Z}),l.createElement(k.Z,{padded:!0},a,l.createElement(p,{relativePagePath:g}),l.createElement(v,{date:B})),l.createElement(d.Z,{pageContext:t,location:n,slug:M,tabs:w,currentTab:Z}),l.createElement(i.Z,null))}},1293:function(e,t,a){a.r(t),a.d(t,{_frontmatter:function(){return i},default:function(){return m}});var l=a(3366),n=(a(7294),a(4983)),r=a(3624),o=["components"],i={},s={_frontmatter:i},c=r.Z;function m(e){var t=e.components,a=(0,l.Z)(e,o);return(0,n.kt)(c,Object.assign({},s,a,{components:t,mdxType:"MDXLayout"}),(0,n.kt)("h2",null,"About this task"),(0,n.kt)("p",null,"By default, any hyperlink will open in the in-app browser of the application in Maximo Mobile. So this instructs how to open the link in the user’s default browser application."),(0,n.kt)("h2",null,"Procedure"),(0,n.kt)("h3",null,"Step 1: Create a link by declaring link element."),(0,n.kt)("pre",null,(0,n.kt)("code",{parentName:"pre",className:"language-xml"},' \n')),(0,n.kt)("h3",null,"Step 2: Import the Browser module in AppCustomizations.js file."),(0,n.kt)("pre",null,(0,n.kt)("code",{parentName:"pre",className:"language-js"},"import {Browser} from '@maximo/maximo-js-api';\n")),(0,n.kt)("h3",null,"Step 3: Create the on click method to hook the logic that opens the extenal link in AppCustomizations.js file."),(0,n.kt)("pre",null,(0,n.kt)("code",{parentName:"pre",className:"language-js"},' openIBM(){\n\n let url="https://www.ibm.com/"\n if(this.app.device.isMaximoMobile) {\n try{\n window.cordova.InAppBrowser.open(url, "_system", \'location=yes\');\n } catch(error) {\n Browser.get().openURL(url);\n }\n } else{\n Browser.get().openURL(url);\n }\n }\n')))}m.isMDXComponent=!0}}]); +//# sourceMappingURL=component---src-pages-complex-external-links-mdx-ffcfae4df64cb87be5bf.js.map \ No newline at end of file diff --git a/component---src-pages-complex-external-links-mdx-ffcfae4df64cb87be5bf.js.map b/component---src-pages-complex-external-links-mdx-ffcfae4df64cb87be5bf.js.map new file mode 100644 index 0000000..1e0b808 --- /dev/null +++ b/component---src-pages-complex-external-links-mdx-ffcfae4df64cb87be5bf.js.map @@ -0,0 +1 @@ +{"version":3,"file":"component---src-pages-complex-external-links-mdx-ffcfae4df64cb87be5bf.js","mappings":"gOAEA,ECGmB,SAAC,GAAD,MAAGA,EAAH,EAAGA,MAAOC,EAAV,EAAUA,MAAV,IAAiBC,KAAAA,OAAjB,MAAwB,GAAxB,SACjB,uBACEC,UAAWC,ICHS,yCDGP,OCDK,uCDEGF,EAAKG,OADb,ECJK,uCDMa,SAAVJ,EAFR,KAIb,uBAAKE,UAAU,YACb,uBAAKA,UAAU,WACb,uBAAKA,UAAU,iBACb,sBAAIG,GAAG,aAAaH,UCTZ,kCDULH,MAVM,EEHnB,ECIiB,SAAC,GAAsD,IAApDO,EAAmD,EAAnDA,iBAA8BC,EAAqB,EAAjCC,WAGhBA,GAEhBC,EAAAA,EAAAA,gBAAe,cAHjBC,KACEC,aAAgBH,WAgBpB,EAA0CD,GAAkBC,EAApDI,EAAR,EAAQA,QAASC,EAAjB,EAAiBA,aAEXC,EAAUF,EAAN,SAFV,EAA+BG,OAEUF,EAA/B,aAAwDP,EAElE,OAAOM,EACL,uBAAKV,UAAS,uCACZ,uBAAKA,UAAU,WACb,qBAAGA,UC7BO,+BD6BUY,KAAMA,GAA1B,8BAKF,IACL,E,oBExBoBE,EAAAA,SAAAA,GAAAA,SAAAA,IAAAA,OAAAA,EAAAA,MAAAA,KAAAA,YAAAA,IAAAA,CAkClB,OAlCkBA,EAAAA,EAAAA,GAAAA,EAAAA,GAAAA,EAAAA,UACnBC,OAAA,WACE,MAA8BC,KAAKC,MAA3BpB,EAAR,EAAQA,MAAOE,EAAf,EAAeA,KAAMmB,EAArB,EAAqBA,KACfC,EAAaD,EAAKE,MAAM,KAAKC,OAAOC,SAASC,OAAO,GAAG,GAEvDC,EAAWzB,EAAK0B,KAAI,SAACC,GAAS,IAAD,EAC3BC,EAAeC,IAAQF,EAAK,CAAEG,OAAO,EAAMC,QAAQ,IACnDC,EAAWJ,IAAiBR,EAG5Ba,EAAkB,IAAIC,OAAUd,EAAd,aAClBP,EAAOM,EAAKgB,QAAQF,EAAiBL,GAC3C,OACE,sBAAIQ,IAAKT,EAAK1B,UAAWC,KAAE,OCrBT,yCDqB4B8B,EAAnB,GCtBb,sCDuBZ,gBAAC,EAAAK,KAAD,CAAMpC,UCzBE,+BDyBeqC,GAAE,GAAKzB,GAC3Bc,GAIR,IAED,OACE,uBAAK1B,UC7BgB,0CD8BnB,uBAAKA,UAAU,YACb,uBAAKA,UAAU,WACb,uBAAKA,UAAU,mCACb,uBAAK,aAAYH,GACf,sBAAIG,UCrCF,gCDqCoBwB,OAOnC,IAlCkBV,CAAiBwB,EAAAA,WEZtC,I,8BCAA,ECEyB,SAAC,GAAc,IAAZC,EAAW,EAAXA,KAOpBC,EAAe,IAAIC,KAAKF,GAE9B,OAAOA,EACL,gBAAC,KAAD,CAAKvC,UCXQ,yCDYX,gBAAC,KAAD,KACE,uBAAKA,UCZK,0CDYV,sBACsBwC,EAAaE,mBAAmB,QAZ5C,CACdC,IAAK,UACLC,KAAM,UACNC,MAAO,YAcL,IACL,EEwED,EAjFgB,SAAC,GAAgD,IAA9CC,EAA6C,EAA7CA,YAAaC,EAAgC,EAAhCA,SAAUC,EAAsB,EAAtBA,SAAUC,EAAY,EAAZA,MAClD,EAA0DH,EAAlDI,YAAAA,OAAR,MAAsB,CAAC,EAAvB,EAA0B9C,EAAgC0C,EAAhC1C,iBAAkB+C,EAAcL,EAAdK,UAE1CpD,EAMEmD,EANFnD,KACAF,EAKEqD,EALFrD,MACOuD,EAILF,EAJFpD,MACAuD,EAGEH,EAHFG,YACAC,EAEEJ,EAFFI,SACAf,EACEW,EADFX,KAGMgB,GAAkBC,EAAAA,EAAAA,KAAlBD,cAIEE,GACNlD,EAAAA,EAAAA,gBAAe,cADjBC,KAAQiD,WAUJvC,EAAOuC,EACTT,EAASU,SAASxB,QAAQuB,EAAY,IACtCT,EAASU,SAUPvC,EAPCpB,EAEHmB,EAAKE,MAAM,KAAKC,OAAOC,SAASC,OAAO,GAAG,IAC1CK,IAAQ7B,EAAK,GAAI,CAAE8B,OAAO,IAHV,GASd/B,EAAQsD,GAAoBG,EAElC,OACE,gBAACI,EAAA,EAAD,CACE5D,KAAMA,EACN6D,UAAU,EACV9D,MAAOA,EACP+D,UAAWhE,EACXiE,gBAAiBT,EACjBU,aAAcT,EACdH,UAAWA,GACX,gBAAC,EAAD,CACEtD,MAAOoD,EAAQ,gBAACA,EAAD,MAAYpD,EAC3BmE,MAAM,QACNjE,KAAMA,EACND,MAAOA,IAERC,GACC,gBAAC,EAAD,CACEF,MAAOA,EACPqB,KAAMA,EACNnB,KAAMA,EACNoB,WAAYA,IAGhB,gBAAC8C,EAAA,EAAD,CAAMC,QAAM,GACTnB,EACD,gBAAC,EAAD,CAAU3C,iBAAkBA,IAC5B,gBAAC,EAAD,CAAkBmC,KAAMA,KAE1B,gBAAC4B,EAAA,EAAD,CACErB,YAAaA,EACbE,SAAUA,EACV9B,KAAMA,EACNnB,KAAMA,EACNoB,WAAYA,IAEd,gBAACiD,EAAA,EAAD,MAGL,C,mKCrFYC,EAAe,CAAC,EACvBC,EAAc,CAClBD,aAAAA,GAEIE,EAAYC,EAAAA,EACH,SAASC,EAAT,GAGZ,IAFDC,EAEC,EAFDA,WACGzD,GACF,YACD,OAAO,QAACsD,EAAD,iBAAeD,EAAiBrD,EAAhC,CAAuCyD,WAAYA,EAAYC,QAAQ,eAG5E,sCACA,sMACA,gCACA,uEACA,oBAAK,gBAAMC,WAAW,MAClB,UAAa,gBADZ,0DAIL,sFACA,oBAAK,gBAAMA,WAAW,MAClB,UAAa,eADZ,sDAIL,qIACA,oBAAK,gBAAMA,WAAW,MAClB,UAAa,eADZ,+TAkBR,CAEDH,EAAWI,gBAAiB,C","sources":["webpack://mas-playbook/./node_modules/gatsby-theme-carbon/src/components/PageHeader/index.js","webpack://mas-playbook/./node_modules/gatsby-theme-carbon/src/components/PageHeader/PageHeader.js","webpack://mas-playbook/./node_modules/gatsby-theme-carbon/src/components/PageHeader/PageHeader.module.scss","webpack://mas-playbook/./node_modules/gatsby-theme-carbon/src/components/EditLink/index.js","webpack://mas-playbook/./node_modules/gatsby-theme-carbon/src/components/EditLink/EditLink.js","webpack://mas-playbook/./node_modules/gatsby-theme-carbon/src/components/EditLink/EditLink.module.scss","webpack://mas-playbook/./node_modules/gatsby-theme-carbon/src/components/PageTabs/PageTabs.js","webpack://mas-playbook/./node_modules/gatsby-theme-carbon/src/components/PageTabs/PageTabs.module.scss","webpack://mas-playbook/./node_modules/gatsby-theme-carbon/src/components/PageTabs/index.js","webpack://mas-playbook/./node_modules/gatsby-theme-carbon/src/components/LastModifiedDate/index.js","webpack://mas-playbook/./node_modules/gatsby-theme-carbon/src/components/LastModifiedDate/LastModifiedDate.js","webpack://mas-playbook/./node_modules/gatsby-theme-carbon/src/components/LastModifiedDate/last-modified-date.module.scss","webpack://mas-playbook/./node_modules/gatsby-theme-carbon/src/templates/Default.js","webpack://mas-playbook/./src/pages/complex/external-links.mdx"],"sourcesContent":["import PageHeader from './PageHeader';\n\nexport default PageHeader;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport cx from 'classnames';\nimport * as styles from './PageHeader.module.scss';\n\nconst PageHeader = ({ title, theme, tabs = [] }) => (\n \n
\n
\n
\n

\n {title}\n

\n
\n
\n
\n \n);\n\nPageHeader.propTypes = {\n /**\n * Specify the title for the page\n */\n title: PropTypes.node,\n};\n\nexport default PageHeader;\n","// extracted by mini-css-extract-plugin\nexport var bxTextTruncateEnd = \"PageHeader-module--bx--text-truncate--end--b8JtW\";\nexport var bxTextTruncateFront = \"PageHeader-module--bx--text-truncate--front--WwZFh\";\nexport var darkMode = \"PageHeader-module--dark-mode--WCeH8\";\nexport var pageHeader = \"PageHeader-module--page-header--NqfPe\";\nexport var text = \"PageHeader-module--text--Er2EO\";\nexport var withTabs = \"PageHeader-module--with-tabs--vbQ-W\";","import EditLink from './EditLink';\n\nexport default EditLink;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { graphql, useStaticQuery } from 'gatsby';\n\nimport { link, row } from './EditLink.module.scss';\n\nconst EditLink = ({ relativePagePath, repository: repositoryProp }) => {\n const {\n site: {\n siteMetadata: { repository },\n },\n } = useStaticQuery(graphql`\n query REPOSITORY_QUERY {\n site {\n siteMetadata {\n repository {\n baseUrl\n subDirectory\n branch\n }\n }\n }\n }\n `);\n\n const { baseUrl, subDirectory, branch } = repositoryProp || repository;\n\n const href = `${baseUrl}/edit/${branch}${subDirectory}/src/pages${relativePagePath}`;\n\n return baseUrl ? (\n \n ) : null;\n};\n\nEditLink.propTypes = {\n repository: PropTypes.shape({\n baseUrl: PropTypes.string,\n subDirectory: PropTypes.string,\n branch: PropTypes.string,\n }),\n relativePagePath: PropTypes.string,\n};\n\nexport default EditLink;\n","// extracted by mini-css-extract-plugin\nexport var bxTextTruncateEnd = \"EditLink-module--bx--text-truncate--end--uI0cF\";\nexport var bxTextTruncateFront = \"EditLink-module--bx--text-truncate--front--HxjcS\";\nexport var link = \"EditLink-module--link--IDrl1\";\nexport var row = \"EditLink-module--row--BEmSX\";","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { Link } from 'gatsby';\nimport slugify from 'slugify';\nimport cx from 'classnames';\n\nimport {\n tabsContainer,\n list,\n selectedItem,\n listItem,\n link,\n} from './PageTabs.module.scss';\n\nexport default class PageTabs extends React.Component {\n render() {\n const { title, tabs, slug } = this.props;\n const currentTab = slug.split('/').filter(Boolean).slice(-1)[0];\n\n const pageTabs = tabs.map((tab) => {\n const slugifiedTab = slugify(tab, { lower: true, strict: true });\n const selected = slugifiedTab === currentTab;\n // matches with or without trailing slash: /?\n // matches with or without hash link: (#.*)?\n const currentTabRegex = new RegExp(`${currentTab}/?(#.*)?$`);\n const href = slug.replace(currentTabRegex, slugifiedTab);\n return (\n
  • \n \n {tab}\n \n
  • \n );\n });\n\n return (\n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n );\n }\n}\n\nPageTabs.propTypes = {\n tabs: PropTypes.array,\n slug: PropTypes.string,\n};\n","// extracted by mini-css-extract-plugin\nexport var bxTextTruncateEnd = \"PageTabs-module--bx--text-truncate--end--OC59x\";\nexport var bxTextTruncateFront = \"PageTabs-module--bx--text-truncate--front--5I6-L\";\nexport var link = \"PageTabs-module--link--Kz-7R\";\nexport var list = \"PageTabs-module--list--xLqxG\";\nexport var listItem = \"PageTabs-module--list-item--024o6\";\nexport var selectedItem = \"PageTabs-module--selected-item--aBB0K\";\nexport var tabsContainer = \"PageTabs-module--tabs-container--Cdfzw\";","import PageTabs from './PageTabs';\n\nexport default PageTabs;\n","import LastModifiedDate from './LastModifiedDate';\n\nexport default LastModifiedDate;\n","import React from 'react';\nimport { Row, Column } from '../Grid';\nimport * as styles from './last-modified-date.module.scss';\n\nconst LastModifiedDate = ({ date }) => {\n const options = {\n day: '2-digit',\n year: 'numeric',\n month: 'long',\n };\n\n const lastModified = new Date(date);\n\n return date ? (\n \n \n
    \n Page last updated: {lastModified.toLocaleDateString('en-GB', options)}\n {/* // https://www-03preprod.ibm.com/support/knowledgecenter/ibm_style/dates-and-times.html */}\n
    \n
    \n
    \n ) : null;\n};\nexport default LastModifiedDate;\n","// extracted by mini-css-extract-plugin\nexport var bxTextTruncateEnd = \"last-modified-date-module--bx--text-truncate--end--QgCc7\";\nexport var bxTextTruncateFront = \"last-modified-date-module--bx--text-truncate--front--kel8a\";\nexport var row = \"last-modified-date-module--row--XJoYQ\";\nexport var text = \"last-modified-date-module--text--ogPQF\";","import React from 'react';\nimport slugify from 'slugify';\nimport { useStaticQuery, graphql } from 'gatsby';\n\nimport Utils from '../components/Utils';\nimport Layout from '../components/Layout';\nimport PageHeader from '../components/PageHeader';\nimport EditLink from '../components/EditLink';\nimport NextPrevious from '../components/NextPrevious';\nimport PageTabs from '../components/PageTabs';\nimport Main from '../components/Main';\nimport useMetadata from '../util/hooks/useMetadata';\nimport LastModifiedDate from '../components/LastModifiedDate';\n\nconst Default = ({ pageContext, children, location, Title }) => {\n const { frontmatter = {}, relativePagePath, titleType } = pageContext;\n const {\n tabs,\n title,\n theme: frontmatterTheme,\n description,\n keywords,\n date,\n } = frontmatter;\n\n const { interiorTheme } = useMetadata();\n\n // get the path prefix if it exists\n const {\n site: { pathPrefix },\n } = useStaticQuery(graphql`\n query PATH_PREFIX_QUERY {\n site {\n pathPrefix\n }\n }\n `);\n\n // let gatsby handle prefixing\n const slug = pathPrefix\n ? location.pathname.replace(pathPrefix, '')\n : location.pathname;\n\n const getCurrentTab = () => {\n if (!tabs) return '';\n return (\n slug.split('/').filter(Boolean).slice(-1)[0] ||\n slugify(tabs[0], { lower: true })\n );\n };\n\n const currentTab = getCurrentTab();\n\n const theme = frontmatterTheme || interiorTheme;\n\n return (\n \n : title}\n label=\"label\"\n tabs={tabs}\n theme={theme}\n />\n {tabs && (\n \n )}\n
    \n {children}\n \n \n
    \n \n \n \n );\n};\n\nexport default Default;\n","import * as React from 'react'\n /* @jsx mdx */\nimport { mdx } from '@mdx-js/react';\n/* @jsxRuntime classic */\n\n/* @jsx mdx */\n\nimport DefaultLayout from \"/home/travis/build/maximo-app-framework/configuration-practices-documentation/node_modules/gatsby-theme-carbon/src/templates/Default.js\";\nexport const _frontmatter = {};\nconst layoutProps = {\n _frontmatter\n};\nconst MDXLayout = DefaultLayout;\nexport default function MDXContent({\n components,\n ...props\n}) {\n return \n\n\n

    {`About this task`}

    \n

    {`By default, any hyperlink will open in the in-app browser of the application in Maximo Mobile. So this instructs how to open the link in the user’s default browser application.`}

    \n

    {`Procedure`}

    \n

    {`Step 1: Create a link by declaring link element.`}

    \n
    {`  \n`}
    \n

    {`Step 2: Import the Browser module in AppCustomizations.js file.`}

    \n
    {`import {Browser} from '@maximo/maximo-js-api';\n`}
    \n

    {`Step 3: Create the on click method to hook the logic that opens the extenal link in AppCustomizations.js file.`}

    \n
    {`  openIBM(){\n\n    let url=\"https://www.ibm.com/\"\n    if(this.app.device.isMaximoMobile) {\n      try{\n        window.cordova.InAppBrowser.open(url, \"_system\", 'location=yes');\n      } catch(error) {\n        Browser.get().openURL(url);\n      }\n    } else{\n       Browser.get().openURL(url);\n    }\n  }\n`}
    \n\n
    ;\n}\n;\nMDXContent.isMDXComponent = true;\n "],"names":["title","theme","tabs","className","cx","length","id","relativePagePath","repositoryProp","repository","useStaticQuery","site","siteMetadata","baseUrl","subDirectory","href","branch","PageTabs","render","this","props","slug","currentTab","split","filter","Boolean","slice","pageTabs","map","tab","slugifiedTab","slugify","lower","strict","selected","currentTabRegex","RegExp","replace","key","Link","to","React","date","lastModified","Date","toLocaleDateString","day","year","month","pageContext","children","location","Title","frontmatter","titleType","frontmatterTheme","description","keywords","interiorTheme","useMetadata","pathPrefix","pathname","Layout","homepage","pageTitle","pageDescription","pageKeywords","label","Main","padded","NextPrevious","Utils","_frontmatter","layoutProps","MDXLayout","DefaultLayout","MDXContent","components","mdxType","parentName","isMDXComponent"],"sourceRoot":""} \ No newline at end of file diff --git a/component---src-pages-complex-reuse-page-datasource-mdx-456a41eceb2201fdaf51.js b/component---src-pages-complex-reuse-page-datasource-mdx-456a41eceb2201fdaf51.js new file mode 100644 index 0000000..ef6e74d --- /dev/null +++ b/component---src-pages-complex-reuse-page-datasource-mdx-456a41eceb2201fdaf51.js @@ -0,0 +1,2 @@ +"use strict";(self.webpackChunkmas_playbook=self.webpackChunkmas_playbook||[]).push([[48],{3624:function(e,t,a){a.d(t,{Z:function(){return w}});var n=a(7294),r=a(8650),i=a.n(r),l=a(1597),o=a(811),s=a(87),c=a(5900),d=a.n(c),u=function(e){var t,a=e.title,r=e.theme,i=e.tabs,l=void 0===i?[]:i;return n.createElement("div",{className:d()("PageHeader-module--page-header--NqfPe",(t={},t["PageHeader-module--with-tabs--vbQ-W"]=l.length,t["PageHeader-module--dark-mode--WCeH8"]="dark"===r,t))},n.createElement("div",{className:"bx--grid"},n.createElement("div",{className:"bx--row"},n.createElement("div",{className:"bx--col-lg-12"},n.createElement("h1",{id:"page-title",className:"PageHeader-module--text--Er2EO"},a)))))},m=function(e){var t=e.relativePagePath,a=e.repository,r=(0,l.useStaticQuery)("1364590287").site.siteMetadata.repository,i=a||r,o=i.baseUrl,s=i.subDirectory,c=o+"/edit/"+i.branch+s+"/src/pages"+t;return o?n.createElement("div",{className:"bx--row EditLink-module--row--BEmSX"},n.createElement("div",{className:"bx--col"},n.createElement("a",{className:"EditLink-module--link--IDrl1",href:c},"Edit this page on GitHub"))):null},p=a(4703),h=a(1721),g=function(e){function t(){return e.apply(this,arguments)||this}return(0,h.Z)(t,e),t.prototype.render=function(){var e=this.props,t=e.title,a=e.tabs,r=e.slug,o=r.split("/").filter(Boolean).slice(-1)[0],s=a.map((function(e){var t,a=i()(e,{lower:!0,strict:!0}),s=a===o,c=new RegExp(o+"/?(#.*)?$"),u=r.replace(c,a);return n.createElement("li",{key:e,className:d()((t={},t["PageTabs-module--selected-item--aBB0K"]=s,t),"PageTabs-module--list-item--024o6")},n.createElement(l.Link,{className:"PageTabs-module--link--Kz-7R",to:""+u},e))}));return n.createElement("div",{className:"PageTabs-module--tabs-container--Cdfzw"},n.createElement("div",{className:"bx--grid"},n.createElement("div",{className:"bx--row"},n.createElement("div",{className:"bx--col-lg-12 bx--col-no-gutter"},n.createElement("nav",{"aria-label":t},n.createElement("ul",{className:"PageTabs-module--list--xLqxG"},s))))))},t}(n.Component),b=g,f=a(7296),E=a(5387),v=a(3732),k=function(e){var t=e.date,a=new Date(t);return t?n.createElement(v.X2,{className:"last-modified-date-module--row--XJoYQ"},n.createElement(v.sg,null,n.createElement("div",{className:"last-modified-date-module--text--ogPQF"},"Page last updated: ",a.toLocaleDateString("en-GB",{day:"2-digit",year:"numeric",month:"long"})))):null},w=function(e){var t=e.pageContext,a=e.children,r=e.location,c=e.Title,d=t.frontmatter,h=void 0===d?{}:d,g=t.relativePagePath,v=t.titleType,w=h.tabs,x=h.title,N=h.theme,P=h.description,C=h.keywords,y=h.date,T=(0,E.Z)().interiorTheme,D=(0,l.useStaticQuery)("2456312558").site.pathPrefix,W=D?r.pathname.replace(D,""):r.pathname,O=w?W.split("/").filter(Boolean).slice(-1)[0]||i()(w[0],{lower:!0}):"",Z=N||T;return n.createElement(s.Z,{tabs:w,homepage:!1,theme:Z,pageTitle:x,pageDescription:P,pageKeywords:C,titleType:v},n.createElement(u,{title:c?n.createElement(c,null):x,label:"label",tabs:w,theme:Z}),w&&n.createElement(b,{title:x,slug:W,tabs:w,currentTab:O}),n.createElement(f.Z,{padded:!0},a,n.createElement(m,{relativePagePath:g}),n.createElement(k,{date:y})),n.createElement(p.Z,{pageContext:t,location:r,slug:W,tabs:w,currentTab:O}),n.createElement(o.Z,null))}},5215:function(e,t,a){a.r(t),a.d(t,{_frontmatter:function(){return o},default:function(){return d}});var n=a(3366),r=(a(7294),a(4983)),i=a(3624),l=["components"],o={},s={_frontmatter:o},c=i.Z;function d(e){var t=e.components,a=(0,n.Z)(e,l);return(0,r.kt)(c,Object.assign({},s,a,{components:t,mdxType:"MDXLayout"}),(0,r.kt)("h2",null,"About this task"),(0,r.kt)("p",null,"This is an sample to show how to use an existing datasource’s controller from a page and reuse in another page. In thise case there is a existing WorkOrderCreateController to be reused on a new Quick Reporting Page for Techmobile.\nIt is tempting to think on moving out the dsCreateWO datasource of the page and up to the application. The problem with moving the datasource and re-using the WorkOrderCreateController is that the controller code has references to dsCreateWO that require it to be in the page.\nInstead, the developers should have used this.app.findDatasource(‘dsCreateWo’); to find the datasource.\nTo get around this problem without requiring a change to the Techmobile application, the AppCustomizations.js can trap the pageInitialized call for the new Quick Reporting page, and set the existing datasource as part of the new page."),(0,r.kt)("h2",null,"Procedure"),(0,r.kt)("h3",null,"Step 1: In pageInitialized event, check for the right page, ensure the datasource does not exist in the page, fetch its reference using ",(0,r.kt)("inlineCode",{parentName:"h3"},"this.app.findDatasource")," and set it to the new page."),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-js"},"pageInitialized(page) {\n if (page.name === 'quickReporting') {\n if (page.datsources['dsCreateWO'] === undefined) {\n page.datasource['dsCreateWO'] = this.app.findDatasource('dsCreateWO');\n }\n }\n}\n")))}d.isMDXComponent=!0}}]); +//# sourceMappingURL=component---src-pages-complex-reuse-page-datasource-mdx-456a41eceb2201fdaf51.js.map \ No newline at end of file diff --git a/component---src-pages-complex-reuse-page-datasource-mdx-456a41eceb2201fdaf51.js.map b/component---src-pages-complex-reuse-page-datasource-mdx-456a41eceb2201fdaf51.js.map new file mode 100644 index 0000000..0b44dac --- /dev/null +++ b/component---src-pages-complex-reuse-page-datasource-mdx-456a41eceb2201fdaf51.js.map @@ -0,0 +1 @@ +{"version":3,"file":"component---src-pages-complex-reuse-page-datasource-mdx-456a41eceb2201fdaf51.js","mappings":"+NAEA,ECGmB,SAAC,GAAD,MAAGA,EAAH,EAAGA,MAAOC,EAAV,EAAUA,MAAV,IAAiBC,KAAAA,OAAjB,MAAwB,GAAxB,SACjB,uBACEC,UAAWC,ICHS,yCDGP,OCDK,uCDEGF,EAAKG,OADb,ECJK,uCDMa,SAAVJ,EAFR,KAIb,uBAAKE,UAAU,YACb,uBAAKA,UAAU,WACb,uBAAKA,UAAU,iBACb,sBAAIG,GAAG,aAAaH,UCTZ,kCDULH,MAVM,EEHnB,ECIiB,SAAC,GAAsD,IAApDO,EAAmD,EAAnDA,iBAA8BC,EAAqB,EAAjCC,WAGhBA,GAEhBC,EAAAA,EAAAA,gBAAe,cAHjBC,KACEC,aAAgBH,WAgBpB,EAA0CD,GAAkBC,EAApDI,EAAR,EAAQA,QAASC,EAAjB,EAAiBA,aAEXC,EAAUF,EAAN,SAFV,EAA+BG,OAEUF,EAA/B,aAAwDP,EAElE,OAAOM,EACL,uBAAKV,UAAS,uCACZ,uBAAKA,UAAU,WACb,qBAAGA,UC7BO,+BD6BUY,KAAMA,GAA1B,8BAKF,IACL,E,oBExBoBE,EAAAA,SAAAA,GAAAA,SAAAA,IAAAA,OAAAA,EAAAA,MAAAA,KAAAA,YAAAA,IAAAA,CAkClB,OAlCkBA,EAAAA,EAAAA,GAAAA,EAAAA,GAAAA,EAAAA,UACnBC,OAAA,WACE,MAA8BC,KAAKC,MAA3BpB,EAAR,EAAQA,MAAOE,EAAf,EAAeA,KAAMmB,EAArB,EAAqBA,KACfC,EAAaD,EAAKE,MAAM,KAAKC,OAAOC,SAASC,OAAO,GAAG,GAEvDC,EAAWzB,EAAK0B,KAAI,SAACC,GAAS,IAAD,EAC3BC,EAAeC,IAAQF,EAAK,CAAEG,OAAO,EAAMC,QAAQ,IACnDC,EAAWJ,IAAiBR,EAG5Ba,EAAkB,IAAIC,OAAUd,EAAd,aAClBP,EAAOM,EAAKgB,QAAQF,EAAiBL,GAC3C,OACE,sBAAIQ,IAAKT,EAAK1B,UAAWC,KAAE,OCrBT,yCDqB4B8B,EAAnB,GCtBb,sCDuBZ,gBAAC,EAAAK,KAAD,CAAMpC,UCzBE,+BDyBeqC,GAAE,GAAKzB,GAC3Bc,GAIR,IAED,OACE,uBAAK1B,UC7BgB,0CD8BnB,uBAAKA,UAAU,YACb,uBAAKA,UAAU,WACb,uBAAKA,UAAU,mCACb,uBAAK,aAAYH,GACf,sBAAIG,UCrCF,gCDqCoBwB,OAOnC,IAlCkBV,CAAiBwB,EAAAA,WEZtC,I,8BCAA,ECEyB,SAAC,GAAc,IAAZC,EAAW,EAAXA,KAOpBC,EAAe,IAAIC,KAAKF,GAE9B,OAAOA,EACL,gBAAC,KAAD,CAAKvC,UCXQ,yCDYX,gBAAC,KAAD,KACE,uBAAKA,UCZK,0CDYV,sBACsBwC,EAAaE,mBAAmB,QAZ5C,CACdC,IAAK,UACLC,KAAM,UACNC,MAAO,YAcL,IACL,EEwED,EAjFgB,SAAC,GAAgD,IAA9CC,EAA6C,EAA7CA,YAAaC,EAAgC,EAAhCA,SAAUC,EAAsB,EAAtBA,SAAUC,EAAY,EAAZA,MAClD,EAA0DH,EAAlDI,YAAAA,OAAR,MAAsB,CAAC,EAAvB,EAA0B9C,EAAgC0C,EAAhC1C,iBAAkB+C,EAAcL,EAAdK,UAE1CpD,EAMEmD,EANFnD,KACAF,EAKEqD,EALFrD,MACOuD,EAILF,EAJFpD,MACAuD,EAGEH,EAHFG,YACAC,EAEEJ,EAFFI,SACAf,EACEW,EADFX,KAGMgB,GAAkBC,EAAAA,EAAAA,KAAlBD,cAIEE,GACNlD,EAAAA,EAAAA,gBAAe,cADjBC,KAAQiD,WAUJvC,EAAOuC,EACTT,EAASU,SAASxB,QAAQuB,EAAY,IACtCT,EAASU,SAUPvC,EAPCpB,EAEHmB,EAAKE,MAAM,KAAKC,OAAOC,SAASC,OAAO,GAAG,IAC1CK,IAAQ7B,EAAK,GAAI,CAAE8B,OAAO,IAHV,GASd/B,EAAQsD,GAAoBG,EAElC,OACE,gBAACI,EAAA,EAAD,CACE5D,KAAMA,EACN6D,UAAU,EACV9D,MAAOA,EACP+D,UAAWhE,EACXiE,gBAAiBT,EACjBU,aAAcT,EACdH,UAAWA,GACX,gBAAC,EAAD,CACEtD,MAAOoD,EAAQ,gBAACA,EAAD,MAAYpD,EAC3BmE,MAAM,QACNjE,KAAMA,EACND,MAAOA,IAERC,GACC,gBAAC,EAAD,CACEF,MAAOA,EACPqB,KAAMA,EACNnB,KAAMA,EACNoB,WAAYA,IAGhB,gBAAC8C,EAAA,EAAD,CAAMC,QAAM,GACTnB,EACD,gBAAC,EAAD,CAAU3C,iBAAkBA,IAC5B,gBAAC,EAAD,CAAkBmC,KAAMA,KAE1B,gBAAC4B,EAAA,EAAD,CACErB,YAAaA,EACbE,SAAUA,EACV9B,KAAMA,EACNnB,KAAMA,EACNoB,WAAYA,IAEd,gBAACiD,EAAA,EAAD,MAGL,C,mKCrFYC,EAAe,CAAC,EACvBC,EAAc,CAClBD,aAAAA,GAEIE,EAAYC,EAAAA,EACH,SAASC,EAAT,GAGZ,IAFDC,EAEC,EAFDA,WACGzD,GACF,YACD,OAAO,QAACsD,EAAD,iBAAeD,EAAiBrD,EAAhC,CAAuCyD,WAAYA,EAAYC,QAAQ,eAG5E,sCACA,u2BAIA,gCACA,8JAAgJ,sBAAYC,WAAW,MAAvB,2BAAhJ,iCACA,oBAAK,gBAAMA,WAAW,MAClB,UAAa,eADZ,4NAYR,CAEDH,EAAWI,gBAAiB,C","sources":["webpack://mas-playbook/./node_modules/gatsby-theme-carbon/src/components/PageHeader/index.js","webpack://mas-playbook/./node_modules/gatsby-theme-carbon/src/components/PageHeader/PageHeader.js","webpack://mas-playbook/./node_modules/gatsby-theme-carbon/src/components/PageHeader/PageHeader.module.scss","webpack://mas-playbook/./node_modules/gatsby-theme-carbon/src/components/EditLink/index.js","webpack://mas-playbook/./node_modules/gatsby-theme-carbon/src/components/EditLink/EditLink.js","webpack://mas-playbook/./node_modules/gatsby-theme-carbon/src/components/EditLink/EditLink.module.scss","webpack://mas-playbook/./node_modules/gatsby-theme-carbon/src/components/PageTabs/PageTabs.js","webpack://mas-playbook/./node_modules/gatsby-theme-carbon/src/components/PageTabs/PageTabs.module.scss","webpack://mas-playbook/./node_modules/gatsby-theme-carbon/src/components/PageTabs/index.js","webpack://mas-playbook/./node_modules/gatsby-theme-carbon/src/components/LastModifiedDate/index.js","webpack://mas-playbook/./node_modules/gatsby-theme-carbon/src/components/LastModifiedDate/LastModifiedDate.js","webpack://mas-playbook/./node_modules/gatsby-theme-carbon/src/components/LastModifiedDate/last-modified-date.module.scss","webpack://mas-playbook/./node_modules/gatsby-theme-carbon/src/templates/Default.js","webpack://mas-playbook/./src/pages/complex/reuse-page-datasource.mdx"],"sourcesContent":["import PageHeader from './PageHeader';\n\nexport default PageHeader;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport cx from 'classnames';\nimport * as styles from './PageHeader.module.scss';\n\nconst PageHeader = ({ title, theme, tabs = [] }) => (\n \n
    \n
    \n
    \n

    \n {title}\n

    \n
    \n
    \n
    \n \n);\n\nPageHeader.propTypes = {\n /**\n * Specify the title for the page\n */\n title: PropTypes.node,\n};\n\nexport default PageHeader;\n","// extracted by mini-css-extract-plugin\nexport var bxTextTruncateEnd = \"PageHeader-module--bx--text-truncate--end--b8JtW\";\nexport var bxTextTruncateFront = \"PageHeader-module--bx--text-truncate--front--WwZFh\";\nexport var darkMode = \"PageHeader-module--dark-mode--WCeH8\";\nexport var pageHeader = \"PageHeader-module--page-header--NqfPe\";\nexport var text = \"PageHeader-module--text--Er2EO\";\nexport var withTabs = \"PageHeader-module--with-tabs--vbQ-W\";","import EditLink from './EditLink';\n\nexport default EditLink;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { graphql, useStaticQuery } from 'gatsby';\n\nimport { link, row } from './EditLink.module.scss';\n\nconst EditLink = ({ relativePagePath, repository: repositoryProp }) => {\n const {\n site: {\n siteMetadata: { repository },\n },\n } = useStaticQuery(graphql`\n query REPOSITORY_QUERY {\n site {\n siteMetadata {\n repository {\n baseUrl\n subDirectory\n branch\n }\n }\n }\n }\n `);\n\n const { baseUrl, subDirectory, branch } = repositoryProp || repository;\n\n const href = `${baseUrl}/edit/${branch}${subDirectory}/src/pages${relativePagePath}`;\n\n return baseUrl ? (\n \n ) : null;\n};\n\nEditLink.propTypes = {\n repository: PropTypes.shape({\n baseUrl: PropTypes.string,\n subDirectory: PropTypes.string,\n branch: PropTypes.string,\n }),\n relativePagePath: PropTypes.string,\n};\n\nexport default EditLink;\n","// extracted by mini-css-extract-plugin\nexport var bxTextTruncateEnd = \"EditLink-module--bx--text-truncate--end--uI0cF\";\nexport var bxTextTruncateFront = \"EditLink-module--bx--text-truncate--front--HxjcS\";\nexport var link = \"EditLink-module--link--IDrl1\";\nexport var row = \"EditLink-module--row--BEmSX\";","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { Link } from 'gatsby';\nimport slugify from 'slugify';\nimport cx from 'classnames';\n\nimport {\n tabsContainer,\n list,\n selectedItem,\n listItem,\n link,\n} from './PageTabs.module.scss';\n\nexport default class PageTabs extends React.Component {\n render() {\n const { title, tabs, slug } = this.props;\n const currentTab = slug.split('/').filter(Boolean).slice(-1)[0];\n\n const pageTabs = tabs.map((tab) => {\n const slugifiedTab = slugify(tab, { lower: true, strict: true });\n const selected = slugifiedTab === currentTab;\n // matches with or without trailing slash: /?\n // matches with or without hash link: (#.*)?\n const currentTabRegex = new RegExp(`${currentTab}/?(#.*)?$`);\n const href = slug.replace(currentTabRegex, slugifiedTab);\n return (\n
  • \n \n {tab}\n \n
  • \n );\n });\n\n return (\n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n );\n }\n}\n\nPageTabs.propTypes = {\n tabs: PropTypes.array,\n slug: PropTypes.string,\n};\n","// extracted by mini-css-extract-plugin\nexport var bxTextTruncateEnd = \"PageTabs-module--bx--text-truncate--end--OC59x\";\nexport var bxTextTruncateFront = \"PageTabs-module--bx--text-truncate--front--5I6-L\";\nexport var link = \"PageTabs-module--link--Kz-7R\";\nexport var list = \"PageTabs-module--list--xLqxG\";\nexport var listItem = \"PageTabs-module--list-item--024o6\";\nexport var selectedItem = \"PageTabs-module--selected-item--aBB0K\";\nexport var tabsContainer = \"PageTabs-module--tabs-container--Cdfzw\";","import PageTabs from './PageTabs';\n\nexport default PageTabs;\n","import LastModifiedDate from './LastModifiedDate';\n\nexport default LastModifiedDate;\n","import React from 'react';\nimport { Row, Column } from '../Grid';\nimport * as styles from './last-modified-date.module.scss';\n\nconst LastModifiedDate = ({ date }) => {\n const options = {\n day: '2-digit',\n year: 'numeric',\n month: 'long',\n };\n\n const lastModified = new Date(date);\n\n return date ? (\n \n \n
    \n Page last updated: {lastModified.toLocaleDateString('en-GB', options)}\n {/* // https://www-03preprod.ibm.com/support/knowledgecenter/ibm_style/dates-and-times.html */}\n
    \n
    \n
    \n ) : null;\n};\nexport default LastModifiedDate;\n","// extracted by mini-css-extract-plugin\nexport var bxTextTruncateEnd = \"last-modified-date-module--bx--text-truncate--end--QgCc7\";\nexport var bxTextTruncateFront = \"last-modified-date-module--bx--text-truncate--front--kel8a\";\nexport var row = \"last-modified-date-module--row--XJoYQ\";\nexport var text = \"last-modified-date-module--text--ogPQF\";","import React from 'react';\nimport slugify from 'slugify';\nimport { useStaticQuery, graphql } from 'gatsby';\n\nimport Utils from '../components/Utils';\nimport Layout from '../components/Layout';\nimport PageHeader from '../components/PageHeader';\nimport EditLink from '../components/EditLink';\nimport NextPrevious from '../components/NextPrevious';\nimport PageTabs from '../components/PageTabs';\nimport Main from '../components/Main';\nimport useMetadata from '../util/hooks/useMetadata';\nimport LastModifiedDate from '../components/LastModifiedDate';\n\nconst Default = ({ pageContext, children, location, Title }) => {\n const { frontmatter = {}, relativePagePath, titleType } = pageContext;\n const {\n tabs,\n title,\n theme: frontmatterTheme,\n description,\n keywords,\n date,\n } = frontmatter;\n\n const { interiorTheme } = useMetadata();\n\n // get the path prefix if it exists\n const {\n site: { pathPrefix },\n } = useStaticQuery(graphql`\n query PATH_PREFIX_QUERY {\n site {\n pathPrefix\n }\n }\n `);\n\n // let gatsby handle prefixing\n const slug = pathPrefix\n ? location.pathname.replace(pathPrefix, '')\n : location.pathname;\n\n const getCurrentTab = () => {\n if (!tabs) return '';\n return (\n slug.split('/').filter(Boolean).slice(-1)[0] ||\n slugify(tabs[0], { lower: true })\n );\n };\n\n const currentTab = getCurrentTab();\n\n const theme = frontmatterTheme || interiorTheme;\n\n return (\n \n : title}\n label=\"label\"\n tabs={tabs}\n theme={theme}\n />\n {tabs && (\n \n )}\n
    \n {children}\n \n \n
    \n \n \n \n );\n};\n\nexport default Default;\n","import * as React from 'react'\n /* @jsx mdx */\nimport { mdx } from '@mdx-js/react';\n/* @jsxRuntime classic */\n\n/* @jsx mdx */\n\nimport DefaultLayout from \"/home/travis/build/maximo-app-framework/configuration-practices-documentation/node_modules/gatsby-theme-carbon/src/templates/Default.js\";\nexport const _frontmatter = {};\nconst layoutProps = {\n _frontmatter\n};\nconst MDXLayout = DefaultLayout;\nexport default function MDXContent({\n components,\n ...props\n}) {\n return \n\n\n

    {`About this task`}

    \n

    {`This is an sample to show how to use an existing datasource’s controller from a page and reuse in another page. In thise case there is a existing WorkOrderCreateController to be reused on a new Quick Reporting Page for Techmobile.\nIt is tempting to think on moving out the dsCreateWO datasource of the page and up to the application. The problem with moving the datasource and re-using the WorkOrderCreateController is that the controller code has references to dsCreateWO that require it to be in the page.\nInstead, the developers should have used this.app.findDatasource(‘dsCreateWo’); to find the datasource.\nTo get around this problem without requiring a change to the Techmobile application, the AppCustomizations.js can trap the pageInitialized call for the new Quick Reporting page, and set the existing datasource as part of the new page.`}

    \n

    {`Procedure`}

    \n

    {`Step 1: In pageInitialized event, check for the right page, ensure the datasource does not exist in the page, fetch its reference using `}{`this.app.findDatasource`}{` and set it to the new page.`}

    \n
    {`pageInitialized(page) {\n  if (page.name === 'quickReporting') {\n    if (page.datsources['dsCreateWO'] === undefined) {\n      page.datasource['dsCreateWO'] = this.app.findDatasource('dsCreateWO');\n    }\n  }\n}\n`}
    \n\n
    ;\n}\n;\nMDXContent.isMDXComponent = true;\n "],"names":["title","theme","tabs","className","cx","length","id","relativePagePath","repositoryProp","repository","useStaticQuery","site","siteMetadata","baseUrl","subDirectory","href","branch","PageTabs","render","this","props","slug","currentTab","split","filter","Boolean","slice","pageTabs","map","tab","slugifiedTab","slugify","lower","strict","selected","currentTabRegex","RegExp","replace","key","Link","to","React","date","lastModified","Date","toLocaleDateString","day","year","month","pageContext","children","location","Title","frontmatter","titleType","frontmatterTheme","description","keywords","interiorTheme","useMetadata","pathPrefix","pathname","Layout","homepage","pageTitle","pageDescription","pageKeywords","label","Main","padded","NextPrevious","Utils","_frontmatter","layoutProps","MDXLayout","DefaultLayout","MDXContent","components","mdxType","parentName","isMDXComponent"],"sourceRoot":""} \ No newline at end of file diff --git a/component---src-pages-simple-add-tooltips-mdx-76311cac780e1b36f1da.js b/component---src-pages-simple-add-tooltips-mdx-76311cac780e1b36f1da.js new file mode 100644 index 0000000..989d764 --- /dev/null +++ b/component---src-pages-simple-add-tooltips-mdx-76311cac780e1b36f1da.js @@ -0,0 +1,2 @@ +"use strict";(self.webpackChunkmas_playbook=self.webpackChunkmas_playbook||[]).push([[594],{3624:function(e,t,a){a.d(t,{Z:function(){return y}});var l=a(7294),r=a(8650),n=a.n(r),o=a(1597),i=a(811),s=a(87),c=a(5900),m=a.n(c),u=function(e){var t,a=e.title,r=e.theme,n=e.tabs,o=void 0===n?[]:n;return l.createElement("div",{className:m()("PageHeader-module--page-header--NqfPe",(t={},t["PageHeader-module--with-tabs--vbQ-W"]=o.length,t["PageHeader-module--dark-mode--WCeH8"]="dark"===r,t))},l.createElement("div",{className:"bx--grid"},l.createElement("div",{className:"bx--row"},l.createElement("div",{className:"bx--col-lg-12"},l.createElement("h1",{id:"page-title",className:"PageHeader-module--text--Er2EO"},a)))))},d=function(e){var t=e.relativePagePath,a=e.repository,r=(0,o.useStaticQuery)("1364590287").site.siteMetadata.repository,n=a||r,i=n.baseUrl,s=n.subDirectory,c=i+"/edit/"+n.branch+s+"/src/pages"+t;return i?l.createElement("div",{className:"bx--row EditLink-module--row--BEmSX"},l.createElement("div",{className:"bx--col"},l.createElement("a",{className:"EditLink-module--link--IDrl1",href:c},"Edit this page on GitHub"))):null},p=a(4703),b=a(1721),g=function(e){function t(){return e.apply(this,arguments)||this}return(0,b.Z)(t,e),t.prototype.render=function(){var e=this.props,t=e.title,a=e.tabs,r=e.slug,i=r.split("/").filter(Boolean).slice(-1)[0],s=a.map((function(e){var t,a=n()(e,{lower:!0,strict:!0}),s=a===i,c=new RegExp(i+"/?(#.*)?$"),u=r.replace(c,a);return l.createElement("li",{key:e,className:m()((t={},t["PageTabs-module--selected-item--aBB0K"]=s,t),"PageTabs-module--list-item--024o6")},l.createElement(o.Link,{className:"PageTabs-module--link--Kz-7R",to:""+u},e))}));return l.createElement("div",{className:"PageTabs-module--tabs-container--Cdfzw"},l.createElement("div",{className:"bx--grid"},l.createElement("div",{className:"bx--row"},l.createElement("div",{className:"bx--col-lg-12 bx--col-no-gutter"},l.createElement("nav",{"aria-label":t},l.createElement("ul",{className:"PageTabs-module--list--xLqxG"},s))))))},t}(l.Component),h=g,E=a(7296),f=a(5387),v=a(3732),k=function(e){var t=e.date,a=new Date(t);return t?l.createElement(v.X2,{className:"last-modified-date-module--row--XJoYQ"},l.createElement(v.sg,null,l.createElement("div",{className:"last-modified-date-module--text--ogPQF"},"Page last updated: ",a.toLocaleDateString("en-GB",{day:"2-digit",year:"numeric",month:"long"})))):null},y=function(e){var t=e.pageContext,a=e.children,r=e.location,c=e.Title,m=t.frontmatter,b=void 0===m?{}:m,g=t.relativePagePath,v=t.titleType,y=b.tabs,w=b.title,x=b.theme,N=b.description,P=b.keywords,T=b.date,Z=(0,f.Z)().interiorTheme,C=(0,o.useStaticQuery)("2456312558").site.pathPrefix,D=C?r.pathname.replace(C,""):r.pathname,H=y?D.split("/").filter(Boolean).slice(-1)[0]||n()(y[0],{lower:!0}):"",B=x||Z;return l.createElement(s.Z,{tabs:y,homepage:!1,theme:B,pageTitle:w,pageDescription:N,pageKeywords:P,titleType:v},l.createElement(u,{title:c?l.createElement(c,null):w,label:"label",tabs:y,theme:B}),y&&l.createElement(h,{title:w,slug:D,tabs:y,currentTab:H}),l.createElement(E.Z,{padded:!0},a,l.createElement(d,{relativePagePath:g}),l.createElement(k,{date:T})),l.createElement(p.Z,{pageContext:t,location:r,slug:D,tabs:y,currentTab:H}),l.createElement(i.Z,null))}},4129:function(e,t,a){a.r(t),a.d(t,{_frontmatter:function(){return i},default:function(){return m}});var l=a(3366),r=(a(7294),a(4983)),n=a(3624),o=["components"],i={},s={_frontmatter:i},c=n.Z;function m(e){var t=e.components,a=(0,l.Z)(e,o);return(0,r.kt)(c,Object.assign({},s,a,{components:t,mdxType:"MDXLayout"}),(0,r.kt)("h2",null,"About this task"),(0,r.kt)("p",null,"Most buttons in Maximo Mobile are displayed without a label to minimize scrolling. However, this can be difficult for newer users that may be less familiar. Utilizing hover over the button (web and Windows devices) or utilizing long press on the button (iOS/Android), you can display a tooltip over the button for your users using the icon-aria-label."),(0,r.kt)("h2",null,"Procedure"),(0,r.kt)("h3",null,"Step 1: Add icon-aria-label property and a value to display it as tooltip of the button."),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-xml"},' MAF Configuration Practices

    Debugging UI

    About this task

    This guide will walk you through how to find UI elements within the Role Based Application and map them to the corresponding element within the application design file (app.xml). +

    Skip to main contentMAF Configuration Practices

    Debugging UI

    About this task

    This guide will walk you through how to find UI elements within the Role Based Application and map them to the corresponding element within the application design file (app.xml). In this scenario we will be using the Techician application to identify which element controls the asset information displayed on a work order’s detail page. @@ -27,4 +27,4 @@

    From this new window move the cursor over the various HTML elements. When your cursor hovers over an element it will be highlighted on the application’s page. In our scenario we are looking for an element that is wrapping the text description of our asset.

    Step 4: Capture the “id” attribute of the element highlighted. In our case this value is “yzqaa”

    Step 5: In the configuration tool, open the TECHMOBILE application. Find the code editor section and left click anywhere within that editor. Then use the “find” command by using keybind “CTRL + F” if using windows or “Command + F” if using Mac. Paste the value of the id into the search bar. The code editor should automatically jump to that element with the correct id.

    Code Editor Example -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/index.html b/index.html index 9722437..65b8136 100644 --- a/index.html +++ b/index.html @@ -12,4 +12,4 @@ } } }) - \ No newline at end of file + \ No newline at end of file diff --git a/overview/index.html b/overview/index.html index 747b9e9..64aa2c1 100644 --- a/overview/index.html +++ b/overview/index.html @@ -12,7 +12,7 @@ } } }) -
    Skip to main contentMAF Configuration Practices

    Overview

    IBM’s Maximo Application Framework (MAF) supports the creation of Maximo Mobile and Role-based application within Manage.

    The MAF Configuration application can be used by implementers to configure IBM-provided applications (or duplicates of those applications) that are built with the MAF. Other MAS applications, such as Health and Monitor, will provide MAF applications (now or in the future) that can also be configured using the MAF Configuration application.

    In this document we provide a few examples of configuration that can be used, extended, adapted and combined to achieve the desired customization.

    The guide is separeted in two sections: Simple and Complex practices. For simple ones it is expected to get references about adding attributes in a card, updating saved queries used in a lookup. For complex section, we dissect customizations combining different lifecycle events with new methods to meet the conditions proposed in the configuration criteria.

    Simple section addresses mostly configuration, which declare new elements, add properties and modify parameters within the tags. In Complex section, we focus in practices mostly using AppCustomizations.js file and some techniques to achieve the customization.

    General tips

    Ideas

    Often times a customization won’t be possible due to limitations of the framework or maybe processes not exposed. Instead of a bug an idea should be issued through Ideas Portal.

    Order

    The order to place the XML tags is important. Although it is a markup language the build process take into consideration the order it is declared along the file.

    Logs

    One way to track progress during customization is using logs. Creating a tag prefix to use building the configurations associated with log API available in Graphite helps identify all paths the code can take.

    // Tag for log (to be add at the first line of the file)
    const TAG = '***Custom***';

    Filter datasource

    There are a few ways to fetch the right amount of data to the appropriate context.

    • QBE filter (declaration or API)
    • Where clause
    • Saved Query
    • Mobile QBE Filter

    The last one is exclusive for mobile apps searching against data previously loaded. +

    Skip to main contentMAF Configuration Practices

    Overview

    IBM’s Maximo Application Framework (MAF) supports the creation of Maximo Mobile and Role-based application within Manage.

    The MAF Configuration application can be used by implementers to configure IBM-provided applications (or duplicates of those applications) that are built with the MAF. Other MAS applications, such as Health and Monitor, will provide MAF applications (now or in the future) that can also be configured using the MAF Configuration application.

    In this document we provide a few examples of configuration that can be used, extended, adapted and combined to achieve the desired customization.

    The guide is separeted in two sections: Simple and Complex practices. For simple ones it is expected to get references about adding attributes in a card, updating saved queries used in a lookup. For complex section, we dissect customizations combining different lifecycle events with new methods to meet the conditions proposed in the configuration criteria.

    Simple section addresses mostly configuration, which declare new elements, add properties and modify parameters within the tags. In Complex section, we focus in practices mostly using AppCustomizations.js file and some techniques to achieve the customization.

    General tips

    Ideas

    Often times a customization won’t be possible due to limitations of the framework or maybe processes not exposed. Instead of a bug an idea should be issued through Ideas Portal.

    Order

    The order to place the XML tags is important. Although it is a markup language the build process take into consideration the order it is declared along the file.

    Logs

    One way to track progress during customization is using logs. Creating a tag prefix to use building the configurations associated with log API available in Graphite helps identify all paths the code can take.

    // Tag for log (to be add at the first line of the file)
    const TAG = '***Custom***';

    Filter datasource

    There are a few ways to fetch the right amount of data to the appropriate context.

    • QBE filter (declaration or API)
    • Where clause
    • Saved Query
    • Mobile QBE Filter

    The last one is exclusive for mobile apps searching against data previously loaded. Basically mobile-qbe-filter is a qbe filter used by the apps when running in the mobile container. It’s only used when fetching data from the local db (on the device) and not used when fetching data from maximo/server. Mobile only supports mobile-qbe-filter on the “top most” object.

    Considerations about translating all characteristics of a where clause into Mobile-QBE-Filter:

    • Nested properties does not work in mobile, instead an alias should be used and referenced in the QBE filter.
    • Variables like SYSDAY are interpreted only in server, so avoid using it.

    Saved query should be used to be the less restrictive filter. If there is additional filter criteria, then you would add to the maximo-datasource a where (for web) and mobile-qbe-filter (for mobile) to reduce the dataset. -Lookup datasources for Maximo Mobile need to use the same saved query so it’s important that you implement the filter with where & mobile-qbe-filter.

    Support

    Although it not a regular but we also offer support through L3 RBA Configuration queue.​

    This queue is intended for issues with a specific application’s behavior when performing configuration. This would include connecting to data sources, altering or creating new functions within an application, altering UI layout, page routing, adhering to maximo business rules, etc.​

    Reminder that the same support policies apply to configuration. Customers running older/non supported versions of RBA and Mobile (<8.10) will not have access to configuration support.​

    In addition, the L3 RBA Configuration queue is going to get a lot of bugs or questions reported that are eventually traced back to code customizations, which are not supported, although we will do our best to point them in the correct direction.​

    \ No newline at end of file +Lookup datasources for Maximo Mobile need to use the same saved query so it’s important that you implement the filter with where & mobile-qbe-filter.

    Support

    Although it not a regular but we also offer support through L3 RBA Configuration queue.​

    This queue is intended for issues with a specific application’s behavior when performing configuration. This would include connecting to data sources, altering or creating new functions within an application, altering UI layout, page routing, adhering to maximo business rules, etc.​

    Reminder that the same support policies apply to configuration. Customers running older/non supported versions of RBA and Mobile (<8.10) will not have access to configuration support.​

    In addition, the L3 RBA Configuration queue is going to get a lot of bugs or questions reported that are eventually traced back to code customizations, which are not supported, although we will do our best to point them in the correct direction.​

    \ No newline at end of file diff --git a/page-data/app-data.json b/page-data/app-data.json index 661ce24..ca8009e 100644 --- a/page-data/app-data.json +++ b/page-data/app-data.json @@ -1 +1 @@ -{"webpackCompilationHash":"b9f742ea786577481354"} +{"webpackCompilationHash":"aef27f6c9139be877a10"} diff --git a/page-data/complex/disable-delete-btn-error-tx/page-data.json b/page-data/complex/disable-delete-btn-error-tx/page-data.json index 37343fa..6e99eec 100644 --- a/page-data/complex/disable-delete-btn-error-tx/page-data.json +++ b/page-data/complex/disable-delete-btn-error-tx/page-data.json @@ -1 +1 @@ -{"componentChunkName":"component---src-pages-complex-disable-delete-btn-error-tx-mdx","path":"/complex/disable-delete-btn-error-tx/","result":{"pageContext":{"frontmatter":{"title":"Disable delete button for errored transaction"},"relativePagePath":"/complex/disable-delete-btn-error-tx.mdx","titleType":"append","MdxNode":{"id":"860d3af5-f8d1-5a9a-b65b-206c2b1155c2","children":[],"parent":"467bcae3-bccc-512d-b615-3592cbbf9103","internal":{"content":"---\ntitle: Disable delete button for errored transaction\n---\n\n## About this task\n\nThis guide details a step-by-step approach to controlling the ability of the delete button action for errored transactions in IBM Maximo Mobile by configuring specific files and setting up a signature option (sigoption).\nThis configuration takes place at **Navigator** app\n\n## Procedure\n\n### Step 1: Define the Signature Option (Sigoption) to control the delete button, start by creating a new sigoption named WO_DELETEERROR_TRX for the mxapiwodetail object structure. \n\nFollow these steps in the Object Structures application under Configure Object Structure Security:\n\n- Open the Object Structures application from the IBM Maximo main menu.\n- Search for and select the mxapiwodetail object structure.\n- In the toolbar, click on the Action menu and select Configure Object Structure Security.\n- In the Configure Object Structure Security dialog, click New Row to add a new signature option.\n- In the Option Name field, enter WO_DELETEERROR_TRX.\n- Provide a description, such as “Control of delete button for errored transactions.”\n\n\n![configure object structure security dialog](../assets/configure-object-structure-security-dialog.png)\n\n\n### Step 2: After creating this sigoption, assign the correct permissions in the Security Groups application:\n\n- Open the Security Groups application.\n- Locate the relevant security group(s) to which this permission should be granted.\n- Under the Object Structures tab, select the mxapiwodetail object structure.\n- Find the WO_DELETEERROR_TRX sigoption and grant the appropriate access level to control of the delete button for errored transactions.\n\n![security group sigoption for mxapiwodetail](../assets/security-group-sigoption.png)\n\n\n### Step 3: Modify the App.xml File from the Navigator application. Locate the delete button (id=\"a38re\") in the App.xml file. Add a disabled attribute to the button, linked to a custom property that will control its state based on the sigoption.\n\n```xml\n \n```\n\n### Step 4: Configure the AppCustomizations.js. Use the applicationInitialized(app) event to capture the value of sigoption WO_DELETEERROR_TRX for the current application instance and store it in a class variable for later use. This will determine if the delete option is permitted.\n\n\n```js\n applicationInitialized(app) {\n // Store the delete permission for error transactions\n this.canDeleteError = this.app.checkSigOption(`${this.app.state.woOSName}.WO_DELETEERROR_TRX`);\n }\n```\n\n### Step 5: Use the onAfterLoadData event to iterate over each item in the syncTranscationDS datasource. This allows you to set the disabled attribute based on the sigoption value and transaction properties.\n\n```js\n onAfterLoadData(datasource, items, query) {\n // Check if the data source is 'syncTranscationDS'\n if (datasource.name === 'syncTranscationDS') {\n items.forEach(item => {\n // Disable delete if the transaction is from WORKORDER and deletion is not allowed\n item.disabled = item.collectionid === 'WORKORDER' && !this.canDeleteError;\n });\n }\n }\n```\n\n> The code above will disable the delete button for errored transactions from the WORKORDER collection if deletion is not allowed based on the sigoption.\nThe visibility of the delete button can be adjusted at any time by an administrator through the Security Groups application. By changing the WO_DELETEERROR_TRX sigoption setting for the relevant security group, administrators can dynamically control whether users can delete errored transactions.","type":"Mdx","contentDigest":"d649032cea7f9f4f401d211c480d4236","owner":"gatsby-plugin-mdx","counter":88},"frontmatter":{"title":"Disable delete button for errored transaction"},"exports":{},"rawBody":"---\ntitle: Disable delete button for errored transaction\n---\n\n## About this task\n\nThis guide details a step-by-step approach to controlling the ability of the delete button action for errored transactions in IBM Maximo Mobile by configuring specific files and setting up a signature option (sigoption).\nThis configuration takes place at **Navigator** app\n\n## Procedure\n\n### Step 1: Define the Signature Option (Sigoption) to control the delete button, start by creating a new sigoption named WO_DELETEERROR_TRX for the mxapiwodetail object structure. \n\nFollow these steps in the Object Structures application under Configure Object Structure Security:\n\n- Open the Object Structures application from the IBM Maximo main menu.\n- Search for and select the mxapiwodetail object structure.\n- In the toolbar, click on the Action menu and select Configure Object Structure Security.\n- In the Configure Object Structure Security dialog, click New Row to add a new signature option.\n- In the Option Name field, enter WO_DELETEERROR_TRX.\n- Provide a description, such as “Control of delete button for errored transactions.”\n\n\n![configure object structure security dialog](../assets/configure-object-structure-security-dialog.png)\n\n\n### Step 2: After creating this sigoption, assign the correct permissions in the Security Groups application:\n\n- Open the Security Groups application.\n- Locate the relevant security group(s) to which this permission should be granted.\n- Under the Object Structures tab, select the mxapiwodetail object structure.\n- Find the WO_DELETEERROR_TRX sigoption and grant the appropriate access level to control of the delete button for errored transactions.\n\n![security group sigoption for mxapiwodetail](../assets/security-group-sigoption.png)\n\n\n### Step 3: Modify the App.xml File from the Navigator application. Locate the delete button (id=\"a38re\") in the App.xml file. Add a disabled attribute to the button, linked to a custom property that will control its state based on the sigoption.\n\n```xml\n \n```\n\n### Step 4: Configure the AppCustomizations.js. Use the applicationInitialized(app) event to capture the value of sigoption WO_DELETEERROR_TRX for the current application instance and store it in a class variable for later use. This will determine if the delete option is permitted.\n\n\n```js\n applicationInitialized(app) {\n // Store the delete permission for error transactions\n this.canDeleteError = this.app.checkSigOption(`${this.app.state.woOSName}.WO_DELETEERROR_TRX`);\n }\n```\n\n### Step 5: Use the onAfterLoadData event to iterate over each item in the syncTranscationDS datasource. This allows you to set the disabled attribute based on the sigoption value and transaction properties.\n\n```js\n onAfterLoadData(datasource, items, query) {\n // Check if the data source is 'syncTranscationDS'\n if (datasource.name === 'syncTranscationDS') {\n items.forEach(item => {\n // Disable delete if the transaction is from WORKORDER and deletion is not allowed\n item.disabled = item.collectionid === 'WORKORDER' && !this.canDeleteError;\n });\n }\n }\n```\n\n> The code above will disable the delete button for errored transactions from the WORKORDER collection if deletion is not allowed based on the sigoption.\nThe visibility of the delete button can be adjusted at any time by an administrator through the Security Groups application. By changing the WO_DELETEERROR_TRX sigoption setting for the relevant security group, administrators can dynamically control whether users can delete errored transactions.","fileAbsolutePath":"/home/travis/build/maximo-app-framework/configuration-practices-documentation/src/pages/complex/disable-delete-btn-error-tx.mdx"}}},"staticQueryHashes":["1364590287","137577622","2102389209","2456312558","2746626797","3018647132","3037994772","768070550"]} \ No newline at end of file +{"componentChunkName":"component---src-pages-complex-disable-delete-btn-error-tx-mdx","path":"/complex/disable-delete-btn-error-tx/","result":{"pageContext":{"frontmatter":{"title":"Disable delete button for errored transaction"},"relativePagePath":"/complex/disable-delete-btn-error-tx.mdx","titleType":"append","MdxNode":{"id":"860d3af5-f8d1-5a9a-b65b-206c2b1155c2","children":[],"parent":"467bcae3-bccc-512d-b615-3592cbbf9103","internal":{"content":"---\ntitle: Disable delete button for errored transaction\n---\n\n## About this task\n\nThis guide details a step-by-step approach to controlling the ability of the delete button action for errored transactions in IBM Maximo Mobile by configuring specific files and setting up a signature option (sigoption).\nThis configuration takes place at **Navigator** app\n\n## Procedure\n\n### Step 1: Define the Signature Option (Sigoption) to control the delete button, start by creating a new sigoption named WO_DELETEERROR_TRX for the mxapiwodetail object structure. \n\nFollow these steps in the Object Structures application under Configure Object Structure Security:\n\n- Open the Object Structures application from the IBM Maximo main menu.\n- Search for and select the mxapiwodetail object structure.\n- In the toolbar, click on the Action menu and select Configure Object Structure Security.\n- In the Configure Object Structure Security dialog, click New Row to add a new signature option.\n- In the Option Name field, enter WO_DELETEERROR_TRX.\n- Provide a description, such as “Control of delete button for errored transactions.”\n\n\n![configure object structure security dialog](../assets/configure-object-structure-security-dialog.png)\n\n\n### Step 2: After creating this sigoption, assign the correct permissions in the Security Groups application:\n\n- Open the Security Groups application.\n- Locate the relevant security group(s) to which this permission should be granted.\n- Under the Object Structures tab, select the mxapiwodetail object structure.\n- Find the WO_DELETEERROR_TRX sigoption and grant the appropriate access level to control of the delete button for errored transactions.\n\n![security group sigoption for mxapiwodetail](../assets/security-group-sigoption.png)\n\n\n### Step 3: Modify the App.xml File from the Navigator application. Locate the delete button (id=\"a38re\") in the App.xml file. Add a disabled attribute to the button, linked to a custom property that will control its state based on the sigoption.\n\n```xml\n \n```\n\n### Step 4: Configure the AppCustomizations.js. Use the applicationInitialized(app) event to capture the value of sigoption WO_DELETEERROR_TRX for the current application instance and store it in a class variable for later use. This will determine if the delete option is permitted.\n\n\n```js\n applicationInitialized(app) {\n // Store the delete permission for error transactions\n this.canDeleteError = this.app.checkSigOption(`${this.app.state.woOSName}.WO_DELETEERROR_TRX`);\n }\n```\n\n### Step 5: Use the onAfterLoadData event to iterate over each item in the syncTranscationDS datasource. This allows you to set the disabled attribute based on the sigoption value and transaction properties.\n\n```js\n onAfterLoadData(datasource, items, query) {\n // Check if the data source is 'syncTranscationDS'\n if (datasource.name === 'syncTranscationDS') {\n items.forEach(item => {\n // Disable delete if the transaction is from WORKORDER and deletion is not allowed\n item.disabled = item.collectionid === 'WORKORDER' && !this.canDeleteError;\n });\n }\n }\n```\n\n> The code above will disable the delete button for errored transactions from the WORKORDER collection if deletion is not allowed based on the sigoption.\nThe visibility of the delete button can be adjusted at any time by an administrator through the Security Groups application. By changing the WO_DELETEERROR_TRX sigoption setting for the relevant security group, administrators can dynamically control whether users can delete errored transactions.","type":"Mdx","contentDigest":"d649032cea7f9f4f401d211c480d4236","owner":"gatsby-plugin-mdx","counter":92},"frontmatter":{"title":"Disable delete button for errored transaction"},"exports":{},"rawBody":"---\ntitle: Disable delete button for errored transaction\n---\n\n## About this task\n\nThis guide details a step-by-step approach to controlling the ability of the delete button action for errored transactions in IBM Maximo Mobile by configuring specific files and setting up a signature option (sigoption).\nThis configuration takes place at **Navigator** app\n\n## Procedure\n\n### Step 1: Define the Signature Option (Sigoption) to control the delete button, start by creating a new sigoption named WO_DELETEERROR_TRX for the mxapiwodetail object structure. \n\nFollow these steps in the Object Structures application under Configure Object Structure Security:\n\n- Open the Object Structures application from the IBM Maximo main menu.\n- Search for and select the mxapiwodetail object structure.\n- In the toolbar, click on the Action menu and select Configure Object Structure Security.\n- In the Configure Object Structure Security dialog, click New Row to add a new signature option.\n- In the Option Name field, enter WO_DELETEERROR_TRX.\n- Provide a description, such as “Control of delete button for errored transactions.”\n\n\n![configure object structure security dialog](../assets/configure-object-structure-security-dialog.png)\n\n\n### Step 2: After creating this sigoption, assign the correct permissions in the Security Groups application:\n\n- Open the Security Groups application.\n- Locate the relevant security group(s) to which this permission should be granted.\n- Under the Object Structures tab, select the mxapiwodetail object structure.\n- Find the WO_DELETEERROR_TRX sigoption and grant the appropriate access level to control of the delete button for errored transactions.\n\n![security group sigoption for mxapiwodetail](../assets/security-group-sigoption.png)\n\n\n### Step 3: Modify the App.xml File from the Navigator application. Locate the delete button (id=\"a38re\") in the App.xml file. Add a disabled attribute to the button, linked to a custom property that will control its state based on the sigoption.\n\n```xml\n \n```\n\n### Step 4: Configure the AppCustomizations.js. Use the applicationInitialized(app) event to capture the value of sigoption WO_DELETEERROR_TRX for the current application instance and store it in a class variable for later use. This will determine if the delete option is permitted.\n\n\n```js\n applicationInitialized(app) {\n // Store the delete permission for error transactions\n this.canDeleteError = this.app.checkSigOption(`${this.app.state.woOSName}.WO_DELETEERROR_TRX`);\n }\n```\n\n### Step 5: Use the onAfterLoadData event to iterate over each item in the syncTranscationDS datasource. This allows you to set the disabled attribute based on the sigoption value and transaction properties.\n\n```js\n onAfterLoadData(datasource, items, query) {\n // Check if the data source is 'syncTranscationDS'\n if (datasource.name === 'syncTranscationDS') {\n items.forEach(item => {\n // Disable delete if the transaction is from WORKORDER and deletion is not allowed\n item.disabled = item.collectionid === 'WORKORDER' && !this.canDeleteError;\n });\n }\n }\n```\n\n> The code above will disable the delete button for errored transactions from the WORKORDER collection if deletion is not allowed based on the sigoption.\nThe visibility of the delete button can be adjusted at any time by an administrator through the Security Groups application. By changing the WO_DELETEERROR_TRX sigoption setting for the relevant security group, administrators can dynamically control whether users can delete errored transactions.","fileAbsolutePath":"/home/travis/build/maximo-app-framework/configuration-practices-documentation/src/pages/complex/disable-delete-btn-error-tx.mdx"}}},"staticQueryHashes":["1364590287","137577622","2102389209","2456312558","2746626797","3018647132","3037994772","768070550"]} \ No newline at end of file diff --git a/page-data/complex/enable-wo-classification/page-data.json b/page-data/complex/enable-wo-classification/page-data.json index 46e303d..0f3ee7f 100644 --- a/page-data/complex/enable-wo-classification/page-data.json +++ b/page-data/complex/enable-wo-classification/page-data.json @@ -1 +1 @@ -{"componentChunkName":"component---src-pages-complex-enable-wo-classification-mdx","path":"/complex/enable-wo-classification/","result":{"pageContext":{"frontmatter":{"title":"Enable the use of work order classifications in Technician app"},"relativePagePath":"/complex/enable-wo-classification.mdx","titleType":"append","MdxNode":{"id":"8cfc7eca-8e5e-5cbd-a102-4671ca97f279","children":[],"parent":"de3a489b-9593-50b2-9162-61fd437a41a9","internal":{"content":"---\ntitle: Enable the use of work order classifications in Technician app\n---\n\n## About this task\n\nThis guide walks through how to include the use of Classifications when creating a new work order record in Technician application.\n\n## Procedure\n\n### Step 1: Add a new datasource referencing the mxapiclassstructure object structure. This should be defined along with the other search datasources at the top level of the application (pages). This ensures that this datasource can be used on other pages, such as the edit page. Below is a saved query called “emxwoclass” but this can be changed to anything you add to the object structure to show the appropriate classifications.\n\n```xml\n \n \n \n \n \n \n \n \n \n```\n\n### Step 2: Add a new lookup. All lookups are defined at the page level, but this is not mandatory and would not be recommended for lookups like this. We recommend adding above / the block.\n\n```xml\n \n \n \n```\n\n### Step 3: In the \"datasource\" dsCreateWo, search for id=\"dsCreateWo\" and add the following attributes.\n\n```xml\n \n \n```\n\n### Step 4: Add UI elements to display the hierarchy path and open the search page, locate the id “q55zy” and add the code below.\n\n```xml\n \n \n \n \n \n \n MAF Configuration Practices

    Add tooltips

    About this task

    Most buttons in Maximo Mobile are displayed without a label to minimize scrolling. However, this can be difficult for newer users that may be less familiar. Utilizing hover over the button (web and Windows devices) or utilizing long press on the button (iOS/Android), you can display a tooltip over the button for your users using the icon-aria-label.

    Procedure

    Step 1: Add icon-aria-label property and a value to display it as tooltip of the button.

    <button icon-aria-label="Report Work" icon="carbon:report" on-click="navigateToReportWork" on-click-arg="{woDetailResource.item}" kind="secondary" id="m5kg3"/>
    \ No newline at end of file diff --git a/simple/create-wo-priority-lookup/index.html b/simple/create-wo-priority-lookup/index.html index e31e549..1fb9785 100644 --- a/simple/create-wo-priority-lookup/index.html +++ b/simple/create-wo-priority-lookup/index.html @@ -12,8 +12,8 @@ } } }) -
    Skip to main contentMAF Configuration Practices

    Create Priority Lookup in Techmobile

    About this task

    This guide instructs on how to add new priority domain to the system and use it to prioritize work orders.

    Procedure

    Step 1: Create a query for the MXAPINUMERICDOMAIN object structure in Object Structures, click on Query Definition, add a new line where Query Type = osclause, Query Name=TRGPRIORITY and set the query= domainid=‘TRG_PRIORITY’.

    +
    Skip to main contentMAF Configuration Practices

    Create Priority Lookup in Techmobile

    About this task

    This guide instructs on how to add new priority domain to the system and use it to prioritize work orders.

    Procedure

    Step 1: Create a query for the MXAPINUMERICDOMAIN object structure in Object Structures, click on Query Definition, add a new line where Query Type = osclause, Query Name=TRGPRIORITY and set the query= domainid=‘TRG_PRIORITY’.

    Query Definition

    Step 2: Create a datasource, within the scope of the application, to receive the data from the query created above. Search for “Maximo Datasources” in the xml and add the datasource.

    <maximo-datasource id="trg_WoPrioritylookupDS" lookup-data="true" object-structure="mxapinumericdomain" offline-immediate-download="true" saved-query="TRGPRIORITY" selection-mode="single">
    <schema id="trg_p45xd">
    <attribute name="value" unique-id="true" id="trg_ej7z_"/>
    <attribute name="valueid" id="trg_d899w"/>
    <attribute name="description" id="trg_r5v9p"/>
    <attribute name="domainid" searchable="true" id="trg_rawkp"/>
    <attribute name="siteid" id="trg_d4w_g"/>
    <attribute name="orgid" id="trg_qqny3"/>
    </schema>

    Step 3: Create a domain with the name “TRG_PRIORITY” and associate it with the datasource created “trg_WoPrioritylookupDS” in the app.xml, it must be placed before id=“synonymdomainData”. Search for id=“trg_WoPrioritylookupDS” and add the dialog.

    The order matters. The datasource referenced in the lookup should be declared before using it.

    <dialogs id="applookups">
    <lookup id="trg_woPriorityLookup" datasource="trg_WoPrioritylookupDS" lookup-attributes="{['value','description']}" search-placeholder="Search WO Priority"/>
    </dialogs>
    <smart-input label="Priority" hide-step-buttons="true" placeholder="Enter {page.state.minPriority} to {page.state.maxPriority}" value="{dsWoedit.item.wopriority}" on-blur="validateFields" min="{page.state.minPriority}" max="{page.state.maxPriority}" enable-lookup-buttongroup="true" input-kind="ALN" lookup="trg_woPriorityLookup" select-lookup-attribute="value" id="yqkzy"/>
    -
    <smart-input label="Priority" hide-step-buttons="true" placeholder="Enter {page.state.minPriority} to {page.state.maxPriority}" value="{dsCreateWo.item.wopriority}" on-blur="validateFields" min="{page.state.minPriority}" max="{page.state.maxPriority}" id="j8265" enable-lookup-buttongroup="true" input-kind="ALN" lookup="trg_woPriorityLookup" select-lookup-attribute="value"/>
    \ No newline at end of file +
    <smart-input label="Priority" hide-step-buttons="true" placeholder="Enter {page.state.minPriority} to {page.state.maxPriority}" value="{dsCreateWo.item.wopriority}" on-blur="validateFields" min="{page.state.minPriority}" max="{page.state.maxPriority}" id="j8265" enable-lookup-buttongroup="true" input-kind="ALN" lookup="trg_woPriorityLookup" select-lookup-attribute="value"/>
    \ No newline at end of file diff --git a/simple/default-record-data-options/index.html b/simple/default-record-data-options/index.html index 401f9cd..b738076 100644 --- a/simple/default-record-data-options/index.html +++ b/simple/default-record-data-options/index.html @@ -12,9 +12,9 @@ } } }) -
    Skip to main contentMAF Configuration Practices

    Set default values for Record Data Options

    About this task

    Record Data Options set default values for the settings on the Data Update page, so they do not have to set this every time.

    This code is sample code to auto fresh data after relogin mobile app. Based on your requirement, you may change variable value in the code:

    1. If auto refresh lookup data, then set lookupEnabled as true, otherwise set lookupEnabled as false.

      1. Step If auto refresh lookup data with delta, then set lookupDelta as true, otherwise set lookupDelta as false.
    2. If auto refresh transactional data, then set transEnabled as true, otherwise set transEnabled as false. +

      Skip to main contentMAF Configuration Practices

      Set default values for Record Data Options

      About this task

      Record Data Options set default values for the settings on the Data Update page, so they do not have to set this every time.

      This code is sample code to auto fresh data after relogin mobile app. Based on your requirement, you may change variable value in the code:

      1. If auto refresh lookup data, then set lookupEnabled as true, otherwise set lookupEnabled as false.

        1. Step If auto refresh lookup data with delta, then set lookupDelta as true, otherwise set lookupDelta as false.
      2. If auto refresh transactional data, then set transEnabled as true, otherwise set transEnabled as false. After new code published to server, go to mobile device, logout and relogin mobile app. The new navigator will be downloaded.

      Record Data Options page

      Procedure

      Step 1: Using the NAVIGATOR app, go to AppCustomization.js, import TaskManager module in AppCustomizations file.

      import { TaskManager } from './TaskManager.js';

      Step 2: Create varibles to define default values of each configuration. Use NAVIGATOR-APP-DOWNLOAD-STATUS event to apply the configuration.

      // Custom Application Logic
      -
      applicationInitialized(app) {
      this.app = app;
      [...]
      const lookupEnabled = true;
      const lookupDelta = true;
      const transEnabled = false;
      const taskManager = TaskManager.get();
      \ No newline at end of file +
      applicationInitialized(app) {
      this.app = app;
      [...]
      const lookupEnabled = true;
      const lookupDelta = true;
      const transEnabled = false;
      const taskManager = TaskManager.get();
    \ No newline at end of file diff --git a/simple/extended-lookup-map/index.html b/simple/extended-lookup-map/index.html index 0ef51b3..69e7cee 100644 --- a/simple/extended-lookup-map/index.html +++ b/simple/extended-lookup-map/index.html @@ -12,5 +12,5 @@ } } }) -
    Skip to main contentMAF Configuration Practices

    Create new Lookup map

    About this task

    This guide instructs on how to add new lookup map that is not part of out of the box lookups.

    Procedure

    Step 1: Insert the reference to the desired data source

    <schema id="d_693">
    [...]
    <attribute name="calnum" searchable="true" id="jnz3_">
    <lookup-map name="calnum" id="pmgg9">
    <lookup-return lookup-field="displayValue" datasource-field="description" id="gkp6r"/>
    <lookup-return lookup-field="value" datasource-field="calnum" id="rb2gqaa"/>
    </lookup-map>
    </attribute>
    [...]

    “The lookup-map element with id: ’####’ contains the lookup name: ’####’ which either doesn’t exist or match the case of the lookup name in the lookups.json file. Please fix the lookup name reference.”

    If this error is thrown during the build process than it is typically caused due to a look up that is not part of the out of the box.

    “Extended lookup found: lookups.json”

    The message above indicates the lookup map extension file was identified and processed.

    Step 2: Create a new file to extend existing lookups

    In src folder of the project, create a new file and name it as lookups.json. -The source folder is located where MAF tool was mapped, along with user and instance that MAF was connected.

    Step 3: Add the new object to be part of lookups

    {
    "calnum": {
    "objectName": "MXAPIASSET",
    "getList": "calnum",
    "attributeNames": "calnum,calendarid,description",
    "displayAttributes": "calnum,description",
    "searchAttributeNames": "calnum,description",
    "useSearchTerms": "true"
    }
    \ No newline at end of file +
    Skip to main contentMAF Configuration Practices

    Create new Lookup map

    About this task

    This guide instructs on how to add new lookup map that is not part of out of the box lookups.

    Procedure

    Step 1: Insert the reference to the desired data source

    <schema id="d_693">
    [...]
    <attribute name="calnum" searchable="true" id="jnz3_">
    <lookup-map name="calnum" id="pmgg9">
    <lookup-return lookup-field="displayValue" datasource-field="description" id="gkp6r"/>
    <lookup-return lookup-field="value" datasource-field="calnum" id="rb2gqaa"/>
    </lookup-map>
    </attribute>
    [...]

    “The lookup-map element with id: ’####’ contains the lookup name: ’####’ which either doesn’t exist or match the case of the lookup name in the lookups.json file. Please fix the lookup name reference.”

    If this error is thrown during the build process than it is typically caused due to a look up that is not part of the out of the box.

    “Extended lookup found: lookups.json”

    The message above indicates the lookup map extension file was identified and processed.

    Step 2: Create a new file to extend existing lookups

    In src folder of the project, create a new file and name it as lookups.json. +The source folder is located where MAF tool was mapped, along with user and instance that MAF was connected.

    Step 3: Add the new object to be part of lookups

    {
    "calnum": {
    "objectName": "MXAPIASSET",
    "getList": "calnum",
    "attributeNames": "calnum,calendarid,description",
    "displayAttributes": "calnum,description",
    "searchAttributeNames": "calnum,description",
    "useSearchTerms": "true"
    }
    \ No newline at end of file diff --git a/simple/modify-default-queries/index.html b/simple/modify-default-queries/index.html index 1b2b200..7e6d726 100644 --- a/simple/modify-default-queries/index.html +++ b/simple/modify-default-queries/index.html @@ -12,7 +12,7 @@ } } }) -
    Skip to main contentMAF Configuration Practices

    Modify Technician app default queries

    About this task

    This guide walks you through changing the default queries for the Techmobile application.

    Procedure

    Step 1: Create and/or take the query name you would like to use

    +
    Skip to main contentMAF Configuration Practices

    Modify Technician app default queries

    About this task

    This guide walks you through changing the default queries for the Techmobile application.

    Procedure

    Step 1: Create and/or take the query name you would like to use

    mxapiwodetail custom query definition -

    Step 2: Associating the query name to a datasource. You can create one but typically the main list already has a main datasource and to reuse the same object structure in the same page we use maximo-datasource-override.

    <maximo-datasource-override id="closedWODS" saved-query="MYCUSTOMQUERY"/>

    Step 3: Create an item in dropdown to list the new option. To find the ‘out of the box’ queries available in the Techmobile home page dropdown menu, you can search the app.xml using ‘dropdown-item’ (see below). You can also search by the value displayed in the dropdown when you run the application, in techmobile the dropdown has ID rzvz4.

    <dropdown slot="dropdown" background-color="white" selected-item="{page.state.selectedDS}" id="rzvz4" on-change="loadWOListData" hide-unselected-placeholder="true">
    <dropdown-item value="todaywoassignedDS" text="Assigned work" id="njkmd"/>
    <dropdown-item value="pmduewolistDS" text="PMs due this week" id="jxr9k"/>
    <dropdown-item value="myworkDS" text="Work created by me" hidden="{app.device.isMaximoMobile}" id="wqadv"/>
    <dropdown-item value="myworkCreatedLocally" text="Work created on device" hidden="{!app.device.isMaximoMobile}" id="wgbb8"/>
    <dropdown-item value="myWorkOrder" sigoption="{`${app.state.woOSName}.uxtechlist`}" text="My work order" id="d3v_7"/>
    <dropdown-item value="completedCloseDS" text="Work order history" id="qebv2"/>
    <state name="selectedDS" value="closedWODS" type="string" id="py7q_"/>
    </dropdown>

    Step 4: Set the datasource with the desired default query as value of the page state. Typically that is how most of the apps work, in techmobile the id of this state is py7q_.

    <state name="selectedDS" value="closedWODS" type="string" id="py7q_"/>
    \ No newline at end of file +

    Step 2: Associating the query name to a datasource. You can create one but typically the main list already has a main datasource and to reuse the same object structure in the same page we use maximo-datasource-override.

    <maximo-datasource-override id="closedWODS" saved-query="MYCUSTOMQUERY"/>

    Step 3: Create an item in dropdown to list the new option. To find the ‘out of the box’ queries available in the Techmobile home page dropdown menu, you can search the app.xml using ‘dropdown-item’ (see below). You can also search by the value displayed in the dropdown when you run the application, in techmobile the dropdown has ID rzvz4.

    <dropdown slot="dropdown" background-color="white" selected-item="{page.state.selectedDS}" id="rzvz4" on-change="loadWOListData" hide-unselected-placeholder="true">
    <dropdown-item value="todaywoassignedDS" text="Assigned work" id="njkmd"/>
    <dropdown-item value="pmduewolistDS" text="PMs due this week" id="jxr9k"/>
    <dropdown-item value="myworkDS" text="Work created by me" hidden="{app.device.isMaximoMobile}" id="wqadv"/>
    <dropdown-item value="myworkCreatedLocally" text="Work created on device" hidden="{!app.device.isMaximoMobile}" id="wgbb8"/>
    <dropdown-item value="myWorkOrder" sigoption="{`${app.state.woOSName}.uxtechlist`}" text="My work order" id="d3v_7"/>
    <dropdown-item value="completedCloseDS" text="Work order history" id="qebv2"/>
    <state name="selectedDS" value="closedWODS" type="string" id="py7q_"/>
    </dropdown>

    Step 4: Set the datasource with the desired default query as value of the page state. Typically that is how most of the apps work, in techmobile the id of this state is py7q_.

    <state name="selectedDS" value="closedWODS" type="string" id="py7q_"/>
    \ No newline at end of file diff --git a/simple/replace-date-attribute/index.html b/simple/replace-date-attribute/index.html index cea2958..e435fbb 100644 --- a/simple/replace-date-attribute/index.html +++ b/simple/replace-date-attribute/index.html @@ -12,4 +12,4 @@ } } }) -
    Skip to main contentMAF Configuration Practices

    Replace work order’s Schedule Finish Date with Target Complete Date attribute

    About this task

    Out of the box Maximo® Mobile Technician application uses and display scheduled finish(SCHEDFINISH). This exercise guides on how to substitute the attribute SCHEDFINISH for TARGCOMPDATE on Work Order List page. It also shows how to overwrite the method used on controllers that use SCHEDFINISH.

    Procedure

    Step 1: Include a new attribute “targcompdate” into the existing datasource “dswolist”, in the app.xml.

    <maximo-datasource id="dswolist" object-structure="mxapiwodetail" saved-query="uxtechnicianownerfilter" order-by="wopriority" pre-load="false" controller="ScheduleDataController" selection-mode="single" geometry-format="geojson" default="false">
    <schema id="gjw7p">
    [...]
    <attribute name="locationnum" sortable="false" id="n_pxp"/>
    <attribute name="targcompdate" sortable="false" id="trg_n83qg"/>
    </schema>
    [...]
    </maximo-datasource>

    Step 2: Replace the references in value and expression to hide the existing field in wo-card-group and to present the new attribute, in wo-card-group.xml file.

    <date-relative slot="slot4" value="{item.targcompdate}" type="date_full_month" text-prefix="Due" hidden="{item.actfinish || (item.computedIsOverDue || !item.targcompdate)}" id="qj_43"/>
    <icon fill="red" slot="slot3" icon="carbon:warning--alt--filled" hidden="{item.actfinish || (!item.computedIsOverDue || !item.targcompdate)}" id="b38em"/>
    <date-relative slot="slot4" value="{item.targcompdate}" type="date_full_month" text-prefix="Overdue since" theme="error" hidden="{item.actfinish || (!item.computedIsOverDue || !item.targcompdate)}" id="qj_467"/>

    Step 3: On AppCustomization.js file, create a computedIsOverDue method. This method already exists in the ScheduleDataController controller, so the new definition in AppCustomization overrides the existing one.

    computedIsOverDue(item) {
    if (!item.targcompdate)
    return false;
    let due = new Date(item.targcompdate);
    if (isNaN(due))
    return false;
    due.setHours(0, 0, 0, 0);
    let today = new Date().setHours(0, 0, 0, 0);
    // DO NOT USE manual calculations ; they fail in DST
    \ No newline at end of file +
    Skip to main contentMAF Configuration Practices

    Replace work order’s Schedule Finish Date with Target Complete Date attribute

    About this task

    Out of the box Maximo® Mobile Technician application uses and display scheduled finish(SCHEDFINISH). This exercise guides on how to substitute the attribute SCHEDFINISH for TARGCOMPDATE on Work Order List page. It also shows how to overwrite the method used on controllers that use SCHEDFINISH.

    Procedure

    Step 1: Include a new attribute “targcompdate” into the existing datasource “dswolist”, in the app.xml.

    <maximo-datasource id="dswolist" object-structure="mxapiwodetail" saved-query="uxtechnicianownerfilter" order-by="wopriority" pre-load="false" controller="ScheduleDataController" selection-mode="single" geometry-format="geojson" default="false">
    <schema id="gjw7p">
    [...]
    <attribute name="locationnum" sortable="false" id="n_pxp"/>
    <attribute name="targcompdate" sortable="false" id="trg_n83qg"/>
    </schema>
    [...]
    </maximo-datasource>

    Step 2: Replace the references in value and expression to hide the existing field in wo-card-group and to present the new attribute, in wo-card-group.xml file.

    <date-relative slot="slot4" value="{item.targcompdate}" type="date_full_month" text-prefix="Due" hidden="{item.actfinish || (item.computedIsOverDue || !item.targcompdate)}" id="qj_43"/>
    <icon fill="red" slot="slot3" icon="carbon:warning--alt--filled" hidden="{item.actfinish || (!item.computedIsOverDue || !item.targcompdate)}" id="b38em"/>
    <date-relative slot="slot4" value="{item.targcompdate}" type="date_full_month" text-prefix="Overdue since" theme="error" hidden="{item.actfinish || (!item.computedIsOverDue || !item.targcompdate)}" id="qj_467"/>

    Step 3: On AppCustomization.js file, create a computedIsOverDue method. This method already exists in the ScheduleDataController controller, so the new definition in AppCustomization overrides the existing one.

    computedIsOverDue(item) {
    if (!item.targcompdate)
    return false;
    let due = new Date(item.targcompdate);
    if (isNaN(due))
    return false;
    due.setHours(0, 0, 0, 0);
    let today = new Date().setHours(0, 0, 0, 0);
    // DO NOT USE manual calculations ; they fail in DST
    \ No newline at end of file diff --git a/simple/update-app-saved-query/index.html b/simple/update-app-saved-query/index.html index 6cfdef4..3fb2715 100644 --- a/simple/update-app-saved-query/index.html +++ b/simple/update-app-saved-query/index.html @@ -12,7 +12,7 @@ } } }) -
    Skip to main contentMAF Configuration Practices

    Change or replace apps’ saved queries

    About this task

    This guide explains how to change a query and modify its structure, with the possibility of extending a query to a specific scenario

    Procedure

    Step 1: In the app.xml file, locate the datasource to be modified. In this example, we will use the Technician application. Search for the datasource which id=“dsworktype”.

    <maximo-datasource id="dsworktype" offline-immediate-download="true" selection-mode="single" saved-query="WOWORKTYPE" lookup-data="true" pre-load="true" object-structure="mxapiworktype" page-size="100">
    <schema id="b2rkz">
    <attribute name="worktype" searchable="true" unique-id="true" id="rrpez"/>
    <attribute name="wtypedesc" searchable="true" id="w5_zm"/>
    <attribute name="woclass" searchable="true" id="b8w9r"/>
    <attribute name="orgid" searchable="true" id="b_jdj"/>
    <attribute name="promptdown" id="n_5q4"/>
    <attribute name="startstatus" id="vm3ke"/>
    <attribute name="completestatus" id="a5yen"/>

    Step 2: Additionally, this datasource identifies a saved query (WOWORKTYPE) linked to the object structure named MXAPIWORKTYPE. In the object structure application, you can view/manage this query. If you change the ‘Query Definition’, this will change the work type data that is made available to the Technician application and any other application or client API that is using this saved query.

    +
    Skip to main contentMAF Configuration Practices

    Change or replace apps’ saved queries

    About this task

    This guide explains how to change a query and modify its structure, with the possibility of extending a query to a specific scenario

    Procedure

    Step 1: In the app.xml file, locate the datasource to be modified. In this example, we will use the Technician application. Search for the datasource which id=“dsworktype”.

    <maximo-datasource id="dsworktype" offline-immediate-download="true" selection-mode="single" saved-query="WOWORKTYPE" lookup-data="true" pre-load="true" object-structure="mxapiworktype" page-size="100">
    <schema id="b2rkz">
    <attribute name="worktype" searchable="true" unique-id="true" id="rrpez"/>
    <attribute name="wtypedesc" searchable="true" id="w5_zm"/>
    <attribute name="woclass" searchable="true" id="b8w9r"/>
    <attribute name="orgid" searchable="true" id="b_jdj"/>
    <attribute name="promptdown" id="n_5q4"/>
    <attribute name="startstatus" id="vm3ke"/>
    <attribute name="completestatus" id="a5yen"/>

    Step 2: Additionally, this datasource identifies a saved query (WOWORKTYPE) linked to the object structure named MXAPIWORKTYPE. In the object structure application, you can view/manage this query. If you change the ‘Query Definition’, this will change the work type data that is made available to the Technician application and any other application or client API that is using this saved query.

    Query definition -

    Step 3: (Optional): You can also extend a saved query by adding a ‘where=’ clause in the datasource as shown below (instead of changing the query itself, which could be used by many applications). This will ‘append’ to the saved query.

    <maximo-datasource-override id="pmduewolistDS" saved-query="PMWOLIST" where="schedfinish>=&quot;&amp;SYSDAY&amp;&quot; and schedfinish<=&quot;&amp;SYSDAY&amp;+7D&quot;" mobile-qbe-filter="{{'status_maxvalue': '!=COMP,CAN,CLOSE,WAPPR'}}" offline-immediate-download="true"/>
    \ No newline at end of file +

    Step 3: (Optional): You can also extend a saved query by adding a ‘where=’ clause in the datasource as shown below (instead of changing the query itself, which could be used by many applications). This will ‘append’ to the saved query.

    <maximo-datasource-override id="pmduewolistDS" saved-query="PMWOLIST" where="schedfinish>=&quot;&amp;SYSDAY&amp;&quot; and schedfinish<=&quot;&amp;SYSDAY&amp;+7D&quot;" mobile-qbe-filter="{{'status_maxvalue': '!=COMP,CAN,CLOSE,WAPPR'}}" offline-immediate-download="true"/>
    \ No newline at end of file diff --git a/webpack-runtime-1d3512344e5486f7d33b.js b/webpack-runtime-1d3512344e5486f7d33b.js deleted file mode 100644 index 77eca26..0000000 --- a/webpack-runtime-1d3512344e5486f7d33b.js +++ /dev/null @@ -1,2 +0,0 @@ -!function(){"use strict";var e,t,n,r,o,a,c,i={},u={};function s(e){var t=u[e];if(void 0!==t)return t.exports;var n=u[e]={exports:{}};return i[e].call(n.exports,n,n.exports,s),n.exports}s.m=i,e=[],s.O=function(t,n,r,o){if(!n){var a=1/0;for(f=0;f=o)&&Object.keys(s.O).every((function(e){return s.O[e](n[i])}))?n.splice(i--,1):(c=!1,o0&&e[f-1][2]>o;f--)e[f]=e[f-1];e[f]=[n,r,o]},s.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return s.d(t,{a:t}),t},n=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},s.t=function(e,r){if(1&r&&(e=this(e)),8&r)return e;if("object"==typeof e&&e){if(4&r&&e.__esModule)return e;if(16&r&&"function"==typeof e.then)return e}var o=Object.create(null);s.r(o);var a={};t=t||[null,n({}),n([]),n(n)];for(var c=2&r&&e;"object"==typeof c&&!~t.indexOf(c);c=n(c))Object.getOwnPropertyNames(c).forEach((function(t){a[t]=function(){return e[t]}}));return a.default=function(){return e},s.d(o,a),o},s.d=function(e,t){for(var n in t)s.o(t,n)&&!s.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},s.f={},s.e=function(e){return Promise.all(Object.keys(s.f).reduce((function(t,n){return s.f[n](e,t),t}),[]))},s.u=function(e){return{130:"component---src-pages-complex-restrict-wo-priority-based-on-work-type-mdx",156:"component---src-pages-simple-replace-date-attribute-mdx",174:"component---src-pages-complex-restrict-complete-status-mdx",228:"component---src-pages-simple-modify-default-queries-mdx",235:"component---src-pages-simple-default-record-data-options-mdx",309:"component---src-pages-complex-enable-wo-classification-mdx",453:"component---src-pages-complex-set-default-values-new-wo-mdx",513:"component---src-pages-simple-update-app-saved-query-mdx",527:"component---src-pages-simple-extended-lookup-map-mdx",532:"styles",547:"component---src-pages-complex-disable-delete-btn-error-tx-mdx",589:"component---src-pages-simple-create-wo-priority-lookup-mdx",749:"component---src-pages-overview-mdx",762:"component---src-pages-debug-ui-mdx",809:"component---src-pages-index-mdx",883:"component---src-pages-404-js"}[e]+"-"+{130:"d4b6f18a6375f5110967",156:"655340f77fb350a79ee8",174:"9bc75583cbfd7cc690da",228:"e262b7eaa22d81dcfd4c",235:"5e37acca4bd01cb7aacc",309:"049699786875d29b2902",453:"7066463c2fe0f05e1018",513:"506c6d231ffe8ba4a3fd",527:"38ffad5552e60f7f41c8",532:"b001161f4cdceb5876a9",547:"0c1598c89037560950b2",589:"bcf0c7f9d0efaff379c0",749:"db57767646ce2878c15d",762:"f0eb896595561e6a2638",809:"efee3e974d631789d067",883:"6f8044898a01bc7ebed0"}[e]+".js"},s.miniCssF=function(e){return"styles.f71526870662e4df33c8.css"},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=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r={},o="mas-playbook:",s.l=function(e,t,n,a){if(r[e])r[e].push(t);else{var c,i;if(void 0!==n)for(var u=document.getElementsByTagName("script"),f=0;f 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar chunkIds = deferred[i][0];\n\t\tvar fn = deferred[i][1];\n\t\tvar priority = deferred[i][2];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every(function(key) { return __webpack_require__.O[key](chunkIds[j]); })) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","var getProto = Object.getPrototypeOf ? function(obj) { return Object.getPrototypeOf(obj); } : function(obj) { return obj.__proto__; };\nvar leafPrototypes;\n// create a fake namespace object\n// mode & 1: value is a module id, require it\n// mode & 2: merge all properties of value into the ns\n// mode & 4: return value when already ns object\n// mode & 16: return value when it's Promise-like\n// mode & 8|1: behave like require\n__webpack_require__.t = function(value, mode) {\n\tif(mode & 1) value = this(value);\n\tif(mode & 8) return value;\n\tif(typeof value === 'object' && value) {\n\t\tif((mode & 4) && value.__esModule) return value;\n\t\tif((mode & 16) && typeof value.then === 'function') return value;\n\t}\n\tvar ns = Object.create(null);\n\t__webpack_require__.r(ns);\n\tvar def = {};\n\tleafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)];\n\tfor(var current = mode & 2 && value; typeof current == 'object' && !~leafPrototypes.indexOf(current); current = getProto(current)) {\n\t\tObject.getOwnPropertyNames(current).forEach(function(key) { def[key] = function() { return value[key]; }; });\n\t}\n\tdef['default'] = function() { return value; };\n\t__webpack_require__.d(ns, def);\n\treturn ns;\n};","var inProgress = {};\nvar dataWebpackPrefix = \"mas-playbook:\";\n// loadScript function to load a script via script tag\n__webpack_require__.l = function(url, done, key, chunkId) {\n\tif(inProgress[url]) { inProgress[url].push(done); return; }\n\tvar script, needAttach;\n\tif(key !== undefined) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tfor(var i = 0; i < scripts.length; i++) {\n\t\t\tvar s = scripts[i];\n\t\t\tif(s.getAttribute(\"src\") == url || s.getAttribute(\"data-webpack\") == dataWebpackPrefix + key) { script = s; break; }\n\t\t}\n\t}\n\tif(!script) {\n\t\tneedAttach = true;\n\t\tscript = document.createElement('script');\n\n\t\tscript.charset = 'utf-8';\n\t\tscript.timeout = 120;\n\t\tif (__webpack_require__.nc) {\n\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n\t\t}\n\t\tscript.setAttribute(\"data-webpack\", dataWebpackPrefix + key);\n\t\tscript.src = url;\n\t}\n\tinProgress[url] = [done];\n\tvar onScriptComplete = function(prev, event) {\n\t\t// avoid mem leaks in IE.\n\t\tscript.onerror = script.onload = null;\n\t\tclearTimeout(timeout);\n\t\tvar doneFns = inProgress[url];\n\t\tdelete inProgress[url];\n\t\tscript.parentNode && script.parentNode.removeChild(script);\n\t\tdoneFns && doneFns.forEach(function(fn) { return fn(event); });\n\t\tif(prev) return prev(event);\n\t}\n\t;\n\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\n\tscript.onerror = onScriptComplete.bind(null, script.onerror);\n\tscript.onload = onScriptComplete.bind(null, script.onload);\n\tneedAttach && document.head.appendChild(script);\n};","var createStylesheet = function(chunkId, fullhref, resolve, reject) {\n\tvar linkTag = document.createElement(\"link\");\n\n\tlinkTag.rel = \"stylesheet\";\n\tlinkTag.type = \"text/css\";\n\tvar onLinkComplete = function(event) {\n\t\t// avoid mem leaks.\n\t\tlinkTag.onerror = linkTag.onload = null;\n\t\tif (event.type === 'load') {\n\t\t\tresolve();\n\t\t} else {\n\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\tvar realHref = event && event.target && event.target.href || fullhref;\n\t\t\tvar err = new Error(\"Loading CSS chunk \" + chunkId + \" failed.\\n(\" + realHref + \")\");\n\t\t\terr.code = \"CSS_CHUNK_LOAD_FAILED\";\n\t\t\terr.type = errorType;\n\t\t\terr.request = realHref;\n\t\t\tlinkTag.parentNode.removeChild(linkTag)\n\t\t\treject(err);\n\t\t}\n\t}\n\tlinkTag.onerror = linkTag.onload = onLinkComplete;\n\tlinkTag.href = fullhref;\n\n\tdocument.head.appendChild(linkTag);\n\treturn linkTag;\n};\nvar findStylesheet = function(href, fullhref) {\n\tvar existingLinkTags = document.getElementsByTagName(\"link\");\n\tfor(var i = 0; i < existingLinkTags.length; i++) {\n\t\tvar tag = existingLinkTags[i];\n\t\tvar dataHref = tag.getAttribute(\"data-href\") || tag.getAttribute(\"href\");\n\t\tif(tag.rel === \"stylesheet\" && (dataHref === href || dataHref === fullhref)) return tag;\n\t}\n\tvar existingStyleTags = document.getElementsByTagName(\"style\");\n\tfor(var i = 0; i < existingStyleTags.length; i++) {\n\t\tvar tag = existingStyleTags[i];\n\t\tvar dataHref = tag.getAttribute(\"data-href\");\n\t\tif(dataHref === href || dataHref === fullhref) return tag;\n\t}\n};\nvar loadStylesheet = function(chunkId) {\n\treturn new Promise(function(resolve, reject) {\n\t\tvar href = __webpack_require__.miniCssF(chunkId);\n\t\tvar fullhref = __webpack_require__.p + href;\n\t\tif(findStylesheet(href, fullhref)) return resolve();\n\t\tcreateStylesheet(chunkId, fullhref, resolve, reject);\n\t});\n}\n// object to store loaded CSS chunks\nvar installedCssChunks = {\n\t658: 0\n};\n\n__webpack_require__.f.miniCss = function(chunkId, promises) {\n\tvar cssChunks = {\"532\":1};\n\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n\t\tpromises.push(installedCssChunks[chunkId] = loadStylesheet(chunkId).then(function() {\n\t\t\tinstalledCssChunks[chunkId] = 0;\n\t\t}, function(e) {\n\t\t\tdelete installedCssChunks[chunkId];\n\t\t\tthrow e;\n\t\t}));\n\t}\n};\n\n// no hmr","// 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\t// no module.id needed\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// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(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__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = function(chunkId) {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce(function(promises, key) {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks\n__webpack_require__.u = function(chunkId) {\n\t// return url for filenames based on template\n\treturn \"\" + {\"130\":\"component---src-pages-complex-restrict-wo-priority-based-on-work-type-mdx\",\"156\":\"component---src-pages-simple-replace-date-attribute-mdx\",\"174\":\"component---src-pages-complex-restrict-complete-status-mdx\",\"228\":\"component---src-pages-simple-modify-default-queries-mdx\",\"235\":\"component---src-pages-simple-default-record-data-options-mdx\",\"309\":\"component---src-pages-complex-enable-wo-classification-mdx\",\"453\":\"component---src-pages-complex-set-default-values-new-wo-mdx\",\"513\":\"component---src-pages-simple-update-app-saved-query-mdx\",\"527\":\"component---src-pages-simple-extended-lookup-map-mdx\",\"532\":\"styles\",\"547\":\"component---src-pages-complex-disable-delete-btn-error-tx-mdx\",\"589\":\"component---src-pages-simple-create-wo-priority-lookup-mdx\",\"749\":\"component---src-pages-overview-mdx\",\"762\":\"component---src-pages-debug-ui-mdx\",\"809\":\"component---src-pages-index-mdx\",\"883\":\"component---src-pages-404-js\"}[chunkId] + \"-\" + {\"130\":\"d4b6f18a6375f5110967\",\"156\":\"655340f77fb350a79ee8\",\"174\":\"9bc75583cbfd7cc690da\",\"228\":\"e262b7eaa22d81dcfd4c\",\"235\":\"5e37acca4bd01cb7aacc\",\"309\":\"049699786875d29b2902\",\"453\":\"7066463c2fe0f05e1018\",\"513\":\"506c6d231ffe8ba4a3fd\",\"527\":\"38ffad5552e60f7f41c8\",\"532\":\"b001161f4cdceb5876a9\",\"547\":\"0c1598c89037560950b2\",\"589\":\"bcf0c7f9d0efaff379c0\",\"749\":\"db57767646ce2878c15d\",\"762\":\"f0eb896595561e6a2638\",\"809\":\"efee3e974d631789d067\",\"883\":\"6f8044898a01bc7ebed0\"}[chunkId] + \".js\";\n};","// This function allow to reference all chunks\n__webpack_require__.miniCssF = function(chunkId) {\n\t// return url for filenames based on template\n\treturn \"\" + \"styles\" + \".\" + \"f71526870662e4df33c8\" + \".css\";\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","// define __esModule on exports\n__webpack_require__.r = function(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__.p = \"/configuration-practices-documentation/\";","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t658: 0,\n\t532: 0\n};\n\n__webpack_require__.f.j = function(chunkId, promises) {\n\t\t// JSONP chunk loading for javascript\n\t\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\n\t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n\t\t\t// a Promise means \"currently loading\".\n\t\t\tif(installedChunkData) {\n\t\t\t\tpromises.push(installedChunkData[2]);\n\t\t\t} else {\n\t\t\t\tif(!/^(532|658)$/.test(chunkId)) {\n\t\t\t\t\t// setup Promise in chunk cache\n\t\t\t\t\tvar promise = new Promise(function(resolve, reject) { installedChunkData = installedChunks[chunkId] = [resolve, reject]; });\n\t\t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n\t\t\t\t\t// start chunk loading\n\t\t\t\t\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\n\t\t\t\t\t// create error before stack unwound to get useful stacktrace later\n\t\t\t\t\tvar error = new Error();\n\t\t\t\t\tvar loadingEnded = function(event) {\n\t\t\t\t\t\tif(__webpack_require__.o(installedChunks, chunkId)) {\n\t\t\t\t\t\t\tinstalledChunkData = installedChunks[chunkId];\n\t\t\t\t\t\t\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\n\t\t\t\t\t\t\tif(installedChunkData) {\n\t\t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n\t\t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n\t\t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n\t\t\t\t\t\t\t\terror.type = errorType;\n\t\t\t\t\t\t\t\terror.request = realSrc;\n\t\t\t\t\t\t\t\tinstalledChunkData[1](error);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\t__webpack_require__.l(url, loadingEnded, \"chunk-\" + chunkId, chunkId);\n\t\t\t\t} else installedChunks[chunkId] = 0;\n\t\t\t}\n\t\t}\n};\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = function(chunkId) { return installedChunks[chunkId] === 0; };\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = function(parentChunkLoadingFunction, data) {\n\tvar chunkIds = data[0];\n\tvar moreModules = data[1];\n\tvar runtime = data[2];\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some(function(id) { return installedChunks[id] !== 0; })) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkmas_playbook\"] = self[\"webpackChunkmas_playbook\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));"],"names":["deferred","leafPrototypes","getProto","inProgress","dataWebpackPrefix","loadStylesheet","installedCssChunks","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","__webpack_modules__","call","m","O","result","chunkIds","fn","priority","notFulfilled","Infinity","i","length","fulfilled","j","Object","keys","every","key","splice","r","n","getter","__esModule","d","a","getPrototypeOf","obj","__proto__","t","value","mode","this","then","ns","create","def","current","indexOf","getOwnPropertyNames","forEach","definition","o","defineProperty","enumerable","get","f","e","chunkId","Promise","all","reduce","promises","u","miniCssF","g","globalThis","Function","window","prop","prototype","hasOwnProperty","l","url","done","push","script","needAttach","scripts","document","getElementsByTagName","s","getAttribute","createElement","charset","timeout","nc","setAttribute","src","onScriptComplete","prev","event","onerror","onload","clearTimeout","doneFns","parentNode","removeChild","setTimeout","bind","type","target","head","appendChild","Symbol","toStringTag","p","resolve","reject","href","fullhref","existingLinkTags","dataHref","tag","rel","existingStyleTags","findStylesheet","linkTag","errorType","realHref","err","Error","code","request","createStylesheet","miniCss","installedChunks","installedChunkData","test","promise","error","realSrc","message","name","webpackJsonpCallback","parentChunkLoadingFunction","data","moreModules","runtime","some","id","chunkLoadingGlobal","self"],"sourceRoot":""} \ No newline at end of file diff --git a/webpack-runtime-c83c740a67d3def4877d.js b/webpack-runtime-c83c740a67d3def4877d.js new file mode 100644 index 0000000..ed5771e --- /dev/null +++ b/webpack-runtime-c83c740a67d3def4877d.js @@ -0,0 +1,2 @@ +!function(){"use strict";var e,t,n,r,o,a,c,i={},u={};function s(e){var t=u[e];if(void 0!==t)return t.exports;var n=u[e]={exports:{}};return i[e].call(n.exports,n,n.exports,s),n.exports}s.m=i,e=[],s.O=function(t,n,r,o){if(!n){var a=1/0;for(d=0;d=o)&&Object.keys(s.O).every((function(e){return s.O[e](n[i])}))?n.splice(i--,1):(c=!1,o0&&e[d-1][2]>o;d--)e[d]=e[d-1];e[d]=[n,r,o]},s.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return s.d(t,{a:t}),t},n=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},s.t=function(e,r){if(1&r&&(e=this(e)),8&r)return e;if("object"==typeof e&&e){if(4&r&&e.__esModule)return e;if(16&r&&"function"==typeof e.then)return e}var o=Object.create(null);s.r(o);var a={};t=t||[null,n({}),n([]),n(n)];for(var c=2&r&&e;"object"==typeof c&&!~t.indexOf(c);c=n(c))Object.getOwnPropertyNames(c).forEach((function(t){a[t]=function(){return e[t]}}));return a.default=function(){return e},s.d(o,a),o},s.d=function(e,t){for(var n in t)s.o(t,n)&&!s.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},s.f={},s.e=function(e){return Promise.all(Object.keys(s.f).reduce((function(t,n){return s.f[n](e,t),t}),[]))},s.u=function(e){return{48:"component---src-pages-complex-reuse-page-datasource-mdx",130:"component---src-pages-complex-restrict-wo-priority-based-on-work-type-mdx",156:"component---src-pages-simple-replace-date-attribute-mdx",174:"component---src-pages-complex-restrict-complete-status-mdx",228:"component---src-pages-simple-modify-default-queries-mdx",235:"component---src-pages-simple-default-record-data-options-mdx",309:"component---src-pages-complex-enable-wo-classification-mdx",453:"component---src-pages-complex-set-default-values-new-wo-mdx",513:"component---src-pages-simple-update-app-saved-query-mdx",527:"component---src-pages-simple-extended-lookup-map-mdx",532:"styles",547:"component---src-pages-complex-disable-delete-btn-error-tx-mdx",589:"component---src-pages-simple-create-wo-priority-lookup-mdx",594:"component---src-pages-simple-add-tooltips-mdx",749:"component---src-pages-overview-mdx",762:"component---src-pages-debug-ui-mdx",809:"component---src-pages-index-mdx",843:"component---src-pages-complex-external-links-mdx",883:"component---src-pages-404-js"}[e]+"-"+{48:"456a41eceb2201fdaf51",130:"d4b6f18a6375f5110967",156:"655340f77fb350a79ee8",174:"9bc75583cbfd7cc690da",228:"e262b7eaa22d81dcfd4c",235:"5e37acca4bd01cb7aacc",309:"049699786875d29b2902",453:"7066463c2fe0f05e1018",513:"506c6d231ffe8ba4a3fd",527:"38ffad5552e60f7f41c8",532:"b001161f4cdceb5876a9",547:"0c1598c89037560950b2",589:"bcf0c7f9d0efaff379c0",594:"76311cac780e1b36f1da",749:"db57767646ce2878c15d",762:"f0eb896595561e6a2638",809:"efee3e974d631789d067",843:"ffcfae4df64cb87be5bf",883:"6f8044898a01bc7ebed0"}[e]+".js"},s.miniCssF=function(e){return"styles.f71526870662e4df33c8.css"},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=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r={},o="mas-playbook:",s.l=function(e,t,n,a){if(r[e])r[e].push(t);else{var c,i;if(void 0!==n)for(var u=document.getElementsByTagName("script"),d=0;d 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar chunkIds = deferred[i][0];\n\t\tvar fn = deferred[i][1];\n\t\tvar priority = deferred[i][2];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every(function(key) { return __webpack_require__.O[key](chunkIds[j]); })) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","var getProto = Object.getPrototypeOf ? function(obj) { return Object.getPrototypeOf(obj); } : function(obj) { return obj.__proto__; };\nvar leafPrototypes;\n// create a fake namespace object\n// mode & 1: value is a module id, require it\n// mode & 2: merge all properties of value into the ns\n// mode & 4: return value when already ns object\n// mode & 16: return value when it's Promise-like\n// mode & 8|1: behave like require\n__webpack_require__.t = function(value, mode) {\n\tif(mode & 1) value = this(value);\n\tif(mode & 8) return value;\n\tif(typeof value === 'object' && value) {\n\t\tif((mode & 4) && value.__esModule) return value;\n\t\tif((mode & 16) && typeof value.then === 'function') return value;\n\t}\n\tvar ns = Object.create(null);\n\t__webpack_require__.r(ns);\n\tvar def = {};\n\tleafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)];\n\tfor(var current = mode & 2 && value; typeof current == 'object' && !~leafPrototypes.indexOf(current); current = getProto(current)) {\n\t\tObject.getOwnPropertyNames(current).forEach(function(key) { def[key] = function() { return value[key]; }; });\n\t}\n\tdef['default'] = function() { return value; };\n\t__webpack_require__.d(ns, def);\n\treturn ns;\n};","var inProgress = {};\nvar dataWebpackPrefix = \"mas-playbook:\";\n// loadScript function to load a script via script tag\n__webpack_require__.l = function(url, done, key, chunkId) {\n\tif(inProgress[url]) { inProgress[url].push(done); return; }\n\tvar script, needAttach;\n\tif(key !== undefined) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tfor(var i = 0; i < scripts.length; i++) {\n\t\t\tvar s = scripts[i];\n\t\t\tif(s.getAttribute(\"src\") == url || s.getAttribute(\"data-webpack\") == dataWebpackPrefix + key) { script = s; break; }\n\t\t}\n\t}\n\tif(!script) {\n\t\tneedAttach = true;\n\t\tscript = document.createElement('script');\n\n\t\tscript.charset = 'utf-8';\n\t\tscript.timeout = 120;\n\t\tif (__webpack_require__.nc) {\n\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n\t\t}\n\t\tscript.setAttribute(\"data-webpack\", dataWebpackPrefix + key);\n\t\tscript.src = url;\n\t}\n\tinProgress[url] = [done];\n\tvar onScriptComplete = function(prev, event) {\n\t\t// avoid mem leaks in IE.\n\t\tscript.onerror = script.onload = null;\n\t\tclearTimeout(timeout);\n\t\tvar doneFns = inProgress[url];\n\t\tdelete inProgress[url];\n\t\tscript.parentNode && script.parentNode.removeChild(script);\n\t\tdoneFns && doneFns.forEach(function(fn) { return fn(event); });\n\t\tif(prev) return prev(event);\n\t}\n\t;\n\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\n\tscript.onerror = onScriptComplete.bind(null, script.onerror);\n\tscript.onload = onScriptComplete.bind(null, script.onload);\n\tneedAttach && document.head.appendChild(script);\n};","var createStylesheet = function(chunkId, fullhref, resolve, reject) {\n\tvar linkTag = document.createElement(\"link\");\n\n\tlinkTag.rel = \"stylesheet\";\n\tlinkTag.type = \"text/css\";\n\tvar onLinkComplete = function(event) {\n\t\t// avoid mem leaks.\n\t\tlinkTag.onerror = linkTag.onload = null;\n\t\tif (event.type === 'load') {\n\t\t\tresolve();\n\t\t} else {\n\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\tvar realHref = event && event.target && event.target.href || fullhref;\n\t\t\tvar err = new Error(\"Loading CSS chunk \" + chunkId + \" failed.\\n(\" + realHref + \")\");\n\t\t\terr.code = \"CSS_CHUNK_LOAD_FAILED\";\n\t\t\terr.type = errorType;\n\t\t\terr.request = realHref;\n\t\t\tlinkTag.parentNode.removeChild(linkTag)\n\t\t\treject(err);\n\t\t}\n\t}\n\tlinkTag.onerror = linkTag.onload = onLinkComplete;\n\tlinkTag.href = fullhref;\n\n\tdocument.head.appendChild(linkTag);\n\treturn linkTag;\n};\nvar findStylesheet = function(href, fullhref) {\n\tvar existingLinkTags = document.getElementsByTagName(\"link\");\n\tfor(var i = 0; i < existingLinkTags.length; i++) {\n\t\tvar tag = existingLinkTags[i];\n\t\tvar dataHref = tag.getAttribute(\"data-href\") || tag.getAttribute(\"href\");\n\t\tif(tag.rel === \"stylesheet\" && (dataHref === href || dataHref === fullhref)) return tag;\n\t}\n\tvar existingStyleTags = document.getElementsByTagName(\"style\");\n\tfor(var i = 0; i < existingStyleTags.length; i++) {\n\t\tvar tag = existingStyleTags[i];\n\t\tvar dataHref = tag.getAttribute(\"data-href\");\n\t\tif(dataHref === href || dataHref === fullhref) return tag;\n\t}\n};\nvar loadStylesheet = function(chunkId) {\n\treturn new Promise(function(resolve, reject) {\n\t\tvar href = __webpack_require__.miniCssF(chunkId);\n\t\tvar fullhref = __webpack_require__.p + href;\n\t\tif(findStylesheet(href, fullhref)) return resolve();\n\t\tcreateStylesheet(chunkId, fullhref, resolve, reject);\n\t});\n}\n// object to store loaded CSS chunks\nvar installedCssChunks = {\n\t658: 0\n};\n\n__webpack_require__.f.miniCss = function(chunkId, promises) {\n\tvar cssChunks = {\"532\":1};\n\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n\t\tpromises.push(installedCssChunks[chunkId] = loadStylesheet(chunkId).then(function() {\n\t\t\tinstalledCssChunks[chunkId] = 0;\n\t\t}, function(e) {\n\t\t\tdelete installedCssChunks[chunkId];\n\t\t\tthrow e;\n\t\t}));\n\t}\n};\n\n// no hmr","// 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\t// no module.id needed\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// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(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__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = function(chunkId) {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce(function(promises, key) {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks\n__webpack_require__.u = function(chunkId) {\n\t// return url for filenames based on template\n\treturn \"\" + {\"48\":\"component---src-pages-complex-reuse-page-datasource-mdx\",\"130\":\"component---src-pages-complex-restrict-wo-priority-based-on-work-type-mdx\",\"156\":\"component---src-pages-simple-replace-date-attribute-mdx\",\"174\":\"component---src-pages-complex-restrict-complete-status-mdx\",\"228\":\"component---src-pages-simple-modify-default-queries-mdx\",\"235\":\"component---src-pages-simple-default-record-data-options-mdx\",\"309\":\"component---src-pages-complex-enable-wo-classification-mdx\",\"453\":\"component---src-pages-complex-set-default-values-new-wo-mdx\",\"513\":\"component---src-pages-simple-update-app-saved-query-mdx\",\"527\":\"component---src-pages-simple-extended-lookup-map-mdx\",\"532\":\"styles\",\"547\":\"component---src-pages-complex-disable-delete-btn-error-tx-mdx\",\"589\":\"component---src-pages-simple-create-wo-priority-lookup-mdx\",\"594\":\"component---src-pages-simple-add-tooltips-mdx\",\"749\":\"component---src-pages-overview-mdx\",\"762\":\"component---src-pages-debug-ui-mdx\",\"809\":\"component---src-pages-index-mdx\",\"843\":\"component---src-pages-complex-external-links-mdx\",\"883\":\"component---src-pages-404-js\"}[chunkId] + \"-\" + {\"48\":\"456a41eceb2201fdaf51\",\"130\":\"d4b6f18a6375f5110967\",\"156\":\"655340f77fb350a79ee8\",\"174\":\"9bc75583cbfd7cc690da\",\"228\":\"e262b7eaa22d81dcfd4c\",\"235\":\"5e37acca4bd01cb7aacc\",\"309\":\"049699786875d29b2902\",\"453\":\"7066463c2fe0f05e1018\",\"513\":\"506c6d231ffe8ba4a3fd\",\"527\":\"38ffad5552e60f7f41c8\",\"532\":\"b001161f4cdceb5876a9\",\"547\":\"0c1598c89037560950b2\",\"589\":\"bcf0c7f9d0efaff379c0\",\"594\":\"76311cac780e1b36f1da\",\"749\":\"db57767646ce2878c15d\",\"762\":\"f0eb896595561e6a2638\",\"809\":\"efee3e974d631789d067\",\"843\":\"ffcfae4df64cb87be5bf\",\"883\":\"6f8044898a01bc7ebed0\"}[chunkId] + \".js\";\n};","// This function allow to reference all chunks\n__webpack_require__.miniCssF = function(chunkId) {\n\t// return url for filenames based on template\n\treturn \"\" + \"styles\" + \".\" + \"f71526870662e4df33c8\" + \".css\";\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","// define __esModule on exports\n__webpack_require__.r = function(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__.p = \"/configuration-practices-documentation/\";","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t658: 0,\n\t532: 0\n};\n\n__webpack_require__.f.j = function(chunkId, promises) {\n\t\t// JSONP chunk loading for javascript\n\t\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\n\t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n\t\t\t// a Promise means \"currently loading\".\n\t\t\tif(installedChunkData) {\n\t\t\t\tpromises.push(installedChunkData[2]);\n\t\t\t} else {\n\t\t\t\tif(!/^(532|658)$/.test(chunkId)) {\n\t\t\t\t\t// setup Promise in chunk cache\n\t\t\t\t\tvar promise = new Promise(function(resolve, reject) { installedChunkData = installedChunks[chunkId] = [resolve, reject]; });\n\t\t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n\t\t\t\t\t// start chunk loading\n\t\t\t\t\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\n\t\t\t\t\t// create error before stack unwound to get useful stacktrace later\n\t\t\t\t\tvar error = new Error();\n\t\t\t\t\tvar loadingEnded = function(event) {\n\t\t\t\t\t\tif(__webpack_require__.o(installedChunks, chunkId)) {\n\t\t\t\t\t\t\tinstalledChunkData = installedChunks[chunkId];\n\t\t\t\t\t\t\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\n\t\t\t\t\t\t\tif(installedChunkData) {\n\t\t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n\t\t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n\t\t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n\t\t\t\t\t\t\t\terror.type = errorType;\n\t\t\t\t\t\t\t\terror.request = realSrc;\n\t\t\t\t\t\t\t\tinstalledChunkData[1](error);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\t__webpack_require__.l(url, loadingEnded, \"chunk-\" + chunkId, chunkId);\n\t\t\t\t} else installedChunks[chunkId] = 0;\n\t\t\t}\n\t\t}\n};\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = function(chunkId) { return installedChunks[chunkId] === 0; };\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = function(parentChunkLoadingFunction, data) {\n\tvar chunkIds = data[0];\n\tvar moreModules = data[1];\n\tvar runtime = data[2];\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some(function(id) { return installedChunks[id] !== 0; })) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkmas_playbook\"] = self[\"webpackChunkmas_playbook\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));"],"names":["deferred","leafPrototypes","getProto","inProgress","dataWebpackPrefix","loadStylesheet","installedCssChunks","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","__webpack_modules__","call","m","O","result","chunkIds","fn","priority","notFulfilled","Infinity","i","length","fulfilled","j","Object","keys","every","key","splice","r","n","getter","__esModule","d","a","getPrototypeOf","obj","__proto__","t","value","mode","this","then","ns","create","def","current","indexOf","getOwnPropertyNames","forEach","definition","o","defineProperty","enumerable","get","f","e","chunkId","Promise","all","reduce","promises","u","miniCssF","g","globalThis","Function","window","prop","prototype","hasOwnProperty","l","url","done","push","script","needAttach","scripts","document","getElementsByTagName","s","getAttribute","createElement","charset","timeout","nc","setAttribute","src","onScriptComplete","prev","event","onerror","onload","clearTimeout","doneFns","parentNode","removeChild","setTimeout","bind","type","target","head","appendChild","Symbol","toStringTag","p","resolve","reject","href","fullhref","existingLinkTags","dataHref","tag","rel","existingStyleTags","findStylesheet","linkTag","errorType","realHref","err","Error","code","request","createStylesheet","miniCss","installedChunks","installedChunkData","test","promise","error","realSrc","message","name","webpackJsonpCallback","parentChunkLoadingFunction","data","moreModules","runtime","some","id","chunkLoadingGlobal","self"],"sourceRoot":""} \ No newline at end of file diff --git a/webpack.stats.json b/webpack.stats.json index 94122bb..5dd911c 100644 --- a/webpack.stats.json +++ b/webpack.stats.json @@ -1 +1 @@ -{"name":"build-javascript","namedChunkGroups":{"polyfill":{"name":"polyfill","assets":[{"name":"webpack-runtime-1d3512344e5486f7d33b.js","size":6049},{"name":"polyfill-9a192f2a2d41e90f300c.js","size":85019}],"filteredAssets":0,"assetsSize":91068,"filteredAuxiliaryAssets":2,"auxiliaryAssetsSize":232338},"app":{"name":"app","assets":[{"name":"webpack-runtime-1d3512344e5486f7d33b.js","size":6049},{"name":"styles.f71526870662e4df33c8.css","size":683378},{"name":"framework-e4c63479cd1ee2588460.js","size":128695},{"name":"cfc6b023-d7418e516f2d514a7611.js","size":623},{"name":"43a99af2-9877027d301338bc80b5.js","size":658},{"name":"fc20e1c4-4d7c8336ecbe3f337d38.js","size":4785},{"name":"c2ec1d10-ec5c461af9f30d22131f.js","size":653},{"name":"8f19d780-41fec1930d9513f06d26.js","size":2977},{"name":"5ca00d41-c5e082c43269fc8f6f3a.js","size":554},{"name":"6e92790c-77eed0c4c19f315f701c.js","size":625},{"name":"5f6bb6fb-57db9c0fb6275abc8fab.js","size":611},{"name":"ebd65826-ecab064ae3758b84af77.js","size":2677},{"name":"23420901-cfc7904f5da8dce24f55.js","size":653},{"name":"262b3caa-5fcf1086e7cc68fa8f43.js","size":1252},{"name":"0e6451da-dda8e55812a1842e8957.js","size":634},{"name":"4119064d-7aca6ac5a67a34879dca.js","size":1931},{"name":"e51a3977-d72daca29b23e321d529.js","size":1449},{"name":"439716bf-56e2acc0eaee27ee0b25.js","size":3888},{"name":"2fb713ed-2f6aaa5416c583b72b04.js","size":1566},{"name":"1c920f04-2bda4ddf8bc7022c3222.js","size":573},{"name":"app-c8bbcaf5b033ffcef894.js","size":575868}],"filteredAssets":0,"assetsSize":1420099,"filteredAuxiliaryAssets":26,"auxiliaryAssetsSize":7453297},"component---src-pages-404-js":{"name":"component---src-pages-404-js","assets":[{"name":"component---src-pages-404-js-6f8044898a01bc7ebed0.js","size":492}],"filteredAssets":0,"assetsSize":492,"filteredAuxiliaryAssets":1,"auxiliaryAssetsSize":820},"component---src-pages-complex-disable-delete-btn-error-tx-mdx":{"name":"component---src-pages-complex-disable-delete-btn-error-tx-mdx","assets":[{"name":"styles.f71526870662e4df33c8.css","size":683378},{"name":"component---src-pages-complex-disable-delete-btn-error-tx-mdx-0c1598c89037560950b2.js","size":12386}],"filteredAssets":0,"assetsSize":695764,"filteredAuxiliaryAssets":3,"auxiliaryAssetsSize":185342},"component---src-pages-complex-enable-wo-classification-mdx":{"name":"component---src-pages-complex-enable-wo-classification-mdx","assets":[{"name":"styles.f71526870662e4df33c8.css","size":683378},{"name":"component---src-pages-complex-enable-wo-classification-mdx-049699786875d29b2902.js","size":13433}],"filteredAssets":0,"assetsSize":696811,"filteredAuxiliaryAssets":3,"auxiliaryAssetsSize":186366},"component---src-pages-complex-restrict-complete-status-mdx":{"name":"component---src-pages-complex-restrict-complete-status-mdx","assets":[{"name":"styles.f71526870662e4df33c8.css","size":683378},{"name":"component---src-pages-complex-restrict-complete-status-mdx-9bc75583cbfd7cc690da.js","size":12011}],"filteredAssets":0,"assetsSize":695389,"filteredAuxiliaryAssets":3,"auxiliaryAssetsSize":182927},"component---src-pages-complex-restrict-wo-priority-based-on-work-type-mdx":{"name":"component---src-pages-complex-restrict-wo-priority-based-on-work-type-mdx","assets":[{"name":"styles.f71526870662e4df33c8.css","size":683378},{"name":"component---src-pages-complex-restrict-wo-priority-based-on-work-type-mdx-d4b6f18a6375f5110967.js","size":6349}],"filteredAssets":0,"assetsSize":689727,"filteredAuxiliaryAssets":3,"auxiliaryAssetsSize":176775},"component---src-pages-complex-set-default-values-new-wo-mdx":{"name":"component---src-pages-complex-set-default-values-new-wo-mdx","assets":[{"name":"styles.f71526870662e4df33c8.css","size":683378},{"name":"component---src-pages-complex-set-default-values-new-wo-mdx-7066463c2fe0f05e1018.js","size":5973}],"filteredAssets":0,"assetsSize":689351,"filteredAuxiliaryAssets":3,"auxiliaryAssetsSize":176450},"component---src-pages-debug-ui-mdx":{"name":"component---src-pages-debug-ui-mdx","assets":[{"name":"styles.f71526870662e4df33c8.css","size":683378},{"name":"component---src-pages-debug-ui-mdx-f0eb896595561e6a2638.js","size":13835}],"filteredAssets":0,"assetsSize":697213,"filteredAuxiliaryAssets":3,"auxiliaryAssetsSize":188586},"component---src-pages-index-mdx":{"name":"component---src-pages-index-mdx","assets":[{"name":"component---src-pages-index-mdx-efee3e974d631789d067.js","size":546}],"filteredAssets":0,"assetsSize":546,"filteredAuxiliaryAssets":1,"auxiliaryAssetsSize":1137},"component---src-pages-overview-mdx":{"name":"component---src-pages-overview-mdx","assets":[{"name":"styles.f71526870662e4df33c8.css","size":683378},{"name":"component---src-pages-overview-mdx-db57767646ce2878c15d.js","size":8692}],"filteredAssets":0,"assetsSize":692070,"filteredAuxiliaryAssets":3,"auxiliaryAssetsSize":179369},"component---src-pages-simple-create-wo-priority-lookup-mdx":{"name":"component---src-pages-simple-create-wo-priority-lookup-mdx","assets":[{"name":"styles.f71526870662e4df33c8.css","size":683378},{"name":"component---src-pages-simple-create-wo-priority-lookup-mdx-bcf0c7f9d0efaff379c0.js","size":8984}],"filteredAssets":0,"assetsSize":692362,"filteredAuxiliaryAssets":3,"auxiliaryAssetsSize":180646},"component---src-pages-simple-default-record-data-options-mdx":{"name":"component---src-pages-simple-default-record-data-options-mdx","assets":[{"name":"styles.f71526870662e4df33c8.css","size":683378},{"name":"component---src-pages-simple-default-record-data-options-mdx-5e37acca4bd01cb7aacc.js","size":7898}],"filteredAssets":0,"assetsSize":691276,"filteredAuxiliaryAssets":3,"auxiliaryAssetsSize":179535},"component---src-pages-simple-extended-lookup-map-mdx":{"name":"component---src-pages-simple-extended-lookup-map-mdx","assets":[{"name":"styles.f71526870662e4df33c8.css","size":683378},{"name":"component---src-pages-simple-extended-lookup-map-mdx-38ffad5552e60f7f41c8.js","size":5813}],"filteredAssets":0,"assetsSize":689191,"filteredAuxiliaryAssets":3,"auxiliaryAssetsSize":176279},"component---src-pages-simple-modify-default-queries-mdx":{"name":"component---src-pages-simple-modify-default-queries-mdx","assets":[{"name":"styles.f71526870662e4df33c8.css","size":683378},{"name":"component---src-pages-simple-modify-default-queries-mdx-e262b7eaa22d81dcfd4c.js","size":8395}],"filteredAssets":0,"assetsSize":691773,"filteredAuxiliaryAssets":3,"auxiliaryAssetsSize":180109},"component---src-pages-simple-replace-date-attribute-mdx":{"name":"component---src-pages-simple-replace-date-attribute-mdx","assets":[{"name":"styles.f71526870662e4df33c8.css","size":683378},{"name":"component---src-pages-simple-replace-date-attribute-mdx-655340f77fb350a79ee8.js","size":6521}],"filteredAssets":0,"assetsSize":689899,"filteredAuxiliaryAssets":3,"auxiliaryAssetsSize":177065},"component---src-pages-simple-update-app-saved-query-mdx":{"name":"component---src-pages-simple-update-app-saved-query-mdx","assets":[{"name":"styles.f71526870662e4df33c8.css","size":683378},{"name":"component---src-pages-simple-update-app-saved-query-mdx-506c6d231ffe8ba4a3fd.js","size":8314}],"filteredAssets":0,"assetsSize":691692,"filteredAuxiliaryAssets":3,"auxiliaryAssetsSize":179853}},"assetsByChunkName":{"polyfill":["webpack-runtime-1d3512344e5486f7d33b.js","polyfill-9a192f2a2d41e90f300c.js"],"app":["webpack-runtime-1d3512344e5486f7d33b.js","styles.f71526870662e4df33c8.css","framework-e4c63479cd1ee2588460.js","cfc6b023-d7418e516f2d514a7611.js","43a99af2-9877027d301338bc80b5.js","fc20e1c4-4d7c8336ecbe3f337d38.js","c2ec1d10-ec5c461af9f30d22131f.js","8f19d780-41fec1930d9513f06d26.js","5ca00d41-c5e082c43269fc8f6f3a.js","6e92790c-77eed0c4c19f315f701c.js","5f6bb6fb-57db9c0fb6275abc8fab.js","ebd65826-ecab064ae3758b84af77.js","23420901-cfc7904f5da8dce24f55.js","262b3caa-5fcf1086e7cc68fa8f43.js","0e6451da-dda8e55812a1842e8957.js","4119064d-7aca6ac5a67a34879dca.js","e51a3977-d72daca29b23e321d529.js","439716bf-56e2acc0eaee27ee0b25.js","2fb713ed-2f6aaa5416c583b72b04.js","1c920f04-2bda4ddf8bc7022c3222.js","app-c8bbcaf5b033ffcef894.js"],"component---src-pages-404-js":["component---src-pages-404-js-6f8044898a01bc7ebed0.js"],"component---src-pages-complex-disable-delete-btn-error-tx-mdx":["styles.f71526870662e4df33c8.css","component---src-pages-complex-disable-delete-btn-error-tx-mdx-0c1598c89037560950b2.js"],"component---src-pages-complex-enable-wo-classification-mdx":["styles.f71526870662e4df33c8.css","component---src-pages-complex-enable-wo-classification-mdx-049699786875d29b2902.js"],"component---src-pages-complex-restrict-complete-status-mdx":["styles.f71526870662e4df33c8.css","component---src-pages-complex-restrict-complete-status-mdx-9bc75583cbfd7cc690da.js"],"component---src-pages-complex-restrict-wo-priority-based-on-work-type-mdx":["styles.f71526870662e4df33c8.css","component---src-pages-complex-restrict-wo-priority-based-on-work-type-mdx-d4b6f18a6375f5110967.js"],"component---src-pages-complex-set-default-values-new-wo-mdx":["styles.f71526870662e4df33c8.css","component---src-pages-complex-set-default-values-new-wo-mdx-7066463c2fe0f05e1018.js"],"component---src-pages-debug-ui-mdx":["styles.f71526870662e4df33c8.css","component---src-pages-debug-ui-mdx-f0eb896595561e6a2638.js"],"component---src-pages-index-mdx":["component---src-pages-index-mdx-efee3e974d631789d067.js"],"component---src-pages-overview-mdx":["styles.f71526870662e4df33c8.css","component---src-pages-overview-mdx-db57767646ce2878c15d.js"],"component---src-pages-simple-create-wo-priority-lookup-mdx":["styles.f71526870662e4df33c8.css","component---src-pages-simple-create-wo-priority-lookup-mdx-bcf0c7f9d0efaff379c0.js"],"component---src-pages-simple-default-record-data-options-mdx":["styles.f71526870662e4df33c8.css","component---src-pages-simple-default-record-data-options-mdx-5e37acca4bd01cb7aacc.js"],"component---src-pages-simple-extended-lookup-map-mdx":["styles.f71526870662e4df33c8.css","component---src-pages-simple-extended-lookup-map-mdx-38ffad5552e60f7f41c8.js"],"component---src-pages-simple-modify-default-queries-mdx":["styles.f71526870662e4df33c8.css","component---src-pages-simple-modify-default-queries-mdx-e262b7eaa22d81dcfd4c.js"],"component---src-pages-simple-replace-date-attribute-mdx":["styles.f71526870662e4df33c8.css","component---src-pages-simple-replace-date-attribute-mdx-655340f77fb350a79ee8.js"],"component---src-pages-simple-update-app-saved-query-mdx":["styles.f71526870662e4df33c8.css","component---src-pages-simple-update-app-saved-query-mdx-506c6d231ffe8ba4a3fd.js"]},"childAssetsByChunkName":{}} \ No newline at end of file +{"name":"build-javascript","namedChunkGroups":{"polyfill":{"name":"polyfill","assets":[{"name":"webpack-runtime-c83c740a67d3def4877d.js","size":6297},{"name":"polyfill-9a192f2a2d41e90f300c.js","size":85019}],"filteredAssets":0,"assetsSize":91316,"filteredAuxiliaryAssets":2,"auxiliaryAssetsSize":232694},"app":{"name":"app","assets":[{"name":"webpack-runtime-c83c740a67d3def4877d.js","size":6297},{"name":"styles.f71526870662e4df33c8.css","size":683378},{"name":"framework-e4c63479cd1ee2588460.js","size":128695},{"name":"cfc6b023-d7418e516f2d514a7611.js","size":623},{"name":"43a99af2-9877027d301338bc80b5.js","size":658},{"name":"fc20e1c4-4d7c8336ecbe3f337d38.js","size":4785},{"name":"c2ec1d10-ec5c461af9f30d22131f.js","size":653},{"name":"8f19d780-41fec1930d9513f06d26.js","size":2977},{"name":"5ca00d41-c5e082c43269fc8f6f3a.js","size":554},{"name":"6e92790c-77eed0c4c19f315f701c.js","size":625},{"name":"5f6bb6fb-57db9c0fb6275abc8fab.js","size":611},{"name":"ebd65826-ecab064ae3758b84af77.js","size":2677},{"name":"23420901-cfc7904f5da8dce24f55.js","size":653},{"name":"262b3caa-5fcf1086e7cc68fa8f43.js","size":1252},{"name":"0e6451da-dda8e55812a1842e8957.js","size":634},{"name":"4119064d-7aca6ac5a67a34879dca.js","size":1931},{"name":"e51a3977-d72daca29b23e321d529.js","size":1449},{"name":"439716bf-56e2acc0eaee27ee0b25.js","size":3888},{"name":"2fb713ed-2f6aaa5416c583b72b04.js","size":1566},{"name":"1c920f04-2bda4ddf8bc7022c3222.js","size":573},{"name":"app-86f9c9574dea50d10e97.js","size":576243}],"filteredAssets":0,"assetsSize":1420722,"filteredAuxiliaryAssets":26,"auxiliaryAssetsSize":7454344},"component---src-pages-404-js":{"name":"component---src-pages-404-js","assets":[{"name":"component---src-pages-404-js-6f8044898a01bc7ebed0.js","size":492}],"filteredAssets":0,"assetsSize":492,"filteredAuxiliaryAssets":1,"auxiliaryAssetsSize":820},"component---src-pages-complex-disable-delete-btn-error-tx-mdx":{"name":"component---src-pages-complex-disable-delete-btn-error-tx-mdx","assets":[{"name":"styles.f71526870662e4df33c8.css","size":683378},{"name":"component---src-pages-complex-disable-delete-btn-error-tx-mdx-0c1598c89037560950b2.js","size":12386}],"filteredAssets":0,"assetsSize":695764,"filteredAuxiliaryAssets":3,"auxiliaryAssetsSize":185342},"component---src-pages-complex-enable-wo-classification-mdx":{"name":"component---src-pages-complex-enable-wo-classification-mdx","assets":[{"name":"styles.f71526870662e4df33c8.css","size":683378},{"name":"component---src-pages-complex-enable-wo-classification-mdx-049699786875d29b2902.js","size":13433}],"filteredAssets":0,"assetsSize":696811,"filteredAuxiliaryAssets":3,"auxiliaryAssetsSize":186366},"component---src-pages-complex-external-links-mdx":{"name":"component---src-pages-complex-external-links-mdx","assets":[{"name":"styles.f71526870662e4df33c8.css","size":683378},{"name":"component---src-pages-complex-external-links-mdx-ffcfae4df64cb87be5bf.js","size":4956}],"filteredAssets":0,"assetsSize":688334,"filteredAuxiliaryAssets":3,"auxiliaryAssetsSize":175428},"component---src-pages-complex-restrict-complete-status-mdx":{"name":"component---src-pages-complex-restrict-complete-status-mdx","assets":[{"name":"styles.f71526870662e4df33c8.css","size":683378},{"name":"component---src-pages-complex-restrict-complete-status-mdx-9bc75583cbfd7cc690da.js","size":12011}],"filteredAssets":0,"assetsSize":695389,"filteredAuxiliaryAssets":3,"auxiliaryAssetsSize":182927},"component---src-pages-complex-restrict-wo-priority-based-on-work-type-mdx":{"name":"component---src-pages-complex-restrict-wo-priority-based-on-work-type-mdx","assets":[{"name":"styles.f71526870662e4df33c8.css","size":683378},{"name":"component---src-pages-complex-restrict-wo-priority-based-on-work-type-mdx-d4b6f18a6375f5110967.js","size":6349}],"filteredAssets":0,"assetsSize":689727,"filteredAuxiliaryAssets":3,"auxiliaryAssetsSize":176775},"component---src-pages-complex-reuse-page-datasource-mdx":{"name":"component---src-pages-complex-reuse-page-datasource-mdx","assets":[{"name":"styles.f71526870662e4df33c8.css","size":683378},{"name":"component---src-pages-complex-reuse-page-datasource-mdx-456a41eceb2201fdaf51.js","size":5238}],"filteredAssets":0,"assetsSize":688616,"filteredAuxiliaryAssets":3,"auxiliaryAssetsSize":175613},"component---src-pages-complex-set-default-values-new-wo-mdx":{"name":"component---src-pages-complex-set-default-values-new-wo-mdx","assets":[{"name":"styles.f71526870662e4df33c8.css","size":683378},{"name":"component---src-pages-complex-set-default-values-new-wo-mdx-7066463c2fe0f05e1018.js","size":5973}],"filteredAssets":0,"assetsSize":689351,"filteredAuxiliaryAssets":3,"auxiliaryAssetsSize":176450},"component---src-pages-debug-ui-mdx":{"name":"component---src-pages-debug-ui-mdx","assets":[{"name":"styles.f71526870662e4df33c8.css","size":683378},{"name":"component---src-pages-debug-ui-mdx-f0eb896595561e6a2638.js","size":13835}],"filteredAssets":0,"assetsSize":697213,"filteredAuxiliaryAssets":3,"auxiliaryAssetsSize":188586},"component---src-pages-index-mdx":{"name":"component---src-pages-index-mdx","assets":[{"name":"component---src-pages-index-mdx-efee3e974d631789d067.js","size":546}],"filteredAssets":0,"assetsSize":546,"filteredAuxiliaryAssets":1,"auxiliaryAssetsSize":1137},"component---src-pages-overview-mdx":{"name":"component---src-pages-overview-mdx","assets":[{"name":"styles.f71526870662e4df33c8.css","size":683378},{"name":"component---src-pages-overview-mdx-db57767646ce2878c15d.js","size":8692}],"filteredAssets":0,"assetsSize":692070,"filteredAuxiliaryAssets":3,"auxiliaryAssetsSize":179369},"component---src-pages-simple-add-tooltips-mdx":{"name":"component---src-pages-simple-add-tooltips-mdx","assets":[{"name":"styles.f71526870662e4df33c8.css","size":683378},{"name":"component---src-pages-simple-add-tooltips-mdx-76311cac780e1b36f1da.js","size":4528}],"filteredAssets":0,"assetsSize":687906,"filteredAuxiliaryAssets":3,"auxiliaryAssetsSize":174868},"component---src-pages-simple-create-wo-priority-lookup-mdx":{"name":"component---src-pages-simple-create-wo-priority-lookup-mdx","assets":[{"name":"styles.f71526870662e4df33c8.css","size":683378},{"name":"component---src-pages-simple-create-wo-priority-lookup-mdx-bcf0c7f9d0efaff379c0.js","size":8984}],"filteredAssets":0,"assetsSize":692362,"filteredAuxiliaryAssets":3,"auxiliaryAssetsSize":180646},"component---src-pages-simple-default-record-data-options-mdx":{"name":"component---src-pages-simple-default-record-data-options-mdx","assets":[{"name":"styles.f71526870662e4df33c8.css","size":683378},{"name":"component---src-pages-simple-default-record-data-options-mdx-5e37acca4bd01cb7aacc.js","size":7898}],"filteredAssets":0,"assetsSize":691276,"filteredAuxiliaryAssets":3,"auxiliaryAssetsSize":179535},"component---src-pages-simple-extended-lookup-map-mdx":{"name":"component---src-pages-simple-extended-lookup-map-mdx","assets":[{"name":"styles.f71526870662e4df33c8.css","size":683378},{"name":"component---src-pages-simple-extended-lookup-map-mdx-38ffad5552e60f7f41c8.js","size":5813}],"filteredAssets":0,"assetsSize":689191,"filteredAuxiliaryAssets":3,"auxiliaryAssetsSize":176279},"component---src-pages-simple-modify-default-queries-mdx":{"name":"component---src-pages-simple-modify-default-queries-mdx","assets":[{"name":"styles.f71526870662e4df33c8.css","size":683378},{"name":"component---src-pages-simple-modify-default-queries-mdx-e262b7eaa22d81dcfd4c.js","size":8395}],"filteredAssets":0,"assetsSize":691773,"filteredAuxiliaryAssets":3,"auxiliaryAssetsSize":180109},"component---src-pages-simple-replace-date-attribute-mdx":{"name":"component---src-pages-simple-replace-date-attribute-mdx","assets":[{"name":"styles.f71526870662e4df33c8.css","size":683378},{"name":"component---src-pages-simple-replace-date-attribute-mdx-655340f77fb350a79ee8.js","size":6521}],"filteredAssets":0,"assetsSize":689899,"filteredAuxiliaryAssets":3,"auxiliaryAssetsSize":177065},"component---src-pages-simple-update-app-saved-query-mdx":{"name":"component---src-pages-simple-update-app-saved-query-mdx","assets":[{"name":"styles.f71526870662e4df33c8.css","size":683378},{"name":"component---src-pages-simple-update-app-saved-query-mdx-506c6d231ffe8ba4a3fd.js","size":8314}],"filteredAssets":0,"assetsSize":691692,"filteredAuxiliaryAssets":3,"auxiliaryAssetsSize":179853}},"assetsByChunkName":{"polyfill":["webpack-runtime-c83c740a67d3def4877d.js","polyfill-9a192f2a2d41e90f300c.js"],"app":["webpack-runtime-c83c740a67d3def4877d.js","styles.f71526870662e4df33c8.css","framework-e4c63479cd1ee2588460.js","cfc6b023-d7418e516f2d514a7611.js","43a99af2-9877027d301338bc80b5.js","fc20e1c4-4d7c8336ecbe3f337d38.js","c2ec1d10-ec5c461af9f30d22131f.js","8f19d780-41fec1930d9513f06d26.js","5ca00d41-c5e082c43269fc8f6f3a.js","6e92790c-77eed0c4c19f315f701c.js","5f6bb6fb-57db9c0fb6275abc8fab.js","ebd65826-ecab064ae3758b84af77.js","23420901-cfc7904f5da8dce24f55.js","262b3caa-5fcf1086e7cc68fa8f43.js","0e6451da-dda8e55812a1842e8957.js","4119064d-7aca6ac5a67a34879dca.js","e51a3977-d72daca29b23e321d529.js","439716bf-56e2acc0eaee27ee0b25.js","2fb713ed-2f6aaa5416c583b72b04.js","1c920f04-2bda4ddf8bc7022c3222.js","app-86f9c9574dea50d10e97.js"],"component---src-pages-404-js":["component---src-pages-404-js-6f8044898a01bc7ebed0.js"],"component---src-pages-complex-disable-delete-btn-error-tx-mdx":["styles.f71526870662e4df33c8.css","component---src-pages-complex-disable-delete-btn-error-tx-mdx-0c1598c89037560950b2.js"],"component---src-pages-complex-enable-wo-classification-mdx":["styles.f71526870662e4df33c8.css","component---src-pages-complex-enable-wo-classification-mdx-049699786875d29b2902.js"],"component---src-pages-complex-external-links-mdx":["styles.f71526870662e4df33c8.css","component---src-pages-complex-external-links-mdx-ffcfae4df64cb87be5bf.js"],"component---src-pages-complex-restrict-complete-status-mdx":["styles.f71526870662e4df33c8.css","component---src-pages-complex-restrict-complete-status-mdx-9bc75583cbfd7cc690da.js"],"component---src-pages-complex-restrict-wo-priority-based-on-work-type-mdx":["styles.f71526870662e4df33c8.css","component---src-pages-complex-restrict-wo-priority-based-on-work-type-mdx-d4b6f18a6375f5110967.js"],"component---src-pages-complex-reuse-page-datasource-mdx":["styles.f71526870662e4df33c8.css","component---src-pages-complex-reuse-page-datasource-mdx-456a41eceb2201fdaf51.js"],"component---src-pages-complex-set-default-values-new-wo-mdx":["styles.f71526870662e4df33c8.css","component---src-pages-complex-set-default-values-new-wo-mdx-7066463c2fe0f05e1018.js"],"component---src-pages-debug-ui-mdx":["styles.f71526870662e4df33c8.css","component---src-pages-debug-ui-mdx-f0eb896595561e6a2638.js"],"component---src-pages-index-mdx":["component---src-pages-index-mdx-efee3e974d631789d067.js"],"component---src-pages-overview-mdx":["styles.f71526870662e4df33c8.css","component---src-pages-overview-mdx-db57767646ce2878c15d.js"],"component---src-pages-simple-add-tooltips-mdx":["styles.f71526870662e4df33c8.css","component---src-pages-simple-add-tooltips-mdx-76311cac780e1b36f1da.js"],"component---src-pages-simple-create-wo-priority-lookup-mdx":["styles.f71526870662e4df33c8.css","component---src-pages-simple-create-wo-priority-lookup-mdx-bcf0c7f9d0efaff379c0.js"],"component---src-pages-simple-default-record-data-options-mdx":["styles.f71526870662e4df33c8.css","component---src-pages-simple-default-record-data-options-mdx-5e37acca4bd01cb7aacc.js"],"component---src-pages-simple-extended-lookup-map-mdx":["styles.f71526870662e4df33c8.css","component---src-pages-simple-extended-lookup-map-mdx-38ffad5552e60f7f41c8.js"],"component---src-pages-simple-modify-default-queries-mdx":["styles.f71526870662e4df33c8.css","component---src-pages-simple-modify-default-queries-mdx-e262b7eaa22d81dcfd4c.js"],"component---src-pages-simple-replace-date-attribute-mdx":["styles.f71526870662e4df33c8.css","component---src-pages-simple-replace-date-attribute-mdx-655340f77fb350a79ee8.js"],"component---src-pages-simple-update-app-saved-query-mdx":["styles.f71526870662e4df33c8.css","component---src-pages-simple-update-app-saved-query-mdx-506c6d231ffe8ba4a3fd.js"]},"childAssetsByChunkName":{}} \ No newline at end of file