import{__require as e}from"./sortDeclarationsAlphabetically.mjs";import{__require as r}from"./vendor.mjs";var i,t;function o(){if(t)return i;t=1;const o=e();let a=r();return i=function(e,r){if("decl"===e.node.type&&"decl"===r.node.type&&e.unprefixedName===r.unprefixedName){if(!a.prefix(e.name).length&&a.prefix(r.name).length)return 1;if(a.prefix(e.name).length&&!a.prefix(r.name).length)return-1}if(e.orderData&&void 0!==r.orderData&&e.orderData.propertyIndex!==r.orderData.propertyIndex)return e.orderData.propertyIndex-r.orderData.propertyIndex;if("bottom"===e.unspecifiedPropertiesPosition||"bottomAlphabetical"===e.unspecifiedPropertiesPosition||"bottomAlphabetical"===r.unspecifiedPropertiesPosition){if(void 0!==e.orderData&&void 0===r.orderData)return-1;if(void 0===e.orderData&&void 0!==r.orderData)return 1}if("top"===e.unspecifiedPropertiesPosition){if(void 0!==e.orderData&&void 0===r.orderData)return 1;if(void 0===e.orderData&&void 0!==r.orderData)return-1}return"bottomAlphabetical"===e.unspecifiedPropertiesPosition&&void 0===e.orderData&&void 0===r.orderData?o(e,r):e.initialIndex-r.initialIndex}}export{o as __require};